Merge branch 'master' of git://sourceware.org/git/glibc
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-24  Andreas Jaeger  <aj@suse.de>
2
3         * Makerules (common-clean): Also remove gen-as-const-headers
4         files.
5
6 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7
8         * Makerules (native-compile): Do not change working directory for
9         build.  Use $(OUTPUT_OPTION) in command.
10         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11
12 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13
14         [BZ #13886]
15         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17         * math/libm-test.inc (floor_test): Add more tests.
18         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19
20 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21
22         * sysdeps/unix/getdents.c: Remove file.
23         * sysdeps/unix/sysv/getdents.c: Likewise.
24         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25
26         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27         sysdeps/unix/mman/syscalls.list.
28         (mmap): Likewise.
29         (mprotect): Likewise.
30         (msync): Likewise.
31         (munmap): Likewise.
32         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33         * sysdeps/unix/mman/syscalls.list: Remove.
34         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35
36         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38         * configure: Regenerated.
39         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40         $(libgcc_s_suffix).
41         * config.make.in (libgcc_s_suffix): Remove variable.
42
43 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44
45         * sysdeps/unix/sysv/gethostname.c: Move to ...
46         * sysdeps/posix/gethostname.c: ... here.
47
48         * sysdeps/unix/execve.S: Remove file.
49
50         * sysdeps/unix/_exit.S: Remove file.
51
52 2012-04-23  Andreas Jaeger  <aj@suse.de>
53
54         [BZ #13739]
55         * manual/Makefile: Remove make dist support, there's no
56         need for a stand-alone documentation tar ball.
57         (TEXI2DVI): Define always, it's not in Makeconfig.
58         (dist): Removed.
59         (tar-it): Removed.
60         (edition): Removed.
61         (glibc-doc-$(edition).tar): Removed
62         (%.Z): Removed.
63         (%.gz): Removed.
64         (%.uu): Removed.
65         (ETAGS): Remove, it's in Makeconfig.
66         (move-if-change): Remove, it's in Makeconfig.
67
68 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69
70         [BZ #13970]
71         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
72         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74         (strtod_l, strtof_l, strtold_l): Remove __wur.
75         It is not necessarily an error to ignore strtol's return value.
76         One can reliably look at the stored endptr to decide whether
77         the number had valid syntax.
78
79 2012-04-21  Andreas Jaeger  <aj@suse.de>
80
81         [BZ #13739]
82         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83
84 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
85
86         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
87         * sysdeps/unix/sysv/Versions: Remove file.
88
89 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
90
91         [BZ #13927]
92         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
93
94 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
95
96         [BZ #7064]
97         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
98         version from __vm86.
99
100 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
101
102         * sysdeps/unix/common/lxstat.c: Remove file.
103         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
104
105         * sysdeps/unix/sysv/Makefile: Remove file.
106
107         * sysdeps/unix/sysv/direct.h: Remove file.
108
109         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
110         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
111         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
112         * sysdeps/unix/sysv/bits/signum.h: Likewise.
113         * sysdeps/unix/sysv/bits/stat.h: Likewise.
114         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
115         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
116
117         * sysdeps/unix/sysv/setrlimit.c: Remove file.
118
119         * sysdeps/unix/xmknod.c: Remove file.
120         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
121
122         * sysdeps/unix/sysv/settimeofday.c: Remove file.
123
124         * sysdeps/unix/sysv/i386/time.S: Remove file.
125
126         * sysdeps/unix/fxstat.c: Remove file.
127         * sysdeps/unix/xstat.c: Likewise.
128         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
129
130         * sysdeps/unix/sysv/sigaction.c: Remove file.
131
132         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
133         (sysdep_headers): Remove variable.
134         [termio.h not in sysdep_headers] (generated): Likewise.
135         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
136         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
137         * sysdeps/unix/sysv/tcdrain.c: Likewise.
138         * sysdeps/unix/sysv/tcflow.c: Likewise.
139         * sysdeps/unix/sysv/tcflush.c: Likewise.
140         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
141         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
142         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
143         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
144         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
145
146         * sysdeps/unix/siglist.c: Remove file.
147
148         * sysdeps/unix/getppid.S: Remove file.
149
150         * sysdeps/unix/mkdir.c: Remove file.
151         * sysdeps/unix/rmdir.c: Likewise.
152
153 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
154
155         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
156         ERR_MAX value.
157         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
158         errlist-compat value.
159
160 2012-04-18  David S. Miller  <davem@davemloft.net>
161
162         * sysdeps/generic/memcopy.h (reg_char): Delete.
163         * debug/strcat_chk.c: Use char, not reg_char.
164         * debug/strcpy_chk.c: Likewise.
165         * debug/strncat_chk.c: Likewise.
166         * debug/strncpy_chk.c: Likewise.
167         * string/memchr.c: Likewise.
168         * string/memrchr.c: Likewise.
169         * string/rawmemchr.c: Likewise.
170         * string/strcat.c: Likewise.
171         * string/strchr.c: Likewise.
172         * string/strchrnul.c: Likewise.
173         * string/strcmp.c: Likewise.
174         * string/strcpy.c: Likewise.
175         * string/strncat.c: Likewise.
176         * string/strncmp.c: Likewise.
177         * string/strncpy.c: Likewise.
178
179 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
180
181         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
182         __builtin_memcopy is called when src and dest ranges are known to not
183         overlap.
184
185 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
186
187         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
188         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
189         fwd_align_merge macro call.
190         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
191         bwd_align_merge macro call.
192         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
193
194 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
195
196         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
197         bwd_align_merge macros.
198         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
199         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
201
202 2012-04-18  David S. Miller  <davem@davemloft.net>
203
204         * sysdeps/sparc/sparc64/memcopy.h: Delete.
205
206 2012-04-18  Andreas Jaeger  <aj@suse.de>
207
208         [BZ# 6794]
209         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
210         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
211         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
212
213         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
214         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
215         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
216
217         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
218         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
219         Adjust for changed ldbl-128 files.
220
221         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
222         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
223         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
224
225 2012-04-17  David S. Miller  <davem@davemloft.net>
226
227         * sysdeps/sparc/sparc32/memcopy.h: Delete.
228
229 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
230
231         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
232         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
233         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
234         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
235         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
236         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
237
238 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
239
240         [BZ #6794]
241         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
242         * math/libm-test.inc: Add ilogb errno and exception tests.
243         * math/w_ilogb.c: New file: ilogb wrapper.
244         * math/w_ilogbf.c: New file: ilogbf wrapper.
245         * math/w_ilogbl.c: New file: ilogbl wrapper.
246         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
247         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
248         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
249         exception being thrown with 0.0 as argument.
250         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
251         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
252         exception being thrown with 0.0 as argument.
253         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
254         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
255         exception being thrown with 0.0 as argument.
256         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
257         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
258         exception being thrown with 0.0 as argument.
259         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
260         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
261         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
262         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
263         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
264         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
265         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
266         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
267         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
268
269 2012-04-17  Petr Baudis  <pasky@ucw.cz>
270
271         * include/sys/uio.h: Change __vector to __iovec to avoid clash
272         with altivec.
273
274 2012-04-16  Marek Polacek  <polacek@redhat.com>
275
276         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
277
278 2012-04-16  Marek Polacek  <polacek@redhat.com>
279
280         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
281         operands of fdivp instruction.
282
283 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
284
285         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
286         * elf/tst-auditmod3b.c: Likewise.
287         * elf/tst-auditmod4b.c: Likewise.
288         * elf/tst-auditmod5b.c: Likewise.
289         * elf/tst-auditmod6b.c: Likewise.
290         * elf/tst-auditmod6c.c: Likewise.
291         * elf/tst-auditmod7b.c: Likewise.
292         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
293         * sysdeps/x86_64/preconfigure.in: Likewise.
294         * sysdeps/x86_64/preconfigure: Regenerated.
295
296 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
297
298         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
299         __ILP32__.
300
301 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
302
303         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
304         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
305
306 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
307
308         [BZ #13973]
309         * locale/iso-639.def: Fix gl language name. Spotted by
310         Yaron Shahrabani.
311
312 2012-04-12  Roland McGrath  <roland@hack.frob.com>
313
314         [BZ #2074]
315         * libio/libio.h (__io_write_fn): Update comment.
316
317 2012-04-12  Petr Baudis  <pasky@ucw.cz>
318
319         [BZ #2074]
320         * stdio.texi (Hook Functions): The user provided writer function
321         is not allowed to return -1.
322
323 2012-04-11  David S. Miller  <davem@davemloft.net>
324
325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
326
327 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
328
329         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
330         Add a leading slash to rtkaio.
331
332 2012-04-11  Jim Meyering  <meyering@redhat.com>
333
334         [BZ #11959]
335         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
336         It is not necessarily an error to ignore fwrite's return
337         value.  One can reliably use ferror to test for errors after
338         the fact.
339
340 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
341
342         * bits/types.h (__snseconds_t): New type.
343         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
344
345         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
347         (__SNSECONDS_T_TYPE): Likewise.
348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
349         (__SNSECONDS_T_TYPE): Likewise.
350         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
351         (__SNSECONDS_T_TYPE): Likewise.
352
353 2012-04-10  Andreas Jaeger  <aj@suse.de>
354
355         [BZ #2636]
356         * manual/time.texi (Processor Time): Return type of times is
357         elapsed real time since an arbitrary point in the past.
358         (CPU Time): Move CLK_TCK from here...
359         (Processor Time): ...to here.  Correct description.
360         * manual/conf.texi (Constants for Sysconf): Correct description of
361         _SC_CLK_TCK.
362
363 2012-04-10  David S. Miller  <davem@davemloft.net>
364
365         [BZ #13967]
366         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
367         where the is a gap between DT_REL(A) and DT_JMPREL.
368
369 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
370
371         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
372         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
373         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
374
375 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
376
377         * elf/dl-support.c (_dl_inhibit_cache): New variable.
378         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
379         (dl_main): Handle --inhibit-cache.
380         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
381         _dl_inhibit_cache.
382         * elf/dl-load.c (_dl_map_object): Use it.
383         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
384
385 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
386
387         [BZ #13872]
388         * sysdeps/i386/fpu/e_powl.S (p78): New object.
389         (__ieee754_powl): Saturate large exponents rather than testing for
390         overflow of y*log2(x).
391         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
392         * math/libm-test.inc (pow_test): Do not permit spurious overflow
393         exceptions.
394
395         [BZ #11521]
396         * math/s_ctan.c: Include <float.h>.
397         (__ctan): Avoid internal overflow or cancellation in calculating
398         denominator.
399         * math/s_ctanf.c: Likewise.
400         * math/s_ctanl.c: Likewise.
401         * math/s_ctanh.c: Likewise.
402         * math/s_ctanhf.c: Likewise.
403         * math/s_ctanhl.c: Likewise.
404         * math/libm-test.inc (ctan_test): Add more tests.
405         (ctanh_test): Likewise.
406         * sysdeps/i386/fpu/libm-test-ulps: Update.
407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
408
409 2012-04-09  Andreas Jaeger  <aj@suse.de>
410
411         [BZ #6894]
412         * manual/filesys.texi (Directory Entries): Mention that d_namlen
413         is an optional BSD extension.
414
415         [BZ #10254]
416         * manual/stdio.texi (Opening Streams): Document additional fopen
417         parameters.
418
419 2012-04-09  Roland McGrath  <roland@hack.frob.com>
420
421         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
422         %eax without telling the compiler.
423
424 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
425
426         [BZ # 13963]
427         * manual/install.texi: Use sourceware.org.
428
429 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
430
431         [BZ #13873]
432         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
433         (__ieee754_pow): Generate overflow and underflow using huge*huge
434         and tiny*tiny rather than just returning constant infinity or zero
435         for large exponents.
436         * math/libm-test.inc (pow_test): Require overflow exceptions for
437         applicable cases of large exponents.
438
439         [BZ #706]
440         * sysdeps/i386/fpu/e_pow.S (p10): New object.
441         (__ieee754_pow): Use iterative multiplication algorithm only for
442         integer exponents with absolute value below 1024.  Check for odd
443         integer exponents when using algorithm for real exponents.
444         * math/libm-test.inc (pow_test): Add more tests.
445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
446
447 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
448
449         [BZ #13705]
450         * math/libm-test.inc (exp_test): Do not allow overflow exception
451         on underflow test.
452
453 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
454
455         [BZ #13705]
456         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
457         instead of __kernel_standard_f.
458
459 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
460
461         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
462         * sysdeps/x86_64/memset_chk.S: Likewise.
463
464 2012-04-08  Andreas Jaeger  <aj@suse.de>
465
466         [BZ #10153]
467         * manual/startup.texi (Environment Access): Describe return value
468         for putenv and setenv.
469
470         [BZ #6895]
471         * manual/filesys.texi (Directory Entries): Add description for
472         DT_LNK.
473
474         [BZ #6890]
475         * manual/filesys.texi (Directory Entries): Clarify that it's file
476         system not operating system in the description of DT_UNKNOWN.
477
478         [BZ #6578]
479         * manual/syslog.texi (closelog): Fix reference, it's openlog.
480
481 2012-04-08  Stephen Compall  <s11@member.fsf.org>
482
483         [BZ #6649]
484         * manual/llio.texi (Opening and Closing Files): Add cross
485         reference to explain mode argument.
486
487 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
488
489         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
490         * sysdeps/x86_64/memset_chk.S: Likewise.
491
492 2012-04-07  David S. Miller  <davem@davemloft.net>
493
494         * elf/elf.h (R_SPARC_WDISP10): Define.
495         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
496         R_SPARC_SIZE32.
497         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
498         R_SPARC_SIZE64 and R_SPARC_H34.
499
500 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
501
502         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
503         conditions and remove no longer applicable assertion.
504
505 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
506
507         * bits/byteswap.h: Include <features.h>.
508         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
509         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
510
511 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
512
513         * bits/byteswap.h (__bswap_16): Removed.
514         Include <bits/byteswap-16.h> to get __bswap_16.
515         * sysdeps/i386/bits/byteswap.h: Likewise.
516         * sysdeps/s390/bits/byteswap.h: Likewise.
517         * sysdeps/x86_64/bits/byteswap.h: Likewise.
518         * bits/byteswap-16.h: New file.
519         * sysdeps/i386/bits/byteswap-16.h: Likewise.
520         * sysdeps/s390/bits/byteswap-16.h: Likewise.
521         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
522         * string/Makefile (headers): Add bits/byteswap-16.h.
523
524 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
525
526         [BZ #13895]
527         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
528         extra indirection.
529         * nss/Makefile (tests-static, tests): Add tst-nss-static.
530         * nss/tst-nss-static.c: New.
531
532 2012-04-06  Robert Millan  <rmh@gnu.org>
533
534         [BZ #6486]
535         * manual/llio.texi (File Position Primitive): lseek
536         refers to WHENCE when it really means OFFSET.
537
538 2012-04-06  Andreas Jaeger  <aj@suse.de>
539
540         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
541         strncmp declarations.
542
543         * abilist/libc.abilist: Add __poll and __ppoll.
544
545 2012-04-05  David S. Miller  <davem@davemloft.net>
546
547         * scripts/check-local-headers.sh: Accept a host triplet in the
548         path matched by the exclude regexp.
549
550         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
551         definition.
552         * sysdeps/powerpc/powerpc32/dl-machine.h
553         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
554         * sysdeps/s390/s390-32/dl-machine.h
555         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
556         * sysdeps/sparc/sparc32/dl-machine.h
557         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
558         * sysdeps/sparc/sparc64/dl-machine.h
559         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
560
561         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
562         lazy binding.
563         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
564         undefined symbol errors.
565
566         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
567         DT_NEEDED entries.
568
569 2012-04-05  Michael Matz  <matz@suse.de>
570
571         [BZ #13592]
572         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
573
574 2012-04-05  Andreas Jaeger  <aj@suse.de>
575
576         [BZ #13908]
577         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
578         comment.
579
580 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
581
582         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
583         which ROUND is no valid rounding mode.
584
585 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
586
587         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
588         read again.
589         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
590
591 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
592
593         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
594         an exception using FPU order intentionally.
595
596 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
597
598         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
599         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
600         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
601         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
602
603 2012-04-05  Simon Josefsson  <simon@josefsson.org>
604
605         [BZ #12340]
606         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
607         EINVAL when BUFLEN is too smal.
608
609 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
610
611         [BZ #13553]
612         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
613         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
614
615 2012-04-03  Andreas Jaeger  <aj@suse.de>
616
617         [BZ #13938]
618         * manual/setjmp.texi (System V contexts): Fix sentence.
619
620         [BZ #13926]
621         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
622         New macro for this case.
623         [!__GNUC__] (__bswap_64): New inline function for this case.
624         * sysdeps/x86_64/bits/byteswap.h: Likewise.
625         * bits/byteswap.h: Likewise.
626         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
627         ull, guard with __GLIBC_HAVE_LONG_LONG.
628
629         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
630         __GLIBC_HAVE_LONG_LONG.
631
632         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
633         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
634
635 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
636
637         [BZ #13691]
638         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
639         inptr and inend, rather than using last_ch.
640
641 2012-04-02  David S. Miller  <davem@davemloft.net>
642
643         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
644         * stdio-common/printf-parse.h (read_int): Change return type to
645         'int', return -1 on INT_MAX overflow.
646         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
647         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
648         overflows INT_MAX.  Check for overflow of in-format-string precision
649         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
650         SIZE_MAX not INT_MAX for integer overflow test.
651         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
652         skip the construct in the format string but do not record anything.
653         * stdio-common/bug22.c: Adjust to test both width/prevision
654         INT_MAX overflow as well as total length INT_MAX overflow.  Check
655         explicitly for proper errno values.
656
657 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
658
659         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
660         CHAR_MAX.
661         * string/test-strcmp.c [! WIDE]: Likewise.
662         * time/tst-mktime2.c: Likewise for INT_MAX.
663         * string/test-string.h: #include <sys/param.h> for MIN.
664
665         * csu/init-first.c (__libc_init_first): Call __ctype_init.
666         * sysdeps/i386/init-first.c (init): Likewise.
667         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
668         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
669         * sysdeps/sh/init-first.c (init): Likewise.
670
671 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
672
673         * po/ru.po: Update from translation team.
674         * po/vi.po: Likewise.
675
676 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
677
678         * resolv/nss_dns/dns-host.c: Merge copyright years.
679
680 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
681
682         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
683         Optimize memcpy with prefetch if
684         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
685         src, dst pointers have unequal 16 byte alignments.
686
687 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
688
689         [BZ #13928]
690         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
691         from a CNAME entry and return the minimum ttl for the query.
692         (gaih_getanswer_slice): Likewise.
693
694 2012-03-30  Jeff Law  <law@redhat.com>
695
696         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
697         due to long keys.
698         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
699         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
700
701         * resolv/nss_dns/dns-host.c: Update copyright year.
702
703 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
704
705         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
706         requests to save a system call.  Fix check that all bytes are sent.
707
708         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
709         comments for sendmmsg.
710
711 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
712
713         [BZ #13691]
714         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
715         with only 1 character between 0x0041 and 0x01b0.
716         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
717         * wcsmbs/tst-mbsnrtowcs.c: New file.
718
719 2012-03-29  David S. Miller  <davem@davemloft.net>
720
721         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
722         small copies by hand.
723
724 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
725
726         [BZ #13761]
727         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
728         _nss_compat_initgroups_dyn): Fall back to malloc/free
729         for large group memberships.
730
731 2012-03-28  David S. Miller  <davem@davemloft.net>
732
733         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
734         that branches into memcpy.
735         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
736         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
737         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
738         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
739         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
740         bits.
741         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
742         implementation too.
743         * sysdeps/sparc/mempcpy.S: New file.
744
745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
746         the IFUNC routine in the libc case.
747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
748
749         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
750         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
751         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
752         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
753         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
754         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
755         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
756         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
757
758         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
759         loop to 256 bytes instead of 64 bytes and fix test signedness.
760
761         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
762         * sysdeps/sparc/sparc32/Makefile: rather than here...
763         * sysdeps/sparc/sparc64/Makefile: and here.
764
765 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
766
767         * malloc/mallocbug.c: Avoid warnings about unused variables.
768
769 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
770
771         [BZ #13760]
772         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
773         in the right place. Discard and retry query if response is
774         larger than input buffer size.
775
776 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
777
778         [BZ #369]
779         [BZ #2678]
780         [BZ #3866]
781         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
782         x for large integer exponent.
783         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
784         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
785         sign of result as needed afterwards.
786         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
787         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
788         result for underflowing pow the same as for overflow.
789         (__kernel_standard_l): Handle powl overflow and underflow here
790         rather than calling __kernel_standard.
791         * math/libm-test.inc (pow_test): Add more tests.
792
793         [BZ #3868]
794         [BZ #13879]
795         [BZ #13910]
796         [BZ #13911]
797         [BZ #13912]
798         [BZ #13913]
799         [BZ #13915]
800         [BZ #13916]
801         [BZ #13917]
802         [BZ #13918]
803         [BZ #13919]
804         [BZ #13920]
805         [BZ #13921]
806         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
807         * sysdeps/ieee754/k_standard.c: Include <float.h>.
808         (__kernel_standard_l): New function.
809         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
810         __kernel_standard.
811         * math/w_acosl.c (__acosl): Likewise.
812         * math/w_asinl.c (__asinl): Likewise.
813         * math/w_atan2l.c (__atan2l): Likewise.
814         * math/w_atanhl.c (__atanhl): Likewise.
815         * math/w_coshl.c (__coshl): Likewise.
816         * math/w_exp10l.c (__exp10l): Likewise.
817         * math/w_exp2l.c (__exp2l): Likewise.
818         * math/w_fmodl.c (__fmodl): Likewise.
819         * math/w_hypotl.c (__hypotl): Likewise.
820         * math/w_j0l.c (__j0l, __y0l): Likewise.
821         * math/w_j1l.c (__j1l, __y1l): Likewise.
822         * math/w_jnl.c (__jnl, __ynl): Likewise.
823         * math/w_lgammal.c (__lgammal): Likewise.
824         * math/w_log10l.c (__log10l): Likewise.
825         * math/w_log2l.c (__log2l): Likewise.
826         * math/w_logl.c (__logl): Likewise.
827         * math/w_powl.c (__powl): Likewise.
828         * math/w_remainderl.c (__remainderl): Likewise.
829         * math/w_scalbl.c (sysv_scalbl): Likewise.
830         * math/w_sinhl.c (__sinhl): Likewise.
831         * math/w_sqrtl.c (__sqrtl): Likewise.
832         * math/w_tgammal.c (__tgammal): Likewise.
833         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
834         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
835         * math/libm-test.inc (acos_test): Add more tests.
836         (acosh_test): Likewise.
837         (asin_test): Likewise.
838         (atanh_test): Likewise.
839         (exp_test): Likewise.
840         (exp10_test): Likewise.
841         (exp2_test): Likewise.
842         (expm1_test): Likewise.
843         (lgamma_test): Likewise.
844         (log_test): Likewise.
845         (log10_test): Likewise.
846         (log1p_test): Likewise.
847         (log2_test): Likewise.
848         (pow_test): Do not allow some spurious overflow exceptions.
849         (sqrt_test): Add more tests.
850         (tgamma_test): Likewise.
851         (y0_test): Likewise.
852         (y1_test): Likewise.
853         (yn_test): Likewise.
854
855 2012-03-27  Anton Blanchard  <anton@samba.org>
856
857         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
858         MAP_HUGETLB.
859         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
860         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
861         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
862
863 2012-03-27  David S. Miller  <davem@davemloft.net>
864
865         * conform/Makefile: Run run-conformtest.sh using $(BASH).
866
867         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
868         have-as-vis3 check.
869
870 2012-03-27  Andreas Jaeger  <aj@suse.de>
871
872         * sysdeps/x86_64/elf/configure.in: Moved to ...
873         * sysdeps/x86_64/configure.in: ... here.
874         * sysdeps/x86_64/elf/start.S: Moved to ...
875         * sysdeps/x86_64/start.S: ... here.
876         * sysdeps/x86_64/elf/configure: Delete.
877
878         * sysdeps/x86_64/configure.in: Merge contents from
879         sysdeps/i386/configure.in (without i686 check).
880
881         * sysdeps/i386/elf/Versions: Merge into ...
882         * sysdeps/i386/Versions: ... this.
883         * sysdeps/i386/elf/Versions: Delete file.
884         * sysdeps/i386/elf/start.S: Moved to ...
885         * sysdeps/i386/start.S: ...here.
886         * sysdeps/i386/elf/configure.in: Merge into...
887         * sysdeps/i386/configure.in: ...here.
888         * sysdeps/i386/elf/configure.in: Delete file.
889         * sysdeps/i386/elf/configure: Delete file.
890
891         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
892         * debug/backtracesyms.c: ... here.
893         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
894         * debug/backtracesymsfd.c: ... here.
895         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
896         * sysdeps/generic/ifunc-sel.h: ... here.
897
898         * sysdeps/unix/i386/start.c: Delete file.
899         * sysdeps/unix/sparc/start.c: Delete file.
900         * sysdeps/unix/start.c: Delete file.
901
902         * sysdeps/sh/elf/configure.in: Moved to ...
903         * sysdeps/sh/configure.in: ... here.
904         * sysdeps/sh/elf/start.S: Moved to ...
905         * sysdeps/sh/start.S: ... here.
906         * sysdeps/sh/elf/configure: Delete file.
907
908         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
909         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
910         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
911         * sysdeps/powerpc/powerpc64/entry.h: ... here.
912         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
913         * sysdeps/powerpc/powerpc64/start.S: here.
914         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
915         * sysdeps/powerpc/powerpc64/Makefile: ... this.
916         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
917         * sysdeps/powerpc/powerpc64/configure.in: ... this.
918         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
919
920         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
921         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
922         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
923         * sysdeps/powerpc/powerpc32/start.S: ... here.
924         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
925         * sysdeps/powerpc/powerpc32/configure.in: ... this.
926         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
927
928         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
929         * sysdeps/powerpc/ifunc-sel.h: ... here.
930         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
931         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
932
933         * sysdeps/sparc/elf/configure.in: Moved to ...
934         * sysdeps/sparc/configure.in: ... here.
935         * sysdeps/sparc/elf/configure: Delete file.
936         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
937         * sysdeps/sparc/sparc32/start.S: ... here.
938         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
939         * sysdeps/sparc/sparc64/start.S: ... here.
940         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
941         * sysdeps/sparc/sparc32/Makefile: ... this.
942         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
943         * sysdeps/sparc/sparc64/Makefile: ... this.
944
945         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
946         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
947         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
948         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
949         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
950         * sysdeps/s390/s390-32/setjmp.S: ... here.
951         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
952         * sysdeps/s390/s390-32/configure.in: ... here.
953         * sysdeps/s390/s390-32/elf/configure: Delete file.
954         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
955         * sysdeps/s390/s390-32/start.S: ... here.
956
957         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
958         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
959         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
960         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
961         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
962         * sysdeps/s390/s390-64/setjmp.S: ... here.
963         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
964         * sysdeps/s390/s390-64/configure.in: ... here
965         * sysdeps/s390/s390-64/elf/configure: Delete file.
966         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
967         * sysdeps/s390/s390-64/start.S: ... here.
968         * sysdeps/s390/s390-64/elf/configure: Delete.
969
970         * configure.in: Remove support for elf directories in sysdeps.
971
972         * configure: Regenerated.
973         * sysdeps/i386/configure: Regenerated.
974         * sysdeps/powerpc/powerpc32/configure: Regenerated.
975         * sysdeps/powerpc/powerpc64/configure: Regenerated.
976         * sysdeps/s390/s390-32/configure: Regenerated.
977         * sysdeps/s390/s390-64/configure: Regenerated.
978         * sysdeps/sh/configure: Regenerated.
979         * sysdeps/sparc/configure: Regenerated.
980         * sysdeps/x86_64/configure: Regenerated.
981
982 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
983
984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
985
986         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
987         denormal result into account.
988
989 2012-03-25  Roland McGrath  <roland@hack.frob.com>
990
991         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
992         Reported by Allan McRae <allan@archlinux.org>.
993
994 2012-03-23  Jeff Law  <law@redhat.com>
995
996         * nss/getnssent.c (__nss_getent): Fix typo.
997
998 2012-03-23  David S. Miller  <davem@davemloft.net>
999
1000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1001
1002 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1003
1004         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1005         to pad to uint64_t for each field.
1006         (dl_tls_index): Replace unsigned long with uint64_t.
1007
1008 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1009         Paul Pluzhnikov  <ppluzhnikov@google.com>
1010
1011         [BZ #6528]
1012         * grp/Makefile (otherlibs): Don't set it.
1013         * inet/Makefile (otherlibs): Likewise.
1014         * login/Makefile (otherlibs): Likewise.
1015         * nscd/Makefile (otherlibs): Likewise.
1016         * posix/Makefile (otherlibs): Likewise.
1017         * pwd/Makefile (otherlibs): Likewise.
1018         * rt/Makefile (otherlibs): Likewise.
1019         * sunrpc/Makefile (otherlibs): Likewise.
1020         * nss/Makefile (otherlibs): Likewise.
1021         Add libnss_files to routines and static-only-routines.
1022         ($(objpfx)getent): Remove rule.
1023         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1024         static-only-routines.
1025
1026 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1027
1028         [BZ #13892]
1029         * math/s_cexp.c: Include <float.h>.
1030         (__cexp): Handle exp result overflowing not necessarily
1031         overflowing both real and imaginary parts of result.
1032         * math/s_cexpf.c: Likewise.
1033         * math/s_cexpl.c: Likewise.
1034         * math/libm-test.inc (cexp_test): Add more tests.
1035         * sysdeps/i386/fpu/libm-test-ulps: Update.
1036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1037
1038 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1039
1040         * include/link.h (ELFW): New macro.
1041         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1042         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1043
1044 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1045
1046         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1047         with uint64_t.
1048
1049 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1050
1051         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1052         declaration.
1053         (struct La_x32_retval): Likewise.
1054
1055 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1056
1057         * sysdeps/x86_64/preconfigure.in: New file.
1058         * sysdeps/x86_64/preconfigure: New generated file.
1059
1060 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1061
1062         [BZ #13824]
1063         * math/e_exp2l.c: Include <float.h>.
1064         (__ieee754_exp2l): Handle overflow and underflow cases
1065         separately.  Only pass fractional part of argument to
1066         __ieee754_expl.
1067         * math/libm-test.inc (exp2_test): Add more tests.
1068
1069         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1070         negating x to take absolute value.
1071         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1072         Likewise.
1073         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1074         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1075         Likewise.
1076         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1077         computing low part if x was negated.
1078         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1079
1080 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1081
1082         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1083         la_x32_gnu_pltexit.
1084         (pltexit): Cast int_retval to ptrdiff_t.
1085         * elf/tst-auditmod3b.c: Likewise.
1086         * elf/tst-auditmod4b.c: Likewise.
1087         * elf/tst-auditmod5b.c: Likewise.
1088         * elf/tst-auditmod6b.c: Likewise.
1089         * elf/tst-auditmod6c.c: Likewise.
1090         * elf/tst-auditmod7b.c: Likewise.
1091
1092         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1093         and x32_gnu_pltexit.
1094
1095         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1096         __ELF_NATIVE_CLASS.
1097         (La_x32_regs): New macro.
1098         (La_x32_retval): Likewise.
1099         (la_x32_gnu_pltenter): New function prototype.
1100         (la_x32_gnu_pltexit): Likewise.
1101
1102 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1103
1104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1105         exponent.
1106
1107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1108
1109         * configure.in (libc_cv_cc_nofma): Check for option to disable
1110         generation of FMA instructions.
1111         * configure: Regenerate.
1112         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1113         * sysdeps/ieee754/dbl-64/Makefile: New file.
1114         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1115         Remove brandred-fma4.
1116         (CFLAGS-brandred-fma4.c): Remove.
1117         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1118         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1119         define.
1120         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1121         define.
1122
1123 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1124
1125         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1126         LLONG_MAX != LONG_MAX.
1127         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1128         (_fitoa_word): Likewise.
1129         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1130         LLONG_MAX != LONG_MAX.
1131         * stdio-common/_itowa.h: Include <_itoa.h>.
1132         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1133         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1134         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1135         only if not defined.
1136         (_ITOA_WORD_TYPE): Likewise.
1137         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1138         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1139
1140 2012-03-21  David S. Miller  <davem@davemloft.net>
1141
1142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1143
1144 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1145
1146         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1147         of x86_64 when setting libc_cv_slibdir, libdir and
1148         libc_cv_localedir.
1149         * sysdeps/unix/sysv/linux/configure: Regenerated.
1150
1151 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1152
1153         * manual/lang.texi (Old Varargs): Remove section.
1154         (How Variadic): Update menu.
1155         (va_start): Do not mention varargs.h.
1156
1157 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1158             Joseph Myers  <joseph@codesourcery.com>
1159
1160         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1161         link test.
1162         * configure: Regenerated.
1163
1164 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1165
1166         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1167         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1168         conformtest.pl
1169
1170 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1171
1172         * NOTES: Remove.
1173         * Makefile (files-for-dist): Remove NOTES.
1174         (NOTES): Remove rule.
1175         * README: Don't refer to NOTES.
1176         * manual/creature.texi: Don't include macros.texi.
1177         * manual/intro.texi (creature.texi): Remove comment referring to
1178         NOTES.
1179
1180         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1181         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1182         * configure: Regenerated.
1183         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1184         LIBC_TRY_CC_OPTION.
1185         (libc_cv_as_i686): Likewise.
1186         (libc_cv_cc_avx): Likewise.
1187         (libc_cv_cc_sse2avx): Likewise.
1188         (libc_cv_cc_fma4): Likewise.
1189         (libc_cv_cc_novzeroupper): Likewise.
1190         * sysdeps/i386/configure: Regenerated.
1191
1192         [BZ #13883]
1193         * sysdeps/i386/fpu/s_cexp.S: Remove.
1194         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1195         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1196         * math/libm-test.inc (cexp_test): Add more tests.
1197         * sysdeps/i386/fpu/libm-test-ulps: Update.
1198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199
1200 2012-03-21  Allan McRae  <allan@archlinux.org>
1201
1202         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1203
1204 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1205
1206         [BZ #13871]
1207         * math/w_exp2.c: Do not include <float.h>.
1208         (o_threshold, u_threshold): Remove.
1209         (__exp2): Calculate result before checking finiteness and calling
1210         __kernel_standard.
1211         * math/w_exp2f.c: Likewise.
1212         * math/w_exp2l.c: Likewise.
1213         * math/libm-test.inc (exp2_test): Require overflow exception for
1214         1e6 input.
1215
1216         [BZ #3866]
1217         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1218         range of signed 64-bit integers before using fistpll.  Remove
1219         checks for whether integers fit in mantissa bits.
1220         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1221         the range of signed 32-bit integers before using fistpl.  Remove
1222         checks for whether integers fit in mantissa bits.
1223         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1224         (__ieee754_powl): Test for y outside the range of signed 64-bit
1225         integers before using fistpll.  Reduce 64-bit values to 63-bit
1226         ones as needed.
1227         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1228         divide-by-zero is raised for zero to large negative powers.
1229         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1230         (__ieee754_powl): Test for y outside the range of signed 64-bit
1231         integers before using fistpll.  Reduce 64-bit values to 63-bit
1232         ones as needed.
1233         * math/libm-test.inc (pow_test): Add more tests.
1234
1235 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1236
1237         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1238         <stdio-common/_itoa.h>.
1239         * debug/segfault.c: Likewise.
1240         * elf/dl-cache.c: Likewise.
1241         * elf/dl-minimal.c: Likewise.
1242         * elf/dl-misc.c: Likewise.
1243         * elf/dl-sysdep.c: Likewise.
1244         * elf/dl-version.c: Likewise.
1245         * elf/rtld.c: Likewise.
1246         * hurd/hurdsock.c: Likewise.
1247         * hurd/lookup-retry.c: Likewise.
1248         * malloc/malloc.c: Likewise.
1249         * malloc/mtrace.c: Likewise.
1250         * nscd/nscd_getgr_r.c: Likewise.
1251         * nscd/nscd_getpw_r.c: Likewise.
1252         * nscd/nscd_getserv_r.c: Likewise.
1253         * posix/getopt_init.c: Likewise.
1254         * posix/wordexp.c: Likewise.
1255         * stdio-common/_itoa.c: Likewise.
1256         * stdio-common/printf_fphex.c: Likewise.
1257         * stdio-common/vfprintf.c: Likewise.
1258         * string/_strerror.c: Likewise.
1259         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1260         * sysdeps/i386/i686/hp-timing.h: Likewise.
1261         * sysdeps/mach/_strerror.c: Likewise.
1262         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1263         * sysdeps/mach/hurd/sethostid.c: Likewise.
1264         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1265         * sysdeps/mach/xpg-strerror.c: Likewise.
1266         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1267         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1268         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1269         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1270         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1271         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1272         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1273         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1274         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1275         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1276         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1277         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1278         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1279         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1280         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1281         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1282         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1283         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1284         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1285         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1286         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1287
1288         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1289
1290         * stdio-common/_itoa.h: Moved to ...
1291         * sysdeps/generic/_itoa.h: Here.
1292
1293         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1294
1295         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1296         instead of "_itoa.h" and "_itowa.h".
1297         * stdio-common/vfprintf.: Likewise.
1298
1299 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1300
1301         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1302         <bits/wordsize.h>.
1303         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1304         (__signbit): Likwise.
1305         (llrintf): Likwise.
1306         (llrint): Likwise.
1307
1308 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1309
1310         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1311         __WORDSIZE != 64.
1312
1313 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1314
1315         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1316         OVERFLOW_EXCEPTION_OK.
1317         * math/libm-test.inc ("Philosophy"): Update comment about
1318         exception testing.
1319         (OVERFLOW_EXCEPTION): Define.
1320         (OVERFLOW_EXCEPTION_OK): Likewise.
1321         (INVALID_EXCEPTION_OK): Renumber.
1322         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1323         (IGNORE_ZERO_INF_SIGN): Likewise.
1324         (test_exceptions): Handle FE_OVERFLOW.
1325         (exp10_test): Expect overflow exceptions.
1326         (exp2_test): Likewise.
1327         (expm1_test): Likewise.
1328         (nextafter_test): Likewise.
1329         (pow_test): Likewise.
1330         (scalbn_test): Likewise.
1331         (scalbln_test): Likewise.
1332
1333 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1334
1335         * sysdeps/x86_64/bits/atomic.h
1336         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1337         64bit integer.
1338         (atomic_exchange_acq): Likewise.
1339         (__arch_exchange_and_add_body): Likewise.
1340         (__arch_add_body): Likewise.
1341         (atomic_add_negative): Likewise.
1342         (atomic_add_zero): Likewise.
1343
1344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1345
1346         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1347         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1348
1349 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1350
1351         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1352         Check __x86_64__ instead of __WORDSIZE.
1353
1354 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1355
1356         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1357
1358 2012-03-19  David S. Miller  <davem@davemloft.net>
1359
1360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1361
1362         * sysdeps/sparc/fpu/fenv_private.h: New file.
1363         * sysdeps/sparc/fpu/math_private.h: Use it.
1364         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1365         Remove.
1366         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1367         (libc_feholdexcept_setroundl): Remove.
1368         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1369         Remove.
1370         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1371         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1372
1373 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1374
1375         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1376         int64_t instead of long int.
1377         (INSERT_WORDS64): Likwise.
1378
1379 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1380
1381         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1382         _Unwind_GetCFA return to _Unwind_Ptr first.
1383
1384 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1385
1386         [BZ #13629]
1387         * math/s_clog.c: Include <float.h>.
1388         (__clog): Scale large or subnormal inputs.
1389         * math/s_clogf.c: Likewise.
1390         * math/s_clogl.c: Likewise.
1391         * math/s_clog10.c: Include <float.h>.
1392         (M_LOG10_2): Define.
1393         (__clog10): Scale large or subnormal inputs.
1394         * math/s_clog10f.c: Likewise.
1395         * math/s_clog10l.c: Likewise.
1396         * math/libm-test.inc (clog_test): Add more tests.
1397         (clog10_test): Likewise.
1398         * sysdeps/i386/fpu/libm-test-ulps: Update.
1399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400
1401         [BZ #11451]
1402         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1403         x and y.
1404         * math/libm-test.inc (atan2_test): Add another test.
1405
1406         * Makerules (common-objdir-compile): Remove.
1407         * sysdeps/unix/Makefile (config-generated): Do not add
1408         $(unix-generated) to variable.
1409         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1410         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1411         Remove rule.
1412         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1413         Likewise.
1414         [generic bits/local_lim.h] (before-compile): Do not append to
1415         variable.
1416         [generic bits/local_lim.h] (common-generated): Likewise.
1417         [generic sys/param.h] (before-compile): Do not append to variable.
1418         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1419         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1420         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1421         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1422         include.
1423         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1424         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1425         [generic sys/param.h] ($(addprefix
1426         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1427         [generic sys/param.h] (common-generated): Do not append to
1428         variable.
1429         [generic sys/param.h] (sysdep_headers): Likewise.
1430         [generic bits/errno.h] (before-compile): Do not append to
1431         variable.
1432         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1433         rule.
1434         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1435         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1436         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1437         [generic bits/errno.h] (common-generated): Do not append to
1438         variable.
1439         [generic bits/ioctls.h] (before-compile): Do not append to
1440         variable.
1441         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1442         rule.
1443         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1444         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1445         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1446         rule.
1447         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1448         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1449         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1450         [generic bits/ioctls.h] (common-generated): Do not append to
1451         variable.
1452         [generic sys/syscall.h] (syscall.h): Remove variable.
1453         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1454         rule.
1455         [generic sys/syscall.h] (before-compile): Do not append to
1456         variable.
1457         [generic sys/syscall.h] (common-generated): Likewise.
1458         * sysdeps/unix/errnos-tmpl.c: Remove file.
1459         * sysdeps/unix/errnos.awk: Likewise.
1460         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1461         * sysdeps/unix/ioctls.awk: Likewise.
1462         * sysdeps/unix/mk-local_lim.c: Likewise.
1463         * sysdeps/unix/snarf-ioctls: Likewise.
1464
1465 2012-03-19  Richard Henderson  <rth@twiddle.net>
1466
1467         * sysdeps/i386/fpu/fenv_private.h: New file.
1468         * sysdeps/i386/fpu/math_private.h: Use it.
1469         (math_opt_barrier, math_force_eval): Remove.
1470         (libc_feholdexcept_setround_53bit): Remove.
1471         (libc_feupdateenv_53bit): Remove.
1472         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1473         (math_opt_barrier, math_force_eval): Remove.
1474         (libc_feholdexcept): Remove.
1475         (libc_feholdexcept_setround): Remove.
1476         (libc_fetestexcept, libc_fesetenv): Remove.
1477         (libc_feupdateenv_test): Remove.
1478         (libc_feupdateenv, libc_feholdsetround): Remove.
1479         (libc_feresetround): Remove.
1480
1481         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1482         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1483
1484         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1485         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1486         (libc_feupdateenv_testl): New.
1487         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1488         (libc_feupdateenv_testf): New.
1489         (libc_feupdateenv): Use libc_feupdateenv_test.
1490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1491         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1492
1493         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1494         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1495         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1496         (libc_feresetround_noex): New.
1497         (libc_feresetround_noexf): New.
1498         (libc_feresetround_noexl): New.
1499         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1500         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1501         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1502         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1503         SET_RESTORE_ROUND.
1504         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1505         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1506         (__cos): Likewise.
1507         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1508         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1509         SET_RESTORE_ROUND_NOEX.
1510         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1511         SET_RESTORE_ROUND_NOEXF.
1512         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1513         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1514         (libc_feholdsetroundf): New.
1515         (libc_feresetround, libc_feresetroundf): New.
1516
1517         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1518         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1519         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1520
1521         * sysdeps/generic/math_private.h: Include <fenv.h>.
1522         (default_libc_feholdexcept): New.
1523         (default_libc_feholdexcept_setround): New.
1524         (default_libc_fesetenv, default_libc_feupdateenv): New.
1525         (libc_feholdexcept): Only define if undefined.
1526         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1527         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1528         (libc_feholdexcept_setroundl): Likewise.
1529         (libc_feholdexcept_setround_53bit): Likewise.
1530         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1531         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1532         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1533         (libc_feupdateenv_53bit): Likewise.
1534         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1535         (libc_feholdexcept): Convert from macro to inline function.
1536         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1537         (libc_fesetenv, libc_feupdateenv): Likewise.
1538
1539         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1540         not previously defined.
1541         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1542         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1543         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1544         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1545         * sysdeps/ieee754/flt-32/math_private.h: New file.
1546         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1547         math_private.h below SET_FLOAT_WORD.
1548         (__isnan, __isinf_ns, __finite): Remove.
1549         (__isnanf, __isinf_nsf, __finitef): Remove.
1550
1551 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1552
1553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1554
1555 2012-03-17  David S. Miller  <davem@davemloft.net>
1556
1557         [BZ #6471]
1558         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1559         for 2.16.
1560
1561 2012-03-16  David S. Miller  <davem@davemloft.net>
1562
1563         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1564         warnings.
1565
1566         [BZ #6471]
1567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1568         properly.
1569         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1570         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1571         sysdep_routines when subdir is sysvipc.
1572         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1573         __getshmlba helper.
1574
1575         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1576
1577 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1578
1579         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1580         [__LP64__].
1581
1582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1583
1584         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1585         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1586         (__lround): Renamed to ...
1587         (__llround): This.  Replace long int with long long int.
1588         Define lround functions as aliases of llround functions.
1589         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1590
1591 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1592
1593         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1594         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1595         adresses to uintptr_t.  Replace "long int" and "unsigned long
1596         int" with "greg_t" on va_arg.
1597
1598 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1599
1600         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1601         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1602
1603         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1604         Move e_machine check before EI_CLASS check.  Handle x32
1605         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1606         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1607         SKIP_EM_IA_64 and include
1608         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1609
1610         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1611         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1612         (add_system_dir): New macro.
1613
1614         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1615         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1616
1617 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1618
1619         [BZ #2551]
1620         [BZ #2552]
1621         [BZ #2553]
1622         [BZ #2554]
1623         [BZ #2562]
1624         [BZ #2563]
1625         [BZ #2565]
1626         [BZ #2566]
1627         [BZ #2576]
1628         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1629         (y0): Likewise.
1630         * math/w_j0f.c (j0f): Likewise.
1631         (y0f): Likewise.
1632         * math/w_j0l.c (__j0l): Likewise.
1633         (__y0l): Likewise.
1634         * math/w_j1.c (j1): Likewise.
1635         (y1): Likewise.
1636         * math/w_j1f.c (j1f): Likewise.
1637         (y1f): Likewise.
1638         * math/w_j1l.c (__j1l): Likewise.
1639         (__y1l): Likewise.
1640         * math/w_jn.c (jn): Likewise.
1641         (yn): Likewise.
1642         * math/w_jnf.c (jnf): Likewise.
1643         (ynf): Likewise.
1644         * math/w_jnl.c (__jnl): Likewise.
1645         (__ynl): Likewise.
1646         * math/libm-test.inc (j0_test): Add more tests.
1647         (j1_test): Likewise.
1648         (jn_test): Likewise.  Add trailing semicolon to existing test.
1649         (y0_test): Likewise.
1650         (y1_test): Likewise.
1651         * sysdeps/i386/fpu/libm-test-ulps: Update.
1652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1653
1654         [BZ #13851]
1655         [BZ #13854]
1656         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1657         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1658         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1659         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1660         (__tanl): Set errno for infinite argument.
1661         * sysdeps/i386/fpu/mptan.c: Remove.
1662         * sysdeps/i386/fpu/s_tan.S: Likewise.
1663         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1664         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1665         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1666         * math/libm-test.inc (tan_test): Add more tests and enable more
1667         tests for double and long double.
1668         * sysdeps/i386/fpu/libm-test-ulps: Update.
1669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1670
1671 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1672
1673         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1674         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1675
1676 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1677
1678         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1679         * configure.in: Use it for both main tree and add-ons.
1680         * configure: Regenerated.
1681
1682 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1683
1684         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1685
1686 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1687
1688         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1689         in comment.
1690
1691         [BZ #13851]
1692         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1693         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1694         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1695         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1696         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1697         infinite argument.
1698         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1699         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1700         != 0 for prec == 2.
1701         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1702         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1703         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1704         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1705         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1706         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1707         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1708         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1709         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1710         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1711         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1712         * math/libm-test.inc (cos_test): Add more tests and enable more
1713         tests for long double.
1714         (sin_test): Likewise.
1715         (sincos_test): Likewise.
1716         * sysdeps/i386/fpu/libm-test-ulps: Update.
1717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1718
1719 2012-03-16  David S. Miller  <davem@davemloft.net>
1720
1721         * sysdeps/sparc/fpu/math_private.h: New file.
1722
1723 2012-03-15  David S. Miller  <davem@davemloft.net>
1724
1725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1726         file.
1727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1729         file.
1730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1735         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1736         sysdep routines.
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1738
1739         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1740         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1741
1742         * sysdeps/sparc/sparc-ifunc.h: New file.
1743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1744         sparc-ifunc.h
1745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1747         Likewise.
1748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1749         Likewise.
1750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1754         Likewise.
1755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1760         Likewise.
1761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1762         Likewise.
1763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1781         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1782         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1783         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1784         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1785         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1786         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1787
1788 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1789
1790         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1791         scaling.
1792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1793
1794 2012-03-15  Andreas Jaeger  <aj@suse.de>
1795
1796         [BZ #13852]
1797         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1798         ieee754/flt-32 implementation for sin, cos and sincos.
1799         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1800         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1801         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1802         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1803         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1804         ieee754/flt-32 implementation for tan.
1805
1806         * math/libm-test.inc (cos_test): Enable some large input tests for
1807         float as well
1808         (sin_test): Likewise.
1809         (sincos_test): Likewise.
1810         (tan_test): Add tests for large input.
1811
1812         * sysdeps/i386/fpu/libm-test-ulps: Update.
1813
1814 2012-03-15  Andreas Jaeger  <aj@suse.de>
1815
1816         [BZ #13658]
1817         * math/libm-test.inc (cos_test): Add more test cases.
1818         (sin_test): Likewise.
1819         (sincos_test): Likewise.
1820
1821 2012-03-15  Andreas Jaeger  <aj@suse.de>
1822
1823         [BZ #13837]
1824         * math/libm-test.inc (cos_test): Add a test case for large input
1825         value.
1826         (sin_test): Likewise.
1827         (sincos_test): Likewise.
1828
1829 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1830         Joseph Myers  <joseph@codesourcery.com>
1831
1832         [BZ #13658]
1833         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1834         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1835         * sysdeps/i386/fpu/branred.c: Likewise.
1836         * sysdeps/i386/fpu/dosincos.c: Likewise.
1837         * sysdeps/i386/fpu/mpa.c: Likewise.
1838         * sysdeps/i386/fpu/s_cos.S: Likewise.
1839         * sysdeps/i386/fpu/s_sin.S: Likewise.
1840         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1841         * sysdeps/i386/fpu/sincos32.c: Likewise.
1842
1843         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1844         Define.
1845         (libc_feupdateenv_53bit): Define.
1846         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1847         Define.
1848         (libc_feupdateenv_53bit): Define.
1849
1850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1851         53 bit (without extend i386 double precision).
1852
1853         * math/libm-test.inc (sincos_test): Add tests for large input.
1854         (sin): Likewise.
1855         (cos): Likewise.
1856
1857         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1858
1859 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1860
1861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1862
1863 2012-03-15  David S. Miller  <davem@davemloft.net>
1864
1865         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1866         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1867         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1868         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1881         file.
1882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1884         file.
1885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1887         file.
1888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1890         file.
1891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1892         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1893         fmin/fmax sysdep routines.
1894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1895
1896 2012-03-14  David S. Miller  <davem@davemloft.net>
1897
1898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1903         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1909         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1918         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1919         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1920         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1921         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1922         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1923         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1924         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1925         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1926         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1927         routines.
1928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1929         file.
1930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1932         file.
1933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1935         file.
1936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1938         file.
1939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1941         file.
1942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1944         file.
1945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1946         file.
1947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1948         file.
1949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1950         file.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1952         New file.
1953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1954         file.
1955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1956         file.
1957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1959         file.
1960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1962         file.
1963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1965         file.
1966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1968         VIS3 routines.
1969
1970         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1971         New file.
1972
1973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1974
1975         * sysdeps/sparc/configure.in: New file.
1976         * sysdeps/sparc/configure: Generate.
1977         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1978         * configure: Regenerate.
1979         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1980         * config.make.in (have-as-vis3): New.
1981         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1982         available use -Av9d instead of -Av9a.
1983         * sysdeps/sparc/sparc64/Makefile: Likewise.
1984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1986         New file.
1987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1988         file.
1989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1990         New file.
1991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1992         file.
1993         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1994         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1995         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1996         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1997         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1998
1999         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2000         fzeros/fnegs to load 0x80000000 into a float register instead of
2001         using the stack.
2002         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2003
2004 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2005
2006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2007         bits/syscall.h.
2008         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2009         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2010         ($(inst_includedir)/bits/syscall.h): Remove rule.
2011         ($(objpfx)bits/syscall.d): Include instead of
2012         $(objpfx)syscall-list.d.
2013         (generated): Change syscall-list.h and syscall-list.d to
2014         bits/syscall.h and bits/syscall.d.
2015
2016 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2017
2018         [BZ #13846]
2019         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2020
2021 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2022
2023         [BZ #13841]
2024         * math/s_csqrt.c: Include <float.h>.
2025         (__csqrt): Scale large or subnormal inputs.
2026         * math/s_csqrtf.c: Likewise.
2027         * math/s_csqrtl.c: Likewise.
2028         * math/libm-test.inc (csqrt_test): Add more tests.
2029         * sysdeps/i386/fpu/libm-test-ulps: Update.
2030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2031
2032         [BZ #13840]
2033         * math/libm-test.inc (hypot_test): Add more tests.
2034
2035 2012-03-13  David S. Miller  <davem@davemloft.net>
2036
2037         [BZ #13840]
2038         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2039         double-precision for the calculation instead of scaling.
2040
2041 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2042
2043         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2044         manipulate bits before adding and subtracting TWO52[sx].
2045         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2046         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2047         Likewise.
2048         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2049
2050 2012-03-13  David S. Miller  <davem@davemloft.net>
2051
2052         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2053         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2054         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2055         rtld-global-offsets.h
2056         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2057
2058         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2059         large parameters.
2060
2061         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2062
2063         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2064         'err' in the ifdef scope in which it is actually used.
2065
2066         * nss/nss_db/db-init.c: Include string.h
2067
2068 2012-03-12  David S. Miller  <davem@davemloft.net>
2069
2070         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2071         masking out of the most significant byte of random value used.
2072         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2073         Fix coding style in previous change.
2074
2075         * sysdeps/unix/sysv/linux/kernel-features.h
2076         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2077         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2078         expression.
2079         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2080         later.
2081
2082 2012-03-11  David S. Miller  <davem@davemloft.net>
2083
2084         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2085         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2087         for 'resultvar' otherwise things get truncated on 64-bit.
2088
2089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2090         Fix masking out of the most significant byte of random value used.
2091
2092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2093
2094 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2095
2096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2097
2098 2012-03-09  David S. Miller  <davem@davemloft.net>
2099
2100         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2101         variables with appropriate CPP guards.
2102         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2103         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2104         on resulting framesize and the management of the outregs buffer for pltexit.
2105         Preserve floating point return values across _dl_call_pltexit call.
2106         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2107         framesize and the management of the outregs buffer for pltexit.
2108         Preserve floating point return values across _dl_call_pltexit
2109         call.
2110         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2111         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2112         (print_exit): Fix format string for return register value.
2113
2114 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2115
2116         * sunrpc/Makefile (others): Add rpcgen.
2117         ($(objpfx)rpcgen): Remove special build rule and dependency on
2118         libc.
2119         * sunrpc/rpcgen.c: New file.
2120
2121 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2122
2123         [BZ #13673]
2124         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2125         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2126         * sysdeps/i386/crti.S: Likewise.
2127         * sysdeps/i386/crtn.S: Likewise.
2128         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2129         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2130         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2131         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2132         * sysdeps/sh/crti.S: Likewise.
2133         * sysdeps/sh/crtn.S: Likewise.
2134         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2135
2136         [BZ #13673]
2137         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2138         with URL.
2139         * locale/programs/locfile-kw.gperf: Likewise.
2140         * locale/programs/charmap-kw.h: Regenerated.
2141         * locale/programs/locfile-kw.h: Likewise.
2142
2143         [BZ #13673]
2144         * intl/plural.y: Replace FSF snail mail address with URL.
2145         * intl/plural.c: Regenerated.
2146
2147 2012-03-09  Richard Henderson  <rth@twiddle.net>
2148
2149         * include/math_private.h: Remove file.
2150         * math/math_private.h: Move file ...
2151         * sysdeps/generic/math_private.h: ... here.
2152
2153         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2154         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2155         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2156
2157         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2158         and <math_private.h>.
2159         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2160         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2161         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2162         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2163         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2164         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2165         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2167         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2168         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2170         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2171         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2173         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2174         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2176         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2177         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2178         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2179         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2180         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2181         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2182         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2183         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2184         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2185         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2186         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2188         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2189         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2190         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2191         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2192         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2193         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2194         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2195         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2196         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2197         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2198         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2199         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2200         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2201         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2202         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2203         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2204         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2205         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2206         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2209         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2210         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2211         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2212         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2213         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2214         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2215         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2217         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2218         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2219         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2220         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2221         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2222         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2223         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2224         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2225         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2226         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2227         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2228         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2229         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2230         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2231         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2232         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2233         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2236         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2237         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2238         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2239         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2240         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2241         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2242         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2243         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2245         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2246         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2247         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2248         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2249         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2250         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2251         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2252         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2253         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2254         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2255         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2256         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2257         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2258         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2259         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2260         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2261         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2262         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2263         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2264         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2266         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2267         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2268         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2269         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2270         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2271         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2272         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2273         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2274         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2275         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2276         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2277         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2278         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2279         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2280         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2281         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2282         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2283         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2284         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2286         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2287         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2288         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2289         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2290         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2291         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2292         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2293         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2294         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2295         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2296         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2297         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2298         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2299         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2300         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2301         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2302         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2303         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2304         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2305         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2306         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2307         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2308         * sysdeps/ieee754/k_standard.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2375         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2377         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2378         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2423         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2424         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2425         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2426         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2428         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2429         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2430         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2431         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2432         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2433         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2434         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2435         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2436         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2437         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2439         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2440         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2441         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2446         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2448         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2457         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2458         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2459         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2465         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2469         * sysdeps/ieee754/s_lib_version.c: Likewise.
2470         * sysdeps/ieee754/s_matherr.c: Likewise.
2471         * sysdeps/ieee754/s_signgam.c: Likewise.
2472         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2473         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2474         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2475         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2476         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2477         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2478         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2479         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2480         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2481         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2482         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2483         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2484         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2485         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2486         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2487         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2488         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2489         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2490         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2492         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2493
2494 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2495
2496         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2497         * sunrpc/rpc_main.c: Likewise.
2498         * sunrpc/rpc_svcout.c: Likewise.
2499
2500 2012-03-09  David S. Miller  <davem@davemloft.net>
2501
2502         * include/math_private.h: New file.
2503
2504 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2505
2506         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2507         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2508         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2509         from <bits/socket_type.h>.
2510         (enum __socket_type): Don't define here.
2511         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2513         bits/socket_type.h.
2514
2515         [BZ #13566]
2516         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2517         checking __USE_GNU.
2518
2519         * Makerules ($(inst_includedir)/%.h): New rule.
2520         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2521         (install-others): Remove variable setting.
2522         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2523
2524 2012-03-08  Richard Henderson  <rth@twiddle.net>
2525
2526         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2527         from macro to inline function; merge with the
2528         !__LIBC_INTERNAL_MATH_INLINES version.
2529         (__ieee754_sqrtf): Likewise.
2530
2531         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2532         to inline function.
2533         (__rintf, __floor, __floorf): Likewise.
2534
2535         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2536         macro to inline function.
2537         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2538
2539         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2540         not <math/math_private.h>.
2541
2542 2012-03-08  David S. Miller  <davem@davemloft.net>
2543
2544         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2545         copyright year.
2546         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2547
2548 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2549
2550         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2551         normalization.
2552         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2553         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2554
2555 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2556
2557         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2558         be defined individually, they must be defined as a block.  Define
2559         S for printing a string instead of hidint the different by using a
2560         macro for adding the 'l'.
2561         * stdio-common/tst-fphex-wide.c: Adjust.
2562
2563 2012-03-07  Marek Polacek  <polacek@redhat.com>
2564
2565         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2566
2567 2012-03-08  Marek Polacek  <polacek@redhat.com>
2568
2569         [BZ #13806]
2570         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2571         * stdio-common/tst-fphex.c: Define a few macros to make the
2572         test reusable.  Use them.
2573         * stdio-common/tst-fphex-wide.c: New file.
2574
2575 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2576
2577         [BZ #6911]
2578         * manual/macros.texi (gnusystems): New macro.
2579         (nongnusystems): Likewise.
2580         (gnulinuxhurdsystems): Likewise.
2581         (gnuhurdsystems): Likewise..
2582         (gnulinuxsystems): Likewise.
2583         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2584         variants of the GNU system, not "GNU system".
2585         * manual/conf.texi: Likewise.
2586         * manual/errno.texi: Likewise.  Update example of errno macro
2587         expansion.
2588         * manual/filesys.texi: Likewise.
2589         (getumask): Document as specific to GNU/Hurd.
2590         * manual/install.texi: Likewise.  Reword some references to
2591         GNU/Linux.
2592         * manual/intro.texi: Likewise.
2593         * manual/io.texi: Likewise.
2594         (File Name Portability): Detail which constraints are inapplicable
2595         to all GNU systems and which are only inapplicable to GNU/Hurd.
2596         * manual/job.texi: Likewise.
2597         * manual/llio.texi: Likewise.
2598         (O_NOCTTY): Document as present on GNU/Linux.
2599         * manual/maint.texi: Likewise.
2600         * manual/memory.texi: Likewise.
2601         * manual/pattern.texi: Likewise.
2602         * manual/pipe.texi: Likewise.
2603         * manual/process.texi: Likewise.
2604         * manual/resource.texi: Likewise.
2605         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2606         child on GNU/Hurd.
2607         * manual/setjmp.texi: Likewise.
2608         * manual/signal.texi: Likewise.
2609         * manual/startup.texi: Likewise.
2610         * manual/stdio.texi: Likewise.
2611         * manual/terminal.texi: Likewise.
2612         (ONLCR): Document as POSIX.
2613         (OXTABS): Document availability on GNU/Linux as XTABS.
2614         (ONOEOT): Document availability separately from other bits.
2615         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2616         * manual/time.texi: Likewise.
2617         * manual/users.texi: Likewise.
2618         * INSTALL: Regenerated.
2619         * sysdeps/gnu/errlist.c: Regenerated.
2620
2621         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2622         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2623         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2624         puts.
2625         * configure: Regenerated.
2626
2627 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2628
2629         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2630         default includes instead of AC_HEADER_CHECK.
2631         * sysdeps/i386/configure: Regenerated.
2632
2633         [BZ #10716]
2634         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2635         * math/s_cacoshf.c (__cacoshf): Likewise.
2636         * math/s_cacoshl.c (__cacoshl): Likewise.
2637         * math/s_casinh.c (__casinh): Set signs of result from argument.
2638         * math/s_casinhf.c (__casinhf): Likewise.
2639         * math/s_casinhl.c (__casinhl): Likewise.
2640         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2641         (casinh_test): Add more tests.
2642         * sysdeps/i386/fpu/libm-test-ulps: Update.
2643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2644
2645 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2646
2647         * po/zh_TW.po: Update from translation team.
2648
2649         * login/Makefile (distribute): Remove variable.
2650         * catgets/Makefile: Likewise.
2651         * mach/Makefile: Likewise.
2652         * malloc/Makefile: Likewise.
2653         * misc/Makefile: Likewise.
2654         * iconv/Makefile: Likewise.
2655         * nscd/Makefile: Likewise.
2656         * hurd/Makefile: Likewise.
2657         * manual/Makefile: Likewise.
2658         * locale/Makefile: Likewise.
2659         * intl/Makefile: Likewise.
2660         * conform/Makefile: Likewise.
2661         * nss/Makefile: Likewise.
2662         * time/Makefile: Likewise.
2663         * soft-fp/Makefile: Likewise.
2664         * dirent/Makefile: Likewise.
2665         * gmon/Makefile: Likewise.
2666         * po/Makefile: Likewise.
2667         * rt/Makefile: Likewise.
2668         * socket/Makefile: Likewise.
2669         * math/Makefile: Likewise.
2670         * signal/Makefile: Likewise.
2671         * debug/Makefile: Likewise.
2672         * elf/Makefile: Likewise.
2673         * timezone/Makefile: Likewise.
2674         * stdlib/Makefile: Likewise.
2675         * iconvdata/Makefile: Likewise.
2676         * sunrpc/Makefile: Likewise.
2677         * io/Makefile: Likewise.
2678         * argp/Makefile: Likewise.
2679         * inet/Makefile: Likewise.
2680         * hesiod/Makefile: Likewise.
2681         * grp/Makefile: Likewise.
2682         * csu/Makefile: Likewise.
2683         * wctype/Makefile: Likewise.
2684         * crypt/Makefile: Likewise.
2685         * libio/Makefile: Likewise.
2686         * string/Makefile: Likewise.
2687         * nis/Makefile: Likewise.
2688         * resolv/Makefile: Likewise.
2689         * stdio-common/Makefile: Likewise.
2690         * wcsmbs/Makefile: Likewise.
2691         * dlfcn/Makefile: Likewise.
2692         * posix/Makefile: Likewise.
2693
2694         * timezone/Makefile: Don't install timezone files, just the programs
2695         and scripts.
2696
2697 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2698
2699         * nss/databases.def: Add missing gshadow entry.
2700
2701         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2702
2703 2012-03-06  Marek Polacek  <polacek@redhat.com>
2704
2705         [BZ #13726]
2706         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2707         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2708         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2709         * stdio-common/tst-long-dbl-fphex.c: New file.
2710
2711 2012-03-06  David S. Miller  <davem@davemloft.net>
2712
2713         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2714         (set_obp_int): New function.
2715         (get_obp_int): New function.
2716         (__get_clockfreq_via_dev_openprom): Likewise.
2717         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2718         Avoid unused variable warnings on 'val' and use builtin_expect.
2719         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2720         __builtin_expect.
2721         (INLINE_CLONE_SYSCALL): Likewise.
2722
2723 2012-03-05  David S. Miller  <davem@davemloft.net>
2724
2725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2726
2727 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2728
2729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2730
2731         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2732         only for |x| >= 40.
2733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2734
2735 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2736
2737         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2738         Replace gettimeofday with __vdso_gettimeofday.
2739
2740         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2741         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2742         __vdso_clock_gettime and __vdso_getcpu.
2743
2744         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2745         time with __vdso_time.
2746
2747 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2748
2749         * manual/lang.texi (size_t): Note types to which size_t may be
2750         equivalent with the GNU C Library, but do not describe when
2751         differences between them are significant.
2752
2753 2012-03-05  Andreas Jaeger  <aj@suse.de>
2754
2755         * sysdeps/i386/fpu/libm-test-ulps: Update.
2756
2757 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2758
2759         [BZ #3976]
2760         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2761         (__ieee754_pow): Save and restore rounding mode and use
2762         round-to-nearest for main computations.
2763         * math/libm-test.inc (pow_test_tonearest): New function.
2764         (pow_test_towardzero): Likewise.
2765         (pow_test_downward): Likewise.
2766         (pow_test_upward): Likewise.
2767         (main): Call the new functions.
2768         * sysdeps/i386/fpu/libm-test-ulps: Update.
2769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2770
2771         [BZ #3976]
2772         * math/libm-test.inc (cosh_test_tonearest): New function.
2773         (cosh_test_towardzero): Likewise.
2774         (cosh_test_downward): Likewise.
2775         (cosh_test_upward): Likewise.
2776         (sinh_test_tonearest): Likewise.
2777         (sinh_test_towardzero): Likewise.
2778         (sinh_test_downward): Likewise.
2779         (sinh_test_upward): Likewise.
2780         (main): Call the new functions.
2781         * sysdeps/i386/fpu/libm-test-ulps: Update.
2782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2783
2784 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2785
2786         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2787         default stack guard is set in last bytes.
2788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2789
2790 2012-03-05  Kees Cook  <keescook@chromium.org>
2791
2792         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2793
2794         [BZ #13656]
2795         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2796         possibly allocate from heap instead of stack.
2797         * stdio-common/bug-vfprintf-nargs.c: New file.
2798         * stdio-common/Makefile (tests): Add nargs overflow test.
2799
2800 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2801
2802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2803
2804 2012-03-03  Marek Polacek  <polacek@redhat.com>
2805
2806         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2807         * math/math_private.h: Likewise.
2808         * stdlib/tst-strtod.c: Likewise.
2809         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2810         * sysdeps/x86_64/bits/atomic.h: Likewise.
2811
2812 2012-03-02  David S. Miller  <davem@davemloft.net>
2813
2814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2818         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2819         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2820         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2821         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2822
2823 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2824
2825         [BZ #13792]
2826         * manual/examples/README: New file, says the example source files
2827         can be used under GPL>=2.
2828         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2829         line containing just "*/".
2830         * manual/examples/add.c: Add copyright header (GPL>=2).
2831         * manual/examples/argp-ex1.c: Likewise.
2832         * manual/examples/argp-ex2.c: Likewise.
2833         * manual/examples/argp-ex3.c: Likewise.
2834         * manual/examples/argp-ex4.c: Likewise.
2835         * manual/examples/atexit.c: Likewise.
2836         * manual/examples/db.c: Likewise.
2837         * manual/examples/dir.c: Likewise.
2838         * manual/examples/dir2.c: Likewise.
2839         * manual/examples/execinfo.c: Likewise.
2840         * manual/examples/filecli.c: Likewise.
2841         * manual/examples/filesrv.c: Likewise.
2842         * manual/examples/fmtmsgexpl.c: Likewise.
2843         * manual/examples/genpass.c: Likewise.
2844         * manual/examples/inetcli.c: Likewise.
2845         * manual/examples/inetsrv.c: Likewise.
2846         * manual/examples/isockad.c: Likewise.
2847         * manual/examples/longopt.c: Likewise.
2848         * manual/examples/memopen.c: Likewise.
2849         * manual/examples/memstrm.c: Likewise.
2850         * manual/examples/mkfsock.c: Likewise.
2851         * manual/examples/mkisock.c: Likewise.
2852         * manual/examples/mygetpass.c: Likewise.
2853         * manual/examples/pipe.c: Likewise.
2854         * manual/examples/popen.c: Likewise.
2855         * manual/examples/rprintf.c: Likewise.
2856         * manual/examples/search.c: Likewise.
2857         * manual/examples/select.c: Likewise.
2858         * manual/examples/setjmp.c: Likewise.
2859         * manual/examples/sigh1.c: Likewise.
2860         * manual/examples/sigusr.c: Likewise.
2861         * manual/examples/stpcpy.c: Likewise.
2862         * manual/examples/strdupa.c: Likewise.
2863         * manual/examples/strftim.c: Likewise.
2864         * manual/examples/strncat.c: Likewise.
2865         * manual/examples/subopt.c: Likewise.
2866         * manual/examples/swapcontext.c: Likewise.
2867         * manual/examples/termios.c: Likewise.
2868         * manual/examples/testopt.c: Likewise.
2869         * manual/examples/testpass.c: Likewise.
2870         * manual/examples/timeval_subtract.c: Likewise.
2871
2872         [BZ #13792]
2873         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2874         function to ...
2875         * manual/timeval_subtract.c.texi: ... here, new file.
2876
2877 2012-03-02  David S. Miller  <davem@davemloft.net>
2878
2879         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2880
2881 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2882
2883         [BZ #3976]
2884         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2885         (__sin): Save and restore rounding mode and use round-to-nearest
2886         for all computations.
2887         (__cos): Save and restore rounding mode and use round-to-nearest
2888         for all computations.
2889         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2890         <fenv.h>.
2891         (tan): Save and restore rounding mode and use round-to-nearest for
2892         all computations.
2893         * math/libm-test.inc (cos_test_tonearest): New function.
2894         (cos_test_towardzero): Likewise.
2895         (cos_test_downward): Likewise.
2896         (cos_test_upward): Likewise.
2897         (sin_test_tonearest): Likewise.
2898         (sin_test_towardzero): Likewise.
2899         (sin_test_downward): Likewise.
2900         (sin_test_upward): Likewise.
2901         (tan_test_tonearest): Likewise.
2902         (tan_test_towardzero): Likewise.
2903         (tan_test_downward): Likewise.
2904         (tan_test_upward): Likewise.
2905         (main): Call the new functions.
2906         * sysdeps/i386/fpu/libm-test-ulps: Update.
2907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2908
2909         [BZ #10135]
2910         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2911         small n, then large n, before computing and testing k+n.
2912         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2914         Likewise.
2915         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2916         Likewise.
2917         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2918         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2921         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2922         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2923         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2924         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2925         * math/libm-test.inc (scalbn_test): Add more tests.
2926         (scalbln_test): Likewise.
2927
2928         * manual/filesys.texi (mode_t): Describe constraints on size and
2929         signedness, not exact equivalence to a particular type.
2930         (ino_t): Likewise.
2931         (ino64_t): Likewise.
2932         (dev_t): Likewise.
2933         (nlink_t): Likewise.
2934         (blkcnt_t): Likewise.
2935         (blkcnt64_t): Likewise.
2936         * manual/llio.texi (off_t): Likewise.
2937
2938         [BZ #3976]
2939         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2940         (__ieee754_exp): Save and restore rounding mode and use
2941         round-to-nearest for all computations.
2942         * math/libm-test.inc (exp_test_tonearest): New function.
2943         (exp_test_towardzero): Likewise.
2944         (exp_test_downward): Likewise.
2945         (exp_test_upward): Likewise.
2946         (main): Call the new functions.
2947         * sysdeps/i386/fpu/libm-test-ulps: Update.
2948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2949
2950 2012-03-01  Chris Demetriou  <cgd@google.com>
2951
2952         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2953         have predictable order.
2954
2955 2012-03-01  David S. Miller  <davem@davemloft.net>
2956
2957         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2958
2959         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2960         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2961         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2962         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2963
2964         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2965         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2966         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2968         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2969         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2970         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2971         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2972         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2973
2974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2975
2976         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2977         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2978         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2979
2980         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2981         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2982         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2983         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2984         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2985         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2987         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2988         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2989         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2990         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2991         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2993         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2994         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2996         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2997         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2998         * sysdeps/sparc/elf/configure: Regenerated.
2999
3000 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3001
3002         * configure.in (AS, LD): Require binutils 2.20 or later.
3003         * configure: Regenerated.
3004         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3005         as required minimum version.
3006         * INSTALL: Regenerated.
3007
3008         [BZ #2541]
3009         [BZ #4108]
3010         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3011         before squaring exponent.
3012         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3013         bottom long double and 27 bits of top long double before squaring
3014         exponent.
3015         * math/libm-test.inc (erfc_test): Add more tests.
3016         * sysdeps/i386/fpu/libm-test-ulps: Update.
3017         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3019
3020 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3021
3022         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3023         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3024         containing bit-fields.
3025         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3026         * soft-fp/single.h (_FP_UNION_S): Likewise.
3027         * soft-fp/double.h (_FP_UNION_D): Likewise.
3028
3029 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3030
3031         [BZ #13786]
3032         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3033         not include ../strcmp.S.
3034         [USE_AS_STRNCASECMP_L]: Likewise.
3035         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3036         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3037         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3038         (__strncasecmp_l_ia32): Define as alias to
3039         __strncasecmp_l_nonascii.
3040
3041         [BZ #5794]
3042         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3043         * sysdeps/i386/fpu/libm-test-ulps: Update.
3044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3045
3046         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3048
3049 2012-02-29  Jeff Law  <law@redhat.com>
3050
3051         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3052         out of bounds read.
3053
3054 2012-02-29  Marek Polacek  <polacek@redhat.com>
3055
3056         [BZ #13706]
3057         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3058         * elf/Makefile: Add rules to run tst-unused-dep.out.
3059
3060 2012-02-28  David S. Miller  <davem@davemloft.net>
3061
3062         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3063         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3065         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3066         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3067         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3068
3069 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3070
3071         * math/libm-test.inc (llround_test): Move one test from
3072         lround_test.  Use TEST_f_L in moved test.
3073         (lround_test): Move misplaced test to llround_test.  Add testcase
3074         from bug 2561.
3075
3076 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3077
3078         * sysdeps/x86_64/fpu/e_expf.S: New file.
3079         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3080
3081 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3082
3083         [BZ #13637]
3084         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3085         of remain_len that may cause incomplete multi-byte character and
3086         false match.
3087         * posix/bug-regex33.c: New file.
3088         * posix/Makefile (tests): Add bug-regex33.
3089
3090 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3091
3092         * manual/macros.texi: New file.
3093         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3094         * manual/libc.texinfo: Include macros.texi.
3095         * manual/creatute.texi: Likewise.
3096         * manual/install.texi: Likewise.
3097         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3098         @glibcadj{} in references to the GNU C Library.
3099         * manual/charset.texi: Likewise.
3100         * manual/conf.texi: Likewise.
3101         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3102         when not using those macros.
3103         * manual/creature.texi: Likewise.
3104         * manual/crypt.texi: Likewise.
3105         * manual/errno.texi: Likewise.
3106         * manual/filesys.texi: Likewise.
3107         * manual/header.texi: Likewise.
3108         * manual/install.texi: Likewise.
3109         * manual/intro.texi: Likewise.
3110         * manual/io.texi: Likewise.
3111         * manual/job.texi: Likewise.
3112         * manual/lang.texi: Likewise.
3113         * manual/libc.texiinfo: Likewise.
3114         * manual/llio.texi: Likewise.
3115         * manual/locale.texi: Likewise.
3116         * manual/maint.texi: Likewise.
3117         * manual/math.texi: Likewise.
3118         * manual/memory.texi: Likewise.
3119         * manual/message.texi: Likewise.
3120         * manual/nss.texi: Likewise.
3121         * manual/pattern.texi: Likewise.
3122         * manual/process.texi: Likewise.
3123         * manual/resource.texi: Likewise.
3124         * manual/search.texi: Likewise.
3125         * manual/setjmp.texi: Likewise.
3126         * manual/signal.texi: Likewise.
3127         * manual/socket.texi: Likewise.
3128         * manual/startup.texi: Likewise.
3129         * manual/stdio.texi: Likewise.
3130         * manual/string.texi: Likewise.
3131         * manual/sysinfo.texi: Likewise.
3132         * manual/syslog.texi: Likewise.
3133         * manual/terminal.texi: Likewise.
3134         * manual/time.texi: Likewise.
3135         * manual/users.texi: Likewise.
3136         * INSTALL: Regenerated.
3137         * NOTES: Regenerated.
3138         * sysdeps/gnu/errlist.c: Regenerated.
3139
3140 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3141
3142         * include/dirent.h: Include <dirstream.h> before
3143         <dirent/dirent.h>.
3144
3145 2012-02-28  David S. Miller  <davem@davemloft.net>
3146
3147         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3148         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3149         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3150         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3151
3152 2012-02-27  David S. Miller  <davem@davemloft.net>
3153
3154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3156         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3157         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3158
3159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3160         frame pointer instead of stack pointer relative arg slot.
3161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3162         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3163         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3164
3165 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3166
3167         [BZ #3992]
3168         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3169
3170 2012-02-27  David S. Miller  <davem@davemloft.net>
3171
3172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3176         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3177         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3178         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3179         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3180
3181 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3182
3183         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3184         later.  Allow versions 5-9.
3185         * configure: Regenerated.
3186         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3187         required minimum version and 4.6 as recommended version.  Do not
3188         mention bugs in GCC 2.7 and 2.8.
3189         * INSTALL: Regenerated.
3190
3191 2012-02-27  David S. Miller  <davem@davemloft.net>
3192
3193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3197         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3198         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3199         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3200         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3201
3202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3203         manipulate bits before adding and subtracting TWO112[sx].
3204         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3205
3206 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3207
3208         [BZ #13775]
3209         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3210         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3211         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3212         being in POSIX, because they are in 1003.1-2008.
3213
3214         * rt/tst-aio.c: Include <fcntl.h>.
3215         * rt/tst-aio7.c: Likewise.
3216         * rt/tst-aio64.c: Likewise.
3217
3218         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3219
3220 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3221
3222         * manual/install.texi (--with-headers): Describe headers as
3223         interface headers, not private headers.
3224         (Specific advice for GNU/Linux systems): Describe use of headers
3225         from "make headers_install", not private headers from older
3226         kernels.
3227         * INSTALL: Regenerated.
3228         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3229         Change to 2.6.19.
3230         * sysdeps/unix/sysv/linux/configure: Regenerated.
3231
3232         * manual/llio.texi (fclean): Remove documentation.
3233
3234         * manual/Makefile (libc-texi-generated): New variable.  Include
3235         version.texi.
3236         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3237         $(libc-texi-generated), not duplicated list of files.
3238         (version.texi, stamp-version): New rules.
3239         (realclean): Remove $(libc-texi-generated), not individual files
3240         from that list.  Do not remove dir-add.texinfo.
3241         * manual/libc.texinfo: Comment out uses of edition numbers and
3242         references to printed manual.  Remove last-updated dates.
3243         (EDITION): Comment out.
3244         (ISBN): Likewise.
3245         (VERSION, UPDATED): Remove.
3246         (version.texi): Include.
3247
3248 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3249
3250         * sysdeps/posix/spawni.c: Include <signal.h>.
3251         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3252         * sysdeps/pthread/aio_fsync.c: Likewise.
3253
3254 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3255
3256         * conform/Makefile (tests): Run only when not cross-compiling and
3257         when fast-check is not defined.
3258
3259         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3260         * conform/data/limits.h-data: Fixes for POSIX2008.
3261         * conform/run-conformtest.sh: Run all tests.
3262         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3263         headers.
3264         * include/bits/dlfcn.h: Likewise.
3265         * include/langinfo.h: Likewise.
3266         * include/monetary.h: Likewise.
3267         * include/sys/poll.h: Likewise.
3268
3269         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3270         for __USE_GNU.
3271         * posix/spawn.h: Define __need_sigset_t.
3272         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3273         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3274         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3275         to get sigevent_t only.
3276         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3277         only for __USE_GNU.
3278         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3279         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3280         process_vm_writev only for __USE_GNU.
3281         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3282
3283         * conform/Makefile: For now ignore errors from run-conformtest.
3284         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3285         POSIX to avoid namespace pollution.  Don't prepend headers.
3286         * conform/data/aio.h-data: Fixes for POSIX testing.
3287         * conform/data/fcntl.h-data: Likewise.
3288         * conform/data/glob.h-data: Likewise.
3289         * conform/data/grp.h-data: Likewise.
3290         * conform/data/pthread.h-data: Likewise.
3291         * conform/data/pwd.h-data: Likewise.
3292         * conform/data/signal.h-data: Likewise.
3293         * conform/data/spawn.h-data: Likewise.
3294         * conform/data/stdio.h-data: Likewise.
3295         * conform/data/stdlib.h-data: Likewise.
3296         * conform/data/stropts.h-data: Likewise.
3297         * conform/data/sys/mman.h-data: Likewise.
3298         * conform/data/sys/stat.h-data: Likewise.
3299         * conform/data/sys/types.h-data: Likewise.
3300         * conform/data/sys/wait.h-data: Likewise.
3301         * conform/data/time.h-data: Likewise.
3302         * conform/data/unistd.h-data: Likewise.
3303         * conform/data/utime.h-data: Likewise.
3304
3305         * io/sys/stat.h: fchmod was always in POSIX.
3306         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3307         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3308         * rt/aio.h: Define __need_timespec before including <time.h>.
3309         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3310         struct.  Add forward declaration of pthread_attr_t and use it in
3311         sigevent.
3312         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3314         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3315         always remove CLK_TCK definition.
3316
3317 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3318
3319         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3320
3321 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3322
3323         * conform/run-conformtest.sh: New file.
3324         * conform/Makefile: Run run-conformtest for tests.
3325         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3326         support.
3327
3328         * conform/data/uchar.h-data: New file.
3329         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3330         * conform/data/arpa/inet.h-data: Likewise.
3331         * conform/data/assert.h-data: Likewise.
3332         * conform/data/complex.h-data: Likewise.
3333         * conform/data/cpio.h-data: Likewise.
3334         * conform/data/ctype.h-data: Likewise.
3335         * conform/data/dirent.h-data: Likewise.
3336         * conform/data/dlfcn.h-data: Likewise.
3337         * conform/data/errno.h-data: Likewise.
3338         * conform/data/fcntl.h-data: Likewise.
3339         * conform/data/float.h-data: Likewise.
3340         * conform/data/fmtmsg.h-data: Likewise.
3341         * conform/data/fnmatch.h-data: Likewise.
3342         * conform/data/ftw.h-data: Likewise.
3343         * conform/data/glob.h-data: Likewise.
3344         * conform/data/grp.h-data: Likewise.
3345         * conform/data/iconv.h-data: Likewise.
3346         * conform/data/inttypes.h-data: Likewise.
3347         * conform/data/langinfo.h-data: Likewise.
3348         * conform/data/libgen.h-data: Likewise.
3349         * conform/data/limits.h-data: Likewise.
3350         * conform/data/locale.h-data: Likewise.
3351         * conform/data/math.h-data: Likewise.
3352         * conform/data/monetary.h-data: Likewise.
3353         * conform/data/mqueue.h-data: Likewise.
3354         * conform/data/ndbm.h-data: Likewise.
3355         * conform/data/net/if.h-data: Likewise.
3356         * conform/data/netdb.h-data: Likewise.
3357         * conform/data/netinet/in.h-data: Likewise.
3358         * conform/data/nl_types.h-data: Likewise.
3359         * conform/data/poll.h-data: Likewise.
3360         * conform/data/pthread.h-data: Likewise.
3361         * conform/data/pwd.h-data: Likewise.
3362         * conform/data/regex.h-data: Likewise.
3363         * conform/data/sched.h-data: Likewise.
3364         * conform/data/search.h-data: Likewise.
3365         * conform/data/semaphore.h-data: Likewise.
3366         * conform/data/setjmp.h-data: Likewise.
3367         * conform/data/signal.h-data: Likewise.
3368         * conform/data/spawn.h-data: Likewise.
3369         * conform/data/stdarg.h-data: Likewise.
3370         * conform/data/stdio.h-data: Likewise.
3371         * conform/data/stdlib.h-data: Likewise.
3372         * conform/data/string.h-data: Likewise.
3373         * conform/data/strings.h-data: Likewise.
3374         * conform/data/stropts.h-data: Likewise.
3375         * conform/data/sys/ipc.h-data: Likewise.
3376         * conform/data/sys/mman.h-data: Likewise.
3377         * conform/data/sys/msg.h-data: Likewise.
3378         * conform/data/sys/resource.h-data: Likewise.
3379         * conform/data/sys/select.h-data: Likewise.
3380         * conform/data/sys/sem.h-data: Likewise.
3381         * conform/data/sys/shm.h-data: Likewise.
3382         * conform/data/sys/socket.h-data: Likewise.
3383         * conform/data/sys/stat.h-data: Likewise.
3384         * conform/data/sys/statvfs.h-data: Likewise.
3385         * conform/data/sys/time.h-data: Likewise.
3386         * conform/data/sys/timeb.h-data: Likewise.
3387         * conform/data/sys/times.h-data: Likewise.
3388         * conform/data/sys/types.h-data: Likewise.
3389         * conform/data/sys/uio.h-data: Likewise.
3390         * conform/data/sys/un.h-data: Likewise.
3391         * conform/data/sys/utsname.h-data: Likewise.
3392         * conform/data/sys/wait.h-data: Likewise.
3393         * conform/data/syslog.h-data: Likewise.
3394         * conform/data/tar.h-data: Likewise.
3395         * conform/data/termios.h-data: Likewise.
3396         * conform/data/utime.h-data: Likewise.
3397         * conform/data/utmpx.h-data: Likewise.
3398         * conform/data/varargs.h-data: Likewise.
3399         * conform/data/wchar.h-data: Likewise.
3400         * conform/data/wctype.h-data: Likewise.
3401         * conform/data/wordexp.h-data: Likewise.
3402
3403         * include/stropts.h: New file.
3404         * include/uchar.h: New file.
3405         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3406         * include/assert.h: Likewise.
3407         * include/ctype.h: Likewise.
3408         * include/dirent.h: Likewise.
3409         * include/dlfcn.h: Likewise.
3410         * include/fcntl.h: Likewise.
3411         * include/fnmatch.h: Likewise.
3412         * include/glob.h: Likewise.
3413         * include/grp.h: Likewise.
3414         * include/libio.h: Likewise.
3415         * include/locale.h: Likewise.
3416         * include/math.h: Likewise.
3417         * include/net/if.h: Likewise.
3418         * include/netdb.h: Likewise.
3419         * include/netinet/in.h: Likewise.
3420         * include/pthread.h: Likewise.
3421         * include/pwd.h: Likewise.
3422         * include/regex.h: Likewise.
3423         * include/sched.h: Likewise.
3424         * include/search.h: Likewise.
3425         * include/setjmp.h: Likewise.
3426         * include/signal.h: Likewise.
3427         * include/stdio.h: Likewise.
3428         * include/stdlib.h: Likewise.
3429         * include/string.h: Likewise.
3430         * include/sys/cdefs.h: Likewise.
3431         * include/sys/mman.h: Likewise.
3432         * include/sys/msg.h: Likewise.
3433         * include/sys/resource.h: Likewise.
3434         * include/sys/select.h: Likewise.
3435         * include/sys/socket.h: Likewise.
3436         * include/sys/stat.h: Likewise.
3437         * include/sys/statvfs.h: Likewise.
3438         * include/sys/time.h: Likewise.
3439         * include/sys/times.h: Likewise.
3440         * include/sys/uio.h: Likewise.
3441         * include/sys/utsname.h: Likewise.
3442         * include/sys/wait.h: Likewise.
3443         * include/termios.h: Likewise.
3444         * include/time.h: Likewise.
3445         * include/ulimit.h: Likewise.
3446         * include/unistd.h: Likewise.
3447         * include/utime.h: Likewise.
3448         * include/wchar.h: Likewise.
3449         * include/wctype.h: Likewise.
3450         * include/wordexp.h: Likewise.
3451
3452         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3453
3454         * time/time.h: TIME_UTC must be a macro.
3455         Make timespec_get available for ISO C11 only as well.
3456
3457 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3458
3459         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3460         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3461
3462 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3463
3464         * configure.in: Use -o not -a in test for unsupported multi-arch.
3465
3466 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3467
3468         * manual/texinfo.tex: Update to version 2012-01-19.16.
3469
3470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3471
3472         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3473
3474 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3475
3476         [BZ #13738]
3477         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3478         * manual/fdl-1.3.texi: New file.
3479         * manual/fdl-1.1.texi: File removed.
3480
3481         [BZ #13738]
3482         * manual/libc.texinfo (FDL_VERSION): New @set.
3483         Use it for mention of FDL in cover text.
3484         (Documentation License): Use it in @include file name.
3485
3486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3487             Roland McGrath  <roland@hack.frob.com>
3488
3489         [BZ #5461]
3490         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3491         not LONG_LONG_MAX and LONG_LONG_MIN.
3492         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3493         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3494         name.
3495         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3496
3497 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3498
3499         [BZ #2547]
3500         [BZ #11365]
3501         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3502         manipulate bits before adding and subtracting TWO23[sx].
3503         * math/libm-test.inc (nearbyint_test): Add more tests.
3504
3505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3506
3507         [BZ #2548]
3508         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3509         bits before adding and subtracting TWO23[sx].
3510         * math/libm-test.inc (rint_test): Add more tests.
3511         (rint_test_tonearest): Likewise.
3512         (rint_test_towardzero): Likewise.
3513         (rint_test_downward): Likewise.
3514         (rint_test_upward: Likewise.
3515
3516 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3517
3518         [BZ #10110]
3519         * include/stdc-predef.h: New file.  Extracted from features.h.
3520         * include/features.h: Include stdc-predef.h.
3521         * Makefile (headers): Add stdc-predef.h.
3522         * CONFORMANCE (Compiler limitations): Update.
3523
3524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3525
3526         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3527
3528 2012-02-21  David S. Miller  <davem@davemloft.net>
3529
3530         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3531         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3532
3533 2012-02-20  David S. Miller  <davem@davemloft.net>
3534
3535         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3536         using a normal save/restore sequence, rather than allocating a
3537         dummy stack frame just to store a frame pointer and restore.
3538         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3539
3540 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3541
3542         * manual/install.texi: Fix stray word in line-wrapped comment.
3543
3544 2012-02-20  David S. Miller  <davem@davemloft.net>
3545
3546         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3547         both binutils and gcc support GOTDATA.
3548
3549         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3550         "rd %pc" in the PIC register setup sequences.
3551
3552         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3553         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3554         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3555         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3556         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3557         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3558         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3559         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3561         (SYSCALL_ERROR_HANDLER): Likewise.
3562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3565         (SYSCALL_ERROR_HANDLER): Likewise.
3566
3567         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3568         (HAVE_GCC_GOTDATA): New.
3569         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3570         relocation support in both binutils and gcc.
3571         * sysdeps/sparc/elf/configure: Regenerate.
3572
3573         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3574         * sysdeps/sparc/sparc32/elf/configure: Delete.
3575         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3576         * sysdeps/sparc/sparc64/elf/configure: Delete.
3577         * sysdeps/sparc/elf/configure.in: New file.
3578         * sysdeps/sparc/elf/configure: Generate.
3579
3580         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3581         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3582         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3583         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3584         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3585
3586 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3587
3588         * manual/install.texi: Do not mention specific glibc version
3589         numbers.
3590         * manual/libc.texinfo (VERSION, UPDATED): Update.
3591         (@copying): Use @copyright{} and range of years.
3592
3593 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3594
3595         [BZ #13695]
3596         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3597         [crti.S not in sysdirs] (generated): Do not append.
3598         [crti.S not in sysdirs] (omit-deps): Likewise.
3599         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3600         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3601         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3602         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3603         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3604         Likewise.
3605         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3606         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3607         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3608         * csu/defs.awk: Remove file.
3609         * sysdeps/generic/initfini.c: Likewise.
3610         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3611         variable.
3612         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3613         Likewise.
3614
3615 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3616
3617         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3618         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3619         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3620         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3621         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3622         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3623         <bits/epoll.h>.
3624         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3625         (__EPOLL_PACKED): Define to empty if not defined by
3626         <bits/epoll.h>.
3627         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3629         bits/epoll.h.
3630
3631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3632
3633         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3634         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3635         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3636         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3637         <bits/timerfd.h>.
3638         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3640         bits/timerfd.h.
3641
3642 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3643
3644         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3645         in C locale.
3646         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3647         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3650
3651 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3652
3653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3654         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3655
3656 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3657
3658         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3659         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3660         defined.
3661         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3662         Likewise.
3663         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3664         entry for 2.16.
3665
3666 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3667
3668         * math/w_acos.c: Use non-signaling floating-point comparisons.
3669         * math/w_acosf.c: Likewise.
3670         * math/w_acosh.c: Likewise.
3671         * math/w_acoshf.c: Likewise.
3672         * math/w_acoshl.c: Likewise.
3673         * math/w_acosl.c: Likewise.
3674         * math/w_asin.c: Likewise.
3675         * math/w_asinf.c: Likewise.
3676         * math/w_asinl.c: Likewise.
3677         * math/w_atanh.c: Likewise.
3678         * math/w_atanhf.c: Likewise.
3679         * math/w_atanhl.c: Likewise.
3680         * math/w_exp2.c: Likewise.
3681         * math/w_exp2f.c: Likewise.
3682         * math/w_exp2l.c: Likewise.
3683         * math/w_j0.c: Likewise.
3684         * math/w_j0f.c: Likewise.
3685         * math/w_j0l.c: Likewise.
3686         * math/w_j1.c: Likewise.
3687         * math/w_j1f.c: Likewise.
3688         * math/w_j1l.c: Likewise.
3689         * math/w_jn.c: Likewise.
3690         * math/w_jnf.c: Likewise.
3691         * math/w_log.c: Likewise.
3692         * math/w_log10.c: Likewise.
3693         * math/w_log10f.c: Likewise.
3694         * math/w_log10l.c: Likewise.
3695         * math/w_log2.c: Likewise.
3696         * math/w_log2f.c: Likewise.
3697         * math/w_log2l.c: Likewise.
3698         * math/w_logf.c: Likewise.
3699         * math/w_logl.c: Likewise.
3700         * math/w_sqrt.c: Likewise.
3701         * math/w_sqrtf.c: Likewise.
3702         * math/w_sqrtl.c: Likewise.
3703         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3704         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3705         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3706         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3707         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3708
3709 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3710
3711         [BZ #9739]
3712         * manual/string.texi (strnlen): Use correct parameter name in
3713         equivalent expression.
3714
3715 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3716
3717         [BZ #11174]
3718         * manual/users.texi (seteuid): Consistently use neweuid for
3719         argument name.
3720
3721 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3722
3723         [BZ #13704]
3724         * manual/nss.texi (Services in the NSS configuration): Correct
3725         list of services in example configuration file.
3726
3727 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3728
3729         [BZ #11322]
3730         * manual/arith.texi: Remove statements about negative zero
3731         behaving identically to zero.
3732
3733 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3734
3735         [BZ #5993]
3736         * manual/install.texi: Do not document upgrading from libc5.
3737
3738 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3739
3740         [BZ #4596]
3741         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3742
3743 2012-02-18  David S. Miller  <davem@davemloft.net>
3744
3745         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3746         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3747         %o7 across the call.
3748         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3749         instead.
3750         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3751         SETUP_PIC_REG_LEAF.
3752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3753         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3754         * sysdeps/sparc/crtn.S: Likewise.
3755
3756 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3757
3758         * aout/Makefile: Remove.
3759
3760 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3761
3762         [BZ #13058]
3763         * manual/examples/argp-ex1.c (main): Format definition in GNU
3764         style.
3765         * manual/examples/argp-ex2.c (main): Likewise.
3766         * manual/examples/argp-ex3.c (main): Likewise.
3767         * manual/examples/argp-ex4.c (main): Likewise.
3768         * manual/examples/longopt.c (main): Use new-style prototype
3769         definition.
3770         * manual/examples/strncat.c (main): Specify return type and use
3771         (void) for arguments.
3772         * manual/examples/subopt.c (main): Use char **argv argument.
3773
3774 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3775
3776         [BZ #5077]
3777         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3778         rounding modes.
3779
3780 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3781
3782         [BZ #6907]
3783         * manual/string.texi (strchr): Change when strchrnul is
3784         recommended.
3785
3786 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3787
3788         [BZ #174]
3789         * manual/locale.texi (setlocale): Document LOCPATH.
3790
3791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3792
3793         [BZ #10210]
3794         * manual/process.texi (execle): Move @dots{} before last argument.
3795
3796 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3797
3798         [BZ #12047]
3799         * manual/charset.texi (Generic Charset Conversion): Fix typo
3800         (LC_TYPE -> LC_CTYPE).
3801
3802 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3803
3804         [BZ #5805]
3805         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3806         (scalbnf): Likewise.
3807         (scalbnl): Likewise.
3808         (scalbln): Likewise.
3809         (scalblnf): Likewise.
3810         (scalblnl): Likewise.
3811         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3812         (vwarnx): Likewise.
3813         (verr): Likewise.
3814         (verrx): Likewise.
3815         * manual/filesys.texi (telldir): Use braces around return type.
3816         * manual/llio.texi (mmap): Add space after comma.
3817         (mmap64): Likewise.
3818         * manual/math.texi (jn): Use @var{} on parameter names.
3819         (jnf): Likewise.
3820         (jnl): Likewise.
3821         (yn): Likewise.
3822         (ynf): Likewise.
3823         (ynl): Likewise.
3824         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3825         line.
3826         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3827         "...".
3828         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3829         (sched_get_priority_max): Likewise.
3830         * manual/signal.texi (sigvec): Add space after comma.
3831         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3832         names.
3833         (if_indextoname): Likewise.
3834         (if_freenameindex): Likewise.
3835         (sendto): Use ',' instead of '.' in prototype.
3836         * manual/startup.texi (syscall): Use @dots{} instead of literal
3837         "...".
3838         * manual/stdio.texi (__fpending): Separate initial words of
3839         paragraph from @deftypefun line.
3840         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3841         "...".
3842         (vsyslog): Use @var{} on parameter names.
3843         * manual/terminal.texi (stty): Use @var{} on parameter names.
3844         * manual/users.texi (getutmp): Use @var{} on parameter names.
3845         (getutmpx): Likewise.
3846
3847 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3848
3849         [BZ #6884]
3850         * manual/stdio.texi (fopen): Fix typos in description of
3851         ",ccs=STRING".
3852
3853 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3854
3855         [BZ #4026]
3856         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3857         get clock_id definition.
3858
3859 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3860
3861         [BZ #4822]
3862         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3863         (madvise): Cast every argument to void on its own.
3864
3865 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3866
3867         [BZ #9902]
3868         * manual/startup.texi (Exit Status): Fix typo.
3869
3870 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3871
3872         [BZ #10140]
3873         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3874         * manual/examples/argp-ex2.c: Likewise.
3875         * manual/examples/argp-ex3.c: Likewise.
3876
3877 2012-02-16  Richard Henderson  <rth@redhat.com>
3878
3879         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3880         * sysdeps/s390/s390-32/initfini.c: Remove.
3881         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3882         * sysdeps/s390/s390-64/initfini.c: Remove.
3883
3884 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3885
3886         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3887         compiler output for sysdeps/generic/initfini.c.
3888         * sysdeps/sh/elf/initfini.c: Remove file.
3889
3890 2012-02-16  David S. Miller  <davem@davemloft.net>
3891
3892         [BZ #11494]
3893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3894
3895         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3896         * sysdeps/sparc/crti.S: New file.
3897         * sysdeps/sparc/crtn.S: New file.
3898         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3899         * sysdeps/sparc/sparc64/Makefile: Likewise.
3900
3901 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3902
3903         [BZ #3335]
3904         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3905
3906 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3907
3908         [BZ #4822]
3909         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3910
3911         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3912         (write, read, close): Likewise.
3913         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3914
3915 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3916
3917         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3918         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3919         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3920         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3921         <bits/signalfd.h>.
3922         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3924         bits/signalfd.h.
3925
3926 2012-02-14  Marek Polacek  <polacek@redhat.com>
3927
3928         * sysdeps/x86_64/crti.S: New file.
3929         * sysdeps/x86_64/crtn.S: New file.
3930         * sysdeps/x86_64/elf/initfini.c: Remove file.
3931
3932 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3933
3934         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3935         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3936         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3937         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3938         <bits/inotify.h>.
3939         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3941         bits/inotify.h.
3942
3943 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3944
3945         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3946         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3947         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3948         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3949         <bits/eventfd.h>.
3950         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3952         bits/eventfd.h.
3953
3954 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3955
3956         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3957         __feraiseexcept instead of feraiseexcept.
3958
3959         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3960         nanosleep invocations.
3961         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3962         strings, and add error checking for a nanosleep invocations.
3963
3964 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3965
3966         Replace FSF snail mail address with URLs, as per GNU coding standards.
3967         Most of the snail mail addresses were wrong anyway, and omitting
3968         them makes the source code easier to maintain.  Almost all of the
3969         changes are to license notices and to locale LC_IDENTIFICATION
3970         addresses, except for this one:
3971         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3972         not its snail mail address.
3973
3974 2012-02-09  Richard Henderson  <rth@twiddle.net>
3975
3976         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3977         of kernel-features.h.
3978
3979         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3980
3981 2012-02-08  Marek Polacek  <polacek@redhat.com>
3982
3983         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3984         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3985         * sysdeps/gnu/_G_config.h: Likewise.
3986         * sysdeps/generic/_G_config.h: Likewise.
3987
3988 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3989
3990         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3991         tests.
3992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3993
3994         * sysdeps/powerpc/powerpc32/crti.S: New file.
3995         * sysdeps/powerpc/powerpc32/crtn.S: New file.
3996         * sysdeps/powerpc/powerpc64/crti.S: New file.
3997         * sysdeps/powerpc/powerpc64/crtn.S: New file.
3998
3999         * Makeconfig (have-initfini): Don't set.
4000         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4001         * configure.in (nopic_initfini): Don't substitute.
4002         * config.h.in (HAVE_INITFINI): Don't #undef.
4003         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4004         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4005
4006 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4007
4008         Support crti.S and crtn.S provided directly by architectures.
4009         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4010         [crti.S in sysdirs] (omit-deps): Likewise.
4011         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4012         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4013         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4014         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4015         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4016         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4017         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4018         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4019         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4020         compiler output for sysdeps/generic/initfini.c.
4021         * sysdeps/i386/elf/Makefile: Remove file.
4022         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4023
4024 2012-02-07  Marek Polacek  <polacek@redhat.com>
4025
4026         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4027         * sysdeps/gnu/_G_config.h: Likewise.
4028         * sysdeps/mach/hurd/_G_config.h: Likewise.
4029
4030 2012-02-07  Marek Polacek  <polacek@redhat.com>
4031
4032         * math/Makefile (tests): Add tst-CMPLX2.
4033         * math/tst-CMPLX2.c: New file.
4034
4035 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4036
4037         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4038
4039         * math/libm-test.inc (jn_test): Add missing L suffix.
4040
4041 2012-02-06  Marek Polacek  <polacek@redhat.com>
4042
4043         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4044         * sysdeps/i386/fpu/e_powf.S: Likewise.
4045         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4046         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4047         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4048         * sysdeps/i386/fpu/e_pow.S: Likewise.
4049         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4050         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4051         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4052         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4053         * sysdeps/i386/fpu/e_log2.S: Likewise.
4054         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4055         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4056         * sysdeps/i386/fpu/e_powl.S: Likewise.
4057         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4058         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4059         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4060         * sysdeps/i386/fpu/e_logl.S: Likewise.
4061         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4062         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4063         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4064         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4065         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4067         * sysdeps/i386/fpu/e_log.S: Likewise.
4068         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4069         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4070         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4071         * sysdeps/i386/fpu/e_logf.S: Likewise.
4072         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4073         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4074         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4075         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4076         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4077         * sysdeps/i386/fpu/e_log10.S: Likewise.
4078         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4079         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4080         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4081         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4082         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4083         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4084         * sysdeps/i386/asm-syntax.h: Likewise.
4085         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4087         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4088         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4089         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4090         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4091         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4092         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4093         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4094         * sysdeps/powerpc/sysdep.h: Likewise.
4095         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4096         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4097
4098 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4099
4100         [BZ #411]
4101         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4102
4103 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4104
4105         * sysdeps/i386/sysdep.h: Include <features.h>.
4106         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4107         version.
4108
4109 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4110
4111         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4112         Define.
4113         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4114         LOAD_PIC_REG_STR.
4115
4116 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4117
4118         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4119         (SETUP_PIC_REG): Use GET_PC_THUNK.
4120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4121         macro.
4122
4123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4124
4125         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4126         for non-PIC compilation.
4127         (SETUP_PIC_REG): Add .p2align directive.
4128         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4129         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4132         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4133         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4134         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4135         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4136         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4137         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4138         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4139         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4140         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4142         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4143         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4144         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4145         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4146         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4147         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4148         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4149         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4150         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4151         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4152         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4154         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4156         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4157         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4158         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4159         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4160         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4163         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4164         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4165         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4166         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4167         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4168         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4169
4170 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4171
4172         * math/tst-CMPLX.c: Include <stdio.h>.
4173
4174 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4175
4176         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4177         float.
4178         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4179         * sysdeps/sparc/bits/mathdef.h: Likewise.
4180
4181 2012-01-31  Marek Polacek  <polacek@redhat.com>
4182
4183         * libio/libio.h: Don't define _PARAMS.
4184         * locale/programs/config.h: Don't define PARAMS.
4185         * stdlib/strtol_l.c: Likewise.
4186         (__strtol_l): Remove PARAMS from the prototype.
4187
4188 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4189
4190         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4191         names.  Just use the correct names.  Remove unnecessary wrapper
4192         functions.
4193         * malloc/arena.c: Likewise.
4194         * malloc/hooks.c: Likewise.
4195
4196         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4197         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4198         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4199
4200 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4201
4202         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4203         into tail calls.
4204         (update_get_addr): New function.
4205         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4206         GET_ADDR_MODULE parameter.
4207
4208 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4209
4210         * crypt/cert.c: Remove __STDC__ conditionals.
4211         * crypt/crypt-entry.c: Likewise.
4212         * crypt/crypt_util.c: Likewise.
4213         * libio/filedoalloc.c: Likewise.
4214         * libio/fileops.c: Likewise.
4215         * libio/genops.c: Likewise.
4216         * libio/iofclose.c: Likewise.
4217         * libio/iofdopen.c: Likewise.
4218         * libio/iofopen.c: Likewise.
4219         * libio/iofopen64.c: Likewise.
4220         * libio/iogetdelim.c: Likewise.
4221         * libio/iopopen.c: Likewise.
4222         * libio/obprintf.c: Likewise.
4223         * libio/oldfileops.c: Likewise.
4224         * libio/oldiofclose.c: Likewise.
4225         * libio/oldiofdopen.c: Likewise.
4226         * libio/oldiofopen.c: Likewise.
4227         * libio/oldiopopen.c: Likewise.
4228         * libio/wfiledoalloc.c: Likewise.
4229         * libio/wgenops.c: Likewise.
4230         * locale/programs/xmalloc.c: Likewise.
4231         * misc/syslog.c: Likewise.
4232         * stdio-common/xbug.c: Likewise.
4233         * string/memchr.c: Likewise.
4234         * string/memcmp.c: Likewise.
4235         * string/memrchr.c: Likewise.
4236         * string/rawmemchr.c: Likewise.
4237         * sysdeps/posix/getcwd.c: Likewise.
4238         * time/strftime_l.c: Likewise.
4239
4240 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4241
4242         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4243         * config.make.in (config-cflags-sse2avx): Define.
4244         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4245         Fix typo.
4246
4247 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4248
4249         * scripts/config.guess: Update from upstream config git repository.
4250         * scripts/config.sub: Likewise.
4251
4252 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4253
4254         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4255         (EM_NUM): Update.
4256         (R_TILEPRO_*, R_TILEGX_*): New macros.
4257
4258         * scripts/firstversions.awk: Fix bug in version range handling.
4259
4260         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4261
4262         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4263
4264         * include/sys/epoll.h: New file.
4265         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4266         libc_hidden_def.
4267
4268 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4269
4270         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4271         Avoid unnecessary __WORDSIZE == 64 test.
4272         (fmaxf): Use VEX format if possible.
4273         (fmax): Likewise.
4274         (fminf): Likewise.
4275         (fmin): Likewise.
4276
4277         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4278         * math/math_private.h: Remove libc_fegetround* and
4279         libc_fesetround*.
4280         * sysdeps/i386/configure.in: Check for -msse2avx.
4281         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4282         also if SSE2AVX is defined.
4283         Remove libc_fegetround* and libc_fesetround*.
4284         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4285         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4287         of HAS_YMM_USABLE.
4288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4289         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4291         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4293
4294         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4295
4296 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4297
4298         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4299         size is not set.
4300         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4301
4302 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4303
4304         [BZ #13618]
4305         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4306         relocation.
4307         * Makeconfig (libm): Define.
4308         * elf/Makefile: Add rules to build and run tst-relsort1.
4309         * elf/tst-relsort1.c: New file.
4310         * elf/tst-relsort1mod1.c: New file.
4311         * elf/tst-relsort1mod2.c: New file.
4312
4313 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4314
4315         * math/s_ldexp.c: Remove __STDC__ conditionals.
4316         * math/s_ldexpf.c: Likewise.
4317         * math/s_ldexpl.c: Likewise.
4318         * math/s_nextafter.c: Likewise.
4319         * math/s_nexttowardf.c: Likewise.
4320         * math/s_significand.c: Likewise.
4321         * math/s_significandf.c: Likewise.
4322         * math/s_significandl.c: Likewise.
4323         * math/w_jnl.c: Likewise.
4324         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4325         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4326         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4327         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4328         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4330         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4331         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4332         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4336         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4337         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4339         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4340         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4341         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4343         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4344         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4345         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4346         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4347         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4348         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4349         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4350         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4351         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4352         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4353         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4354         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4355         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4356         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4357         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4358         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4359         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4360         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4361         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4362         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4363         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4364         * sysdeps/ieee754/k_standard.c: Likewise.
4365         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4369         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4374         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4413         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4414         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4426         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4431         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4439         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4440         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4441         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4443         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4444         * sysdeps/ieee754/s_matherr.c: Likewise.
4445         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4446         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4449
4450 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4451
4452         * crypt/md5.h: Remove __STDC__ conditionals.
4453         * libio/libioP.h: Likewise.
4454         * locale/programs/config.h: Likewise.
4455         * sysdeps/generic/sysdep.h: Likewise.
4456         * sysdeps/i386/asm-syntax.h: Likewise.
4457         * sysdeps/s390/asm-syntax.h: Likewise.
4458         * sysdeps/unix/sysdep.h: Likewise.
4459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4461
4462 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4463
4464         * libio/libio.h: Remove __STDC__ conditionals.
4465         * malloc/obstack.h: Likewise.
4466         * math/complex.h: Likewise.
4467         * math/math.h: Likewise.
4468         * sysdeps/generic/_G_config.h: Likewise.
4469         * sysdeps/gnu/_G_config.h: Likewise.
4470         * sysdeps/mach/hurd/_G_config.h: Likewise.
4471         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4472         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4473         * sysdeps/sparc/bits/mathdef.h: Likewise.
4474
4475 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4476
4477         [BZ #13583]
4478         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4479         Clean up HAS_* macros.
4480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4481         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4482         possible.
4483         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4484         HAS_AVX.
4485         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4486         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4487         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4488         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4489         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4490
4491 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4492
4493         * elf/tst-unique3.cc (gets): Remove declaration.
4494         * elf/tst-unique3lib.cc (gets): Likewise.
4495         * elf/tst-unique3lib2.cc (gets): Likewise.
4496         * elf/tst-unique4.cc (gets): Likewise.
4497
4498 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4499
4500         * include/stdio.h: Add C++ protection.  Add gets declarations and
4501         definitions.
4502         * debug/tst-chk1.c: Don't declare gets here.
4503         * stdio-common/tst-gets.c: Likewise.
4504
4505 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4506
4507         * posix/glob: Remove directory.
4508
4509 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4510
4511         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4512
4513 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4514
4515         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4516         of the non-standard EPFNOSUPPORT.
4517
4518 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4519
4520         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4521         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4522         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4523
4524 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4525
4526         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4527
4528 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4529
4530         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4531         transient errors.
4532         * nscd/grpcache.c (cache_addgr): Likewise.
4533         * nscd/hstcache.c (cache_addhst): Likewise.
4534         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4535         * nscd/pwdcache.c (cache_addpw): Likewise.
4536         * nscd/servicescache.c (cache_addserv): Likewise.
4537
4538 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4539
4540         * malloc/malloc.c: Various cleanups.
4541         * malloc/hooks.c: Likewise.
4542
4543         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4544         * stdlib/bug-fmtmsg1.c: New file.
4545
4546         * stdlib/fmtmsg.c (init): Add missing unlock.
4547         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4548
4549 2012-01-12  Marek Polacek  <polacek@redhat.com>
4550
4551         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4552         and _GNU_SOURCE.
4553
4554 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4555
4556         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4557         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4558         macro to ensure uniqueness of label name.
4559         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4560         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4561
4562 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4563
4564         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4565
4566         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4567         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4568         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4570
4571 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4572
4573         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4574
4575         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4576         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4577         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4578
4579         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4580
4581         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4582         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4584         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4585
4586         * math/bits/math-finite.h: Add ldexp support.
4587
4588 2012-01-10  Marek Polacek  <polacek@redhat.com>
4589
4590         * locale/programs/localedef.h (show_archive_content): Add noreturn
4591         attribute.
4592
4593 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4594
4595         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4596
4597 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4598
4599         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4600
4601         * io/Makefile (headers): Add bits/poll2.h.
4602
4603 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4604
4605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4606         typo #include statement.
4607
4608 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4609
4610         * include/sys/cdefs.h: Define __attribute_alloc_size.
4611         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4612         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4613         * elf/pldd.c: Likewise.
4614         * iconv/iconv_charmap.c: Likewise.
4615         * iconv/iconvconfig.c: Likewise.
4616         * iconv/strtab.c: Likewise.
4617         * locale/programs/locale.c: Likewise.
4618         * locale/programs/localedef.h: Likewise.
4619         * locale/programs/simple-hash.c: Likewise.
4620         * nscd/nscd.h: Likewise.
4621         * nss/makedb.c: Likewise.
4622         * sysdeps/generic/ldconfig.h: Likewise.
4623         * locale/programs/localedef.c: Remove xmalloc prototype.
4624         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4625
4626 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4627
4628         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4629         appropriate.
4630
4631 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4632
4633         * math/Makefile (tests): Add tst-CMPLX.
4634         * math/tst-CMPLX.c: New file.
4635
4636         * math/complex.h (CMPLXL): Fix typo.
4637
4638         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4639         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4640         GLIBC_2.16.
4641         * debug/tst-chk1.c: Add poll and ppoll tests.
4642         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4643         * include/sys/poll.h: Add hidden proto for ppoll.
4644         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4645         * sysdeps/mach/hurd/ppoll.c: Likewise.
4646         * io/ppoll.c: Likewise.
4647         * debug/poll_chk.c: New file.
4648         * debug/ppoll_chk.c: New file.
4649         * include/bits/poll2.h: New file.
4650         * io/bits/poll2.h: New file.
4651
4652         [BZ #1350]
4653         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4654
4655         * configure.in: static is always set to yes.  Remove.
4656         * config.make.in: Don't set build-static.
4657         * Makeconfig: Remove use of build-static.
4658         * dlfcn/Makefile: Likewise.
4659         * elf/Makefile: Likewise.
4660         * math/Makefile: Likewise.
4661         * misc/Makefile: Likewise.
4662         * nptl/Makefile: Likewise.
4663         * sysdeps/mach/hurd/Makefile: Likewise.
4664
4665         * configure.in: PWD_P is not used anymore.
4666         * config.make.in: Remove PWD_P entry.
4667
4668         * configure.in: Remove last remnants of RANLIB.
4669         No need to check for signed size_t anymore.
4670         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4671         and IA-64.
4672         Remove __builtin_expect test because we require at least gcc 3.4.
4673         * aclocal.m4: Likewise.
4674
4675         * wcsmbs/mbrtoc16.c: Implement using towc function.
4676         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4677         * wcsmbs/wcsmbsload.c: Likewise.
4678         * iconv/gconv_simple.c: Likewise.
4679         * iconv/gconv_int.h: Likewise.
4680         * iconv/gconv_builtin.h: Likewise.
4681         * iconv/iconv_prog.c: Remove CHAR16 handling.
4682
4683         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4684
4685         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4686
4687         * configure.in: Remove --with-elf and --enable-bounded options.
4688         Dont set base_machine for ia64.  More non-ELF conditions removed.
4689         Remove testing and setting of leading underscore information.
4690         * config.make.in (build-bounded): Set to no.
4691         * config.h.in: Remove NO_UNDERSCORES entry.
4692         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4693         them.
4694         * csu/start.c: Remove !NO_UNDERSCORE code.
4695         * locale/localeinfo.h: Likewise.
4696         * sysdeps/generic/machine-gmon.h: Likewise.
4697         * sysdeps/generic/sysdep.h: Likewise.
4698         * sysdeps/i386/sysdep.h: Likewise.
4699         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4700         * sysdeps/mach/sysdep.h: Likewise.
4701         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4702         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4703         * sysdeps/sh/sysdep.h: Likewise.
4704         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4705         * sysdeps/unix/i386/sysdep.S: Likewise.
4706         * sysdeps/unix/sparc/start.c: Likewise.
4707         * sysdeps/unix/sparc/sysdep.S: Likewise.
4708         * sysdeps/unix/sparc/sysdep.h: Likewise.
4709         * sysdeps/unix/start.c: Likewise.
4710         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4711         * sysdeps/x86_64/sysdep.h: Likewise.
4712
4713 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4714
4715         [BZ #13553]
4716         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4717         for non-gcc.
4718         * argp/argp-fmtstream.h: Use const instead __const.
4719         * argp/argp.h: Likewise.
4720         * assert/assert.h: Likewise.
4721         * bits/fenv.h: Likewise.
4722         * bits/sched.h: Likewise.
4723         * bits/sigset.h: Likewise.
4724         * bits/sigthread.h: Likewise.
4725         * catgets/nl_types.h: Likewise.
4726         * conform/data/pthread.h-data: Likewise.
4727         * crypt/crypt-private.h: Likewise.
4728         * crypt/crypt.h: Likewise.
4729         * crypt/crypt_util.c: Likewise.
4730         * ctype/ctype.h: Likewise.
4731         * debug/execinfo.h: Likewise.
4732         * debug/mbsnrtowcs_chk.c: Likewise.
4733         * debug/mbsrtowcs_chk.c: Likewise.
4734         * debug/wcsnrtombs_chk.c: Likewise.
4735         * debug/wcsrtombs_chk.c: Likewise.
4736         * debug/wcstombs_chk.c: Likewise.
4737         * dirent/dirent.h: Likewise.
4738         * dlfcn/dlfcn.h: Likewise.
4739         * elf/neededtest4.c: Likewise.
4740         * grp/grp.h: Likewise.
4741         * gshadow/gshadow.h: Likewise.
4742         * iconv/gconv.h: Likewise.
4743         * iconv/gconv_int.h: Likewise.
4744         * iconv/gconv_simple.c: Likewise.
4745         * iconv/iconv.h: Likewise.
4746         * iconv/loop.c: Likewise.
4747         * iconv/skeleton.c: Likewise.
4748         * include/aio.h: Likewise.
4749         * include/aliases.h: Likewise.
4750         * include/argz.h: Likewise.
4751         * include/arpa/inet.h: Likewise.
4752         * include/assert.h: Likewise.
4753         * include/dirent.h: Likewise.
4754         * include/dlfcn.h: Likewise.
4755         * include/execinfo.h: Likewise.
4756         * include/fcntl.h: Likewise.
4757         * include/fenv.h: Likewise.
4758         * include/glob.h: Likewise.
4759         * include/grp.h: Likewise.
4760         * include/libintl.h: Likewise.
4761         * include/mntent.h: Likewise.
4762         * include/netdb.h: Likewise.
4763         * include/pwd.h: Likewise.
4764         * include/rpc/netdb.h: Likewise.
4765         * include/sched.h: Likewise.
4766         * include/search.h: Likewise.
4767         * include/shadow.h: Likewise.
4768         * include/signal.h: Likewise.
4769         * include/stdio.h: Likewise.
4770         * include/stdlib.h: Likewise.
4771         * include/string.h: Likewise.
4772         * include/sys/socket.h: Likewise.
4773         * include/sys/stat.h: Likewise.
4774         * include/sys/statfs.h: Likewise.
4775         * include/sys/statvfs.h: Likewise.
4776         * include/sys/syslog.h: Likewise.
4777         * include/sys/time.h: Likewise.
4778         * include/sys/uio.h: Likewise.
4779         * include/time.h: Likewise.
4780         * include/unistd.h: Likewise.
4781         * include/utmp.h: Likewise.
4782         * include/wchar.h: Likewise.
4783         * include/wctype.h: Likewise.
4784         * inet/aliases.h: Likewise.
4785         * inet/arpa/inet.h: Likewise.
4786         * inet/netinet/ether.h: Likewise.
4787         * inet/netinet/in.h: Likewise.
4788         * intl/libintl.h: Likewise.
4789         * io/bits/fcntl2.h: Likewise.
4790         * io/fcntl.h: Likewise.
4791         * io/ftw.h: Likewise.
4792         * io/sys/poll.h: Likewise.
4793         * io/sys/stat.h: Likewise.
4794         * io/sys/statfs.h: Likewise.
4795         * io/sys/statvfs.h: Likewise.
4796         * io/utime.h: Likewise.
4797         * libio/bits/stdio.h: Likewise.
4798         * libio/bits/stdio2.h: Likewise.
4799         * libio/libio.h: Likewise.
4800         * libio/libioP.h: Likewise.
4801         * libio/stdio.h: Likewise.
4802         * locale/lc-ctype.c: Likewise.
4803         * locale/locale.h: Likewise.
4804         * login/utmp.h: Likewise.
4805         * malloc/arena.c: Likewise.
4806         * malloc/malloc.c: Likewise.
4807         * malloc/malloc.h: Likewise.
4808         * malloc/mcheck.c: Likewise.
4809         * malloc/mtrace.c: Likewise.
4810         * math/bits/mathcalls.h: Likewise.
4811         * math/fenv.h: Likewise.
4812         * math/math_private.h: Likewise.
4813         * misc/bits/error.h: Likewise.
4814         * misc/bits/syslog.h: Likewise.
4815         * misc/err.h: Likewise.
4816         * misc/error.h: Likewise.
4817         * misc/fstab.h: Likewise.
4818         * misc/mntent.h: Likewise.
4819         * misc/regexp.h: Likewise.
4820         * misc/search.h: Likewise.
4821         * misc/sgtty.h: Likewise.
4822         * misc/sys/mman.h: Likewise.
4823         * misc/sys/syslog.h: Likewise.
4824         * misc/sys/uio.h: Likewise.
4825         * misc/sys/xattr.h: Likewise.
4826         * misc/ttyent.h: Likewise.
4827         * nis/rpcsvc/ypclnt.h: Likewise.
4828         * nss/nss.h: Likewise.
4829         * posix/bits/unistd.h: Likewise.
4830         * posix/fnmatch.h: Likewise.
4831         * posix/glob.h: Likewise.
4832         * posix/sched.h: Likewise.
4833         * posix/spawn.h: Likewise.
4834         * posix/sys/wait.h: Likewise.
4835         * posix/unistd.h: Likewise.
4836         * posix/wordexp.h: Likewise.
4837         * pwd/pwd.h: Likewise.
4838         * resolv/netdb.h: Likewise.
4839         * resource/sys/resource.h: Likewise.
4840         * rt/aio.h: Likewise.
4841         * rt/bits/mqueue2.h: Likewise.
4842         * rt/mqueue.h: Likewise.
4843         * shadow/shadow.h: Likewise.
4844         * signal/signal.h: Likewise.
4845         * socket/send.c: Likewise.
4846         * socket/sendto.c: Likewise.
4847         * socket/sys/socket.h: Likewise.
4848         * stdio-common/printf.h: Likewise.
4849         * stdlib/bits/stdlib.h: Likewise.
4850         * stdlib/fmtmsg.h: Likewise.
4851         * stdlib/monetary.h: Likewise.
4852         * stdlib/stdlib.h: Likewise.
4853         * stdlib/ucontext.h: Likewise.
4854         * streams/stropts.h: Likewise.
4855         * string/argz.h: Likewise.
4856         * string/bits/string2.h: Likewise.
4857         * string/string.h: Likewise.
4858         * string/strings.h: Likewise.
4859         * sunrpc/rpc/auth.h: Likewise.
4860         * sunrpc/rpc/auth_des.h: Likewise.
4861         * sunrpc/rpc/clnt.h: Likewise.
4862         * sunrpc/rpc/netdb.h: Likewise.
4863         * sunrpc/rpc/pmap_clnt.h: Likewise.
4864         * sunrpc/rpc/xdr.h: Likewise.
4865         * sysdeps/generic/inttypes.h: Likewise.
4866         * sysdeps/generic/net/if.h: Likewise.
4867         * sysdeps/generic/sys/swap.h: Likewise.
4868         * sysdeps/gnu/net/if.h: Likewise.
4869         * sysdeps/gnu/utmpx.h: Likewise.
4870         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4871         * sysdeps/i386/i486/bits/string.h: Likewise.
4872         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4873         * sysdeps/s390/bits/string.h: Likewise.
4874         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4875         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4876         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4877         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4878         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4879         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4880         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4881         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4882         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4883         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4884         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4885         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4886         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4887         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4888         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4889         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4890         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4894         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4895         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4896         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4897         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4898         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4899         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4900         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4901         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4902         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4903         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4904         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4905         * sysvipc/sys/ipc.h: Likewise.
4906         * sysvipc/sys/msg.h: Likewise.
4907         * sysvipc/sys/sem.h: Likewise.
4908         * sysvipc/sys/shm.h: Likewise.
4909         * termios/termios.h: Likewise.
4910         * time/sys/time.h: Likewise.
4911         * time/time.h: Likewise.
4912         * wcsmbs/bits/wchar2.h: Likewise.
4913         * wcsmbs/uchar.h: Likewise.
4914         * wcsmbs/wchar.h: Likewise.
4915         * wctype/wctype.h: Likewise.
4916
4917         [BZ #13551]
4918         * Makeconfig: Remove all but ELF support including AIX support.
4919         * Makerules: Likewise.
4920         * config.h.in: Likewise.
4921         * config.make.in: Likewise.
4922         * configure: Likewise.
4923         * configure.in: Likewise.
4924         * csu/Makefile: Likewise.
4925         * csu/version.c: Likewise.
4926         * debug/Makefile: Likewise.
4927         * dlfcn/Makefile: Likewise.
4928         * elf/Makefile: Likewise.
4929         * extra-lib.mk: Likewise.
4930         * iconv/Makefile: Likewise.
4931         * include/libc-symbols.h: Likewise.
4932         * include/shlib-compat.h: Likewise.
4933         * resolv/Makefile: Likewise.
4934         * resolv/res_libc.c: Likewise.
4935         * rt/Makefile: Likewise.
4936         * sysdeps/i386/asm-syntax.h: Likewise.
4937         * sysdeps/i386/sysdep.h: Likewise.
4938         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4939         * sysdeps/mach/sysdep.h: Likewise.
4940         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4941         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4942         * sysdeps/s390/asm-syntax.h: Likewise.
4943         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4945         * sysdeps/sh/sysdep.h: Likewise.
4946         * sysdeps/unix/sparc/sysdep.h: Likewise.
4947         * sysdeps/wordsize-32/divdi3.c: Likewise.
4948         * sysdeps/x86_64/sysdep.h: Likewise.
4949
4950         * argp/Versions: Remove _argp_unlock_xxx.
4951
4952         [BZ #13559]
4953         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4954         * abilist/libBrokenLocale.abilist: Likewise.
4955         * abilist/libanl.abilist: Likewise.
4956         * abilist/libc.abilist: Likewise.
4957         * abilist/libcrypt.abilist: Likewise.
4958         * abilist/libdl.abilist: Likewise.
4959         * abilist/libm.abilist: Likewise.
4960         * abilist/libnsl.abilist: Likewise.
4961         * abilist/libpthread.abilist: Likewise.
4962         * abilist/libresolv.abilist: Likewise.
4963         * abilist/librt.abilist: Likewise.
4964         * abilist/libthread_db.abilist: Likewise.
4965         * abilist/libutil.abilist: Likewise.
4966         * abilist/libnss_db.abilist: New file.
4967
4968         * scripts/abilist.awk: Add support for indirect functions.
4969
4970         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4971
4972         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4973
4974         * shlib-versions: Remove entries for ports architectures.
4975
4976         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4977         files in ports.
4978         * elf/stackguard-macros.h: Remove support for IA-64.
4979         * elf/tst-auditmod1.c: Likewise.
4980         * sysdeps/generic/ldsodefs.h: Likewise.
4981
4982         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4983         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4984         configure files.
4985
4986         [BZ #13552]
4987         * configure.in: Remove --enable-omitfp support.
4988         * FAQ.in: Adjust.
4989         * config.make.in: Likewise.
4990         * Makeconfig: Likewise.
4991         * manual/install.texi: Likewise.
4992
4993         In case anyone cares, the IA-64 architecture could move to ports.
4994         * sysdeps/ia64/*: Removed.
4995         * sysdeps/unix/sysv/linux/ia64/*: Removed.
4996         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4997
4998         [BZ #13555]
4999         * configure.in: Remove entries for unsupported architectures.
5000
5001         [BZ #13533]
5002         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5003         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5004         routines.
5005         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5006         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5007         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5008         fall back to using wcrtomb.
5009         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5010         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5011         renaming.
5012         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5013         * wcsmbs/tst-c16c32-1.c: New file.
5014
5015         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5016         local variable.
5017
5018         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5019
5020         * elf/tst-unique3.cc: Add explicit declaration of gets.
5021         * elf/tst-unique3lib.cc: Likewise.
5022         * elf/tst-unique3lib2.cc: Likewise.
5023         * elf/tst-unique4.cc: Likewise.
5024
5025         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5026
5027 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5028
5029         [BZ #13566]
5030         * assert/assert.h (static_assert): Don't define for C++.
5031         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5032         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5033
5034 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5035
5036         * iconv/loop.c (single loop): Fix assertion in storing of
5037         remaining bytes.
5038
5039         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5040
5041 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5042
5043         * posix/getconf.c: Update copyright year.
5044         * nss/getent.c: Likewise.
5045         * nss/makedb.c: Likewise.
5046         * iconv/iconvconfig.c: Likewise.
5047         * iconv/iconv_prog.c: Likewise.
5048         * elf/ldconfig.c: Likewise.
5049         * elf/pldd.c: Likewise.
5050         * elf/sotruss.ksh: Likewise.
5051         * catgets/gencat.c: Likewise.
5052         * csu/version.c: Likewise.
5053         * elf/ldd.bash.in: Likewise.
5054         * elf/sprof.c (print_version): Likewise.
5055         * locale/programs/locale.c: Likewise.
5056         * locale/programs/localedef.c: Likewise.
5057         * login/programs/pt_chown.c: Likewise.
5058         * nscd/nscd.c (print_version): Likewise.
5059         * debug/xtrace.sh: Likewise.
5060         * malloc/memusage.sh: Likewise.
5061         * malloc/mtrace.pl: Likewise.
5062         * debug/catchsegv.sh: Likewise.
5063
5064 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5065
5066         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5067         pure attribute.
5068
5069 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5070
5071         [BZ #13533]
5072         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5073         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5074         transformations.
5075         * iconv/gconv_int.h: Likewise.
5076         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5077         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5078         from libc for GLIBC_2.16.
5079         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5080         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5081         * wcsmbs/uchar.h: Really define mbstate_t.
5082         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5083         * wcsmbs/c16rtomb.c: New file.
5084         * wcsmbs/mbrtoc16.c: New file.
5085         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5086         for C/POSIX locale.
5087         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5088         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5089
5090         * wcsmbs/wchar.h: Add missing __restrict.
5091
5092 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5093
5094         [BZ #13532]
5095         * time/Makefile (routines): Add timespec_get.
5096         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5097         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5098         timespec for ISO C11.
5099         * time/timespec_get.c: New file.
5100         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5101         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5102
5103         [BZ #13531]
5104         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5105         * stdlib/stdlib.h: Declare aligned_alloc.
5106         * Versions.def: Add GLIBC_2.16 for libc.
5107         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5108
5109         [BZ 13527]
5110         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5111         ISO C11.
5112
5113         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5114         code.
5115
5116         [BZ #13528]
5117         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5118
5119         [BZ #13529]
5120         * assert/assert.h (static_assert): Define.
5121
5122         * version.h: Update for 2.16 development version.
5123
5124         [BZ #13526]
5125         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5126         _ISOC11_SOURCE.
5127
5128         * version.h (RELEASE): Bump for 2.15 release.
5129         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5130
5131         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5132         Patch by Marek Polacek <mpolacek@redhat.com>.
5133
5134         * bits/byteswap.h: Protect long long constants with __extension__.
5135         * sysdeps/i386/bits/byteswap.h: Likewise.
5136         * sysdeps/ia64/bits/byteswap.h: Likewise.
5137         * sysdeps/s390/bits/byteswap.h: Likewise.
5138         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5139
5140 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5141
5142         [BZ #13540]
5143         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5144         destination buffer.
5145         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5146
5147 2011-12-23  Marek Polacek  <polacek@redhat.com>
5148
5149         * elf/dl-addr.c (determine_info): Add inline keyword.
5150         * elf/tst-auditmod4b.c (check_avx): Likewise.
5151         * elf/tst-auditmod6b.c (check_avx): Likewise.
5152         * elf/tst-auditmod6c.c (check_avx): Likewise.
5153         * elf/tst-auditmod7b.c (check_avx): Likewise.
5154
5155 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5156
5157         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5158         !__SSE_MATH__.
5159
5160 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5161
5162         [BZ #13540]
5163         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5164         processing for last bytes.
5165
5166 2011-08-06  Bruno Haible  <bruno@clisp.org>
5167
5168         [BZ #13061]
5169         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5170         U+0385, not to U+1FEE.
5171
5172         [BZ #13062]
5173         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5174         entry for U+00A5 U+0301.
5175
5176 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5177
5178         [BZ #13166]
5179         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5180         buffer for the output is too small.
5181
5182         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5183         optimization.
5184
5185         [BZ #13185]
5186         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5187         SSE flags if possible.
5188
5189 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5190
5191         [BZ #13540]
5192         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5193         processing for last bytes.
5194
5195 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5196
5197         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5198         (syscall-list-default-options, syscall-list-default-condition)
5199         (syscall-list-includes): Define.
5200         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5201         list of ABIs and options and #if conditions for each ABI.  Do not
5202         handle common syscalls between ABIs specially.
5203         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5204         Remove.
5205         (syscall-list-variants, syscall-list-32bit-options)
5206         (syscall-list-32bit-condition, syscall-list-64bit-options)
5207         (syscall-list-64bit-condition): Define.
5208         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5209         (syscall-list-variants, syscall-list-32bit-options)
5210         (syscall-list-32bit-condition, syscall-list-64bit-options)
5211         (syscall-list-64bit-condition): Define.
5212         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5213         Remove.
5214         (syscall-list-variants, syscall-list-32bit-options)
5215         (syscall-list-32bit-condition, syscall-list-64bit-options)
5216         (syscall-list-64bit-condition): Define.
5217         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5218         Remove.
5219         (syscall-list-variants, syscall-list-32bit-options)
5220         (syscall-list-32bit-condition, syscall-list-64bit-options)
5221         (syscall-list-64bit-condition): Define.
5222
5223 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5224
5225         * locale/iso-639.def: Add brx entry.
5226
5227         [BZ #13328]
5228         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5229         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5230
5231         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5232         __feraiseexcept_renamed.
5233
5234 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5235
5236         [BZ #13538]
5237         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5238         EPOLLET with unsigned values.
5239         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5241
5242         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5243         to large cancellation.
5244         * math/s_cacoshf.c: Likewise.
5245         * math/s_cacoshl.c: Likewise.
5246
5247 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5248
5249         [BZ #13305]
5250         [BZ #12786]
5251         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5252         * math/s_cacoshf.c: Likewise.
5253         * math/s_cacoshl.c: Likewise.
5254
5255 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5256
5257         [BZ #13439]
5258         * iconv/gconv.h: Define __GCONV_SWAP.
5259         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5260         * iconvdata/utf-16.c: Likewise.
5261         * iconvdata/utf-32.c: Likewise.
5262
5263 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5264
5265         [BZ #13524]
5266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5267         numerator after shifting it by one limb.
5268
5269 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5270
5271         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5272         under [__USE_EXTERN_INLINES].
5273
5274 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5275
5276         [BZ #13446]
5277         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5278
5279 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5280
5281         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5282         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5283         optimized code.
5284         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5285         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5286         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5287         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5288         for strncasecmp/strncasecmp_l compilation.
5289         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5290         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5291
5292 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5293
5294         [BZ #13484]
5295         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5296         of __asm__.
5297
5298 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5299
5300         [BZ #13506]
5301         * time/tzfile.c (__tzfile_read): Check values from file header.
5302
5303 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5304
5305         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5306         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5307         * powerpc/powerpc32/dl-start.S: Likewise.
5308         * powerpc/powerpc32/elf/start.S: Likewise.
5309         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5310         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5311         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5312         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5313         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5314         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5315         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5316         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5317         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5318         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5319         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5320         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5321         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5322         * powerpc/powerpc32/memset.S: Likewise.
5323         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5324         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5325         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5326         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5327         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5328         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5329         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5330         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5331         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5332         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5333         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5334         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5335         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5336
5337 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5338
5339         * math/libm-test.inc: Added more nearbyint tests.
5340         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5343         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5344
5345 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5346
5347         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5348         FD_CLOEXEC.
5349
5350 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5351
5352         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5353         Add wcscpy-ssse3 wcscpy-c.
5354         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5355         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5356         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5357         * sysdeps/x86_64/wcschr.S: New file.
5358         * sysdeps/x86_64/wcsrchr.S: New file.
5359         * string/test-strcmp.c: Remove checking of wcscmp function for
5360         wrong alignments.
5361         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5362         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5363         wcsrchr-sse2 wcsrchr-c.
5364         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5365         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5366         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5367         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5368         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5369         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5370         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5371         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5372         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5373         * wcsmbc/wcschr.c (WCSCHR): New macro.
5374
5375 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5376
5377         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5378         * wcsmbs/test-wcsrchr.c: New file.
5379         * string/test-strrchr.c: Add wcsrchr support.
5380         (WIDE): New macro.
5381         * wcsmbs/test-wcscpy.c: New file.
5382         * string/test-strcpy.c: Add wcscpy support.
5383         (WIDE): New macro.
5384
5385 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5386
5387         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5388         the inner loop.
5389
5390 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5391
5392         [BZ #13472]
5393         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5394
5395 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5396
5397         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5398         Minor optimizations.
5399
5400         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5401         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5402         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5403
5404 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5405
5406         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5407         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5408         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5409         for gcc to avoid warnings.
5410         * inet/Makefile (tests): Add tst-checks.
5411         * inet/tst-checks.c: New file.
5412
5413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5414         warning.
5415
5416         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5417         __wmemcmp_sse2.
5418
5419         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5420         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5421
5422         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5423
5424 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5425
5426         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5427         problem.
5428
5429         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5430
5431 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5432
5433         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5434         conditional on GCC version.
5435         (__arch_compare_and_exchange_val_8_acq)
5436         (__arch_compare_and_exchange_val_16_acq)
5437         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5438         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5439         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5440
5441 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5442
5443         * sysdeps/sh/backtrace.c: New file.
5444
5445 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5446
5447         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5448         parenthesis.
5449
5450 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5451
5452         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5453         falling back to utime.
5454
5455 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5456
5457         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5458         expectations for float.
5459
5460 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5461
5462         * locale/weight.h (findidx): Add parameter len.
5463         * locale/weightwc.h (findidx): Likewise.
5464         * posix/fnmatch_loop.c (FCT): Adjust caller.
5465         * posix/regcomp.c (build_equiv_class): Likewise.
5466         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5467         * posix/regexec.c (check_node_accept_bytes): Likewise.
5468         * string/strcoll_l.c (STRCOLL): Likewise.
5469         * string/strxfrm_l.c (STRXFRM): Likewise.
5470
5471 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5472
5473         * Makefile.in: Remove CVSOPT handling.
5474         * configure.in: Remove use of AC_REVISION.
5475         * iconvdata/Makefile (distribute): No need to filter out CVS.
5476         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5477         handling.
5478
5479 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5480
5481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5482         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5483         [USE_AS_STRNCASECMP_L]: Likewise.
5484         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5485         NO_TLS_DIRECT_SEG_REFS.
5486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5487         Fix argument offsets for non-PIC.
5488         [USE_AS_STRNCASECMP_L]: Likewise.
5489         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5490         NO_TLS_DIRECT_SEG_REFS.
5491
5492 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5493
5494         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5495         O_CLOEXEC.
5496         * locale/loadlocale.c (_nl_load_locale): Likewise.
5497
5498 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5499
5500         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5501         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5502         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5503         (SYSCALL_GETTIME): Set errno on error.
5504
5505         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5506         count references to noai6ai_cached.
5507
5508 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5509
5510         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5511
5512         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5513         FD_CLOEXEC for /proc/self/maps.
5514
5515         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5516         FD_CLOEXEC for /proc/meminfo.
5517
5518         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5519         gai.conf.
5520
5521         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5522         FD_CLOEXEC for given file.
5523
5524         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5525
5526         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5527         FD_CLOEXEC for /etc/hosts.
5528         (_gethtent): Likewise.
5529
5530         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5531
5532         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5533         cancellation and set FD_CLOEXEC for /etc/netgroup.
5534
5535         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5536         reading /etc/publickey.
5537
5538         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5539         allow cancellation when reading /etc/group.
5540
5541         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5542         cancellation.
5543         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5544
5545         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5546         when using data file.
5547
5548         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5549
5550         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5551         (write_nis_obj): Use "c" and "e" in fopen.
5552
5553         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5554
5555         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5556
5557         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5558
5559         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5560
5561         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5562         locale.alias.
5563
5564         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5565
5566         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5567
5568         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5569
5570         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5571         file parsing and set FD_CLOEXEC.
5572
5573 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5574
5575         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5576
5577 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5578
5579         * malloc/arena.c (arena_get2): Don't call reused_arena when
5580         _int_new_arena failed.
5581
5582 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5583
5584         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5585         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5586         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5587         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5588         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5589         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5590         to compile strcasecmp and strncasecmp.
5591         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5592         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5593
5594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5595
5596 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5597
5598         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5599         locale-defines.sym to gen-as-const-headers.
5600         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5601         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5603         to compile strcasecmp and strncasecmp.
5604         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5605         strcasecmp_l and strncasecmp_l.
5606         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5607         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5608         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5609         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5610         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5611         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5612         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5613         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5614         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5615         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5616         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5617
5618 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5619
5620         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5621         result of SYSDEP_GETTIME_CPU to retval.
5622         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5623         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5624
5625         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5626         variable.
5627
5628         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5629         mantissa words.
5630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5631
5632         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5633         from unused variable.
5634
5635         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5636         DWARF definitions.
5637         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5638         for assembling.
5639
5640         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5641         over namespaces.
5642
5643         * sunrpc/rpc_prot.c (rejected): Fix case value.
5644
5645         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5646         unsigned long long int to avoid warnings in shift.
5647
5648         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5649         of use of trans.
5650         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5651         variable tmp.
5652
5653         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5654         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5655         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5656
5657         * nis/nis_table.c (nis_list): Use variable of correct type for
5658         result of __follow_path call.
5659
5660 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5661
5662         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5663         of math functions ceil, trunc, floor, round, and sqrt, when
5664         avaliable on the platform.
5665         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5666         name clash.
5667         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5668         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5669         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5670
5671 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5672
5673         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5674         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5675
5676 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5677
5678         * include/unistd.h: Fix __readlink return type.
5679         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5680
5681 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5682
5683         * stdlib/ucontext.h: Undo last change for makecontext.
5684
5685 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5686
5687         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5688
5689         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5690         * setjmp/setjmp.h: Mark functions as non-leaf.
5691         * setjmp/bits/setjmp2.h: Likewise.
5692         * stdlib/ucontext.h: Likewise.
5693
5694 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5695
5696         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5697         (reused_arena): Don't check arena limit.
5698         (arena_get2): Atomically check arena limit.
5699
5700 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5701
5702         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5703         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5704
5705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5706         instructions.
5707
5708 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5709
5710         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5711         handler when locking.
5712
5713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5714         Fix size of allocated buffer.
5715
5716 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5717
5718         [BZ #10103]
5719         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5720         declarations for long double functions.
5721         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5722
5723         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5724
5725 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5726
5727         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5728         installed.
5729
5730         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5731         is disabled.
5732
5733 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5734
5735         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5736
5737 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5738
5739         * include/alloca.h (stackinfo_alloca_round): Define.
5740         (extend_alloca): Use it.
5741         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5742         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5743         here.
5744
5745         * scripts/check-local-headers.sh: Ignore libaudit.h.
5746
5747         * nscd/Makefile (extra-objs): Make recursively expanded.
5748
5749 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5750
5751         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5753
5754         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5755         * posix/tst-rfc3484-2.c: Likewise.
5756         * posix/tst-rfc3484-3.c: Likewise.
5757
5758         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5759         process_vm_writev.
5760         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5761         process_vm_writev.
5762         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5763         process_vm_writev from libc using GLIBC_2.15 version.
5764
5765         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5766
5767 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5768
5769         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5770         stack usage.
5771
5772 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5773
5774         [BZ #13367]
5775         * nss/getent.c (initgroups_keys): Show error message in case no group
5776         names are given.
5777
5778         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5779         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5780         __bump_nl_timestamp.
5781         * nscd/connections (nscd_init): When host database is served open
5782         netlink socket and request notification about configuration changes.
5783         (main_loop_poll): Track netlink file descriptor and bump timestamp
5784         in case data becomes available.
5785         (main_loop_epoll): Likewise.
5786         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5787         (database_pers_head): Add extra_data fileds.
5788         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5789         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5790         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5791         Adjust caller.
5792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5793         in6ai data, call __free_in6ai.
5794         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5795         Add -DHAVE_NETLINK.
5796         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5797         interface information.  Reuse previous data if netlink timestamp
5798         is not changed.
5799         (__bump_nl_timestamp): New function.
5800         (__free_in6ai): New function.
5801
5802 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5803
5804         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5805         close_not_cancel_no_status here.
5806         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5807
5808 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5809
5810         [BZ #13276]
5811         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5812         return value.
5813
5814         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5815         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5816         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5817
5818 2011-07-03  Andreas Jaeger  <aj@suse.de>
5819
5820         [BZ #10709]
5821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5822         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5823         * math/libm-test.inc (sin_test): Add test case.
5824
5825 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5826
5827         [BZ #13337]
5828         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5829         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5830
5831         * elf/chroot_canon.c (chroot_canon): Cleanups.
5832
5833         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5834
5835         [BZ #13335]
5836         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5837         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5838
5839         * string/test-strchr.c: Make usable for strchrnul testing.
5840         * string/test-strchrnul.c: New file.
5841         * string/Makefile (strop-tests): Add strchrnul.
5842
5843         * po/it.po: Update from translation team.
5844         * po/es.po: Likewise.
5845
5846 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5847
5848         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5849         the three constants needed as parameters.  Drop the others.
5850         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5851         __m128i_strloadu_tolower.
5852         Create and initialize variable zero and use it in all the places
5853         where _mm_setzero_si128 was used.
5854
5855         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5856         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5857         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5858         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5859         anymore.
5860         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5861         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5862         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5863         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5864         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5865         __mpranred, __mptan.
5866         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5867         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5868         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5869         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5870         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5871         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5872         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5873         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5874         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5875
5876 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5877
5878         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5879         redefine if SHARED.
5880         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5881
5882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5883         wide char related routines to wcsmbs subdir.
5884
5885 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5886
5887         [BZ #13344]
5888         * misc/sys/cdefs.h (__THROWNL): Define.
5889         * posix/unistd.h: Use __THREADNL instead of __THREAD
5890         for memory synchronization functions.
5891
5892 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5893
5894         [BZ #13349]
5895         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5896         doesn't exist.
5897         * manual/stdio.texi (Obstack Streams): Node removed.
5898
5899 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5900
5901         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5902         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5904
5905         * math/math_private.h (math_force_eval): Allow non-addressable
5906         arguments.
5907         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5908
5909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5910
5911         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5912         file is not needed.
5913
5914         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5916         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5917         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5918         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5919         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5920         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5921         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5922         Add AVX variants.
5923         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5924         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5925         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5926         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5927         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5928         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5929         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5931         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5932         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5933         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5934         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5936         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5937         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5938         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5939         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5940         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5941         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5942
5943         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5944         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5945
5946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5947         place.  Use VEX encoding when compiling for AVX.
5948
5949 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5950
5951         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5952         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5953
5954         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5955
5956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5957
5958         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5959         useless if() expression.
5960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5961         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5962         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5964         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5965         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5966         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5968         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5970         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5972         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5973         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5974         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5975         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5976         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5977         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5978         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5979
5980         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5981
5982 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5983
5984         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5985         condition.
5986         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5987
5988 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5989
5990         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5991         .text section.  Avoid duplicate constants.
5992         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5994         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5998         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6000         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6001         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6003         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6004         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6005         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6006         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6007         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6008         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6009         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6010         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6012         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6013         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6014         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6015         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6016         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6017         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6018         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6019         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6020         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6021         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6022         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6023         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6024         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6025         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6026         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6027         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6028         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6029         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6030         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6031         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6032         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6033         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6034         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6035         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6036         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6037
6038 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6039
6040         * sysdeps/x86_64/dla.h: Move to ...
6041         * sysdeps/x86_64/fpu/dla.h: ...here.
6042         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6043         situations.  Use __builtin_fma only for gcc 4.6 and up.
6044
6045         * config.make.in: Add have-mfma4 entry.
6046         * configure.in: Substitute libc_cv_cc_fma4.
6047         * math/Makefile (dbl-only-routines): Add sincostab.
6048         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6049         Use __sincostab not sincos.
6050         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6051         name is a macro.
6052         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6055         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6056         using __copysign.
6057         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6058         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6059         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6060         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6061         and __inv.
6062         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6063         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6064         __copysign.
6065         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6066         define aliases when function name is a macro.
6067         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6068         sysdeps/ieee754/dbl-64/sincos.tbl.
6069         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6070         fma4-enabled routines.
6071         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6072         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6073         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6074         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6076         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6078         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6079         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6080         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6081         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6082         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6083         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6084         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6085         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6086         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6087         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6088         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6089         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6090         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6091         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6092         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6093         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6094         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6096         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6097         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6098         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6099         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6100         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6101
6102         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6103         rename.
6104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6105         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6107         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6108         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6110         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6112
6113 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6114
6115         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6116
6117 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6118
6119         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6120
6121         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6122         prediction.
6123         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6124
6125         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6126         Remove unused variable magic_bits.
6127         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6128
6129         * string/strnlen.c: Define and use STRNLEN macro.
6130         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6131         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6133         * wcsmbs/wcslen.c: Define and use WCSLEN.
6134         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6135         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6136         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6137         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6138         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6139         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6140         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6141
6142 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6143
6144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6145         strnlen-sse2-no-bsf.
6146         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6148         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6149         Add strnlen support.
6150         (USE_AS_STRNLEN): New macro.
6151         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6152         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6153         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6154         * sysdeps/x86_64/wcslen.S: New file.
6155
6156 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6157
6158         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6159         XMM-moves are used for copying on small sizes.
6160
6161 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6162
6163         * wcsmbs/Makefile (strop-tests): Add wcschr.
6164         * wcsmbs/test-wcschr.c: New file.
6165         * string/test-strchr.c: Update.
6166         Add wcschr support.
6167         (WIDE): New macro.
6168
6169 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6170
6171         * wcsmbs/Makefile (strop-tests): Add wcslen.
6172         * wcsmbs/test-wcslen.c: New file.
6173         * string/test-strlen.c: Update.
6174         Add wcslen support.
6175         (WIDE): New macro.
6176
6177 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6178
6179         * po/it.po: Update from translation team.
6180
6181 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6182
6183         * sysdeps/x86_64/wcscmp.S: Update.
6184         Fix wrong comparison semantics.
6185         wcscmp shall use signed comparison not unsigned.
6186         Don't use substraction to avoid overflow bug.
6187         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6188         * wcsmbc/wcscmp.c: Likewise.
6189         * string/test-strcmp.c: Likewise.
6190         Add new tests to check cases with negative values.
6191
6192 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6193
6194         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6195         * sysdeps/x86_64/dla.h: ...here.  New file.
6196         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6197         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6199         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6200         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6203         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6205
6206 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6207
6208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6209         __ynl_finite aliases.
6210
6211 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6212
6213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6214
6215         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6216         define DLA_FMA.
6217         [DLA_FMA] (EMULV): Use DLA_FMA.
6218         [DLA_FMA] (MUL12): Use EMULV.
6219         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6220         that are not needed.
6221         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6223         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6224         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6225         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6226         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6228
6229 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6230
6231         * math/s_nan.c: Undef __nan.
6232         * math/s_nanf.c: Undef __nanf.
6233         * math/s_nanl.c: Undef __nanl.
6234         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6235         "math_private.h".
6236
6237 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6238
6239         * math/s_catan.c: Add branch predictions.
6240         * math/s_catanf.c: Likewise.
6241         * math/s_catanh.c: Likewise.
6242         * math/s_catanhf.c: Likewise.
6243         * math/s_catanhl.c: Likewise.
6244         * math/s_catanl.c: Likewise.
6245         * math/s_cexp.c: Likewise.
6246         * math/s_cexpf.c: Likewise.
6247         * math/s_cexpl.c: Likewise.
6248         * math/s_clog.c: Likewise.
6249         * math/s_clog10.c: Likewise.
6250         * math/s_clog10f.c: Likewise.
6251         * math/s_clog10l.c: Likewise.
6252         * math/s_clogf.c: Likewise.
6253         * math/s_clogl.c: Likewise.
6254         * math/s_csqrt.c: Likewise.
6255         * math/s_csqrtf.c: Likewise.
6256         * math/s_csqrtl.c: Likewise.
6257         * math/s_ctanf.c: Likewise.
6258         * math/s_ctanh.c: Likewise.
6259         * math/s_ctanhf.c: Likewise.
6260         * math/s_ctanhl.c: Likewise.
6261         * math/s_ctanl.c: Likewise.
6262
6263         * math/math_private.h: Define __nan, __nanf, __nanl.
6264         * math/s_cacosh.c: Include <math_private.h>.
6265         * math/s_cacoshl.c: Likewise.
6266         * math/s_casinh.c: Likewise.
6267         * math/s_casinhf.c: Likewise.
6268         * math/s_casinhl.c: Likewise.
6269         * math/s_ccos.c: Rely entire on ccosh.
6270         * math/s_ccosf.c: Rely entire on ccoshf.
6271         * math/s_ccosl.c: Rely entirely on ccoshl.
6272         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6273         Remove tests for FE_INVALID.
6274         * math/s_ccoshf.c: Likewise.
6275         * math/s_ccoshl.c: Likewise.
6276         * math/s_csin.c: Likewise.
6277         * math/s_csinf.c: Likewise.
6278         * math/s_csinh.c Likewise.
6279         * math/s_csinhf.c: Likewise.
6280         * math/s_csinhl.c: Likewise.
6281         * math/s_csinl.c: Likewise.
6282         * math/s_ctan.c: Likewise.
6283         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6284         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6285         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6286
6287 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6288
6289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6290         compilation problems.
6291
6292         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6293         __builtin_expect.
6294
6295 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6296
6297         * sysdeps/i386/configure.in: Test for -mfma4 option.
6298         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6299         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6300         COMMON_CPUID_INDEX_80000001.
6301         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6302         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6303         use it if FMA3 is not supported.
6304         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6305
6306         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6307         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6308
6309 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6310
6311         [BZ #12892]
6312         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6313         it would create a cycle with a link time dependency.
6314
6315 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6316
6317         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6318         instruction.
6319         * string/Makefile (strop-tests): Add rawmemchr.
6320         * string/test-rawmemchr.c: New file.
6321
6322         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6324         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6325         when compiling str{,n}casecmp and when AVX is available.  Hook up
6326         new optimized code in initializers.
6327
6328 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6329
6330         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6331         __feraiseexcept instead of feraiseexcept.
6332
6333 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6334
6335         * math/math_private.h: Define defaults for libc_fetestexcept and
6336         libc_feupdateenv.
6337         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6338         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6339         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6340         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6341         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6342         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6343         libc_fetestexcept and libc_feupdateenv.
6344
6345         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6346         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6347         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6348         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6349         libc_feholdexcept_setround.
6350
6351         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6352         Add s_nearbyint-c and s_nearbyintf-c.
6353         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6354         nearbyintf inlines.
6355         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6356         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6357         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6358         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6359
6360         * math/math_private.h: Define defaults for libc_fegetround,
6361         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6362         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6363         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6364         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6365         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6366         standard functions.
6367         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6368         Remove comments and hacks for old compiler versions.
6369         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6370         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6371         libc_feholdexceptl.
6372
6373 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6374
6375         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6376         (__feraiseexcept_renamed): Add __NTH.
6377         (feraiseexcept): Add __NTH.  Rename local variables to fix
6378         namespace violations.
6379
6380 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6381
6382         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6383
6384         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6385
6386         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6387         recently added interfaces.
6388         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6389
6390         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6391         about macro parameter expansion.
6392
6393         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6394         __NO_MATH_INLINES is defined.  Cleanups.
6395
6396         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6397         and __floorf is target has SSE4.1.
6398         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6399         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6400         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6401         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6402
6403         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6404         name.
6405         (floorf): Likewise.
6406
6407         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6408
6409 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6410
6411         * misc/sys/cdefs.h: Fix last change.
6412
6413         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6414         database lookup.
6415
6416 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6417
6418         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6419
6420         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6421         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6422         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6423         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6424         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6425         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6426         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6427         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6428         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6430         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6431         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6432         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6433         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6434         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6435         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6436         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6437         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6438         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6439         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6440         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6441         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6442
6443         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6444         ceil, ceilf, floor, floorf.
6445
6446         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6447         Perform IRELATIVE relocations last.
6448
6449         * elf/do-rel.h: Add another parameter nrelative, replacing the
6450         local variable with the same name.  Change name of the function
6451         to end in Rel or Rela (uppercase).
6452         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6453         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6454         elf_dynamic_do_##reloc function.
6455
6456 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6457
6458         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6459         is sufficient, at least on modern CPUs.
6460
6461         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6462
6463         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6464         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6465
6466         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6467         __expl_finite.
6468         * math/bits/math-finite.h: Add entries for exp.
6469         * math/e_expl.c: Add __*_finite alias.
6470         * sysdeps/i386/fpu/e_exp.S: Likewise.
6471         * sysdeps/i386/fpu/e_expf.S: Likewise.
6472         * sysdeps/i386/fpu/e_expl.c: Likewise.
6473         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6474         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6475         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6477         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6479         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6480
6481         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6482         is sufficient, at least on modern CPUs.
6483
6484         * ctype/ctype-info.c (__ctype_init): Define.
6485         * include/ctype.h (__ctype_init): Declare.
6486         (__ctype_b_loc): The variable is always initialized.
6487         (__ctype_toupper_loc): Likewise.
6488         (__ctype_tolower_loc): Likewise.
6489         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6490         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6491
6492 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6493
6494         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6495
6496         * configure.in: Also look in $cxxmachine/include for C++ system
6497         headers.
6498
6499 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6500
6501         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6502         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6503         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6504         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6505         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6506         (USE_AS_WMEMCMP): New macro.
6507         Fixing indents.
6508         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6509         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6510         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6511         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6513         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6514         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6515         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6516         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6517         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6519         (USE_AS_WMEMCMP): New macro.
6520         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6521         * sysdeps/string/test-memcmp.c: Update.
6522         Fix simple_wmemcmp.
6523         Add new tests.
6524         * wcsmbs/wmemcmp.c: Update.
6525         (WMEMCMP): New macro.
6526         Fix overflow bug.
6527
6528 2011-10-12  Andreas Jaeger  <aj@suse.de>
6529
6530         [BZ #13268]
6531         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6532
6533 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6534
6535         * libio/iofwide.c (do_length): Avoid warning.
6536
6537         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6538
6539 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6540
6541         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6542
6543         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6544         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6545         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6546         * sysdeps/i386/i686/fpu/e_log.S: New file.
6547         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6548         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6549
6550         * ctype/ctype.h: Add support for inlined isXXX functions when
6551         compiling C++ code.
6552
6553 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6554
6555         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6556
6557         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6558
6559 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6560
6561         [BZ #13291]
6562         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6563
6564 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6565
6566         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6567         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6568         feraiseexcept.
6569
6570         * sysdeps/x86_64/memrchr.S: Check for zero size.
6571
6572         * string/stratcliff.c: Add memrchr tests.
6573
6574 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6575
6576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6577         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6578         rawmemchr-sse2 rawmemchr-sse2-bsf.
6579         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6580         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6581         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6582         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6583         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6584         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6585         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6586         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6587         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6588         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6589         * string/memrchr.c (MEMRCHR): New macro.
6590
6591 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6592
6593         Add integration with gcc's -ffinite-math-only and optimize wrapper
6594         functions in libm.
6595         * Versions.def: Define GLIBC_2.15 version for libm.
6596         * math/Makefile (headers): Add bits/math-finite.h.
6597         * math/bits/math-finite.h: New file.
6598         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6599         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6600         * math/e_acoshl.c: Add __*_finite alias.
6601         * math/e_acosl.c: Likewise.
6602         * math/e_asinl.c: Likewise.
6603         * math/e_atan2l.c: Likewise.
6604         * math/e_atanhl.c: Likewise.
6605         * math/e_coshl.c: Likewise.
6606         * math/e_exp10.c: Likewise.
6607         * math/e_exp10f.c: Likewise.
6608         * math/e_exp10l.c: Likewise.
6609         * math/e_exp2l.c: Likewise.
6610         * math/e_fmodl.c: Likewise.
6611         * math/e_gammal_r.c: Likewise.
6612         * math/e_hypotl.c: Likewise.
6613         * math/e_j0l.c: Likewise.
6614         * math/e_j1l.c: Likewise.
6615         * math/e_jnl.c: Likewise.
6616         * math/e_lgammal_r.c: Likewise.
6617         * math/e_log10l.c: Likewise.
6618         * math/e_log2l.c: Likewise.
6619         * math/e_logl.c: Likewise.
6620         * math/e_powl.c: Likewise.
6621         * math/e_sinhl.c: Likewise.
6622         * math/e_sqrtl.c: Likewise.
6623         * math/e_scalb.c: Completely rewritten and optimized.
6624         * math/e_scalbf.c: Likewise.
6625         * math/e_scalbl.c: Likewise.
6626         * math/w_acos.c: Likewise.
6627         * math/w_acosf.c: Likewise.
6628         * math/w_acosl.c: Likewise.
6629         * math/w_acosh.c: Likewise.
6630         * math/w_acoshf.c: Likewise.
6631         * math/w_acoshl.c: Likewise.
6632         * math/w_asin.c: Likewise.
6633         * math/w_asinf.c: Likewise.
6634         * math/w_asinl.c: Likewise.
6635         * math/w_atan2.c: Likewise.
6636         * math/w_atan2f.c: Likewise.
6637         * math/w_atan2l.c: Likewise.
6638         * math/w_atanh.c: Likewise.
6639         * math/w_atanhf.c: Likewise.
6640         * math/w_atanhl.c: Likewise.
6641         * math/w_exp10.c: Likewise.
6642         * math/w_exp10f.c: Likewise.
6643         * math/w_exp10l.c: Likewise.
6644         * math/w_fmod.c: Likewise.
6645         * math/w_fmodf.c: Likewise.
6646         * math/w_fmodl.c: Likewise.
6647         * math/w_j0.c: Likewise.
6648         * math/w_j0f.c: Likewise.
6649         * math/w_j0l.c: Likewise.
6650         * math/w_j1.c: Likewise.
6651         * math/w_j1f.c: Likewise.
6652         * math/w_j1l.c: Likewise.
6653         * math/w_jn.c: Likewise.
6654         * math/w_jnf.c: Likewise.
6655         * math/w_log.c: Likewise.
6656         * math/w_logf.c: Likewise.
6657         * math/w_logl.c: Likewise.
6658         * math/w_log10.c: Likewise.
6659         * math/w_log10f.c: Likewise.
6660         * math/w_log10l.c: Likewise.
6661         * math/w_log2.c: Likewise.
6662         * math/w_log2f.c: Likewise.
6663         * math/w_log2l.c: Likewise.
6664         * math/w_pow.c: Likewise.
6665         * math/w_powf.c: Likewise.
6666         * math/w_powl.c: Likewise.
6667         * math/w_remainder.c: Likewise.
6668         * math/w_remainderf.c: Likewise.
6669         * math/w_remainderl.c: Likewise.
6670         * math/w_scalb.c: Likewise.
6671         * math/w_scalbf.c: Likewise.
6672         * math/w_scalbl.c: Likewise.
6673         * math/w_sqrt.c: Likewise.
6674         * math/w_sqrtf.c: Likewise.
6675         * math/w_sqrtl.c: Likewise.
6676         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6677         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6678         used.
6679         * math/math_private.h: Declare __kernel_standard_f.
6680         * math/w_cosh.c: Remove cruft and optimize a bit.
6681         * math/w_coshf.c: Likewise.
6682         * math/w_coshl.c: Likewise.
6683         * math/w_exp2.c: Likewise.
6684         * math/w_exp2f.c: Likewise.
6685         * math/w_exp2l.c: Likewise.
6686         * math/w_hypot.c: Likewise.
6687         * math/w_hypotf.c: Likewise.
6688         * math/w_hypotl.c: Likewise.
6689         * math/w_lgamma.c: Likewise.
6690         * math/w_lgamma_r.c: Likewise.
6691         * math/w_lgammaf.c: Likewise.
6692         * math/w_lgammaf_r.c: Likewise.
6693         * math/w_lgammal.c: Likewise.
6694         * math/w_lgammal_r.c: Likewise.
6695         * math/w_sinh.c: Likewise.
6696         * math/w_sinhf.c: Likewise.
6697         * math/w_sinhl.c: Likewise.
6698         * math/w_tgamma.c: Likewise.
6699         * math/w_tgammaf.c: Likewise.
6700         * math/w_tgammal.c: Likewise.
6701         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6702         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6703         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6704         Minor optimizations.  Pretty printing.  Remove cruft.
6705         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6706         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6709         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6710         * sysdeps/i386/fpu/e_asin.S: Likewise.
6711         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6712         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6713         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6714         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6715         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6716         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6717         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6718         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6719         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6720         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6721         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6722         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6723         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6724         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6725         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6726         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6727         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6728         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6729         * sysdeps/i386/fpu/e_log.S: Likewise.
6730         * sysdeps/i386/fpu/e_log10.S: Likewise.
6731         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6732         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6733         * sysdeps/i386/fpu/e_log2.S: Likewise.
6734         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6735         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6736         * sysdeps/i386/fpu/e_logf.S: Likewise.
6737         * sysdeps/i386/fpu/e_logl.S: Likewise.
6738         * sysdeps/i386/fpu/e_pow.S: Likewise.
6739         * sysdeps/i386/fpu/e_powf.S: Likewise.
6740         * sysdeps/i386/fpu/e_powl.S: Likewise.
6741         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6742         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6743         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6744         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6745         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6746         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6747         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6748         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6749         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6750         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6751         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6753         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6754         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6755         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6756         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6757         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6758         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6759         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6760         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6761         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6763         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6764         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6771         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6772         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6773         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6774         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6775         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6776         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6777         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6778         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6779         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6780         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6781         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6782         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6783         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6784         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6785         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6786         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6787         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6788         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6789         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6790         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6791         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6792         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6793         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6795         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6797         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6798         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6799         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6800         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6801         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6802         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6803         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6804         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6805         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6806         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6807         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6808         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6819         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6822         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6825         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6826         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6827         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6828         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6830         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6831         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6833         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6835         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6836         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6838         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6839         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6843         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6844         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6845         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6846         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6847         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6848         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6849         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6850         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6851         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6852         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6853         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6854         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6855         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6856         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6857         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6858         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6859         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6860         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6861         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6862         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6863         (__isnanf): Likewise.
6864         (__isinf_ns): Likewise.
6865         (__isinf_nsf): Likewise.
6866         (__finite): Likewise.
6867         (__finitef): Likewise.
6868         (__ieee754_sqrt): Define as macro.
6869         (__ieee754_sqrtf): Define as macro.
6870         (__ieee754_sqrtl): Define as macro.
6871         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6872         inlined copy.
6873         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6874         __FINITE_MATH_ONLY__ consistent.
6875         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6876
6877 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6878
6879         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6880         of rawmemchr.
6881
6882         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6883
6884 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6885
6886         * po/ja.po: Update from translation team.
6887
6888 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6889
6890         * locale/programs/locarchive.c (prepare_address_space): New function.
6891         (create_archive, enlarge_archive, open_archive): Use it.
6892
6893         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6894         inside [SHARED], where it is used.
6895
6896         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6897
6898         * nss/getent.c (netgroup_keys): Remove unused variable.
6899         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6900
6901 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6902
6903         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6904         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6906         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6907         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6908         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6909         * math/Makefile (libm-calls): Add s_isinf_ns.
6910         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6911         * math/multc3.c: Likewise.
6912         * math/s_casin.c: Likewise.
6913         * math/s_casinf.c: Likewise.
6914         * math/s_casinl.c: Likewise.
6915         * math/s_ccos.c: Likewise.
6916         * math/s_ccosf.c: Likewise.
6917         * math/s_ccosl.c: Likewise.
6918         * math/s_ctan.c: Likewise.
6919         * math/s_ctanf.c: Likewise.
6920         * math/s_ctanh.c: Likewise.
6921         * math/s_ctanhf.c: Likewise.
6922         * math/s_ctanhl.c: Likewise.
6923         * math/s_ctanl.c: Likewise.
6924         * math/w_fmod.c: Likewise.
6925         * math/w_fmodf.c: Likewise.
6926         * math/w_fmodl.c: Likewise.
6927         * math/w_remainder.c: Likewise.
6928         * math/w_remainderf.c: Likewise.
6929         * math/w_remainderl.c: Likewise.
6930         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6931         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6932         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6934         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6935         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6936         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6937         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6938
6939         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6940         of the number.
6941         * stdio-common/printf_fphex.c: Likewise.
6942         * stdio-common/printf_size.c: Likewise.
6943
6944         * math/e_exp10.c: Include math_private.h using <...> not "...".
6945         * math/e_exp10f.c: Likewise.
6946         * math/e_exp10l.c: Likewise.
6947         * math/e_exp2l.c: Likewise.
6948         * math/e_j0l.c: Likewise.
6949         * math/e_j1l.c: Likewise.
6950         * math/e_jnl.c: Likewise.
6951         * math/e_lgammal_r.c: Likewise.
6952         * math/e_rem_pio2l.c: Likewise.
6953         * math/e_scalb.c: Likewise.
6954         * math/e_scalbf.c: Likewise.
6955         * math/e_scalbl.c: Likewise.
6956         * math/k_cosl.c: Likewise.
6957         * math/k_sinl.c: Likewise.
6958         * math/k_tanl.c: Likewise.
6959         * math/s_cacoshf.c: Likewise.
6960         * math/s_catan.c: Likewise.
6961         * math/s_catanf.c: Likewise.
6962         * math/s_catanh.c: Likewise.
6963         * math/s_catanhf.c: Likewise.
6964         * math/s_catanhl.c: Likewise.
6965         * math/s_catanl.c: Likewise.
6966         * math/s_ccosh.c: Likewise.
6967         * math/s_ccoshf.c: Likewise.
6968         * math/s_ccoshl.c: Likewise.
6969         * math/s_cexp.c: Likewise.
6970         * math/s_cexpf.c: Likewise.
6971         * math/s_cexpl.c: Likewise.
6972         * math/s_clog.c: Likewise.
6973         * math/s_clog10.c: Likewise.
6974         * math/s_clog10f.c: Likewise.
6975         * math/s_clog10l.c: Likewise.
6976         * math/s_clogf.c: Likewise.
6977         * math/s_clogl.c: Likewise.
6978         * math/s_csin.c: Likewise.
6979         * math/s_csinf.c: Likewise.
6980         * math/s_csinh.c: Likewise.
6981         * math/s_csinhf.c: Likewise.
6982         * math/s_csinhl.c: Likewise.
6983         * math/s_csinl.c: Likewise.
6984         * math/s_csqrt.c: Likewise.
6985         * math/s_csqrtf.c: Likewise.
6986         * math/s_csqrtl.c: Likewise.
6987         * math/s_ctan.c: Likewise.
6988         * math/s_ctanf.c: Likewise.
6989         * math/s_ctanh.c: Likewise.
6990         * math/s_ctanhf.c: Likewise.
6991         * math/s_ctanhl.c: Likewise.
6992         * math/s_ctanl.c: Likewise.
6993         * math/s_ldexp.c: Likewise.
6994         * math/s_ldexpf.c: Likewise.
6995         * math/s_ldexpl.c: Likewise.
6996         * math/s_significand.c: Likewise.
6997         * math/s_significandf.c: Likewise.
6998         * math/s_significandl.c: Likewise.
6999         * math/w_acos.c: Likewise.
7000         * math/w_acosf.c: Likewise.
7001         * math/w_acosh.c: Likewise.
7002         * math/w_acoshf.c: Likewise.
7003         * math/w_acoshl.c: Likewise.
7004         * math/w_acosl.c: Likewise.
7005         * math/w_asin.c: Likewise.
7006         * math/w_asinf.c: Likewise.
7007         * math/w_asinl.c: Likewise.
7008         * math/w_atan2.c: Likewise.
7009         * math/w_atan2f.c: Likewise.
7010         * math/w_atan2l.c: Likewise.
7011         * math/w_atanh.c: Likewise.
7012         * math/w_atanhf.c: Likewise.
7013         * math/w_atanhl.c: Likewise.
7014         * math/w_cosh.c: Likewise.
7015         * math/w_coshf.c: Likewise.
7016         * math/w_coshl.c: Likewise.
7017         * math/w_dremf.c: Likewise.
7018         * math/w_exp10.c: Likewise.
7019         * math/w_exp10f.c: Likewise.
7020         * math/w_exp10l.c: Likewise.
7021         * math/w_exp2.c: Likewise.
7022         * math/w_exp2f.c: Likewise.
7023         * math/w_fmod.c: Likewise.
7024         * math/w_fmodf.c: Likewise.
7025         * math/w_fmodl.c: Likewise.
7026         * math/w_hypot.c: Likewise.
7027         * math/w_hypotf.c: Likewise.
7028         * math/w_hypotl.c: Likewise.
7029         * math/w_j0.c: Likewise.
7030         * math/w_j0f.c: Likewise.
7031         * math/w_j0l.c: Likewise.
7032         * math/w_j1.c: Likewise.
7033         * math/w_j1f.c: Likewise.
7034         * math/w_j1l.c: Likewise.
7035         * math/w_jn.c: Likewise.
7036         * math/w_jnf.c: Likewise.
7037         * math/w_jnl.c: Likewise.
7038         * math/w_lgamma.c: Likewise.
7039         * math/w_lgamma_r.c: Likewise.
7040         * math/w_lgammaf.c: Likewise.
7041         * math/w_lgammaf_r.c: Likewise.
7042         * math/w_lgammal.c: Likewise.
7043         * math/w_lgammal_r.c: Likewise.
7044         * math/w_log.c: Likewise.
7045         * math/w_log10.c: Likewise.
7046         * math/w_log10f.c: Likewise.
7047         * math/w_log10l.c: Likewise.
7048         * math/w_log2.c: Likewise.
7049         * math/w_log2f.c: Likewise.
7050         * math/w_log2l.c: Likewise.
7051         * math/w_logf.c: Likewise.
7052         * math/w_logl.c: Likewise.
7053         * math/w_pow.c: Likewise.
7054         * math/w_powf.c: Likewise.
7055         * math/w_powl.c: Likewise.
7056         * math/w_remainder.c: Likewise.
7057         * math/w_remainderf.c: Likewise.
7058         * math/w_remainderl.c: Likewise.
7059         * math/w_scalb.c: Likewise.
7060         * math/w_scalbf.c: Likewise.
7061         * math/w_scalbl.c: Likewise.
7062         * math/w_sinh.c: Likewise.
7063         * math/w_sinhf.c: Likewise.
7064         * math/w_sinhl.c: Likewise.
7065         * math/w_sqrt.c: Likewise.
7066         * math/w_sqrtf.c: Likewise.
7067         * math/w_sqrtl.c: Likewise.
7068         * math/w_tgamma.c: Likewise.
7069         * math/w_tgammaf.c: Likewise.
7070         * math/w_tgammal.c: Likewise.
7071
7072         * po/ja.po: Update from translation team.
7073
7074 2011-09-29  Andreas Jaeger  <aj@suse.de>
7075
7076         [BZ #13179]
7077         * sunrpc/netname.c (netname2host): Fix logic.
7078
7079         [BZ #6779]
7080         [BZ #6783]
7081         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7082         correctly.
7083         * math/w_remainder.c (__remainder): Likewise.
7084         * math/w_remainderf.c (__remainderf): Likewise.
7085         * math/libm-test.inc (remainder_test): Add test cases.
7086
7087 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7088
7089         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7090         sdiv_qrnnd.
7091
7092 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7093
7094         * string/test-memcmp.c: Avoid unncessary #defines.
7095         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7096
7097 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7098
7099         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7100         Use new sse2 version for core i3 - i7 as it's faster
7101         than sse42 version.
7102         (bit_Prefer_PMINUB_for_stringop): New.
7103         * sysdeps/x86_64/rawmemchr.S: Update.
7104         Replace with faster SSE2 version.
7105         * sysdeps/x86_64/memrchr.S: New file.
7106         * sysdeps/x86_64/memchr.S: Update.
7107         Replace with faster SSE2 version.
7108
7109 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7110
7111         * elf/dl-load.c (lose): Add cast to avoid warning.
7112
7113 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7114
7115         * po/ca.po: Update from translation team.
7116
7117         * inet/getnetgrent_r.c: Hook up nscd.
7118         * nscd/Makefile (routines): Add nscd_netgroup.
7119         (nscd-modules): Add netgroupcache.
7120         (CFLAGS-netgroupcache.c): Define.
7121         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7122         (cache_search): Add const to second parameter.
7123         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7124         INNETGR.
7125         (dbs): Add netgrdb entry.
7126         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7127         (verify_persistent_db): Handle netgrdb.
7128         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7129         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7130         GETFDNETGR.
7131         (netgroup_response_header): Define.
7132         (innetgroup_response_header): Define.
7133         (datahead): Add netgroup_response_header and innetgroup_response_header
7134         elements.
7135         * nscd/nscd.conf: Add entries for netgroup cache.
7136         * nscd/nscd.h (dbtype): Add netgrdb.
7137         (_PATH_NSCD_NETGROUP_DB): Define.
7138         (netgroup_iov_disabled): Declare.
7139         (xmalloc, xcalloc, xrealloc): Move declarations here.
7140         (cache_search): Adjust prototype.
7141         Add netgroup-related prototypes.
7142         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7143         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7144         (__nscd_innetgr): Declare.
7145         * nscd/selinux.c (perms): Use access_vector_t as element type and
7146         add netgroup-related initializers.
7147         * nscd/netgroupcache.c: New file.
7148         * nscd/nscd_netgroup.c: New file.
7149         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7150         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7151         For four parameters use innetgr.
7152         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7153         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7154         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7155         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7156
7157         * nscd/connections.c (register_traced_file): Don't register file
7158         for disabled databases.
7159
7160 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7161
7162         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7163
7164         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7165         from tree and freeing node.
7166
7167 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7168
7169         * nss/nsswitch.c (__nss_database_lookup): Handle
7170         nss_parse_service_list out of memory case.
7171
7172 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7173
7174         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7175         out of memory case.
7176
7177 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7178
7179         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7180         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7181         pass it down.
7182         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7183         elf_machine_rela, elf_machine_lazy_rel.
7184         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7185         (ELF_DYNAMIC_DO_REL): Likewise.
7186         (ELF_DYNAMIC_DO_RELA): Likewise.
7187         (ELF_DYNAMIC_RELOCATE): Likewise.
7188         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7189         to ELF_DYNAMIC_DO_REL.
7190         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7191         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7192         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7193         elf_machine_rela.
7194         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7195         skip_ifunc, don't call ifunc function if non-zero.
7196         (elf_machine_rela): Likewise.
7197         (elf_machine_lazy_rel): Likewise.
7198         (elf_machine_lazy_rela): Likewise.
7199         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7200         (elf_machine_lazy_rel): Likewise.
7201         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7202         Likewise.
7203         (elf_machine_lazy_rel): Likewise.
7204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7205         Likewise.
7206         (elf_machine_lazy_rel): Likewise.
7207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7208         (elf_machine_lazy_rel): Likewise.
7209         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7210         (elf_machine_lazy_rel): Likewise.
7211         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7212         (elf_machine_lazy_rel): Likewise.
7213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7214         (elf_machine_lazy_rel): Likewise.
7215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7216         (elf_machine_lazy_rel): Likewise.
7217         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7218         (elf_machine_lazy_rel): Likewise.
7219
7220 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7221
7222         * nss/nss_files/files-init.c (_nss_files_init): Use static
7223         initialization for all the *_traced_file variables.
7224
7225 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7226
7227         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7228
7229 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7230
7231         [BZ #13226]
7232         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7233
7234 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7235
7236         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7237         Reread the line before reparsing it.
7238
7239 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7240
7241         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7242
7243 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7244             Maxim Kuvyrkov  <maxim@codesourcery.com>
7245             Joseph Myers  <joseph@codesourcery.com>
7246
7247         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7248         if needed for __stack_chk_guard.
7249
7250 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7251
7252         * sysdeps/posix/spawni.c (script_execute): Always define it.
7253         It will be optimized away if unused.
7254         (maybe_script_execute): New function.
7255         (__spawni): Call it.
7256
7257         * Makerules: Don't include tls.make.
7258         (config-tls): Always set to thread.
7259         * tls.make.c: File removed.
7260
7261 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7262
7263         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7264         * config.make.in (CPPFLAGS-config): New substituted variable.
7265
7266 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7267
7268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7269
7270         [BZ #13192]
7271         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7272         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7273
7274 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7275
7276         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7277         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7279         (CALL_FAIL): Likewise.
7280         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7281         (CALL_FAIL): Macro removed.
7282         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7283
7284 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7285
7286         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7287         for __FINITE_MATH_ONLY__ == 1.
7288
7289 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7290
7291         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7292         __ieee754_sqrt instead of sqrt.
7293         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7294         __ieee754_sqrtf instead of sqrtf.
7295         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7296         __floorf instead of floorf.
7297         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7298         __floorf, __truncf instead of floorf, truncf.
7299
7300 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7301
7302         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7303
7304         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7305         __extern_always_inline.
7306         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7307         32-bit.
7308
7309 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7310
7311         * elf/rtld.c (dl_main): Also relocate in dependency order when
7312         doing symbol dependency testing.
7313
7314 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7315
7316         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7317         Always define `refsym'.
7318
7319 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7320
7321         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7322         (__FD_ELT): Renamed from __FDELT.
7323         * misc/bits/select2.h (__FD_ELT): Likewise.
7324         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7325         __FD_MASK instead of __FDELT, __FDMASK.
7326         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7327         Likewise.
7328         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7329         Likewise.
7330
7331         * elf/Makefile (gen-ldd): Fix pattern.
7332
7333         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7334         (init_tls): Likewise.
7335
7336 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7337
7338         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7339
7340 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7341
7342         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7343         `struct cmsghdr *' instead of `void *'.
7344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7345         Likewise.
7346
7347 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7348
7349         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7350         if non-absolute.
7351         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7352         ldd_rewrite_script.
7353
7354 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7355
7356         * configure.in: Remove --with-tls option.
7357         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7358         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7359         out in case it is missing.
7360         * sysdeps/ia64/elf/configure.in: Likewise.
7361         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7362         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7363         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7364         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7365         * sysdeps/sh/elf/configure.in: Likewise.
7366         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7367         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7368         * sysdeps/x86_64/elf/configure.in: Likewise.
7369         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7370         * sysdeps/mach/hurd/tls.h: Likewise.
7371
7372         [BZ #13067]
7373         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7374
7375         [BZ #13090]
7376         * configure.in: Fix use of AC_INIT.
7377
7378         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7379
7380 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7381
7382         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7383         __set_errno.
7384         * malloc/hooks.c: Likewise.
7385
7386         [BZ #11929]
7387         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7388         variables statically.
7389         (narenas): Initialize.
7390         (list_lock): Initialize.
7391         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7392         initializtion of main_arena and list_lock.  Small cleanups.
7393         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7394         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7395         Add initializers to main_arena and mp_.
7396         (malloc_state): Remove pagesize member.  Change all users to use
7397         GLRO(dl_pagesize).
7398
7399         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7400         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7401         is always initialized.
7402
7403         * malloc/malloc.c: Removed unused configurations and dead code.
7404         * malloc/arena.c: Likewise.
7405         * malloc/hooks.c: Likewise.
7406         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7407
7408         * include/tls.h: Removed.  USE___THREAD must always be defined.
7409         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7410         * elf/dl-libc.c: Likewise.
7411         * elf/dl-tsd.c: Likewise.
7412         * include/errno.h: Likewise.
7413         * include/netdb.h: Likewise.
7414         * include/resolv.h: Likewise.
7415         * inet/herrno-loc.c: Likewise.
7416         * inet/herrno.c: Likewise.
7417         * malloc/arena.c: Likewise.
7418         * malloc/hooks.c: Likewise.
7419         * malloc/malloc.c: Likewise.
7420         * resolv/res-state.c: Likewise.
7421         * resolv/res_libc.c: Likewise.
7422         * sysdeps/i386/dl-machine.h: Likewise.
7423         * sysdeps/ia64/dl-machine.h: Likewise.
7424         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7425         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7426         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7427         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7428         * sysdeps/sh/dl-machine.h: Likewise.
7429         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7430         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7431         * sysdeps/unix/i386/sysdep.S: Likewise.
7432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7433         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7442         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7443         * sysdeps/x86_64/dl-machine.h: Likewise.
7444         * tls.make.c: Likewise.
7445
7446         * configure.in: Remove --with-__thread option.  Make tests for
7447         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7448         tls_model attribute fail if no support is available.  Remove
7449         USE_IN_LIBIO.
7450         * Makeconfig: Adjust for dropped configure option.  All features are
7451         now mandatory.
7452         * Makerules: Likewise.
7453         * Versions.def: Likewise.
7454         * argp/argp-fmtstream.c: Likewise.
7455         * argp/argp-fmtstream.h: Likewise.
7456         * argp/argp-help.c: Likewise.
7457         * assert/assert.c: Likewise.
7458         * config.h.in: Likewise.
7459         * config.make.in: Likewise.
7460         * configure: Likewise.
7461         * configure.in: Likewise.
7462         * csu/Versions: Likewise.
7463         * csu/init.c: Likewise.
7464         * elf/tst-audit2.c: Likewise.
7465         * elf/tst-tls10.c: Likewise.
7466         * elf/tst-tls10.h: Likewise.
7467         * elf/tst-tls11.c: Likewise.
7468         * elf/tst-tls12.c: Likewise.
7469         * elf/tst-tls14.c: Likewise.
7470         * elf/tst-tlsmod11.c: Likewise.
7471         * elf/tst-tlsmod12.c: Likewise.
7472         * elf/tst-tlsmod13.c: Likewise.
7473         * elf/tst-tlsmod13a.c: Likewise.
7474         * elf/tst-tlsmod14a.c: Likewise.
7475         * elf/tst-tlsmod15b.c: Likewise.
7476         * elf/tst-tlsmod16a.c: Likewise.
7477         * elf/tst-tlsmod16b.c: Likewise.
7478         * elf/tst-tlsmod7.c: Likewise.
7479         * elf/tst-tlsmod8.c: Likewise.
7480         * elf/tst-tlsmod9.c: Likewise.
7481         * gmon/gmon.c: Likewise.
7482         * grp/fgetgrent_r.c: Likewise.
7483         * grp/putgrent.c: Likewise.
7484         * hurd/fopenport.c: Likewise.
7485         * include/libc-symbols.h: Likewise.
7486         * include/tls.h: Likewise.
7487         * intl/gettextP.h: Likewise.
7488         * intl/loadinfo.h: Likewise.
7489         * locale/global-locale.c: Likewise.
7490         * locale/localeinfo.h: Likewise.
7491         * mach/devstream.c: Likewise.
7492         * malloc/arena.c: Likewise.
7493         * malloc/set-freeres.c: Likewise.
7494         * misc/err.c: Likewise.
7495         * misc/getttyent.c: Likewise.
7496         * misc/mntent_r.c: Likewise.
7497         * posix/getopt.c: Likewise.
7498         * posix/wordexp.c: Likewise.
7499         * pwd/fgetpwent_r.c: Likewise.
7500         * resolv/Versions: Likewise.
7501         * resolv/res_hconf.c: Likewise.
7502         * shadow/fgetspent_r.c: Likewise.
7503         * shadow/putspent.c: Likewise.
7504         * stdio-common/printf_fphex.c: Likewise.
7505         * stdio-common/tmpfile.c: Likewise.
7506         * stdlib/abort.c: Likewise.
7507         * stdlib/fmtmsg.c: Likewise.
7508         * sunrpc/auth_unix.c: Likewise.
7509         * sunrpc/clnt_perr.c: Likewise.
7510         * sunrpc/clnt_tcp.c: Likewise.
7511         * sunrpc/clnt_udp.c: Likewise.
7512         * sunrpc/clnt_unix.c: Likewise.
7513         * sunrpc/openchild.c: Likewise.
7514         * sunrpc/svc_simple.c: Likewise.
7515         * sunrpc/svc_tcp.c: Likewise.
7516         * sunrpc/svc_udp.c: Likewise.
7517         * sunrpc/svc_unix.c: Likewise.
7518         * sunrpc/xdr.c: Likewise.
7519         * sunrpc/xdr_array.c: Likewise.
7520         * sunrpc/xdr_rec.c: Likewise.
7521         * sunrpc/xdr_ref.c: Likewise.
7522         * sunrpc/xdr_stdio.c: Likewise.
7523
7524 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7525
7526         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7527
7528 2011-07-03  Andreas Jaeger  <aj@suse.de>
7529
7530         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7531         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7532         regenerate with gen-libm-tests.pl.
7533
7534 2010-05-12  Petr Baudis  <pasky@suse.cz>
7535
7536         [BZ #11589]
7537         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7538         around j0() zero points by switching to j1().
7539         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7540         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7542         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7543
7544 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7545
7546         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7547         instead of 0.
7548         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7549         instead of 0.                              .
7550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7551         Patch in part by Pavel Roskin <proski@gnu.org>.
7552
7553         [BZ #13138]
7554         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7555         realloc.
7556         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7557         Free memory block if necessary.
7558
7559         [BZ #12847]
7560         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7561         be NULL.  Don't lock in this case.
7562
7563 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7564
7565         * elf/elf.h (ELFOSABI_GNU): New macro.
7566         (ELFOSABI_LINUX): Define to that.
7567
7568 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7569
7570         * string/strncat.c (strncat): Undef the symbol in case it has been
7571         defined in bits/string.h.
7572
7573 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7574
7575         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7576
7577         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7578         link map.
7579
7580 2011-08-17  Andreas Jaeger  <aj@suse.de>
7581
7582         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7583
7584 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7585             Ian Lance Taylor  <iant@google.com>
7586
7587         * math/libm-test.inc (lround_test): New testcase.
7588         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7589
7590 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7591
7592         * Makefile: Remove support for automatic cvs check-ins.
7593         * Makerules: Likewise.
7594         * config.make.in: Likewise.
7595         * configure.in: Likewise.
7596         * intl/Makefile: Likewise.
7597         * locale/Makefile: Likewise.
7598         * po/Makefile: Likewise.
7599         * posix/Makefile: Likewise.
7600         * sysdeps/gnu/Makefile: Likewise.
7601         * sysdeps/mach/hurd/Makefile: Likewise.
7602         * sysdeps/sparc/sparc32/Makefile: Likewise.
7603
7604         [BZ #13118]
7605         * posix/Makefile (bug-regex32-ENV): Define.
7606         Patch by John Stanley <jpsinthemix@verizon.net>.
7607
7608         * misc/Makefile (headers): Add bits/select2.h.
7609         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7610         * misc/bits/select2.h: New file.
7611         * include/bits/select2.h: New file.
7612         * debug/Makefile (routines): Add fdelt_chk.
7613         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7614         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7615         FD_ISSET.
7616         * debug/fdelt_chk.c: New file.
7617
7618         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7619         * wcsmbs/test-wmemcmp.c: Likewise.
7620         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7621         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7622
7623 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7624
7625         * string/Makefile (strop-tests): Add memcmp.
7626         * string/test-wmemcmp.c: New file.
7627         * string/test-memcmp.c: Add wmemcmp support.
7628
7629 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7630
7631         [BZ #13153]
7632         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7633         2011-07-19 change.
7634
7635         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7636         garbage value in a __mach_port_mod_refs call in the cases of the
7637         task-self and thread-self ports.
7638
7639 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7640
7641         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7642
7643 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7644
7645         * elf/dl-load.c (lose): Check for non-null L.
7646
7647 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7648
7649         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7650
7651         * elf/dl-libc.c (dlerror_run): Pass back error code from
7652         dl_catch_error.
7653
7654         [BZ #13123]
7655         * elf/dl-load.c (lose): Free l_origin if it is valid.
7656
7657         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7658         names.
7659         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7660         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7661         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7662         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7663         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7664         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7665
7666 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7667
7668         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7669         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7670         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7671         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7672         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7673         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7674         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7675         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7676         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7677         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7678
7679 2011-08-15  Alan Modra  <amodra@gmail.com>
7680
7681         [BZ #13092]
7682         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7683         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7684         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7685         ppc_mcount to static-only-routines.
7686         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7687         __mcount_internal.
7688         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7689         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7690
7691 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7692
7693         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7694         for finite and infinity parameters.
7695
7696 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7697
7698         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7699         and add nop instructions for throughput optimization.
7700         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7701
7702 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7703
7704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7705         aligned copy for power7 with vector-scalar instructions.
7706         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7707
7708 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7709
7710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7711         AVX check.
7712
7713 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7714
7715         [BZ #13144]
7716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7717         last change.
7718
7719 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7720
7721         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7722         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7723         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7724         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7725         clock_gettime.
7726
7727 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7728
7729         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7730         Forgot to demangle the pointer.
7731
7732         * sysdeps/i386/sysdep.h: Define atom_text_section.
7733         * sysdeps/x86_64/sysdep.h: Likewise.
7734         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7735         section with atom_text_section.
7736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7737         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7738         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7741
7742         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7743         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7744         already be defined.  Change to take two parameters and don't assign
7745         result to variable.  Adjust all users.
7746         Define INTERNAL_GETTIME if not already defined.
7747         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7748         call.
7749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7750         HAVE_CLOCK_GETTIME_VSYSCALL.
7751         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7752
7753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7754         gettimeofday vsyscall, just use time.
7755
7756 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7757
7758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7759         <errno.h>.
7760
7761 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7762
7763         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7764         syscall on x86-64.
7765         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7766         syscall.
7767         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7768         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7769         syscall if possible.
7770
7771 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7772
7773         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7774         e_ident.  Don't pass to find_mapsXX.
7775         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7776
7777 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7778
7779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7780         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7781         * sysdeps/x86_64/multiarch/strchr.S: Update.
7782         Check bit_slow_BSF bit.
7783         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7784         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7785         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7786
7787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7788
7789         [BZ #13134]
7790         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7791         before glibc 2.15.
7792         (tryshell): Define.
7793         (__spawni): Change last parameter to be flag.  Test
7794         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7795         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7796         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7797         * posix/spawni.c: Likewise.
7798         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7799         * posix/spawnp.c: Likewise.  Change normal version to use
7800         SPAWN_XFLAGS_USE_PATH.
7801         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7802         SPAWN_XFLAGS_TRY_SHELL.
7803
7804         [BZ #13150]
7805         * posix/glob.h: Remove gcc 1.x support.
7806
7807         [BZ #13068]
7808         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7809
7810 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7811
7812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7813         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7814         strrchr-sse2-bsf
7815         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7816         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7817         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7818         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7819         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7820         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7821
7822 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7823
7824         * sysdeps/x86_64/wcscmp.S: New file.
7825
7826         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7827         wcscmp-c wcscmp-sse2
7828         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7829         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7830         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7831         * wcsmbs/wcscmp.c: Allow renaming.
7832
7833 2011-09-05  David S. Miller  <davem@davemloft.net>
7834
7835         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7836         stack slot, rather than the struct return pointer slot.
7837         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7838         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7841
7842 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7843
7844         * po/ja.po: Update from translation team.
7845
7846         [BZ #13144]
7847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7848         kernel in 64-bit binaries.
7849
7850 2011-09-01  David S. Miller  <davem@davemloft.net>
7851
7852         * elf/elf.h (HWCAP_SPARC_*): Move to..
7853         * sysdeps/sparc/sysdep.h: this new file and add new values.
7854         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7855         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7856         _DL_HWCAP_COUNT to 24.
7857         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7858         entries.
7859         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7860         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7861         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7863         instead of magic constants.
7864         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7865
7866 2011-08-31  David S. Miller  <davem@davemloft.net>
7867
7868         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7870         Reimplement to do errno handling inline.
7871         (SYSCALL_ERROR_HANDLER): New macro.
7872         (__SYSCALL_STRING): Do not do errno handling in asm.
7873         (__CLONE_SYSCALL_STRING): Delete.
7874         (__INTERNAL_SYSCALL_STRING): Delete.
7875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7876         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7877         (PSEUDO): Reimplement to do errno handling inline.
7878         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7879         (SYSCALL_ERROR_HANDLER): New macro.
7880         (__SYSCALL_STRING): Do not do errno handling in asm.
7881         (__CLONE_SYSCALL_STRING): Delete.
7882         (__INTERNAL_SYSCALL_STRING): Delete.
7883         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7884         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7885         i386.
7886         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7887         (inline_syscall*): Add 'err' argument.
7888         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7889         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7890         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7891         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7892
7893         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7894         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7895
7896 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7897
7898         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7899
7900 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7901
7902         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7903         directive.
7904
7905 2011-08-24  David S. Miller  <davem@davemloft.net>
7906
7907         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7908
7909 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7910
7911         * elf/Makefile: Add rules to build and run unload8 test.
7912         * elf/unload8.c: New file.
7913         * elf/unload8mod1.c: New file.
7914         * elf/unload8mod1x.c: New file.
7915         * elf/unload8mod2.c: New file.
7916         * elf/unload8mod3.c: New file.
7917
7918         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7919         it wasn't used.
7920
7921 2011-08-23  David S. Miller  <davem@davemloft.net>
7922
7923         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7924         subtract stack bias.
7925         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7926         %sp not %fp in calculations.
7927         (_JMPBUF_UNWINDS_ADJ): Likewise.
7928
7929         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7930         (aio_suspend): Call it to force an exception region around the
7931         AIO_MISC_WAIT() invocation.
7932
7933 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7934
7935         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7936         backslash.
7937
7938 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7939
7940         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7941         protection macro.
7942         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7943         and <dl-machine.h>.
7944         (Elf64_FuncDesc): Remove.
7945
7946 2011-08-22  David S. Miller  <davem@davemloft.net>
7947
7948         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7949         sigaltstack check, add missing cfi directives.
7950         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7951         missing cfi directives, and sigaltstack handling.
7952
7953 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7954
7955         [BZ #11724]
7956         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7957         object is seen twice.
7958         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7959
7960         * elf/Makefile (distribute): Add tst-initorder2.c.
7961         (tests): Add tst-initorder2.
7962         (modules-names): Add tst-initorder2a tst-initorder2b
7963         tst-initorder2c tst-initorder2d.  Add rules to build them.
7964         ($(objpfx)tst-initorder2.out): New rule.
7965         * elf/tst-initorder2.c: New file.
7966         * elf/tst-initorder2.exp: New file.
7967
7968 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7969
7970         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7971
7972         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7973         dependencies back to end of function.
7974
7975         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7976         $(elfobjdir)/ld.so.
7977
7978 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7979
7980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7981         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7983         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7984         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7985         of __vdso_gettimeofday.
7986         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7987         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
7988         attribute_hidden.
7989         (_libc_vdso_platform_setup): Remove initialization of
7990         __vdso_gettimeofday and __vdso_time.
7991
7992 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7993
7994         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7995         and fgetc_unlocked.
7996         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7997         getc_unlocked.
7998
7999         * elf/dl-open.c (add_to_global): Report additions to the global scope
8000         for LD_DEBUG=scopes.
8001         (dl_open_worker): Also print scope of newly loaded dependencies.
8002         (_dl_show_scope): Indicate if there is no scope.
8003
8004         [BZ #13114]
8005         * stdio-common/Makefile (tests): Add bug24.
8006         * stdio-common/bug24.c: New file.
8007
8008 2011-08-19  Andreas Jaeger  <aj@suse.de>
8009
8010         [BZ #13114]
8011         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8012         non-existant file when using close-on-exec mode.
8013
8014 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8015
8016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8017         the very first instruction.
8018
8019         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8020         the CFI state in the end.
8021         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8022         inclusion of dl-trampoline.h.
8023         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8024
8025 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8026
8027         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8028         expectations for long double.
8029
8030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8031         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8032
8033 2011-08-14  David S. Miller  <davem@davemloft.net>
8034
8035         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8036         artificual limit depends upon the system page size.
8037
8038 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8039
8040         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8041         * resolv/Makefile: Define CFLAGS-libresolv.
8042
8043 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8044
8045         * nss/makedb.c (compute_tables): Make variables used in nested
8046         function static.
8047
8048 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8049
8050         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8051         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8052         if buffer was too small.
8053
8054         * elf/pldd.c (main): Attach to all threads in the process.
8055         Rewrite /proc handling to use *at functions.
8056
8057 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8058
8059         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8060         specifies first scope to show.
8061         (dl_open_worker): Update callers.  Move printing scope of new
8062         object to before the relocation.
8063         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8064         * sysdeps/generic/ldsodefs.h: Update declaration.
8065
8066         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8067         string for the scope number.
8068
8069 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8070
8071         * nscd/servicescache.c (cache_addserv): Make sure written is always
8072         initialized.
8073
8074 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8075
8076         * sysdeps/i386/i486/bits/atomic.h
8077         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8078         statement expression, so as to suppress "set but not used" warning.
8079         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8080
8081         * string/strncat.c (STRNCAT): Use prototype definition.
8082
8083         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8084         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8085         -Iprograms here.
8086         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8087         (localedef-modules): Add localedef.
8088         (locale-modules): Add locale.
8089
8090         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8091         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8092         to avoid a warning.
8093
8094 2011-08-14  David S. Miller  <davem@davemloft.net>
8095
8096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8097         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8098
8099 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8100
8101         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8102         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8103         * elf/rtld.c (dl_main): Set l_name of vDSO.
8104         Call _dl_show_scope when DL_DEBUG_SCOPES.
8105         (process_dl_debug): Recognize scopes flag and also set it for all.
8106         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8107         Declare _dl_show_scope.
8108
8109         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8110         (do_dlopen): Pass caller_dlopen to dl_open.
8111         (__libc_dlopen_mode): Initialize caller_dlopen.
8112
8113         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8114         of libc.  Make tolower call locale-independent.  Optimize a bit by
8115         using isdigit instead of isalnum.
8116         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8117
8118 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8119
8120         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8121         was a dependency or dynamically loaded.
8122
8123 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8124
8125         * intl/l10nflist.c: Allow architecture-specific pop function.
8126         * sysdeps/x86_64/l10nflist.c: New file.
8127
8128         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8129         classification.
8130
8131 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8132
8133         * include/dirent.h: Add libc_hidden_proto for scandirat and
8134         scandirat64.  Don't declare __scandirat64.
8135         * dirent/scandirat.c: Add libc_hidden_def.
8136         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8137         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8138
8139 2011-08-10  David S. Miller  <davem@davemloft.net>
8140
8141         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8142         enum.
8143         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8144         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8145         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8146
8147 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8148
8149         * Versions.def [libc]: Add GLIBC_2.15.
8150         * dirent/Makefile (routines): Add scandirat and scandirat64.
8151         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8152         GLIBC_2.15.
8153         * dirent/dirent.h: Declare scandirat and scandirat64.
8154         * dirent/scandirat.c: New file.
8155         * dirent/scandirat64.c: New file.
8156         * sysdeps/wordsize-64/scandirat.c: New file.
8157         * sysdeps/wordsize-64/scandirat64.c: New file.
8158         * dirent/opendir.c: Define opendirat.
8159         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8160         using scandirat.
8161         * dirent/scandir64.c: Adjust for scandir.c change.
8162         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8163         __scandirat64, and __scandir_cancel_handler.
8164         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8165         additional parameter and use openat instead of open (outside of ld.so).
8166         Add new __opendir as wrapper around __opendirat.
8167         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8168         here without requiring old scandirat implementation.
8169
8170 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8171
8172         * dirent/scandir.c (cancel_handler): Renamed to
8173         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8174         defined.  Adjust users.
8175         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8176         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8177
8178 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8179
8180         * string/test-string.h (IMPL): Use __STRING to expand name and then
8181         stringify it.
8182
8183         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8184         of cleanups.
8185
8186 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8187
8188         * string/Makefile: Update.
8189         (strop-tests): Append strncat.
8190         * string/test-wcscmp.c: New file.
8191         New comprehensive test for wcscmp.
8192         * string/test-strcmp.c: Update.
8193         (WIDE): New define.
8194
8195 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8196
8197         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8198         line.
8199
8200 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8201
8202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8203         encoding to ACE if AI_IDN.
8204
8205 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8206
8207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8208         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8209
8210 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8211
8212         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8213         Fix overflow bug in strncat.
8214         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8215
8216         * string/test-strncat.c: Update.
8217         Add new tests for checking overflow bugs.
8218
8219 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8220
8221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8222         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8223         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8224         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8226         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8227         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8228         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8229         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8230
8231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8232         (USE_AS_STRCAT): Define.
8233         Add strcat and strncat support.
8234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8235
8236 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8237
8238         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8239         __n bigger than INT_MAX+1.
8240         (__strncmp_g): Likewise.
8241
8242 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8243
8244         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8245         * libio/stido.h: Likewise.
8246
8247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8248         (AF_NFC): Define.
8249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8250         (AF_NFC): Define.
8251
8252         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8253         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8254         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8257
8258         [BZ #13021]
8259         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8260         installed.
8261
8262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8263         typo.
8264         (_dl_x86_64_save_sse): Likewise.
8265
8266 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8267
8268         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8269         OSXSAVE.
8270         (_dl_x86_64_save_sse): Likewise.
8271
8272         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8273
8274         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8275
8276 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8277
8278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8279         change.
8280         (_dl_x86_64_save_sse): Use correct AVX check.
8281
8282 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8283
8284         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8285         bug in strncpy/strncat.
8286         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8287
8288 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8289
8290         * string/tester.c (test_strcat): Add tests for different alignments
8291         of source and destination.
8292         (test_strncat): Likewise.
8293
8294 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8295
8296         [BZ #12852]
8297         * posix/glob.c (glob): Check passed in values before using them in
8298         expressions to avoid some overflows.
8299         (glob_in_dir): Likewise.
8300
8301         [BZ #13007]
8302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8303         check for AVX enablement so that we don't crash with old kernels and
8304         new hardware.
8305         * elf/tst-audit4.c: Add same checks here.
8306         * elf/tst-audit6.c: Likewise.
8307
8308         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8309
8310 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8311
8312         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8313
8314 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8315
8316         * po/cs.po: Update from translation team.
8317         * po/bg.po: Likewise.
8318
8319 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8320
8321         * misc/sys/cdefs.h: Add support for const attribute.
8322         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8323         to gnu_dev_{major,minor,makedev} functions.
8324
8325 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8326
8327         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8328
8329 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8330
8331         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8332         strlen results.
8333
8334 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8335
8336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8337         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8338         register in order to avoid conflicts with the soft frame pointer
8339         being held in r11 when necessary.
8340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8341         (INTERNAL_VSYSCALL_NCS): Likewise.
8342
8343 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8344
8345         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8346         * elf/dl-fini.c (_dl_fini): Adjust caller.
8347         * elf/dl-close.c (_dl_close_worker): Likewise.
8348         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8349
8350 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8351
8352         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8353         "aux_cache->nlibs < 0".
8354
8355         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8356         in the reload-count case.
8357
8358 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8359
8360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8361         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8362         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8363         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8364         * sysdeps/x86_64/multiarch/strcat.S: New file.
8365         * sysdeps/x86_64/multiarch/strncat.S: New file.
8366         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8367         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8368         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8369         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8370         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8371         (USE_AS_STRCAT): Define.
8372         Add strcat and strncat support.
8373         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8374         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8375         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8376         * string/strncat.c: Update.
8377         (USE_AS_STRNCAT): Define.
8378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8379         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8380         and i7.
8381         * sysdeps/x86_64/multiarch/init-arch.h
8382         (bit_Prefer_PMINUB_for_stringop): New.
8383         (index_Prefer_PMINUB_for_stringop): Likewise.
8384         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8385         bit_Prefer_PMINUB_for_stringop.
8386
8387 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8388
8389         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8390         buffer64.
8391         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8392         of casting of buffer.
8393         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8394         buffer32 and buffer64.
8395         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8396         writes instead of casting of buffer.
8397         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8398         buffer32.
8399         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8400         casting of buffer.
8401
8402 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8403
8404         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8405
8406 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8407
8408         * nscd/nscd.c (termination_handler): Don't do anything for a database
8409         if it has not yet been initialized.
8410
8411 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8412
8413         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8414
8415 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8416
8417         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8418
8419 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8420
8421         * po/nl.po: Update from translation team.
8422         * po/sv.po: Likewise.
8423
8424 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8425
8426         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8427         now disallowed by GCC.
8428
8429         * configure.in (use-default-link): Default to yes if a test -shared
8430         link meets our qualifications.
8431         * configure: Regenerated.
8432
8433         * config.make.in (output-format): New variable.
8434         * configure.in: Check for ld --print-output-format support.
8435         * configure: Regenerated.
8436         * Makerules ($(common-objpfx)format.lds)
8437         [$(output-format) != unknown]: Just use $(output-format),
8438         instead of the linker-script munging.
8439
8440 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8441
8442         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8443         of $(common-objpfx)shlib.lds.
8444         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8445
8446         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8447         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8448
8449         * configure.in (-z relro check): Adjust test code to add a large
8450         writable data section after it.
8451         * configure: Regenerated.
8452
8453 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8454
8455         * configure.in (-z relro check): Fix test code to make the variable
8456         truly const.
8457         * configure: Regenerated.
8458
8459 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8460
8461         * nscd/nscd.h (struct traced_file): Define.
8462         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8463         elements.  Add traced_files.
8464         (inotify_fd): Declare.
8465         (register_traced_file): Declare.
8466         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8467         (inotify_fd): Export.
8468         (resolv_conf_descr): Remove.
8469         (nscd_init): Move inotify descriptor creation to main.
8470         Don't register files for notification here.
8471         (register_traced_file): New function.
8472         (invalidate_cache): Don't use reset_res to determine whether to call
8473         res_init, go through the list of registered files.
8474         (main_loop_poll): The inotify descriptors are now stored in the
8475         structures for the traced files.
8476         (main_loop_epoll): Likewise
8477         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8478         to __nss_disable_nscd.
8479         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8480         for a database anymore.  Check the records for all the registered
8481         files instead.
8482         * nss/Makefile (libnss_files-routines): Add files-init.
8483         (libnss_db-routines): Add db-init.
8484         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8485         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8486         * nss/nss_db/db-init.c: New file.
8487         * nss/nss_files/files-init.c: New file.
8488         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8489         __nss_lookup_function.
8490         (__nss_lookup_function): Call nss_load_library.
8491         (nss_load_all_libraries): New function.
8492         (__nss_disable_nscd): Take parameter with callback function for files
8493         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8494         used for the cached services.
8495         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8496         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8497         options for features to all the files in nscd.
8498
8499         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8500
8501 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8502
8503         * csu/elf-init.c (__libc_csu_init): Comment typo.
8504
8505 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8506
8507         * po/pl.po: Update from translation team.
8508         * po/ja.po: Likewise.
8509         * po/ru.po: Likewise.
8510         * po/ko.po: Likewise.
8511         * po/fr.po: Likewise.
8512
8513 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8514
8515         * configure.in (.ctors/.dtors header and trailer check):
8516         Use an empirical test on a built program.
8517         * configure: Regenerated.
8518
8519         * configure.in (-z relro check): Use an empirical test on a built DSO.
8520         Detect, but do not require, on ia64.
8521         * configure: Regenerated.
8522
8523         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8524         Update tests that use readelf to use $READELF instead.
8525         * configure: Regenerated.
8526
8527 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8528
8529         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8530         if the result is not used.
8531
8532 2011-07-05  Andreas Jaeger  <aj@suse.de>
8533
8534         [BZ#9696]
8535         * stdlib/tst-strtod.c: Add testcase.
8536
8537 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8538
8539         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8540         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8541         The latter has a higher limit.  Take additional parameter to pass to
8542         the new function.
8543         (__pathconf): Pass file to __statfs_link_max.
8544         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8545         __statfs_link_max.
8546         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8547         __statfs_link_max.
8548
8549         [BZ #12868]
8550         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8551         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8552         Handle Lustre.
8553         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8554         (__statfs_filesize_max): Likewise.
8555         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8556
8557 2011-07-05  Andreas Jaeger  <aj@suse.de>
8558
8559         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8560
8561 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8562
8563         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8564         `status' variable.
8565         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8566         Likewise.
8567
8568 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8569
8570         * Makefile (strop-tests): Add strncat.
8571         * string/test-strncat.c: New file.
8572
8573 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8574
8575         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8576
8577 2011-06-21  Andreas Jaeger  <aj@suse.de>
8578
8579         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8580         Copy rule from iconvdata/Makefile.
8581
8582 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8583
8584         [BZ #12922]
8585         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8586         but no long options are defined, just return 'W'.
8587
8588 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8589
8590         [BZ #9696]
8591         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8592
8593 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8594
8595         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8596         netgroups to read.
8597         (innetgr): Likewise.
8598
8599 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8600
8601         * config.make.in (install_root): Default to $(DESTDIR).
8602
8603 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8604
8605         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8606
8607 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8608
8609         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8610
8611         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8612         containing directory rather than embedding absolute directory names.
8613
8614         * scripts/check-local-headers.sh: Rewritten using awk.
8615         Match by word, not by line.  Print error messages for matches.
8616         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8617
8618         * Makerules [shlib-lds-flags empty]:
8619         ($(common-objpfx)libc_pic.opts): New target.
8620         ($(common-objpfx)libc_pic.os.clean): New target.
8621         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8622
8623         * config.make.in (OBJCOPY): New variable.
8624         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8625         * configure: Regenerated.
8626
8627         * config.make.in (use-default-link): New variable.
8628         * configure.in (use_default_link): Grok --with-default-link to set it.
8629         * configure: Regenerated.
8630         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8631         (shlib-lds, shlib-lds-flags): Define to empty.
8632
8633         * Makerules (shlib-lds): New variable.
8634         (shlib-lds-flags): New variable.
8635         (build-shlib, build-moduile, build-module-asneeded): Use it.
8636         ($(common-objpfx)libc.so): Use $(shlib-lds).
8637         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8638         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8639
8640         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8641         DT_FLAGS/DT_FLAGS_1 with zero flags.
8642
8643         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8644         linker script munging.
8645
8646 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8647
8648         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8649         as 128-bit value.
8650         * crypt/sha512.c (sha512_process_block): Perform total addition using
8651         128-bit if possible.
8652         (__sha512_finish_ctx): Likewise.
8653         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8654         as 64-bit value.
8655         * crypt/sha256.c (SWAP64): Define.
8656         (sha256_process_block): Perform total addition using 64-bit if
8657         possible.
8658         (__sha256_finish_ctx): Likewise.
8659
8660 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8661
8662         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8664         * nscd/hstcache.c (cache_addhst): Likewise.
8665         * nscd/grpcache.c (cache_addgr): Likewise.
8666         * nscd/aicache.c (addhstaiX): Likewise
8667         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8668
8669 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8670
8671         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8673         * nscd/hstcache.c (cache_addhst): Likewise.
8674         * nscd/grpcache.c (cache_addgr): Likewise.
8675         * nscd/aicache.c (addhstaiX): Likewise
8676
8677 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8678
8679         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8680         domain only when needed.
8681
8682 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8683
8684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8685         is always restored.
8686
8687 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8688
8689         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8690         are re-adding the entry.
8691         * nscd/servicescache.c (cache_addserv): Likewise.
8692
8693 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8694
8695         * sysdeps/generic/dl-irel.h: fix protection against multiple
8696         inclusions.
8697         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8698
8699 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8700
8701         [BZ #12935]
8702         * malloc/memusage.sh: Fix quoting in message.
8703         * debug/xtrace.sh: Likewise.
8704
8705         * configure.in: Remove support for --experimental-malloc option, make
8706         it the default.
8707         * config.make.in: Likewise.
8708         * malloc/Makefile: Likewise.
8709
8710 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8711
8712         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8713         two-byte characters.
8714
8715 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8716
8717         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8718         AC_CACHE_CHECK invocation.
8719         * configure: Regenerated.
8720
8721         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8722
8723 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8724
8725         [BZ #12350]
8726         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8727         bit from old_res_options.
8728
8729         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8730
8731         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8732         value type for setfct.
8733
8734 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8735
8736         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8737         __gettimeofday instead of gettimeofday.
8738
8739 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8740
8741         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8742
8743 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8744
8745         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8746
8747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8748         info.
8749
8750 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8751
8752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8753         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8754         strcpy-sse2-unaligned strncpy-sse2-unaligned
8755         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8756         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8757         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8758         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8759         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8761         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8762         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8763         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8764         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8765         (STRCPY): Support SSE2 and SSSE3 versions.
8766
8767 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8768
8769         [BZ #12874]
8770         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8771         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8772         kernels which artificially limit size of requests.
8773
8774 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8775
8776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8777         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8778         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8779         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8780         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8781         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8782         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8783         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8784         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8786         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8787         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8788         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8789         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8790         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8792         Enable unaligned load optimization for Intel Core i3, i5 and i7
8793         processors.
8794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8795         Define.
8796         (index_Fast_Unaligned_Load): Define.
8797         (HAS_FAST_UNALIGNED_LOAD): Define.
8798
8799 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8800
8801         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8802
8803 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8804
8805         [BZ #12907]
8806         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8807         until it is clear that the information is realy needed.
8808         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8809
8810 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8811
8812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8813
8814 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8815
8816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8817         /sys/devices/system/cpu/online if it is usable.
8818
8819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8820         reading the information from the /proc filesystem to once a second.
8821
8822 2011-06-21  Andreas Jaeger  <aj@suse.de>
8823
8824         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8825         NULL after inclusion of kernel headers.
8826
8827 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8828
8829         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8830         calls to internal_setent.
8831
8832         [BZ #12885]
8833         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8834         addresses using gethostbyname4_r ignore IPv4 addresses.
8835
8836         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8837         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8838
8839         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8840
8841 2011-06-20  David S. Miller  <davem@davemloft.net>
8842
8843         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8844         inclusions.
8845         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8846
8847         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8848         (elf_irel): Use it.
8849         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8850         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8851         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8852         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8853         * sysdeps/x86_64/dl-irel.h: Likewise.
8854
8855         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8856         * elf/dl-sym.c: Likewise.
8857
8858 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8859
8860         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8861         need to dereference resplen2.
8862
8863 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8864
8865         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8866
8867 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8868
8869         * Makeconfig: Define vardbdir and inst_vardbdir.
8870         * nss/Makefile: Add rules to install db-Makefile.
8871
8872         * nss/nss_db/db-XXX.c: Cleanup.
8873
8874         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8875         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8876         GLIBC_PRIVATE.
8877         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8878         * nss/makedb.c: Implement -g option to specify that value strings
8879         are generated and should not be added to table iterated over for
8880         get*ent calls.
8881         * nss/nss_db/db-initgroups.c: New file.
8882
8883         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8884         interface.
8885
8886         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8887         (internal_getgrouplist): Adjust to name change.
8888         Update use_initgroups_entry if this is not the first call.
8889         * nss/databases.def: Add initgroups entry.
8890
8891         * nss/makedb.c (compute_tables): Check result of multiple hash table
8892         sizes to minimize maximum chain length.
8893
8894 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8895
8896         * Versions.def: Add entry for libnss_db.
8897         * shlib-versions: Likewise.
8898         * nss/Makefile: Add rules to build libnss_db.
8899         * nss/Versions: Add libnss_db information.  Organize libnss_files
8900         entries better.
8901         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8902         makedb progra.  Some minor improvements to generate smaller files.
8903         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8904         here from...
8905         * nss/makedb.c: ...here.
8906         Improve database format to be smaller and require less memory at
8907         runtime.
8908         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8909         db anymore.
8910         * nss/nss_db/db-netgrp.c: Likewise.
8911         * nss/nss_db/db-open.c: Likewise.
8912         * nss/nss_files/flies-XXX.x: Adjust comments.
8913         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8914         * nss/nss_files/files-grp.c: Likewise.
8915         * nss/nss_files/files-hosts.c: Likewise.
8916         * nss/nss_files/files-network.c: Likewise.
8917         * nss/nss_files/files-proto.c: Likewise.
8918         * nss/nss_files/files-pwd.c: Likewise.
8919         * nss/nss_files/files-rpc.c: Likewise.
8920         * nss/nss_files/files-service.c: Likewise.
8921         * nss/nss_files/files-sgrp.c: Likewise.
8922         * nss/nss_files/files-spwd.c: Likewise.
8923         * nss/nss_db/db-alias.c: Removed.
8924         * nss/nss_db/dummy-db.h: Removed.
8925
8926 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8927
8928         * nss/makedb.c: Rewritten to not use database library.
8929         * nss/Makefile: Update to build new makedb program.
8930
8931 2011-06-14  Andreas Jaeger  <aj@suse.de>
8932
8933         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8934         memset declaration.
8935
8936 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8937
8938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8939         tmpbuf.
8940
8941 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8942
8943         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8944         * elf/Makefile ($(objpfx)ld.so): Likewise.
8945
8946         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8947         Don't list ld.so twice in dependencies.
8948
8949         * posix/bug-regex31.c: Include <stdlib.h>.
8950
8951         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8952
8953         * nis/nss_compat/compat-spwd.c
8954         (getspent_next_nss_netgr): Remove unused variable.
8955         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8956
8957         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8958         nonmembers" output to use the right array.
8959
8960         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8961
8962         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8963
8964         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8965         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8966         * catgets/gencat.c (read_input_file): Likewise.
8967         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8968
8969         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8970         variable definition inside #if's controlling its use.
8971
8972         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8973
8974         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8975
8976         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8977
8978         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8979         unreachable code.
8980
8981         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8982
8983         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8984         * configure: Regenerated.
8985
8986         * Makerules: Revert last change.
8987         * elf/Makefile: Likewise.
8988
8989 2011-06-09  Roland McGrath  <roland@hack.frob.com>
8990
8991         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8992         * elf/Makefile ($(objpfx)librtld.os): Likewise.
8993         (reloc-link): Likewise.
8994
8995 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
8996
8997         * elf/Makefile: Add rules to build pldd.
8998         * elf/pldd.c: New file.
8999         * elf/pldd-xx.c: New file.
9000
9001 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9002
9003         * version.h: Update for 2.15 development version.
9004
9005 2011-06-07  David S. Miller  <davem@davemloft.net>
9006
9007         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9008         ifuncs.
9009         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9010         elf_machine_lazy_rel): Likewise.
9011         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9013         elf_machine_lazy_rel): Likewise.
9014         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9015         dl_hwcap via passed in argument.
9016         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9017         Likewise.
9018
9019 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9020
9021         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9022
9023 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9024
9025         [BZ #12849]
9026         * manual/fdl-1.1.texi: New file, verbatim from:
9027         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9028         * manual/lgpl-2.1.texi: New file, verbatim from:
9029         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9030         * manual/Makefile (licenses): New variable, list those new file names.
9031         (texis): Use it.
9032         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9033
9034         * manual/fdl.texi: File removed.
9035         * manual/lesser.texi: File removed.
9036         * manual/libc.texinfo (Copying, Documentation License):
9037         Use new @include file names, put @appendix directive before @include.
9038
9039 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9040
9041         [BZ #12841]
9042         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9043         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9044         (mq_open): Add __NTH.
9045
9046 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9047
9048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9049         Assume Intel Core i3/i5/i7 processor if AVX is available.
9050
9051 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9052
9053         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9054         typo.
9055
9056 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9057
9058         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9059         memory.  Use alloca_account.  Fix memory leak when retrying.
9060
9061 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9062
9063         * version.h (RELEASE): Bump for 2.14 release.
9064         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9065
9066         * config.make.in (RANLIB): Remove entry.
9067
9068 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9069
9070         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9071         (libc.pot): Work around missing support for .ksh extension in xgettext.
9072
9073         [BZ #12684]
9074         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9075         if both request failed.
9076         (send_dg): In case of server errors clear resplen or *resplen2.
9077
9078         [BZ #12454]
9079         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9080         when there are multiple maps.
9081         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9082         (_dl_fini): Remove test here.
9083
9084         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9085
9086 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9087
9088         [BZ #12350]
9089         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9090         bit from old_res_options.
9091         (gaih_inet): Likewise.
9092
9093         [BZ #11099]
9094         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9095         as signed.
9096
9097         * resolv/res_init.c (res_setoptions): Make the code more compact.
9098
9099         [BZ #11558]
9100         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9101         set RES_USEVC.
9102
9103         [BZ #11634]
9104         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9105
9106         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9107
9108         [BZ #11781]
9109         * malloc/malloc.h: Declare malloc hook variables as volatile.
9110
9111         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9112         in last patch.
9113
9114         [BZ #11799]
9115         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9116         raise in the comment.
9117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9119         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9120
9121 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9122
9123         [BZ #12811]
9124         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9125         grow the buffers more if it already has to be sufficient.
9126         (build_wcs_upper_buffer): Likewise.
9127         * posix/regexec.c (check_matching): Likewise.
9128         (clean_state_log_if_needed): Likewise.
9129         (extend_buffers): Don't enlarge buffers beyond size of the input
9130         buffer.
9131         Patches mostly by Emil Wojak <emil@wojak.eu>.
9132         * posix/bug-regex32.c: New file.
9133         * posix/Makefile (tests): Add bug-regex32.
9134
9135         * locale/findlocale.c (_nl_find_locale): Return right away if
9136         _nl_explode_name failed.
9137         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9138
9139         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9140
9141         * debug/xtrace.sh: Unify messages.
9142         * malloc/memusage.sh: Likewise.
9143
9144         [BZ #12813]
9145         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9146         time symbol from vDSO.  Substitute with vsyscall if not available.
9147         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9148         __vdso_time.
9149
9150         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9151         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9152         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9153         Add sendmmsg and internal_sendmmsg.
9154         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9155         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9157
9158         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9159         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9160         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9161
9162 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9163
9164         [BZ #12813]
9165         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9166         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9167         available.
9168         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9169         __vdso_getcpu.
9170
9171         [BZ #12814]
9172         * iconvdata/Makefile (tests): Add bug-iconv9.
9173         * iconvdata/bug-iconv9.c: New file.
9174
9175 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9176
9177         [BZ #12814]
9178         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9179
9180 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9181
9182         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9183         (struct user_regs_struct): Change intcs field back to cs.
9184
9185 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9186
9187         * po/ja.po: Update from translation team.
9188
9189 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9190
9191         [BZ #12795]
9192         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9193         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9194
9195 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9196
9197         * stdlib/longlong.h: Update from GCC.
9198
9199 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9200
9201         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9202         parameter name.
9203         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9204         Add parameter name.
9205         (__sysconf): Pass it down.
9206
9207 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9208
9209         [BZ #12671]
9210         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9211         some situations.
9212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9213         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9214         add in in __libc_use_alloca calls.  Adjust callers.
9215         (glob): Use malloc in some situations.
9216
9217         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9218         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9219         pltexit.
9220
9221 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9222
9223         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9224         and CLOCK_BOOTTIME_ALARM.
9225
9226         [BZ #12782]
9227         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9228         is returned.
9229
9230         * string/_strerror.c (__strerror_r): Print negative errors as signed
9231         numbers.
9232
9233         [BZ #12777]
9234         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9235         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9236         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9237
9238         * configure.in: Fix typo in redirection and correct removal of test
9239         files in two cases.
9240
9241         [BZ #12788]
9242         * locale/setlocale.c (new_composite_name): Fix test to check for
9243         identical name of all categories.
9244
9245         [BZ #12792]
9246         * libio/filedoalloc.c (local_isatty): New function.
9247         (_IO_file_doallocate): Use local_isatty.
9248         * stdio-common/perror.c (perror): In case a new stream is used
9249         forward the stream error.
9250         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9251         error flag.
9252
9253 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9254
9255         [BZ #11869]
9256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9257         alloca.
9258         * include/alloca.h (extend_alloca_account): Define.
9259
9260         [BZ #11857]
9261         * posix/regex.h: Fix comments with documentation of user-accessible
9262         fields after compilation and describe correct free'ing of pattern
9263         after re_compile_pattern.
9264         Patch by Reuben Thomas <rrt@sc3d.org>.
9265
9266 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9267
9268         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9269         and -mno-altivec to prevent the compiler from using Altivec and/or
9270         VSX instructions when the corresponding registers are not available.
9271
9272 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9273
9274         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9275
9276 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9277
9278         * libio/freopen.c (freopen): Use __dup2, not dup2.
9279         * libio/freopen64.c (freopen64): Likewise.
9280
9281 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9282
9283         [BZ #12775]
9284         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9285         * math/Makefile (tests): Add test-powl.
9286         (CFLAGS-test-powl.c): Define.
9287         * math/test-powl.c: New file.
9288
9289 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9290
9291         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9292
9293 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9294
9295         [BZ #11837]
9296         * iconvdata/gb18030.c: Update to GB18020-2005.
9297
9298 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9299
9300         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9301         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9302         Patch by Aharon Robbins <arnold@skeeve.com>.
9303
9304         [BZ #11892]
9305         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9306         on the stack.
9307
9308         [BZ #11895]
9309         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9310         through underflows.
9311
9312         [BZ #12766]
9313         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9314         point to strings before performing equality test for error_one_per_line
9315         mode.
9316
9317         [BZ #11697]
9318         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9319
9320         [BZ #11820]
9321         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9322         (struct user_fpregs_struct): Avoid __uint*_t types.
9323
9324         [BZ #6420]
9325         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9326         symbol info.  Use it instead of calling _dl_addr locally.
9327         (lock_and_info): New function.
9328         (tr_freehook): Call lock_and_info and pass symbol info as additional
9329         parameter to tr_where.
9330         (tr_mallochook): Likewise.
9331         (tr_reallochook): Likewise.
9332         (tr_memalignhook): Likewise.
9333
9334         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9335         used and couldn't be at all thread-safe.
9336
9337 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9338
9339         * libio/freopen.c (freopen): Don't close old file descriptor
9340         before the new one is opened.  Instead dup the new file descriptor
9341         to the old one after the new stream is created.
9342         * libio/freopen64.c (freopen64): Likewise.
9343         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9344         * libio/fileops.c (_IO_new_file_close_it): Handle new
9345         _IO_FLAGS2_NOCLOSE flag.
9346         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9347         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9348         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9349         _IO_FLAGS2_NOCLOSE flag.
9350         * include/unistd.h: Add hidden_proto for dup3.
9351         Define __have_dup3.
9352         * io/dup3.c: Define hidden symbol.
9353         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9354
9355         [BZ #7101]
9356         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9357         when an incomplete long option is used.
9358         * posix/tst-getopt_long1.c: New file.
9359         * posix/Makefile (tests): Add tst-getopt_long1.
9360
9361         [BZ #10138]
9362         * scripts/config.guess: Update from autoconf-2.68.
9363         * scripts/config.sub: Likewise.
9364
9365         [BZ #10157]
9366         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9367         tests into ...
9368         (has_cpuclock): ...this.  New function.
9369         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9370         macro here based on has_cpuclock code.
9371
9372         [BZ #10149]
9373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9374         First byte (not low byte) is now always NUL.
9375         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9376
9377         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9378         Use non-cancelable interfaces.
9379
9380         [BZ #9809]
9381         * locale/iso-639.def: Add entry for Sorani.
9382
9383         [BZ #11901]
9384         * include/stdlib.h: Move include protection to the right place.
9385         Define abort_msg_s.  Declare __abort_msg with it.
9386         * stdlib/abort.c (__abort_msg): Adjust type.
9387         * assert/assert.c (__assert_fail_base): New function.  Majority
9388         of code from __assert_fail.  Allocate memory for __abort_msg with
9389         mmap.
9390         (__assert_fail): Now call __assert_fail_base.
9391         * assert/assert-perr.c: Remove bulk of implementation.  Use
9392         __assert_fail_base.
9393         * include/assert.hL Declare __assert_fail_base.
9394         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9395         mmap.
9396         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9397
9398 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9399
9400         [BZ #11952]
9401         [BZ #12453]
9402         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9403         until all modules are registered in the DTV.
9404         * elf/Makefile: Add rules to build and run tst-tls19.
9405         * elf/tst-tls19.c: New file.
9406         * elf/tst-tls19mod1.c: New file.
9407         * elf/tst-tls19mod2.c: New file.
9408         * elf/tst-tls19mod3.c: New file.
9409         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9410
9411         [BZ #12083]
9412         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9413         correctly.
9414
9415         [BZ #12601]
9416         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9417         two-byte sequence errors.
9418         * iconvdata/Makefile (tests): Add bug-iconv8.
9419         * iconvdata/bug-iconv8.c: New file.
9420
9421         [BZ #12626]
9422         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9423         buf2 definition.
9424
9425         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9426
9427         [BZ #12432]
9428         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9429         (dummy_getcfa): New function.
9430         (init): Get _Unwind_GetCFA address, use dummy if not found.
9431         (backtrace_helper): In recursion check, also check whether CFA changes.
9432         (__backtrace): Completely initialize arg.
9433
9434         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9435         storing incomplete byte sequence in state object.  Avoid testing for
9436         guaranteed too small input if we know there is enough data available.
9437
9438 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9439
9440         * Makeconfig (+link-pie): Indent.
9441         * Rules (binaries-pie): Define if $(have-fpie) and
9442         $(build-shared).
9443         (binaries-shared): Also filter out $(binaries-pie).
9444         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9445         * nscd/Makefile (others-pie): Add nscd.
9446         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9447         ($(objpfx)nscd): Remove command override.
9448         * login/Makefile (others-pie): Add pt_chown.
9449         ($(objpfx)pt_chown): Remove command override.
9450         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9451         remove command overrides.
9452
9453 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9454
9455         * libio/tst_putwc.c: Fix error messages.
9456
9457         [BZ #12724]
9458         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9459         currently writing and seek to current position when not.
9460         * libio/Makefile (tests): Add bug-fclose1.
9461         * libio/bug-fclose1.c: New file.
9462
9463 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9464
9465         [BZ #12511]
9466         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9467         don't set DF_1_NODELETE here.
9468         (do_lookup_x): When entering new entry test for copy relocation
9469         and if necessary set DF_1_NODELETE flag.
9470         * elf/tst-unique4.cc: New file.
9471         * elf/tst-unique4.h: New file.
9472         * elf/tst-unique4lib.cc: New file.
9473         * elf/Makefile: Add rules to build and run tst-unique4.
9474         Patch by Piotr Bury <pbury@goahead.com>.
9475
9476 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9477
9478         [BZ #12052]
9479         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9480
9481         [BZ #12625]
9482         * misc/mntent_r.c (addmntent): Flush the stream after the output
9483
9484         [BZ #12393]
9485         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9486         (is_trusted_path_normalize): Skip initial colon.  Append slash
9487         to empty buffer.  Duplicate is_trusted_path code but allow
9488         constructed patch to be prefix.
9489         (is_dst): Allow $ORIGIN followed by /.
9490         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9491         Correct testing of result of is_trusted_path_normalize
9492         (decompose_rpath): Fix warning.
9493
9494 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9495
9496         [BZ #11257]
9497         * grp/initgroups.c (internal_getgrouplist): When we found the service
9498         list through the initgroups entry in nsswitch.conf do not always
9499         continue on a successful lookup.  Don't always use the
9500         __nss_group_database value if it is set.
9501         * nss/nsswitch.conf (initgroups): Change action for successful db
9502         lookup to continue for compatibility.
9503
9504 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9505
9506         [BZ #11532]
9507         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9508         and CP774 modules.
9509         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9510         and CP774 modules.
9511         * iconvdata/tst-tables.sh: Likewise.
9512         * iconvdata/cp770.c: New file.
9513         * iconvdata/cp771.c: New file.
9514         * iconvdata/cp772.c: New file.
9515         * iconvdata/cp773.c: New file.
9516         * iconvdata/cp774.c: New file.
9517         * iconvdata/testdata/CP770: New file.
9518         * iconvdata/testdata/CP770..UTF8: New file.
9519         * iconvdata/testdata/CP771: New file.
9520         * iconvdata/testdata/CP771..UTF8: New file.
9521         * iconvdata/testdata/CP772: New file.
9522         * iconvdata/testdata/CP772..UTF8: New file.
9523         * iconvdata/testdata/CP773: New file.
9524         * iconvdata/testdata/CP773..UTF8: New file.
9525         * iconvdata/testdata/CP774: New file.
9526         * iconvdata/testdata/CP774..UTF8: New file.
9527
9528         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9529         END CHARMAP line.
9530         * iconvdata/gen-8bit-gap.sh: Likewise.
9531         * iconvdata/gen-8bit.sh: Likewise.
9532
9533         * locale/iso-639.def: Add ary entry.
9534
9535         [BZ #11258]
9536         * locale/C-translit.h.in: Add U20A1 transliteration.
9537
9538         [BZ #12178]
9539         * locale/iso-639.def: Add wae entry.
9540         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9541
9542         [BZ #12545]
9543         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9544         for n.
9545
9546         [BZ #12711]
9547         * locale/C-translit.h.in: Add entry for U20B9.
9548         Patch by pravin.d.s@gmail.com.
9549
9550 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9551
9552         [BZ #12713]
9553         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9554         ENAMETOOLONG use generic getcwd.
9555         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9556         in rtld.  Use *stat64.
9557         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9558         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9559         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9560         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9561         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9562         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9563         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9564         __fstatat64 macros.
9565         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9566         * dirent/rewinddir.c: Add libc_hidden_def.
9567         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9568         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9569
9570         * include/dirent.h (__alloc_dir): Add flags parameter.
9571         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9572         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9573         __alloc_dir.
9574         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9575         from fdopendir if O_CLOEXEC is already set.
9576
9577 2011-03-15  Alan Modra  <amodra@gmail.com>
9578
9579         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9580         l_tls_firstbyte_offset non-zero.  Save padding offset in
9581         l_tls_firstbyte_offset for later use.
9582         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9583         freeing static tls block.
9584
9585 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9586
9587         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9588         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9589         being defined by the kernel headers.
9590
9591 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9592
9593         [BZ #12734]
9594         * resolv/resolv.h: Define RES_NOTLDQUERY.
9595         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9596         no-tld-query and set RES_NOTLDQUERY.
9597         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9598         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9599         modern BIND to search name as TLD unless forbidden.
9600
9601 2011-05-07  Petr Baudis  <pasky@suse.cz>
9602             Ulrich Drepper  <drepper@gmail.com>
9603
9604         [BZ #12393]
9605         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9606         (is_trusted_path): ...to here.
9607         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9608         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9609         using is_trusted_path_normalize() in setuid scripts.
9610
9611 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9612
9613         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9614         __BEGIN/__END_DECLS.
9615
9616 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9617
9618         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9619         NSS_STATUS_NOTFOUND if no record was found.
9620
9621 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9622
9623         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9624         (headers-not-in-tirpc): Remove rpc/netdb.h
9625         * resolv/netdb.h: Revert last change.
9626
9627 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9628
9629         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9630         circular dependency between libgcc.a and libc.a.
9631
9632 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9633
9634         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9635         * nis/Makefile: Don't install rpcsvc/*.
9636         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9637         instead of <rpc/types.h>.
9638         (MAXHOSTNAMELEN): Define.
9639
9640 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9641
9642         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9643
9644 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9645
9646         [BZ #12714]
9647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9648         gethostbyname4_r when IPv6 results are possible.
9649
9650 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9651
9652         [BZ #12723]
9653         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9654         _PC_PIPE_BUF handling.
9655
9656 2011-04-30  Bruno Haible  <bruno@clisp.org>
9657
9658         [BZ #12717]
9659         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9660         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9661         to 'int'.
9662         * inet/getnameinfo.c (getnameinfo): Likewise.
9663
9664 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9665
9666         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9667         to groups setting in database lookup.
9668         * nss/nsswitch.conf: Add initgroups entry.
9669
9670 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9671
9672         [BZ #12685]
9673         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9674         mode string.
9675         Patch by Eric Blake <eblake@redhat.com>.
9676
9677 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9678
9679         * sunrpc/Makefile (need-export-routines): Add svc_run.
9680         (routines): Remove svc_run.
9681         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9682         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9683         * sunrpc/svc_run.c (svc_run): Likewise.
9684         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9685
9686 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9687
9688         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9689         problem in reallocation in last patch.
9690
9691 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9692
9693         * sunrpc/Makefile: Move inclusion of Rules.
9694
9695 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9696
9697         * nss/nss_files/files-initgroups.c: New file.
9698         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9699         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9700         _nss_files_initgroups_dyn.
9701
9702 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9703
9704         * elf/elf.h (R_ARM_IRELATIVE): Define.
9705
9706 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9707
9708         * po/ru.po: Update from translation team.
9709
9710 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9711
9712         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9713         dependencies.
9714
9715 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9716
9717         [BZ #12653]
9718         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9719         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9720         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9722         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9723
9724 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9725
9726         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9727         differing bytes.
9728         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9729         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9730         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9731
9732 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9733
9734         [BZ #12420]
9735         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9736         storing it.
9737         * stdlib/bug-getcontext.c: New file.
9738         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9739
9740 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9741
9742         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9743         instructions into .machine "z9-109".
9744         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9745         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9746
9747 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9748
9749         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9750         between environment variables and auxiliary vector.
9751
9752 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9753
9754         * Makefile: Add rules to build linkobj/libc.so.
9755         * include/libc-symbols.h: Define libc_hidden_nolink.
9756         * include/rpc/auth.h: Mark functions which are to be hidden.
9757         * include/rpc/auth_des.h: Likewise.
9758         * include/rpc/auth_unix.h: Likewise.
9759         * include/rpc/clnt.h: Likewise.
9760         * include/rpc/des_crypt.h: Likewise.
9761         * include/rpc/key_prot.h: Likewise.
9762         * include/rpc/pmap_clnt.h: Likewise.
9763         * include/rpc/pmap_prot.h: Likewise.
9764         * include/rpc/pmap_rmt.h: Likewise.
9765         * include/rpc/rpc_msg.h: Likewise.
9766         * include/rpc/svc.h: Likewise.
9767         * include/rpc/svc_auth.h: Likewise.
9768         * include/rpc/xdr.h: Likewise.
9769         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9770         * nss/Makefile: Likewise.
9771         * sunrpc/Makefile: Don't install headers.  Build library with normal
9772         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9773         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9774         for the compat linking library.  Remove use of INTDEF/INTUSE.
9775         * sunrpc/auth_none.c: Likewise.
9776         * sunrpc/auth_unix.c: Likewise.
9777         * sunrpc/authdes_prot.c: Likewise.
9778         * sunrpc/authuxprot.c: Likewise.
9779         * sunrpc/clnt_gen.c: Likewise.
9780         * sunrpc/clnt_perr.c: Likewise.
9781         * sunrpc/clnt_raw.c: Likewise.
9782         * sunrpc/clnt_simp.c: Likewise.
9783         * sunrpc/clnt_tcp.c: Likewise.
9784         * sunrpc/clnt_udp.c: Likewise.
9785         * sunrpc/clnt_unix.c: Likewise.
9786         * sunrpc/des_crypt.c: Likewise.
9787         * sunrpc/des_soft.c: Likewise.
9788         * sunrpc/get_myaddr.c: Likewise.
9789         * sunrpc/key_call.c: Likewise.
9790         * sunrpc/key_prot.c: Likewise.
9791         * sunrpc/netname.c: Likewise.
9792         * sunrpc/pm_getmaps.c: Likewise.
9793         * sunrpc/pm_getport.c: Likewise.
9794         * sunrpc/pmap_clnt.c: Likewise.
9795         * sunrpc/pmap_prot.c: Likewise.
9796         * sunrpc/pmap_prot2.c: Likewise.
9797         * sunrpc/pmap_rmt.c: Likewise.
9798         * sunrpc/publickey.c: Likewise.
9799         * sunrpc/rpc_cmsg.c: Likewise.
9800         * sunrpc/rpc_common.c: Likewise.
9801         * sunrpc/rpc_dtable.c: Likewise.
9802         * sunrpc/rpc_prot.c: Likewise.
9803         * sunrpc/rpc_thread.c: Likewise.
9804         * sunrpc/rtime.c: Likewise.
9805         * sunrpc/svc.c: Likewise.
9806         * sunrpc/svc_auth.c: Likewise.
9807         * sunrpc/svc_authux.c: Likewise.
9808         * sunrpc/svc_raw.c: Likewise.
9809         * sunrpc/svc_run.c: Likewise.
9810         * sunrpc/svc_simple.c: Likewise.
9811         * sunrpc/svc_tcp.c: Likewise.
9812         * sunrpc/svc_udp.c: Likewise.
9813         * sunrpc/svc_unix.c: Likewise.
9814         * sunrpc/svcauth_des.c: Likewise.
9815         * sunrpc/xcrypt.c: Likewise.
9816         * sunrpc/xdr.c: Likewise.
9817         * sunrpc/xdr_array.c: Likewise.
9818         * sunrpc/xdr_float.c: Likewise.
9819         * sunrpc/xdr_intXX_t.c: Likewise.
9820         * sunrpc/xdr_mem.c: Likewise.
9821         * sunrpc/xdr_rec.c: Likewise.
9822         * sunrpc/xdr_ref.c: Likewise.
9823         * sunrpc/xdr_sizeof.c: Likewise.
9824         * sunrpc/xdr_stdio.c: Likewise.
9825
9826 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9827
9828         [BZ #12650]
9829         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9830         * sysdeps/ia64/dl-tls.h: Likewise.
9831         * sysdeps/powerpc/dl-tls.h: Likewise.
9832         * sysdeps/s390/dl-tls.h: Likewise.
9833         * sysdeps/sh/dl-tls.h: Likewise.
9834         * sysdeps/sparc/dl-tls.h: Likewise.
9835         * sysdeps/x86_64/dl-tls.h: Likewise.
9836         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9837
9838 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9839
9840         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9841         rpath element also skip the following colon.
9842         (expand_dynamic_string_token): Add is_path parameter and pass
9843         down to DL_DST_REQUIRED and _dl_dst_substitute.
9844         (decompose_rpath): Call expand_dynamic_string_token with
9845         non-zero is_path.  Ignore empty rpaths.
9846         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9847         with zero is_path.
9848
9849 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9850
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9852         Make cancelable.
9853
9854 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9855
9856         [BZ #12655]
9857         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9858         Patch by Filipe David Manana <fdmanana@apache.org>.
9859
9860 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9861
9862         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9863         Maintain aligned stack.
9864         (CHECK_RSP): Remove unused macro.
9865
9866 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9867
9868         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9869         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9870
9871 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9872
9873         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9874
9875         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9876
9877 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9878
9879         [BZ #12518]
9880         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9881         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9882         * sysdeps/x86_64/memmove.c: New file.
9883         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9884         (memcpy): Renamed to ...
9885         (__new_memcpy): This.
9886         (memcpy): Provide GLIBC_2_14 memcpy.
9887         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9888         (memcpy): Provide GLIBC_2_2_5 memcpy.
9889
9890 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9891
9892         [BZ #12631]
9893         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9894
9895 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9896
9897         * misc/syncfs.c: New file.
9898         * misc/Makefile (routines): Add syncfs.
9899         * posix/unistd.h: Declare syncfs.
9900         * sysdeps/unix/syscalls.list: Add syncfs.
9901
9902 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9903
9904         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9905         open_by_handle_at.
9906         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9911         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9913
9914 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9915
9916         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9917         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9918         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9922         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9923
9924         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9925         sync_file_range.c with -fexceptions.
9926         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9927         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9928         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9929         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9930         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9931         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9933         sync_file_range as cancellation point
9934         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9935         now a wrapper around __call_sync_file_range with cancellation handling.
9936         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9937         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9938         function name to __call_sync_file_range.
9939         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9940         Add call_sync_file_range.
9941
9942 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9943
9944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9945         bits/timex.h.
9946
9947 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9948
9949         * iconv/iconv.h: Fix typo in comment.
9950         * io/fcntl.h: Likewise.
9951         * libio/stdio.h: Likewise.
9952         * posix/spawn.h: Likewise.
9953         * posix/unistd.h: Likewise.
9954         * stdlib/stdlib.h: Likewise.
9955         * time/time.h: Likewise.
9956         * wcsmbs/wchar.h: Likewise.
9957
9958         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9959         open_by_handle): Add.
9960         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9961         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9962         Augment a few comments.
9963         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9965         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9968         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9969         open_by_handle.
9970
9971         * io/fcntl.h (AT_EMPTY_PATH): Define.
9972
9973 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9974
9975         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9976         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9977         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9978         to...
9979         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9980         * Versions.def: Add GLIBC_2.14.
9981         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9982         Export.
9983
9984 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9985
9986         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9987         round counter.
9988         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9989
9990 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9991
9992         [BZ #12597]
9993         * string/test-strncmp.c (do_page_test): New function.
9994         (check2): Likewise.
9995         (test_main): Call check2.
9996         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9997
9998 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
9999
10000         [BZ #12587]
10001         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10002         Handle cache information in CPU leaf 4.
10003         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10004
10005 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10006
10007         [BZ #12583]
10008         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10009         character representation.
10010         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10011
10012 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10013
10014         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10015         END(__isnan) to END(__isnanf) to match function entry point/label
10016         EALIGN(__isnanf,...).
10017
10018 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10019
10020         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10021
10022 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10023
10024         [BZ #12510]
10025         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10026         copy from the symbol referenced in the relocation to initialize the
10027         used variable.
10028         Patch by Piotr Bury <pbury@goahead.com>.
10029         * elf/Makefile: Add rules to build and tst-unique3.
10030         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10031         * elf/tst-unique3.cc: New file.
10032         * elf/tst-unique3.h: New file.
10033         * elf/tst-unique3lib.cc: New file.
10034         * elf/tst-unique3lib2.cc: New file.
10035
10036         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10037
10038 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10039
10040         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10041         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10042         to _start.
10043
10044 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10045
10046         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10047         to-be-loaded object along a path to loader is ld.so.
10048
10049 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10050             Ulrich Drepper  <drepper@gmail.com>
10051
10052         * sysdeps/x86_64/memset.S: After aligning destination, code
10053         branches to different locations depending on the value of
10054         misalignment, when multiarch is enabled. Fix this.
10055
10056 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10057
10058         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10059         Set _x86_64_preferred_memory_instruction for AMD processsors.
10060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10061         Set bit_Prefer_SSE_for_memop for AMD processors.
10062
10063 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10064
10065         * libio/fmemopen.c (fmemopen): Optimize a bit.
10066
10067 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10068
10069         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10070
10071 2011-03-03  Roland McGrath  <roland@redhat.com>
10072
10073         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10074
10075 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10076
10077         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10078         __bzero_ultra1 instead of __memset_ultra1.
10079
10080 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10081             Ulrich Drepper  <drepper@gmail.com>
10082
10083         [BZ #12509]
10084         * include/link.h (struct link_map): Add l_orig_initfini.
10085         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10086         returning unsuccessfully.
10087         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10088         close of a file loaded at startup, restore the original l_initfini
10089         list.
10090         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10091         list, store the pointer.
10092         * elf/Makefile ($(objpfx)noload-mem): New rule.
10093         (noload-ENV): Define.
10094         (tests): Add $(objpfx)noload-mem.
10095         * elf/noload.c: Include <memcheck.h>.
10096         (main): Call mtrace.  Close all opened handles.
10097
10098 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10099
10100         [BZ #12454]
10101         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10102         dependencies are missing.
10103
10104 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10105
10106         Fix __if_freereq crash: Unlike the generic version which uses free,
10107         Hurd needs munmap.
10108         * sysdeps/mach/hurd/ifreq.h: New file.
10109
10110 2011-01-27  Petr Baudis  <pasky@suse.cz>
10111             Ulrich Drepper  <drepper@gmail.com>
10112
10113         [BZ 12445]#
10114         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10115         to extend_alloca().
10116         * stdio-common/bug23.c: New file.
10117         * stdio-common/Makefile (tests): Add bug23.
10118
10119 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10120             Ulrich Drepper  <drepper@gmail.com>
10121
10122         [BZ #12489]
10123         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10124         before performing relro protection.  At old place add assertion
10125         to make sure nothing changed.
10126
10127 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10128             Glauber de Oliveira Costa  <glommer@gmail.com>
10129
10130         * elf/elf.h: Add new ARM TLS relocs.
10131
10132 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10133
10134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10135         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10136         cast from r3.
10137         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10138         'tests' variable.
10139         * sysdeps/wordsize-64/tst-writev.c: New file.
10140
10141 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10142
10143         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10144         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10145         insns in _dl_start to prevent a TOC reference before relocs are
10146         resolved.
10147
10148 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10149
10150         [BZ #12469]
10151         * Makeconfig: Remove RANLIB definition.
10152         * Makerules: Don't use RANLIB.
10153         * aclocal.m4: Remove ranlib test.
10154         * configure.in: No need to check for ranlib.
10155         * elf/rtld-Rules: Don't use RANLIB.
10156
10157 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10158
10159         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10160         protection macro.
10161         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10162         inclusion protection macro.
10163
10164         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10165         SIGRTMIN and SIGRTMAX and print information in that case only when
10166         SIGRTMIN is defined.
10167
10168 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10169
10170         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10171         arginfo fn returning -1.
10172
10173         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10174         and thousands string is zero terminated.
10175
10176 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10177
10178         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10179         sysdeps/unix/sysv/linux/bits/socket.h.
10180
10181 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10182
10183         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10184         (__CPU_COUNT): Remove old macros.
10185         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10186         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10187         (__CPU_ALLOC, __CPU_FREE): Add macros.
10188         (__sched_cpualloc, __sched_cpufree): Add declarations.
10189
10190 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10191
10192         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10193         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10194         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10195         (readdhstai): Return value of addhstaiX call.
10196         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10197         (addgrbyX): Return value returned by cache_addgr.
10198         (readdgrbyname): Return value returned by addgrbyX.
10199         (readdgrbygid): Likewise.
10200         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10201         (addpwbyX): Return value returned by cache_addpw.
10202         (readdpwbyname): Return value returned by addhstbyX.
10203         (readdpwbyuid): Likewise.
10204         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10205         (addservbyX): Return value returned by cache_addserv.
10206         (readdservbyname): Return value returned by addservbyX:
10207         (readdservbyport): Likewise.
10208         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10209         (addhstbyX): Return value returned by cache_addhst.
10210         (readdhstbyname): Return value returned by addhstbyX.
10211         (readdhstbyaddr): Likewise.
10212         (readdhstbynamev6): Likewise.
10213         (readdhstbyaddrv6): Likewise.
10214         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10215         (readdinitgroups): Return value returned by addinitgroupsX.
10216         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10217         (prune_cache): Keep track of timeout value of re-added entries.
10218         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10219         * nscd/nscd.h: Adjust prototypes of readd* functions.
10220
10221 2011-02-04  Roland McGrath  <roland@redhat.com>
10222
10223         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10224         (nis_stats): Likewise.
10225         * nis/nis_modify.c (nis_modify): Likewise.
10226         * nis/nis_remove.c (nis_remove): Likewise.
10227         * nis/nis_add.c (nis_add): Likewise.
10228
10229         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10230
10231         * posix/fnmatch_loop.c: Add some consts.
10232
10233         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10234
10235 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10236
10237         [BZ #12460]
10238         * config.make.in (config-cflags-novzeroupper): Define.
10239         * configure.in: Substitute libc_cv_cc_novzeroupper.
10240         * elf/Makefile (AVX-CFLAGS): Define.
10241         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10242         (CFLAGS-tst-auditmod4a.c): Likewise.
10243         (CFLAGS-tst-auditmod4b.c): Likewise.
10244         (CFLAGS-tst-auditmod6b.c): Likewise.
10245         (CFLAGS-tst-auditmod6c.c): Likewise.
10246         (CFLAGS-tst-auditmod7b.c): Likewise.
10247         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10248
10249 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10250
10251         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10252         function to the callback.
10253         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10254
10255 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10256
10257         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10258         of errno.
10259
10260 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10261
10262         [BZ #11724]
10263         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10264         of constructors.
10265         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10266         of destructors.
10267         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10268
10269         [BZ #11724]
10270         * elf/Makefile: Add rules to build and run new test.
10271         * elf/tst-initorder.c: New file.
10272         * elf/tst-initorder.exp: New file.
10273         * elf/tst-initordera1.c: New file.
10274         * elf/tst-initordera2.c: New file.
10275         * elf/tst-initordera3.c: New file.
10276         * elf/tst-initordera4.c: New file.
10277         * elf/tst-initorderb1.c: New file.
10278         * elf/tst-initorderb2.c: New file.
10279         * elf/tst-order-a1.c: New file.
10280         * elf/tst-order-a2.c: New file.
10281         * elf/tst-order-a3.c: New file.
10282         * elf/tst-order-a4.c: New file.
10283         * elf/tst-order-b1.c: New file.
10284         * elf/tst-order-b2.c: New file.
10285         * elf/tst-order-main.c: New file.
10286         New test case by George Gensure <werkt0@gmail.com>.
10287
10288 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10289
10290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10291         decoding ACE if AI_CANONIDN.
10292
10293 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10294
10295         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10296
10297 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10298
10299         * version.h (RELEASE): Bump for 2.13 release.
10300         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10301
10302         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10303
10304         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10305         MADV_NOHUGEPAGE.
10306         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10307         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10308         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10309         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10310         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10311         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10312
10313         * posix/getconf.c: Update copyright year.
10314         * catgets/gencat.c: Likewise.
10315         * csu/version.c: Likewise.
10316         * debug/catchsegv.sh: Likewise.
10317         * debug/xtrace.sh: Likewise.
10318         * elf/ldconfig.c: Likewise.
10319         * elf/ldd.bash.in: Likewise.
10320         * elf/sprof.c (print_version): Likewise.
10321         * iconv/iconv_prog.c: Likewise.
10322         * iconv/iconvconfig.c: Likewise.
10323         * locale/programs/locale.c: Likewise.
10324         * locale/programs/localedef.c: Likewise.
10325         * malloc/memusage.sh: Likewise.
10326         * malloc/mtrace.pl: Likewise.
10327         * nscd/nscd.c (print_version): Likewise.
10328         * nss/getent.c: Likewise.
10329
10330         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10331         PF_CAIF, and PF_ALG.
10332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10333
10334 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10335
10336         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10337         (modules-names): Use them.
10338         (ifunc-test-modules, ifunc-pie-tests): Define.
10339         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10340         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10341         (test-extras): Likewise.
10342         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10343         $(compile-command.c).
10344         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10345         (all-built-dso): Define.
10346         (check-textrel.out, check-execstack.out): Depend on it.
10347
10348         * configure.in: Don't override --enable-multi-arch.
10349
10350 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10351
10352         [BZ #6812]
10353         * nscd/hstcache.c (tryagain): Define.
10354         (cache_addhst): Return tryagain not notfound for temporary errors.
10355         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10356         failed.
10357
10358 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10359
10360         [BZ #10563]
10361         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10362         to make the syscall.
10363         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10364
10365         [BZ #12378]
10366         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10367         and fall back to matching as normal character if the string ends before
10368         the matching ']' is found.  This is what POSIX requires.
10369         * posix/testfnm.c: Adjust test result.
10370         * posix/globtest.sh: Adjust test result.  Add new test.
10371         * posix/tst-fnmatch.input: Likewise.
10372         * posix/tst-fnmatch2.c: Add new test.
10373
10374 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10375
10376         * elf/Makefile (check-execstack): Revert last change.  Depend on
10377         check-execstack.h.
10378         (check-execstack.h): New target.
10379         (generated): Add check-execstack.h.
10380         * elf/check-execstack.c: Include "check-execstack.h".
10381         (main): Revert last change.
10382         (handle_file): Return zero if GNU_STACK is absent and
10383         DEFAULT_STACK_PERMS doesn't include PF_X.
10384
10385 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10386
10387         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10388         in child fails because the descriptor is already closed.
10389         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10390         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10391         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10392
10393         [BZ #12397]
10394         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10395         syscall.
10396
10397         [BZ #10484]
10398         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10399         temporary buffer used to handle multi lookups locally.
10400         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10401
10402 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10403
10404         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10405         loader is ld.so.
10406
10407 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10408
10409         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10410         alignment for SSE2.
10411
10412 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10413
10414         [BZ #12394]
10415         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10416         characters.  When rounding increased number of integer digits recompute
10417         number of groups.
10418         * stdio-common/tst-grouping.c: New file.
10419         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10420
10421 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10422
10423         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10424         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10425
10426         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10427         void.
10428         * bits/select.h: Likewise.
10429
10430 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10431
10432         * po/ja.po: Update from translation team.
10433
10434 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10435
10436         [BZ #11155]
10437         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10438         implementation just like for lxstat, fxstatat, et al.
10439
10440 2010-12-27  Jim Meyering  <meyering@redhat.com>
10441
10442         [BZ #12348]
10443         * posix/regexec.c (build_trtable): Return failure indication upon
10444         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10445
10446 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10447
10448         [BZ #12201]
10449         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10450         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10451         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10452         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10453
10454         [BZ #12207]
10455         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10456
10457         [BZ #12204]
10458         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10459         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10460
10461 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10462
10463         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10464         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10465         script has SORT_BY_INIT_PRIORITY.
10466         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10467         NO_CTORS_DTORS_SECTIONS is defined.
10468         * elf/soinit.c: Likewise.
10469         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10470         NO_CTORS_DTORS_SECTIONS is defined.
10471         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10472         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10473         * sysdeps/sh/init-first.c: Likewise.
10474         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10475
10476 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10477
10478         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10479         always use the slow path.
10480
10481 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10482
10483         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10484         similar rule which adds the sysdep directories to the header search in
10485         order to pick up the correct platform stackinfo.h.
10486         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10487         perform test if it is, otherwise return successfully without testing.
10488         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10489         DEFAULT_STACK_PERMS define in stackinfo.h.
10490         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10491         defined in stackinfo.h.
10492         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10493         DEFAULT_STACK_PERMS defined in stackinfo.h.
10494         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10495         * sysdeps/ia64/stackinfo.h: Likewise.
10496         * sysdeps/s390/stackinfo.h: Likewise.
10497         * sysdeps/sh/stackinfo.h: Likewise.
10498         * sysdeps/sparc/stackinfo.h: Likewise.
10499         * sysdeps/x86_64/stackinfo.h: Likewise.
10500         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10501         PF_X for powerpc64.  Retain PF_X for powerpc32.
10502
10503 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10504
10505         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10506         accurately.
10507         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10508         GETDENTS_64BIT_ALIGNED.
10509
10510 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10511
10512         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10513
10514 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10515
10516         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10517         _GNU_SOURCE.
10518
10519         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10520         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10521         Remove __restrict.
10522         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10523         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10524
10525 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10526
10527         [BZ #11655]
10528         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10529         are initialized.
10530
10531 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10532
10533         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10534
10535 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10536
10537         * po/it.po: Update from translation team.
10538
10539 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10540
10541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10542         unused codes.
10543
10544 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10545
10546         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10547
10548 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10549
10550         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10551         specially.
10552         (gaih_getanswer_slice): Likewise.
10553
10554 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10555
10556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10557
10558 2010-05-31  Petr Baudis  <pasky@suse.cz>
10559
10560         [BZ #11149]
10561         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10562         silently even in the chroot mode.
10563
10564 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10565
10566         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10567         last patch a bit.  Pretty printing
10568
10569 2010-05-31  Petr Baudis <pasky@suse.cz>
10570
10571         [BZ #10085]
10572         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10573         initialization of skip_initgroups_dyn.
10574
10575 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10576
10577         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10579
10580 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10581
10582         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10583
10584 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10585
10586         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10587         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10588         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10589         ($(objpfx)tst-fnmatch-mem): New rule.
10590         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10591         * posix/tst-fnmatch.c (main): Call mtrace.
10592
10593 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10594
10595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10596         Support Intel processor model 6 and model 0x2c.
10597
10598 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10599
10600         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10601           signed comparison.
10602
10603 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10604
10605         [BZ #12205]
10606         * string/test-strncasecmp.c (check_result): New function.
10607         (do_one_test): Use it.
10608         (check1): New function.
10609         (test_main): Use it.
10610         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10611         Support strcasecmp and strncasecmp.
10612
10613 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10614
10615         [BZ #12194]
10616         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10617         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10618
10619 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10620
10621         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10622         IFUNC support.
10623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10624         memset-x86-64.
10625         * sysdeps/x86_64/multiarch/bzero.S: New file.
10626         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10627         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10628         * sysdeps/x86_64/multiarch/memset.S: New file.
10629         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10631         Set bit_Prefer_SSE_for_memop for Intel processors.
10632         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10633         Define.
10634         (index_Prefer_SSE_for_memop): Define.
10635         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10636
10637 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10638
10639         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10640         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10641
10642 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10643
10644         [BZ #12191]
10645         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10646         (__x86_64_raw_data_cache_size_half): Likewise.
10647         (__x86_64_raw_shared_cache_size): Likewise.
10648         (__x86_64_raw_shared_cache_size_half): Likewise.
10649
10650         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10651         (__x86_64_raw_data_cache_size_half): Likewise.
10652         (__x86_64_raw_shared_cache_size): Likewise.
10653         (__x86_64_raw_shared_cache_size_half): Likewise.
10654         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10655         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10656         and __x86_64_raw_shared_cache_size_half.  Round
10657         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10658         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10659         to multiple of 256 bytes.
10660
10661 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10662
10663         [BZ #12167]
10664         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10665         of inacessible symlinks.  Verify result of symlink before returning it.
10666         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10667         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10668
10669 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10670
10671         * math/math.h (isinf): Fix typo in comment.
10672
10673 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10674
10675         * po/da.po: Update from translation team.
10676
10677 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10678
10679         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10680         is added to the list.
10681
10682 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10683             Ulrich Drepper  <drepper@gmail.com>
10684
10685         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10686         the global list here.  Move code to...
10687         (_dl_add_to_namespace_list): ...here.  New function.
10688         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10689         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10690         * elf/dl-load.c (lose): Don't remove the element from the list.
10691         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10692         (_dl_map_object): Likewise.
10693
10694 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10695
10696         [BZ #12159]
10697         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10698         into all bytes of SSE register.
10699         Patch by Richard Li <richardpku@gmail.com>.
10700
10701 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10702
10703         [BZ #12140]
10704         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10705         perturbing.
10706
10707 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10708
10709         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10710         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10711         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10712         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10714         submachine.
10715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10716
10717 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10718
10719         * include/dlfcn.h (__RTLD_SECURE): Define.
10720         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10721         mode & __RTLD_SECURE instead.
10722         (open_path): Rename preloaded parameter to secure.
10723         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10724         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10725         * elf/dl-deps.c (openaux): Likewise.
10726         * elf/rtld.c (struct map_args): Remove is_preloaded.
10727         (map_doit): Don't use it.
10728         (dl_main): Likewise.
10729         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10730         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10731
10732 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10733
10734         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10735         (sysd-rules-targets): Remove duplicates.
10736         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10737         rtld-%.$o dependency.
10738
10739 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10740
10741         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10742         _dl_map_object do it.
10743
10744 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10745
10746         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10747         fast fma builtins, define the macros in the C99 standard.
10748         (FP_FAST_FMAF): Likewise.
10749         (FP_FAST_FMAL): Likewise.
10750         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10751
10752         * bits/mathdef.h: Update copyright year.
10753         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10754
10755 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10756
10757         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10758         builtins, define the macros in the C99 standard.
10759         (FP_FAST_FMAF): Likewise.
10760         (FP_FAST_FMAL): Likewise.
10761         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10762         multiply/add.
10763         (FP_FAST_FMAF): Likewise.
10764
10765 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10766
10767         [BZ #3268]
10768         * math/libm-test.inc (fma_test): Some new testcases.
10769         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10770         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10771         y and infinite z.  Do multiplication by C already in long double.
10772         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10774         y and infinite z.  Do bitwise or of inexact bit into u.d.
10775         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10776         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10777         * sysdeps/i386/fpu/s_fma.S: Removed.
10778         * sysdeps/i386/fpu/s_fmal.S: Removed.
10779
10780 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10781
10782         [BZ #3268]
10783         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10785         computation is not scheduled after fetestexcept.  Fix value
10786         of minimum denormal long double.
10787
10788 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10789
10790         [BZ #3268]
10791         * math/libm-test.inc (fma_test): Add some more tests.
10792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10793         correctly.
10794
10795 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10796
10797         * scripts/data/localplt-s390-linux-gnu.data: New file.
10798         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10799
10800 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10801
10802         [BZ #3268]
10803         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10804         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10805         instead of dbl-64.
10806         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10807         inlines.
10808         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10810         if one of x and y is very large and the other is subnormal.
10811         * sysdeps/s390/fpu/s_fmaf.c: New file.
10812         * sysdeps/s390/fpu/s_fma.c: New file.
10813         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10814         * sysdeps/powerpc/fpu/s_fma.S: New file.
10815         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10816         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10817         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10818
10819 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10820
10821         [BZ #3268]
10822         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10823         fma tests.
10824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10825         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10826         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10827         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10828         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10829         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10830         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10831
10832 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10833
10834         [BZ #12078]
10835         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10836         * posix/bug-regex31.input: Add test case.
10837
10838 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10839
10840         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10841         * posix/bug-regex31.input: New file.
10842
10843         [BZ #12078]
10844         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10845         (parse_sub_exp): Fix last change, use postorder.
10846
10847         * posix/bug-regex31.c: New file.
10848         * posix/Makefile: Add rules to build and run bug-regex31.
10849
10850         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10851
10852         [BZ #12078]
10853         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10854
10855         [BZ #12108]
10856         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10857         to have entries in sys_siglist.
10858
10859         [BZ #12093]
10860         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10861         be NULL.
10862
10863 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10864
10865         [BZ #3268]
10866         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10867         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10868         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10869         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10870         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10871         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10872         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10873         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10874         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10875         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10876         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10877         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10878         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10879         * math/ftestexcept.c (fetestexcept): Likewise.
10880         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10881         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10882         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10883         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10884         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10885         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10886         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10887
10888 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10889
10890         [BZ #12107]
10891         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10892         newline.
10893
10894 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10895
10896         * string/bug-strstr1.c: New file.
10897         * string/Makefile: Add rules to build and run bug-strstr1.
10898
10899 2010-10-05  Eric Blake  <eblake@redhat.com>
10900
10901         [BZ #12092]
10902         * string/str-two-way.h (two_way_long_needle): Always clear memory
10903         when skipping input due to the shift table.
10904
10905 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10906
10907         [BZ #12005]
10908         * malloc/mcheck.c: Handle large requests.
10909
10910         [BZ #12077]
10911         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10912         for strncmp and strncasecmp.
10913         * string/stratcliff.c: Add tests for strcmp and strncmp.
10914         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10915
10916 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10917
10918         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10919         __set_fpscr.
10920
10921 2010-09-30  Andreas Jaeger  <aj@suse.de>
10922
10923         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10924         (CGROUP_SUPER_MAGIC): Define.
10925         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10926         Handle btrfs and cgroup file systems.
10927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10928         Likewise.
10929
10930 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10931
10932         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10933         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10934
10935 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10936
10937         [BZ #12067]
10938         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10939         trying to locate the ELF header.
10940
10941 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10942
10943         [BZ #11611]
10944         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10945         Mask out sign-bit copies when constructing f_fsid.
10946
10947 2010-09-24  Petr Baudis <pasky@suse.cz>
10948
10949         * debug/stack_chk_fail_local.c: Add missing licence exception.
10950         * debug/warning-nop.c: Likewise.
10951
10952 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10953
10954         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10955         implementing getdents64 using getdents syscall, set d_type if
10956         __ASSUME_GETDENTS32_D_TYPE.
10957
10958 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10959
10960         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10961         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10962
10963 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10964
10965         [BZ #12037]
10966         * posix/unistd.h: Undo change of feature selection for ftruncate from
10967         2010-01-11.
10968
10969 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10970
10971         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10972         detection.
10973
10974 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10975
10976         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10977         fanotify_mark.
10978         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10979
10980 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10981
10982         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10983         variables after CHECK_SP call.
10984         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10985
10986 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10987             Ulrich Drepper  <drepper@redhat.com>
10988
10989         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10990         re-relocationg ld.so.
10991         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10992         _dl_init_paths call.
10993         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
10994         here anymore.
10995
10996 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
10997
10998         * resolv/res_init.c (__res_vinit): Count the default server we added.
10999
11000 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11001             Ulrich Drepper  <drepper@redhat.com>
11002
11003         [BZ #11968]
11004         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11005         (____longjmp_chk): Use %ebx for saving value across system call.
11006         Add unwind info.
11007
11008 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11009
11010         * manual/Makefile: Don't mix pattern rules with normal rules.
11011
11012 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11013
11014         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11015         operation.
11016         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11017         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11018         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11019         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11020         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11021         Likewise.
11022
11023 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11024
11025         [BZ #11979]
11026         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11027         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11028
11029 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11030
11031         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11032         * sysdeps/x86_64/addmul_1.S: Likewise.
11033         * sysdeps/x86_64/lshift.S: Likewise.
11034         * sysdeps/x86_64/mul_1.S: Likewise.
11035         * sysdeps/x86_64/rshift.S: Likewise.
11036         * sysdeps/x86_64/sub_n.S: Likewise.
11037         * sysdeps/x86_64/submul_1.S: Likewise.
11038
11039 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11040
11041         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11042         Define __sched_param instead of SCHED_* and sched_param when
11043         <bits/sched.h> is included with __need_schedparam defined.
11044         * bits/sched.h [__need_schedparam]
11045         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11046         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11047         (__defined_schedparam): Define to 1.
11048         (__sched_param): New structure, identical to sched_param.
11049         (__need_schedparam): Undefine.
11050
11051 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11052
11053         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11054         (epoll_create1): Declare.
11055
11056         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11057
11058 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11059
11060         [BZ #7066]
11061         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11062         shifting retval into place.
11063
11064 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11065
11066         * nis/rpcsvc/nis.h: Update copyright notice.
11067         * nis/rpcsvc/nis.x: Likewise.
11068         * nis/rpcsvc/nis_callback.h: Likewise.
11069         * nis/rpcsvc/nis_callback.x: Likewise.
11070         * nis/rpcsvc/nis_object.x: Likewise.
11071         * nis/rpcsvc/nis_tags.h: Likewise.
11072         * nis/rpcsvc/yp.h: Likewise.
11073         * nis/rpcsvc/yp.x: Likewise.
11074         * nis/rpcsvc/ypupd.h: Likewise.
11075         * nis/yp_xdr.c: Likewise.
11076         * nis/ypupdate_xdr.c: Likewise.
11077
11078         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11079         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11080         (pmap_getport): Use __libc_rpc_getport.
11081         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11082         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11083         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11084
11085 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11086
11087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11088         fanotify_mark.
11089
11090 2010-08-27  Roland McGrath  <roland@redhat.com>
11091
11092         * sysdeps/i386/i686/multiarch/Makefile
11093         (CFLAGS-varshift.c): New variable.
11094
11095 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11096
11097         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11098         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11099
11100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11101
11102         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11103
11104 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11105
11106         * sysdeps/x86_64/strlen.S: Unroll the loop.
11107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11108         strlen-sse2 strlen-sse2-bsf.
11109         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11110         __strlen_no_bsf if bit_Slow_BSF is set.
11111         (__strlen_sse42): Removed.
11112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11113         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11114
11115 2010-08-25  Roland McGrath  <roland@redhat.com>
11116
11117         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11118         * sysdeps/x86_64/multiarch/varshift.c: New file.
11119         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11120         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11121         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11122         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11123
11124 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11125
11126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11127         strlen-sse2 strlen-sse2-bsf.
11128         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11129         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11130         (__strlen_sse2): Removed.
11131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11134         bit_Slow_BSF for Atom.
11135         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11136         (index_Slow_BSF): Define.
11137         (HAS_SLOW_BSF): Define.
11138
11139 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11140
11141         [BZ #10851]
11142         * resolv/res_init.c (__res_vinit): When no server address at all
11143         is given default to loopback.
11144
11145 2010-08-24  Roland McGrath  <roland@redhat.com>
11146
11147         * configure.in: Remove config-name.h generation.
11148         * configure: Regenerated.
11149         * config-name.in: File removed.
11150         * scripts/config-uname.sh: New file.
11151         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11152         ($(objdir)config-name.h): New target.
11153
11154         * sunrpc/rpc_parse.h: Avoid nested comment.
11155
11156 2010-08-24  Richard Henderson  <rth@redhat.com>
11157             Ulrich Drepper  <drepper@redhat.com>
11158             H.J. Lu  <hongjiu.lu@intel.com>
11159
11160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11162         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11163         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11164         _mm_alignr_epi8 with _mm_loadu_si128.
11165         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11166         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11167         (__m128i_shift_right): Removed.
11168         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11169         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11170         * sysdeps/x86_64/multiarch/varshift.h: New file.
11171         * sysdeps/x86_64/multiarch/varshift.S: New file.
11172
11173 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11174
11175         * configure.in: Move assembler checks to before sysdep dir checking.
11176
11177 2010-08-20  Petr Baudis  <pasky@suse.cz>
11178
11179         * LICENSES: Sync the sunrpc license.
11180
11181 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11182
11183         * sunrpc/auth_des.c: Update copyright notice once again.
11184         * sunrpc/auth_none.c: Likewise.
11185         * sunrpc/auth_unix.c: Likewise.
11186         * sunrpc/authdes_prot.c: Likewise.
11187         * sunrpc/authuxprot.c: Likewise.
11188         * sunrpc/bindrsvprt.c: Likewise.
11189         * sunrpc/clnt_gen.c: Likewise.
11190         * sunrpc/clnt_perr.c: Likewise.
11191         * sunrpc/clnt_raw.c: Likewise.
11192         * sunrpc/clnt_simp.c: Likewise.
11193         * sunrpc/clnt_tcp.c: Likewise.
11194         * sunrpc/clnt_udp.c: Likewise.
11195         * sunrpc/clnt_unix.c: Likewise.
11196         * sunrpc/des_crypt.c: Likewise.
11197         * sunrpc/des_soft.c: Likewise.
11198         * sunrpc/get_myaddr.c: Likewise.
11199         * sunrpc/getrpcport.c: Likewise.
11200         * sunrpc/key_call.c: Likewise.
11201         * sunrpc/key_prot.c: Likewise.
11202         * sunrpc/openchild.c: Likewise.
11203         * sunrpc/pm_getmaps.c: Likewise.
11204         * sunrpc/pm_getport.c: Likewise.
11205         * sunrpc/pmap_clnt.c: Likewise.
11206         * sunrpc/pmap_prot.c: Likewise.
11207         * sunrpc/pmap_prot2.c: Likewise.
11208         * sunrpc/pmap_rmt.c: Likewise.
11209         * sunrpc/rpc/auth.h: Likewise.
11210         * sunrpc/rpc/auth_unix.h: Likewise.
11211         * sunrpc/rpc/clnt.h: Likewise.
11212         * sunrpc/rpc/des_crypt.h: Likewise.
11213         * sunrpc/rpc/key_prot.h: Likewise.
11214         * sunrpc/rpc/netdb.h: Likewise.
11215         * sunrpc/rpc/pmap_clnt.h: Likewise.
11216         * sunrpc/rpc/pmap_prot.h: Likewise.
11217         * sunrpc/rpc/pmap_rmt.h: Likewise.
11218         * sunrpc/rpc/rpc.h: Likewise.
11219         * sunrpc/rpc/rpc_des.h: Likewise.
11220         * sunrpc/rpc/rpc_msg.h: Likewise.
11221         * sunrpc/rpc/svc.h: Likewise.
11222         * sunrpc/rpc/svc_auth.h: Likewise.
11223         * sunrpc/rpc/types.h: Likewise.
11224         * sunrpc/rpc/xdr.h: Likewise.
11225         * sunrpc/rpc_clntout.c: Likewise.
11226         * sunrpc/rpc_cmsg.c: Likewise.
11227         * sunrpc/rpc_common.c: Likewise.
11228         * sunrpc/rpc_cout.c: Likewise.
11229         * sunrpc/rpc_dtable.c: Likewise.
11230         * sunrpc/rpc_hout.c: Likewise.
11231         * sunrpc/rpc_main.c: Likewise.
11232         * sunrpc/rpc_parse.c: Likewise.
11233         * sunrpc/rpc_parse.h: Likewise.
11234         * sunrpc/rpc_prot.c: Likewise.
11235         * sunrpc/rpc_sample.c: Likewise.
11236         * sunrpc/rpc_scan.c: Likewise.
11237         * sunrpc/rpc_scan.h: Likewise.
11238         * sunrpc/rpc_svcout.c: Likewise.
11239         * sunrpc/rpc_tblout.c: Likewise.
11240         * sunrpc/rpc_util.c: Likewise.
11241         * sunrpc/rpc_util.h: Likewise.
11242         * sunrpc/rpcinfo.c: Likewise.
11243         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11244         * sunrpc/rpcsvc/key_prot.x: Likewise.
11245         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11246         * sunrpc/rpcsvc/mount.x: Likewise.
11247         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11248         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11249         * sunrpc/rpcsvc/rex.x: Likewise.
11250         * sunrpc/rpcsvc/rstat.x: Likewise.
11251         * sunrpc/rpcsvc/rusers.x: Likewise.
11252         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11253         * sunrpc/rpcsvc/spray.x: Likewise.
11254         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11255         * sunrpc/rtime.c: Likewise.
11256         * sunrpc/svc.c: Likewise.
11257         * sunrpc/svc_auth.c: Likewise.
11258         * sunrpc/svc_authux.c: Likewise.
11259         * sunrpc/svc_raw.c: Likewise.
11260         * sunrpc/svc_run.c: Likewise.
11261         * sunrpc/svc_simple.c: Likewise.
11262         * sunrpc/svc_tcp.c: Likewise.
11263         * sunrpc/svc_udp.c: Likewise.
11264         * sunrpc/svc_unix.c: Likewise.
11265         * sunrpc/svcauth_des.c: Likewise.
11266         * sunrpc/xcrypt.c: Likewise.
11267         * sunrpc/xdr.c: Likewise.
11268         * sunrpc/xdr_array.c: Likewise.
11269         * sunrpc/xdr_float.c: Likewise.
11270         * sunrpc/xdr_mem.c: Likewise.
11271         * sunrpc/xdr_rec.c: Likewise.
11272         * sunrpc/xdr_ref.c: Likewise.
11273         * sunrpc/xdr_sizeof.c: Likewise.
11274         * sunrpc/xdr_stdio.c: Likewise.
11275
11276         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11277         handling.
11278
11279 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11280
11281         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11282
11283 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11284
11285         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11286         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11287         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11288         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11289         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11290         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11291         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11292         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11293         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11294         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11295         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11296         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11297         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11298         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11299
11300 2010-07-26  Anton Blanchard  <anton@samba.org>
11301
11302         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11303         * malloc/arena.c (heap_trim): Likewise.
11304
11305 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11306
11307         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11308         here.  Not...
11309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11310         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11311
11312 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11313
11314         * sysdeps/i386/elf/Makefile: New file.
11315
11316 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11317
11318         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11319         from fanotify_init.
11320         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11322
11323 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11324
11325         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11326         of strncasecmp_l.
11327         * sysdeps/multiarch/strcmp.S: Likewise.
11328
11329 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11330
11331         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11332         strncase_l-nonascii.
11333         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11334         Add strncase_l-ssse3.
11335         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11336         * sysdeps/x86_64/strcmp.S: Likewise.
11337         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11338         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11339         * sysdeps/x86_64/strncase.S: New file.
11340         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11341         * sysdeps/x86_64/strncase_l.S: New file.
11342         * string/Makefile (strop-tests): Add strncasecmp.
11343         * string/test-strncasecmp.c: New file.
11344
11345         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11346         warning.
11347
11348         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11349         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11350
11351 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11352
11353         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11354
11355 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11356
11357         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11358         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11359         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11360
11361 2010-05-01  Alan Modra  <amodra@gmail.com>
11362
11363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11364         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11365         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11366         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11367         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11368         tidying.  Don't tail-call __sigjmp_save for static lib.
11369         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11370         save location.
11371         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11372         (CALL_MCOUNT): Add eh info, and nop after bl.
11373         (TAIL_CALL_SYSCALL_ERROR): New macro.
11374         (PSEUDO_RET): Use it.
11375         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11376         Correct save location of integer regs and cr.
11377         (_dl_profile_resolve): Correct cr save location.  Delete nops
11378         after bl when SHARED.  Reduce cfi size a little by better
11379         placement of cfi directives.
11380         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11381         make a stack frame.  Instead use parm save area as a temp.
11382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11383         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11385         Don't make a stack frame for parent, use parm save area.
11386         Increase child stack frame to 112 bytes.  Don't save unused reg,
11387         and adjust reg usage.  Set up cfi on error recovery and
11388         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11390         (__makecontext): Add dummy nop after jump to exit.
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11392         Use correct parm save area and cr save, reduce stack frame.
11393         Correct cfi for possible PSEUDO_RET frame setup.
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11395         Branch to local label emitted by PSEUDO_RET rather than
11396         __syscall_error.
11397
11398 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11399
11400         [BZ #11904]
11401         * locale/programs/locale.c (print_assignment): New function.
11402         (show_locale_vars): Use it.
11403
11404 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11405
11406         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11407         field.
11408         (struct statfs64): Likewise.
11409         (_STATFS_F_FLAGS): Define.
11410         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11411         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11412         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11413         (ST_VALID): Define locally.
11414         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11415         __statvfs_getflags, use the provided value.
11416         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11417         __ASSUME_STATFS_F_FLAGS.
11418
11419         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11420
11421         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11422         Add sys/fanotify.h.
11423         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11424         fanotify_mask for GLIBC_2.13.
11425         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11426         fanotify_init and fanotify_mark.
11427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11428         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11429
11430         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11431         Add prlimit.
11432         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11433         prlimit64 for GLIBC_2.13.
11434         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11435         prlimit64.
11436         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11437         syscall.
11438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11440         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11441         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11442         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11443         add prlimit alias.
11444         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11445
11446         [BZ #11903]
11447         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11448         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11449
11450         * nss/Makefile: Add rules to build and run tst-nss-test1.
11451         * shlib-versions: Add entry for libnss_test1.
11452         * nss/nss_test1.c: New file.
11453         * nss/tst-nss-test1.c: New file.
11454
11455         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11456         (__nss_configure_lookup): Set appropriate entry in
11457         __nss_configure_lookup to true.
11458         * nss/nsswitch.h: Define enum with indeces of databases in
11459         databases and __nss_database_custom arrays.  Declare
11460         __nss_database_custom.
11461         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11462         to avoid using nscd when custom rules are installed.
11463         * nss/getXXbyYY_r.c: Likewise.
11464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11465
11466         * nss/nss_files/files-parse.c: Whitespace fixes.
11467
11468 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11469
11470         [BZ #11883]
11471         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11472         * posix/fnmatch_loop.c: Likewise.
11473
11474 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11475
11476         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11477         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11478         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11479         * Versions.def [GLIBC_2.13]: Add.
11480
11481 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11482
11483         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11484         Also fail if tpwd after pwuid call is NULL.
11485
11486 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11487
11488         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11489         when converting to ms.
11490
11491 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11492
11493         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11494         EOPNOTSUPP errors with ENOTTY.
11495         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11496         EOPNOTSUPP errors with ENOTTY.
11497
11498 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11499
11500         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11501         Add strcasecmp_l-ssse3.
11502         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11503         strcasecmp.
11504         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11505         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11506         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11507
11508 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11509
11510         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11511
11512         * string/Makefile (strop-tests): Add strcasecmp.
11513         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11514         strcasecmp_l-nonascii.
11515         (gen-as-const-headers): Add locale-defines.sym.
11516         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11517         * sysdeps/x86_64/strcasecmp.S: New file.
11518         * sysdeps/x86_64/strcasecmp_l.S: New file.
11519         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11520         * sysdeps/x86_64/locale-defines.sym: New file.
11521         * string/test-strcasecmp.c: New file.
11522
11523         * string/test-strcasestr.c: Test both ends of the range of characters.
11524         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11525
11526 2010-07-29  Roland McGrath  <roland@redhat.com>
11527
11528         [BZ #11856]
11529         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11530
11531 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11532
11533         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11534         for ld.so.
11535
11536 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11537
11538         * manual/memory.texi (Malloc Tunable Parameters): Document
11539         M_PERTURB.
11540
11541 2010-07-26  Roland McGrath  <roland@redhat.com>
11542
11543         [BZ #11840]
11544         * configure.in (-fgnu89-inline check): Set and substitute
11545         gnu89_inline, not libc_cv_gnu89_inline.
11546         * configure: Regenerated.
11547         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11548
11549 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11550
11551         * string/test-strnlen.c: New file.
11552         * string/Makefile (strop-tests): Add strnlen.
11553         * string/tester.c (test_strnlen): Add a few more test cases.
11554         * string/tst-strlen.c: Better error reporting.
11555
11556         * sysdeps/x86_64/strnlen.S: New file.
11557
11558 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11559
11560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11561         lower-latency instructions.
11562
11563 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11564
11565         * string/test-strcasestr.c: New file.
11566         * string/test-strstr.c: New file.
11567         * string/Makefile (strop-tests): Add strstr and strcasestr.
11568         * string/str-two-way.h: Don't undefine MAX.
11569         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11570
11571 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11572
11573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11574         strcasestr-nonascii.
11575         (CFLAGS-strcasestr-nonascii.c): Define.
11576         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11578         Remove unused attribute.
11579
11580 2010-07-20  Roland McGrath  <roland@redhat.com>
11581
11582         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11583         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11584         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11585         like LD_HWCAP_MASK can disable hwcaps.
11586
11587 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11588
11589         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11590
11591 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11592
11593         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11594         call in strcasestr.
11595         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11596         __strcasestr_sse42_nonascii.
11597         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11598         strcasestr-nonascii.c.
11599         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11600
11601 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11602
11603         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11604         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11605         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11607
11608 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11609
11610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11611         fcntl.
11612
11613 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11614
11615         [BZ #11577]
11616         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11617         dl_signal_cerror.
11618
11619 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11620
11621         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11622         _PC_PIPE_BUF using F_GETPIPE_SZ.
11623
11624 2010-07-05  Roland McGrath  <roland@redhat.com>
11625
11626         * manual/arith.texi (Rounding Functions): Fix rint description
11627         implicit in round description.
11628
11629 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11630
11631         * elf/Makefile: Fix linking for a few tests to make recent linker
11632         happy.
11633
11634 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11635
11636         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11637         $(common-objpfx)libc_nonshared.a.
11638
11639 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11640
11641         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11642         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11643         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11644         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11645         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11646         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11647         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11648         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11663         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11664         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11665         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11666         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11667         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11668         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11669         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11670         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11671         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11672         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11673         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11674         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11689
11690 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11691
11692         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11693         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11694         * string/memmove.c (memmove): Renamed to ...
11695         (MEMMOVE): ...this.  Default to memmove.
11696         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11697         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11698         (END_CHK): Define.
11699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11700         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11701         mempcpy-ssse3-back memmove-ssse3-back.
11702         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11704         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11705         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11706         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11707         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11708         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11709         * sysdeps/x86_64/multiarch/memmove.c: New file.
11710         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11711         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11712         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11713         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11715         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11716         Define.
11717         (index_Fast_Copy_Backward): Define.
11718         (HAS_ARCH_FEATURE): Define.
11719         (HAS_FAST_REP_STRING): Define.
11720         (HAS_FAST_COPY_BACKWARD): Define.
11721
11722 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11723
11724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11725         Restore proper fallback handling.
11726
11727 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11728
11729         [BZ #11701]
11730         * posix/group_member.c (__group_member): Correct checking loop.
11731
11732         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11733         OOM in getpwuid_r correctly.  Return error number when the caller
11734         should return, otherwise -1.
11735         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11736         call returning > 0 value.
11737         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11738
11739 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11740
11741         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11742         libc_nonshared.a from targets in modules-names.
11743
11744 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11745
11746         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11747         requires it.
11748
11749 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11750
11751         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11752         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11753         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11754         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11755
11756 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11757
11758         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11759
11760 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11761
11762         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11763         and F_GETPIPE_SZ.
11764         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11768         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11769         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11770
11771 2010-06-14  Roland McGrath  <roland@redhat.com>
11772
11773         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11774
11775 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11776
11777         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11778         __REDIRECT followed by __THROW.
11779         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11780         * posix/getopt.h (getopt): Likewise.
11781
11782 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11783
11784         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11785         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11786         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11787         in AT_FLAGS.
11788         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11789         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11790
11791 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11792
11793         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11794
11795 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11796
11797         [BZ #11640]
11798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11799         Properly check family and model.
11800
11801 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11802
11803         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11804
11805 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11806
11807         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11808
11809 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11810
11811         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11812         symbol reference.
11813
11814 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11815
11816         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11817         symbol reference.
11818
11819 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11820
11821         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11822         and internal_recvmmsg.
11823         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11824         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11825         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11826         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11827
11828         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11829         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11830         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11831
11832 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11833
11834         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11835
11836 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11837
11838         POWER7 optimizations.
11839         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11840         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11841
11842 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11843
11844         * version.h: Update for 2.13 development version.
11845
11846 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11847
11848         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11849         exceptions.  Return 0.
11850
11851 2010-05-07  Roland McGrath  <roland@redhat.com>
11852
11853         * elf/ldconfig.c (main): Add a const.
11854
11855 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11856
11857         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11858         (args_options): Add no-idn option.
11859         (ahosts_keys_int): Add idn_flags to ai_flags.
11860         (parse_option): Handle 'i' option to clear idn_flags.
11861
11862         * malloc/malloc.c (_int_free): Possible race in the most recently
11863         added check.  Only act on the data if no current modification
11864         happened.
11865
11866 See ChangeLog.17 for earlier changes.