Fix fenv.h fallback returns (bug 14027).
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #14027]
4         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5         to be done.
6         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8
9 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
10
11         * sysdeps/unix/i386/brk.S: Remove file.
12         * sysdeps/unix/i386/dl-brk.S: Likewise.
13         * sysdeps/unix/i386/pipe.S: Likewise.
14         * sysdeps/unix/i386/sigreturn.S: Likewise.
15         * sysdeps/unix/i386/syscall.S: Likewise.
16         * sysdeps/unix/i386/vfork.S: Likewise.
17         * sysdeps/unix/i386/wait.S: Likewise.
18
19         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21
22         * configure.in (arm*-none*): Do not allow without
23         --enable-hacker-mode.
24         (netbsd*): Remove case setting base_os.
25         (386bsd*): Likewise.
26         (freebsd*): Likewise.
27         (bsdi*): Likewise.
28         (osf*): Likewise.
29         (sunos*): Likewise.
30         (ultrix*): Likewise.
31         (newsos*): Likewise.
32         (dynix*): Likewise.
33         (*bsd*): Likewise.
34         (sysv*): Likewise.
35         (isc*): Likewise.
36         (esix*): Likewise.
37         (sco*): Likewise.
38         (minix*): Likewise.
39         (irix4*): Likewise.
40         (irix6*): Likewise.
41         (solaris[2-9]*): Likewise.
42         (none): Likewise.
43         * configure: Regenerated.
44
45 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46
47         [BZ #11521]
48         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49         overflow or cancellation in calculating denominator.
50         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52         down expression to avoid unexpected rounding in newer GCCs.
53         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54
55 2012-04-26  David S. Miller  <davem@davemloft.net>
56
57         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58         long-double compat symbols.
59         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72
73 2012-04-25  David S. Miller  <davem@davemloft.net>
74
75         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
76         HWCAP_* values only after the memory barriers have been defined.
77         (atomic_full_barrier): Define.
78         (atomic_read_barrier): Define.
79         (atomic_write_barrier): Define.
80
81 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82
83         * shlib-versions: Add libgcc_s version information.
84         * sysdeps/generic/libgcc_s.h: Remove.
85         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
86         libgcc_s.h.
87         * sysdeps/gnu/unwind-resume.c: Likewise.
88         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
89
90 2012-04-25  David S. Miller  <davem@davemloft.net>
91
92         * sysdeps/unix/sparc/brk.S: Delete.
93         * sysdeps/unix/sparc/dl-brk.S: Delete.
94         * sysdeps/unix/sparc/pipe.S: Delete.
95         * sysdeps/unix/sparc/sysdep.S: Delete.
96         * sysdeps/unix/sparc/sysdep.h: Delete.
97         * sysdeps/unix/sparc/vfork.S: Delete.
98         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
99         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
100         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
101         ret_ERRVAL, r0, r1, MOVE): Define.
102         (JUMPTARGET): Remove.
103         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
104         sysdeps/unix/sparc/sysdep.h
105         (ENTRY, END): Remove.
106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
107
108 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
109
110         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
111         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
112         -DIS_IN_build.
113
114         * timezone/README: Update upstream location and email address for
115         tzcode and tzdata.
116         * timezone/zdump.c: Update from tzcode 2012b.
117         * timezone/zic.c: Likewise.
118
119         * configure.in (libc_cv_as_needed): Remove test.
120         * configure: Regenerated.
121         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
122         conditional definition.
123         [$(have-as-needed) != yes] (no-as-needed): Likewise.
124         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
125         * config.make.in (have-as-needed): Remove variable.
126
127 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
128             Paul Pluzhnikov  <ppluzhnikov@google.com>
129
130         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
131         strings correctly.
132
133 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
134
135         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
136         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
137         * sysdeps/sh/strlen.S: Likewise.
138
139 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
140
141         * sysdeps/unix/fork.S: Remove file.
142         * sysdeps/unix/i386/fork.S: Likewise.
143         * sysdeps/unix/sparc/fork.S: Likewise.
144
145         * sysdeps/unix/system.c: Remove file.
146         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
147
148         * sysdeps/unix/getegid.S: Remove file.
149         * sysdeps/unix/geteuid.S: Likewise.
150
151 2012-04-24  Roland McGrath  <roland@hack.frob.com>
152
153         * scripts/check-localplt.awk: New file.
154         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
155         of diff.
156         * scripts/data/localplt-generic.data: Add a comment.
157
158         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
159         NODE when __dir_mkfile failed.
160         * sysdeps/mach/hurd/symlinkat.c: Likewise.
161         Reported by Ludovic Courtès <ludo@gnu.org>.
162
163 2012-04-24  Andreas Jaeger  <aj@suse.de>
164
165         * Makerules (common-clean): Also remove gen-as-const-headers
166         files.
167
168 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
169
170         * Makerules (native-compile): Do not change working directory for
171         build.  Use $(OUTPUT_OPTION) in command.
172         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
173
174 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
175
176         [BZ #13886]
177         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
178         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
179         * math/libm-test.inc (floor_test): Add more tests.
180         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
181
182 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
183
184         * sysdeps/unix/getdents.c: Remove file.
185         * sysdeps/unix/sysv/getdents.c: Likewise.
186         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
187
188         * sysdeps/unix/syscalls.list (madvise): Add syscall from
189         sysdeps/unix/mman/syscalls.list.
190         (mmap): Likewise.
191         (mprotect): Likewise.
192         (msync): Likewise.
193         (munmap): Likewise.
194         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
195         * sysdeps/unix/mman/syscalls.list: Remove.
196         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
197
198         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
199         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
200         * configure: Regenerated.
201         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
202         $(libgcc_s_suffix).
203         * config.make.in (libgcc_s_suffix): Remove variable.
204
205 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
206
207         * sysdeps/unix/sysv/gethostname.c: Move to ...
208         * sysdeps/posix/gethostname.c: ... here.
209
210         * sysdeps/unix/execve.S: Remove file.
211
212         * sysdeps/unix/_exit.S: Remove file.
213
214 2012-04-23  Andreas Jaeger  <aj@suse.de>
215
216         [BZ #13739]
217         * manual/Makefile: Remove make dist support, there's no
218         need for a stand-alone documentation tar ball.
219         (TEXI2DVI): Define always, it's not in Makeconfig.
220         (dist): Removed.
221         (tar-it): Removed.
222         (edition): Removed.
223         (glibc-doc-$(edition).tar): Removed
224         (%.Z): Removed.
225         (%.gz): Removed.
226         (%.uu): Removed.
227         (ETAGS): Remove, it's in Makeconfig.
228         (move-if-change): Remove, it's in Makeconfig.
229
230 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
231
232         [BZ #13970]
233         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
234         (strtod, strtof, strtold, strtol, strtoul, strtoq)
235         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
236         (strtod_l, strtof_l, strtold_l): Remove __wur.
237         It is not necessarily an error to ignore strtol's return value.
238         One can reliably look at the stored endptr to decide whether
239         the number had valid syntax.
240
241 2012-04-21  Andreas Jaeger  <aj@suse.de>
242
243         [BZ #13739]
244         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
245
246 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
247
248         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
249         * sysdeps/unix/sysv/Versions: Remove file.
250
251 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
252
253         [BZ #13927]
254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
255
256 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
257
258         [BZ #7064]
259         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
260         version from __vm86.
261
262 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
263
264         * sysdeps/unix/common/lxstat.c: Remove file.
265         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
266
267         * sysdeps/unix/sysv/Makefile: Remove file.
268
269         * sysdeps/unix/sysv/direct.h: Remove file.
270
271         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
272         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
273         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
274         * sysdeps/unix/sysv/bits/signum.h: Likewise.
275         * sysdeps/unix/sysv/bits/stat.h: Likewise.
276         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
277         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
278
279         * sysdeps/unix/sysv/setrlimit.c: Remove file.
280
281         * sysdeps/unix/xmknod.c: Remove file.
282         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
283
284         * sysdeps/unix/sysv/settimeofday.c: Remove file.
285
286         * sysdeps/unix/sysv/i386/time.S: Remove file.
287
288         * sysdeps/unix/fxstat.c: Remove file.
289         * sysdeps/unix/xstat.c: Likewise.
290         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
291
292         * sysdeps/unix/sysv/sigaction.c: Remove file.
293
294         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
295         (sysdep_headers): Remove variable.
296         [termio.h not in sysdep_headers] (generated): Likewise.
297         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
298         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
299         * sysdeps/unix/sysv/tcdrain.c: Likewise.
300         * sysdeps/unix/sysv/tcflow.c: Likewise.
301         * sysdeps/unix/sysv/tcflush.c: Likewise.
302         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
303         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
304         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
305         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
306         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
307
308         * sysdeps/unix/siglist.c: Remove file.
309
310         * sysdeps/unix/getppid.S: Remove file.
311
312         * sysdeps/unix/mkdir.c: Remove file.
313         * sysdeps/unix/rmdir.c: Likewise.
314
315 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
316
317         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
318         ERR_MAX value.
319         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
320         errlist-compat value.
321
322 2012-04-18  David S. Miller  <davem@davemloft.net>
323
324         * sysdeps/generic/memcopy.h (reg_char): Delete.
325         * debug/strcat_chk.c: Use char, not reg_char.
326         * debug/strcpy_chk.c: Likewise.
327         * debug/strncat_chk.c: Likewise.
328         * debug/strncpy_chk.c: Likewise.
329         * string/memchr.c: Likewise.
330         * string/memrchr.c: Likewise.
331         * string/rawmemchr.c: Likewise.
332         * string/strcat.c: Likewise.
333         * string/strchr.c: Likewise.
334         * string/strchrnul.c: Likewise.
335         * string/strcmp.c: Likewise.
336         * string/strcpy.c: Likewise.
337         * string/strncat.c: Likewise.
338         * string/strncmp.c: Likewise.
339         * string/strncpy.c: Likewise.
340
341 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
342
343         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
344         __builtin_memcopy is called when src and dest ranges are known to not
345         overlap.
346
347 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
348
349         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
350         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
351         fwd_align_merge macro call.
352         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
353         bwd_align_merge macro call.
354         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
355
356 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
357
358         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
359         bwd_align_merge macros.
360         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
361         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
362         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
363
364 2012-04-18  David S. Miller  <davem@davemloft.net>
365
366         * sysdeps/sparc/sparc64/memcopy.h: Delete.
367
368 2012-04-18  Andreas Jaeger  <aj@suse.de>
369
370         [BZ# 6794]
371         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
372         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
373         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
374
375         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
376         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
377         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
378
379         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
380         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
381         Adjust for changed ldbl-128 files.
382
383         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
384         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
385         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
386
387 2012-04-17  David S. Miller  <davem@davemloft.net>
388
389         * sysdeps/sparc/sparc32/memcopy.h: Delete.
390
391 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
392
393         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
394         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
395         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
396         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
397         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
398         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
399
400 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
401
402         [BZ #6794]
403         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
404         * math/libm-test.inc: Add ilogb errno and exception tests.
405         * math/w_ilogb.c: New file: ilogb wrapper.
406         * math/w_ilogbf.c: New file: ilogbf wrapper.
407         * math/w_ilogbl.c: New file: ilogbl wrapper.
408         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
409         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
410         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
411         exception being thrown with 0.0 as argument.
412         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
413         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
414         exception being thrown with 0.0 as argument.
415         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
416         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
417         exception being thrown with 0.0 as argument.
418         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
419         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
420         exception being thrown with 0.0 as argument.
421         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
422         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
423         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
424         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
425         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
426         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
427         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
428         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
429         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
430
431 2012-04-17  Petr Baudis  <pasky@ucw.cz>
432
433         * include/sys/uio.h: Change __vector to __iovec to avoid clash
434         with altivec.
435
436 2012-04-16  Marek Polacek  <polacek@redhat.com>
437
438         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
439
440 2012-04-16  Marek Polacek  <polacek@redhat.com>
441
442         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
443         operands of fdivp instruction.
444
445 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
446
447         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
448         * elf/tst-auditmod3b.c: Likewise.
449         * elf/tst-auditmod4b.c: Likewise.
450         * elf/tst-auditmod5b.c: Likewise.
451         * elf/tst-auditmod6b.c: Likewise.
452         * elf/tst-auditmod6c.c: Likewise.
453         * elf/tst-auditmod7b.c: Likewise.
454         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
455         * sysdeps/x86_64/preconfigure.in: Likewise.
456         * sysdeps/x86_64/preconfigure: Regenerated.
457
458 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
459
460         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
461         __ILP32__.
462
463 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
464
465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
466         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
467
468 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
469
470         [BZ #13973]
471         * locale/iso-639.def: Fix gl language name. Spotted by
472         Yaron Shahrabani.
473
474 2012-04-12  Roland McGrath  <roland@hack.frob.com>
475
476         [BZ #2074]
477         * libio/libio.h (__io_write_fn): Update comment.
478
479 2012-04-12  Petr Baudis  <pasky@ucw.cz>
480
481         [BZ #2074]
482         * stdio.texi (Hook Functions): The user provided writer function
483         is not allowed to return -1.
484
485 2012-04-11  David S. Miller  <davem@davemloft.net>
486
487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
488
489 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
490
491         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
492         Add a leading slash to rtkaio.
493
494 2012-04-11  Jim Meyering  <meyering@redhat.com>
495
496         [BZ #11959]
497         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
498         It is not necessarily an error to ignore fwrite's return
499         value.  One can reliably use ferror to test for errors after
500         the fact.
501
502 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * bits/types.h (__snseconds_t): New type.
505         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
506
507         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
508         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
509         (__SNSECONDS_T_TYPE): Likewise.
510         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
511         (__SNSECONDS_T_TYPE): Likewise.
512         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
513         (__SNSECONDS_T_TYPE): Likewise.
514
515 2012-04-10  Andreas Jaeger  <aj@suse.de>
516
517         [BZ #2636]
518         * manual/time.texi (Processor Time): Return type of times is
519         elapsed real time since an arbitrary point in the past.
520         (CPU Time): Move CLK_TCK from here...
521         (Processor Time): ...to here.  Correct description.
522         * manual/conf.texi (Constants for Sysconf): Correct description of
523         _SC_CLK_TCK.
524
525 2012-04-10  David S. Miller  <davem@davemloft.net>
526
527         [BZ #13967]
528         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
529         where the is a gap between DT_REL(A) and DT_JMPREL.
530
531 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
532
533         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
534         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
535         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
536
537 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
538
539         * elf/dl-support.c (_dl_inhibit_cache): New variable.
540         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
541         (dl_main): Handle --inhibit-cache.
542         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
543         _dl_inhibit_cache.
544         * elf/dl-load.c (_dl_map_object): Use it.
545         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
546
547 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
548
549         [BZ #13872]
550         * sysdeps/i386/fpu/e_powl.S (p78): New object.
551         (__ieee754_powl): Saturate large exponents rather than testing for
552         overflow of y*log2(x).
553         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
554         * math/libm-test.inc (pow_test): Do not permit spurious overflow
555         exceptions.
556
557         [BZ #11521]
558         * math/s_ctan.c: Include <float.h>.
559         (__ctan): Avoid internal overflow or cancellation in calculating
560         denominator.
561         * math/s_ctanf.c: Likewise.
562         * math/s_ctanl.c: Likewise.
563         * math/s_ctanh.c: Likewise.
564         * math/s_ctanhf.c: Likewise.
565         * math/s_ctanhl.c: Likewise.
566         * math/libm-test.inc (ctan_test): Add more tests.
567         (ctanh_test): Likewise.
568         * sysdeps/i386/fpu/libm-test-ulps: Update.
569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
570
571 2012-04-09  Andreas Jaeger  <aj@suse.de>
572
573         [BZ #6894]
574         * manual/filesys.texi (Directory Entries): Mention that d_namlen
575         is an optional BSD extension.
576
577         [BZ #10254]
578         * manual/stdio.texi (Opening Streams): Document additional fopen
579         parameters.
580
581 2012-04-09  Roland McGrath  <roland@hack.frob.com>
582
583         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
584         %eax without telling the compiler.
585
586 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
587
588         [BZ # 13963]
589         * manual/install.texi: Use sourceware.org.
590
591 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
592
593         [BZ #13873]
594         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
595         (__ieee754_pow): Generate overflow and underflow using huge*huge
596         and tiny*tiny rather than just returning constant infinity or zero
597         for large exponents.
598         * math/libm-test.inc (pow_test): Require overflow exceptions for
599         applicable cases of large exponents.
600
601         [BZ #706]
602         * sysdeps/i386/fpu/e_pow.S (p10): New object.
603         (__ieee754_pow): Use iterative multiplication algorithm only for
604         integer exponents with absolute value below 1024.  Check for odd
605         integer exponents when using algorithm for real exponents.
606         * math/libm-test.inc (pow_test): Add more tests.
607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
608
609 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
610
611         [BZ #13705]
612         * math/libm-test.inc (exp_test): Do not allow overflow exception
613         on underflow test.
614
615 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
616
617         [BZ #13705]
618         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
619         instead of __kernel_standard_f.
620
621 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
622
623         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
624         * sysdeps/x86_64/memset_chk.S: Likewise.
625
626 2012-04-08  Andreas Jaeger  <aj@suse.de>
627
628         [BZ #10153]
629         * manual/startup.texi (Environment Access): Describe return value
630         for putenv and setenv.
631
632         [BZ #6895]
633         * manual/filesys.texi (Directory Entries): Add description for
634         DT_LNK.
635
636         [BZ #6890]
637         * manual/filesys.texi (Directory Entries): Clarify that it's file
638         system not operating system in the description of DT_UNKNOWN.
639
640         [BZ #6578]
641         * manual/syslog.texi (closelog): Fix reference, it's openlog.
642
643 2012-04-08  Stephen Compall  <s11@member.fsf.org>
644
645         [BZ #6649]
646         * manual/llio.texi (Opening and Closing Files): Add cross
647         reference to explain mode argument.
648
649 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
650
651         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
652         * sysdeps/x86_64/memset_chk.S: Likewise.
653
654 2012-04-07  David S. Miller  <davem@davemloft.net>
655
656         * elf/elf.h (R_SPARC_WDISP10): Define.
657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
658         R_SPARC_SIZE32.
659         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
660         R_SPARC_SIZE64 and R_SPARC_H34.
661
662 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
663
664         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
665         conditions and remove no longer applicable assertion.
666
667 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
668
669         * bits/byteswap.h: Include <features.h>.
670         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
671         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
672
673 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
674
675         * bits/byteswap.h (__bswap_16): Removed.
676         Include <bits/byteswap-16.h> to get __bswap_16.
677         * sysdeps/i386/bits/byteswap.h: Likewise.
678         * sysdeps/s390/bits/byteswap.h: Likewise.
679         * sysdeps/x86_64/bits/byteswap.h: Likewise.
680         * bits/byteswap-16.h: New file.
681         * sysdeps/i386/bits/byteswap-16.h: Likewise.
682         * sysdeps/s390/bits/byteswap-16.h: Likewise.
683         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
684         * string/Makefile (headers): Add bits/byteswap-16.h.
685
686 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
687
688         [BZ #13895]
689         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
690         extra indirection.
691         * nss/Makefile (tests-static, tests): Add tst-nss-static.
692         * nss/tst-nss-static.c: New.
693
694 2012-04-06  Robert Millan  <rmh@gnu.org>
695
696         [BZ #6486]
697         * manual/llio.texi (File Position Primitive): lseek
698         refers to WHENCE when it really means OFFSET.
699
700 2012-04-06  Andreas Jaeger  <aj@suse.de>
701
702         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
703         strncmp declarations.
704
705         * abilist/libc.abilist: Add __poll and __ppoll.
706
707 2012-04-05  David S. Miller  <davem@davemloft.net>
708
709         * scripts/check-local-headers.sh: Accept a host triplet in the
710         path matched by the exclude regexp.
711
712         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
713         definition.
714         * sysdeps/powerpc/powerpc32/dl-machine.h
715         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
716         * sysdeps/s390/s390-32/dl-machine.h
717         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
718         * sysdeps/sparc/sparc32/dl-machine.h
719         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
720         * sysdeps/sparc/sparc64/dl-machine.h
721         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
722
723         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
724         lazy binding.
725         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
726         undefined symbol errors.
727
728         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
729         DT_NEEDED entries.
730
731 2012-04-05  Michael Matz  <matz@suse.de>
732
733         [BZ #13592]
734         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
735
736 2012-04-05  Andreas Jaeger  <aj@suse.de>
737
738         [BZ #13908]
739         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
740         comment.
741
742 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
743
744         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
745         which ROUND is no valid rounding mode.
746
747 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
748
749         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
750         read again.
751         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
752
753 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
754
755         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
756         an exception using FPU order intentionally.
757
758 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
759
760         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
761         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
762         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
763         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
764
765 2012-04-05  Simon Josefsson  <simon@josefsson.org>
766
767         [BZ #12340]
768         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
769         EINVAL when BUFLEN is too smal.
770
771 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
772
773         [BZ #13553]
774         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
775         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
776
777 2012-04-03  Andreas Jaeger  <aj@suse.de>
778
779         [BZ #13938]
780         * manual/setjmp.texi (System V contexts): Fix sentence.
781
782         [BZ #13926]
783         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
784         New macro for this case.
785         [!__GNUC__] (__bswap_64): New inline function for this case.
786         * sysdeps/x86_64/bits/byteswap.h: Likewise.
787         * bits/byteswap.h: Likewise.
788         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
789         ull, guard with __GLIBC_HAVE_LONG_LONG.
790
791         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
792         __GLIBC_HAVE_LONG_LONG.
793
794         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
795         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
796
797 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
798
799         [BZ #13691]
800         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
801         inptr and inend, rather than using last_ch.
802
803 2012-04-02  David S. Miller  <davem@davemloft.net>
804
805         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
806         * stdio-common/printf-parse.h (read_int): Change return type to
807         'int', return -1 on INT_MAX overflow.
808         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
809         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
810         overflows INT_MAX.  Check for overflow of in-format-string precision
811         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
812         SIZE_MAX not INT_MAX for integer overflow test.
813         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
814         skip the construct in the format string but do not record anything.
815         * stdio-common/bug22.c: Adjust to test both width/prevision
816         INT_MAX overflow as well as total length INT_MAX overflow.  Check
817         explicitly for proper errno values.
818
819 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
820
821         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
822         CHAR_MAX.
823         * string/test-strcmp.c [! WIDE]: Likewise.
824         * time/tst-mktime2.c: Likewise for INT_MAX.
825         * string/test-string.h: #include <sys/param.h> for MIN.
826
827         * csu/init-first.c (__libc_init_first): Call __ctype_init.
828         * sysdeps/i386/init-first.c (init): Likewise.
829         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
830         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
831         * sysdeps/sh/init-first.c (init): Likewise.
832
833 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
834
835         * po/ru.po: Update from translation team.
836         * po/vi.po: Likewise.
837
838 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
839
840         * resolv/nss_dns/dns-host.c: Merge copyright years.
841
842 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
843
844         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
845         Optimize memcpy with prefetch if
846         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
847         src, dst pointers have unequal 16 byte alignments.
848
849 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
850
851         [BZ #13928]
852         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
853         from a CNAME entry and return the minimum ttl for the query.
854         (gaih_getanswer_slice): Likewise.
855
856 2012-03-30  Jeff Law  <law@redhat.com>
857
858         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
859         due to long keys.
860         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
861         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
862
863         * resolv/nss_dns/dns-host.c: Update copyright year.
864
865 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
866
867         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
868         requests to save a system call.  Fix check that all bytes are sent.
869
870         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
871         comments for sendmmsg.
872
873 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
874
875         [BZ #13691]
876         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
877         with only 1 character between 0x0041 and 0x01b0.
878         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
879         * wcsmbs/tst-mbsnrtowcs.c: New file.
880
881 2012-03-29  David S. Miller  <davem@davemloft.net>
882
883         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
884         small copies by hand.
885
886 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
887
888         [BZ #13761]
889         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
890         _nss_compat_initgroups_dyn): Fall back to malloc/free
891         for large group memberships.
892
893 2012-03-28  David S. Miller  <davem@davemloft.net>
894
895         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
896         that branches into memcpy.
897         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
899         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
900         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
901         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
902         bits.
903         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
904         implementation too.
905         * sysdeps/sparc/mempcpy.S: New file.
906
907         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
908         the IFUNC routine in the libc case.
909         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
910
911         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
912         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
913         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
914         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
915         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
916         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
917         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
918         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
919
920         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
921         loop to 256 bytes instead of 64 bytes and fix test signedness.
922
923         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
924         * sysdeps/sparc/sparc32/Makefile: rather than here...
925         * sysdeps/sparc/sparc64/Makefile: and here.
926
927 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
928
929         * malloc/mallocbug.c: Avoid warnings about unused variables.
930
931 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
932
933         [BZ #13760]
934         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
935         in the right place. Discard and retry query if response is
936         larger than input buffer size.
937
938 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
939
940         [BZ #369]
941         [BZ #2678]
942         [BZ #3866]
943         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
944         x for large integer exponent.
945         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
946         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
947         sign of result as needed afterwards.
948         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
949         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
950         result for underflowing pow the same as for overflow.
951         (__kernel_standard_l): Handle powl overflow and underflow here
952         rather than calling __kernel_standard.
953         * math/libm-test.inc (pow_test): Add more tests.
954
955         [BZ #3868]
956         [BZ #13879]
957         [BZ #13910]
958         [BZ #13911]
959         [BZ #13912]
960         [BZ #13913]
961         [BZ #13915]
962         [BZ #13916]
963         [BZ #13917]
964         [BZ #13918]
965         [BZ #13919]
966         [BZ #13920]
967         [BZ #13921]
968         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
969         * sysdeps/ieee754/k_standard.c: Include <float.h>.
970         (__kernel_standard_l): New function.
971         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
972         __kernel_standard.
973         * math/w_acosl.c (__acosl): Likewise.
974         * math/w_asinl.c (__asinl): Likewise.
975         * math/w_atan2l.c (__atan2l): Likewise.
976         * math/w_atanhl.c (__atanhl): Likewise.
977         * math/w_coshl.c (__coshl): Likewise.
978         * math/w_exp10l.c (__exp10l): Likewise.
979         * math/w_exp2l.c (__exp2l): Likewise.
980         * math/w_fmodl.c (__fmodl): Likewise.
981         * math/w_hypotl.c (__hypotl): Likewise.
982         * math/w_j0l.c (__j0l, __y0l): Likewise.
983         * math/w_j1l.c (__j1l, __y1l): Likewise.
984         * math/w_jnl.c (__jnl, __ynl): Likewise.
985         * math/w_lgammal.c (__lgammal): Likewise.
986         * math/w_log10l.c (__log10l): Likewise.
987         * math/w_log2l.c (__log2l): Likewise.
988         * math/w_logl.c (__logl): Likewise.
989         * math/w_powl.c (__powl): Likewise.
990         * math/w_remainderl.c (__remainderl): Likewise.
991         * math/w_scalbl.c (sysv_scalbl): Likewise.
992         * math/w_sinhl.c (__sinhl): Likewise.
993         * math/w_sqrtl.c (__sqrtl): Likewise.
994         * math/w_tgammal.c (__tgammal): Likewise.
995         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
996         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
997         * math/libm-test.inc (acos_test): Add more tests.
998         (acosh_test): Likewise.
999         (asin_test): Likewise.
1000         (atanh_test): Likewise.
1001         (exp_test): Likewise.
1002         (exp10_test): Likewise.
1003         (exp2_test): Likewise.
1004         (expm1_test): Likewise.
1005         (lgamma_test): Likewise.
1006         (log_test): Likewise.
1007         (log10_test): Likewise.
1008         (log1p_test): Likewise.
1009         (log2_test): Likewise.
1010         (pow_test): Do not allow some spurious overflow exceptions.
1011         (sqrt_test): Add more tests.
1012         (tgamma_test): Likewise.
1013         (y0_test): Likewise.
1014         (y1_test): Likewise.
1015         (yn_test): Likewise.
1016
1017 2012-03-27  Anton Blanchard  <anton@samba.org>
1018
1019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1020         MAP_HUGETLB.
1021         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1022         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1023         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1024
1025 2012-03-27  David S. Miller  <davem@davemloft.net>
1026
1027         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1028
1029         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1030         have-as-vis3 check.
1031
1032 2012-03-27  Andreas Jaeger  <aj@suse.de>
1033
1034         * sysdeps/x86_64/elf/configure.in: Moved to ...
1035         * sysdeps/x86_64/configure.in: ... here.
1036         * sysdeps/x86_64/elf/start.S: Moved to ...
1037         * sysdeps/x86_64/start.S: ... here.
1038         * sysdeps/x86_64/elf/configure: Delete.
1039
1040         * sysdeps/x86_64/configure.in: Merge contents from
1041         sysdeps/i386/configure.in (without i686 check).
1042
1043         * sysdeps/i386/elf/Versions: Merge into ...
1044         * sysdeps/i386/Versions: ... this.
1045         * sysdeps/i386/elf/Versions: Delete file.
1046         * sysdeps/i386/elf/start.S: Moved to ...
1047         * sysdeps/i386/start.S: ...here.
1048         * sysdeps/i386/elf/configure.in: Merge into...
1049         * sysdeps/i386/configure.in: ...here.
1050         * sysdeps/i386/elf/configure.in: Delete file.
1051         * sysdeps/i386/elf/configure: Delete file.
1052
1053         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1054         * debug/backtracesyms.c: ... here.
1055         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1056         * debug/backtracesymsfd.c: ... here.
1057         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1058         * sysdeps/generic/ifunc-sel.h: ... here.
1059
1060         * sysdeps/unix/i386/start.c: Delete file.
1061         * sysdeps/unix/sparc/start.c: Delete file.
1062         * sysdeps/unix/start.c: Delete file.
1063
1064         * sysdeps/sh/elf/configure.in: Moved to ...
1065         * sysdeps/sh/configure.in: ... here.
1066         * sysdeps/sh/elf/start.S: Moved to ...
1067         * sysdeps/sh/start.S: ... here.
1068         * sysdeps/sh/elf/configure: Delete file.
1069
1070         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1071         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1072         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1073         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1074         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1075         * sysdeps/powerpc/powerpc64/start.S: here.
1076         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1077         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1078         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1079         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1080         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1081
1082         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1083         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1084         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1085         * sysdeps/powerpc/powerpc32/start.S: ... here.
1086         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1087         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1088         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1089
1090         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1091         * sysdeps/powerpc/ifunc-sel.h: ... here.
1092         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1093         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1094
1095         * sysdeps/sparc/elf/configure.in: Moved to ...
1096         * sysdeps/sparc/configure.in: ... here.
1097         * sysdeps/sparc/elf/configure: Delete file.
1098         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1099         * sysdeps/sparc/sparc32/start.S: ... here.
1100         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1101         * sysdeps/sparc/sparc64/start.S: ... here.
1102         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1103         * sysdeps/sparc/sparc32/Makefile: ... this.
1104         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1105         * sysdeps/sparc/sparc64/Makefile: ... this.
1106
1107         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1108         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1109         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1110         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1111         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1112         * sysdeps/s390/s390-32/setjmp.S: ... here.
1113         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1114         * sysdeps/s390/s390-32/configure.in: ... here.
1115         * sysdeps/s390/s390-32/elf/configure: Delete file.
1116         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1117         * sysdeps/s390/s390-32/start.S: ... here.
1118
1119         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1120         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1121         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1122         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1123         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1124         * sysdeps/s390/s390-64/setjmp.S: ... here.
1125         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1126         * sysdeps/s390/s390-64/configure.in: ... here
1127         * sysdeps/s390/s390-64/elf/configure: Delete file.
1128         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1129         * sysdeps/s390/s390-64/start.S: ... here.
1130         * sysdeps/s390/s390-64/elf/configure: Delete.
1131
1132         * configure.in: Remove support for elf directories in sysdeps.
1133
1134         * configure: Regenerated.
1135         * sysdeps/i386/configure: Regenerated.
1136         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1137         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1138         * sysdeps/s390/s390-32/configure: Regenerated.
1139         * sysdeps/s390/s390-64/configure: Regenerated.
1140         * sysdeps/sh/configure: Regenerated.
1141         * sysdeps/sparc/configure: Regenerated.
1142         * sysdeps/x86_64/configure: Regenerated.
1143
1144 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1145
1146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1147
1148         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1149         denormal result into account.
1150
1151 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1152
1153         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1154         Reported by Allan McRae <allan@archlinux.org>.
1155
1156 2012-03-23  Jeff Law  <law@redhat.com>
1157
1158         * nss/getnssent.c (__nss_getent): Fix typo.
1159
1160 2012-03-23  David S. Miller  <davem@davemloft.net>
1161
1162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1163
1164 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1165
1166         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1167         to pad to uint64_t for each field.
1168         (dl_tls_index): Replace unsigned long with uint64_t.
1169
1170 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1171         Paul Pluzhnikov  <ppluzhnikov@google.com>
1172
1173         [BZ #6528]
1174         * grp/Makefile (otherlibs): Don't set it.
1175         * inet/Makefile (otherlibs): Likewise.
1176         * login/Makefile (otherlibs): Likewise.
1177         * nscd/Makefile (otherlibs): Likewise.
1178         * posix/Makefile (otherlibs): Likewise.
1179         * pwd/Makefile (otherlibs): Likewise.
1180         * rt/Makefile (otherlibs): Likewise.
1181         * sunrpc/Makefile (otherlibs): Likewise.
1182         * nss/Makefile (otherlibs): Likewise.
1183         Add libnss_files to routines and static-only-routines.
1184         ($(objpfx)getent): Remove rule.
1185         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1186         static-only-routines.
1187
1188 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1189
1190         [BZ #13892]
1191         * math/s_cexp.c: Include <float.h>.
1192         (__cexp): Handle exp result overflowing not necessarily
1193         overflowing both real and imaginary parts of result.
1194         * math/s_cexpf.c: Likewise.
1195         * math/s_cexpl.c: 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-22  H.J. Lu  <hongjiu.lu@intel.com>
1201
1202         * include/link.h (ELFW): New macro.
1203         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1204         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1205
1206 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1207
1208         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1209         with uint64_t.
1210
1211 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1212
1213         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1214         declaration.
1215         (struct La_x32_retval): Likewise.
1216
1217 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1218
1219         * sysdeps/x86_64/preconfigure.in: New file.
1220         * sysdeps/x86_64/preconfigure: New generated file.
1221
1222 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1223
1224         [BZ #13824]
1225         * math/e_exp2l.c: Include <float.h>.
1226         (__ieee754_exp2l): Handle overflow and underflow cases
1227         separately.  Only pass fractional part of argument to
1228         __ieee754_expl.
1229         * math/libm-test.inc (exp2_test): Add more tests.
1230
1231         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1232         negating x to take absolute value.
1233         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1234         Likewise.
1235         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1236         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1237         Likewise.
1238         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1239         computing low part if x was negated.
1240         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1241
1242 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1243
1244         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1245         la_x32_gnu_pltexit.
1246         (pltexit): Cast int_retval to ptrdiff_t.
1247         * elf/tst-auditmod3b.c: Likewise.
1248         * elf/tst-auditmod4b.c: Likewise.
1249         * elf/tst-auditmod5b.c: Likewise.
1250         * elf/tst-auditmod6b.c: Likewise.
1251         * elf/tst-auditmod6c.c: Likewise.
1252         * elf/tst-auditmod7b.c: Likewise.
1253
1254         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1255         and x32_gnu_pltexit.
1256
1257         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1258         __ELF_NATIVE_CLASS.
1259         (La_x32_regs): New macro.
1260         (La_x32_retval): Likewise.
1261         (la_x32_gnu_pltenter): New function prototype.
1262         (la_x32_gnu_pltexit): Likewise.
1263
1264 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1265
1266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1267         exponent.
1268
1269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1270
1271         * configure.in (libc_cv_cc_nofma): Check for option to disable
1272         generation of FMA instructions.
1273         * configure: Regenerate.
1274         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1275         * sysdeps/ieee754/dbl-64/Makefile: New file.
1276         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1277         Remove brandred-fma4.
1278         (CFLAGS-brandred-fma4.c): Remove.
1279         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1280         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1281         define.
1282         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1283         define.
1284
1285 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1286
1287         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1288         LLONG_MAX != LONG_MAX.
1289         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1290         (_fitoa_word): Likewise.
1291         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1292         LLONG_MAX != LONG_MAX.
1293         * stdio-common/_itowa.h: Include <_itoa.h>.
1294         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1295         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1296         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1297         only if not defined.
1298         (_ITOA_WORD_TYPE): Likewise.
1299         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1300         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1301
1302 2012-03-21  David S. Miller  <davem@davemloft.net>
1303
1304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1305
1306 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1307
1308         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1309         of x86_64 when setting libc_cv_slibdir, libdir and
1310         libc_cv_localedir.
1311         * sysdeps/unix/sysv/linux/configure: Regenerated.
1312
1313 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1314
1315         * manual/lang.texi (Old Varargs): Remove section.
1316         (How Variadic): Update menu.
1317         (va_start): Do not mention varargs.h.
1318
1319 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1320             Joseph Myers  <joseph@codesourcery.com>
1321
1322         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1323         link test.
1324         * configure: Regenerated.
1325
1326 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1327
1328         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1329         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1330         conformtest.pl
1331
1332 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1333
1334         * NOTES: Remove.
1335         * Makefile (files-for-dist): Remove NOTES.
1336         (NOTES): Remove rule.
1337         * README: Don't refer to NOTES.
1338         * manual/creature.texi: Don't include macros.texi.
1339         * manual/intro.texi (creature.texi): Remove comment referring to
1340         NOTES.
1341
1342         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1343         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1344         * configure: Regenerated.
1345         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1346         LIBC_TRY_CC_OPTION.
1347         (libc_cv_as_i686): Likewise.
1348         (libc_cv_cc_avx): Likewise.
1349         (libc_cv_cc_sse2avx): Likewise.
1350         (libc_cv_cc_fma4): Likewise.
1351         (libc_cv_cc_novzeroupper): Likewise.
1352         * sysdeps/i386/configure: Regenerated.
1353
1354         [BZ #13883]
1355         * sysdeps/i386/fpu/s_cexp.S: Remove.
1356         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1357         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1358         * math/libm-test.inc (cexp_test): Add more tests.
1359         * sysdeps/i386/fpu/libm-test-ulps: Update.
1360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1361
1362 2012-03-21  Allan McRae  <allan@archlinux.org>
1363
1364         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1365
1366 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1367
1368         [BZ #13871]
1369         * math/w_exp2.c: Do not include <float.h>.
1370         (o_threshold, u_threshold): Remove.
1371         (__exp2): Calculate result before checking finiteness and calling
1372         __kernel_standard.
1373         * math/w_exp2f.c: Likewise.
1374         * math/w_exp2l.c: Likewise.
1375         * math/libm-test.inc (exp2_test): Require overflow exception for
1376         1e6 input.
1377
1378         [BZ #3866]
1379         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1380         range of signed 64-bit integers before using fistpll.  Remove
1381         checks for whether integers fit in mantissa bits.
1382         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1383         the range of signed 32-bit integers before using fistpl.  Remove
1384         checks for whether integers fit in mantissa bits.
1385         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1386         (__ieee754_powl): Test for y outside the range of signed 64-bit
1387         integers before using fistpll.  Reduce 64-bit values to 63-bit
1388         ones as needed.
1389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1390         divide-by-zero is raised for zero to large negative powers.
1391         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1392         (__ieee754_powl): Test for y outside the range of signed 64-bit
1393         integers before using fistpll.  Reduce 64-bit values to 63-bit
1394         ones as needed.
1395         * math/libm-test.inc (pow_test): Add more tests.
1396
1397 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1398
1399         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1400         <stdio-common/_itoa.h>.
1401         * debug/segfault.c: Likewise.
1402         * elf/dl-cache.c: Likewise.
1403         * elf/dl-minimal.c: Likewise.
1404         * elf/dl-misc.c: Likewise.
1405         * elf/dl-sysdep.c: Likewise.
1406         * elf/dl-version.c: Likewise.
1407         * elf/rtld.c: Likewise.
1408         * hurd/hurdsock.c: Likewise.
1409         * hurd/lookup-retry.c: Likewise.
1410         * malloc/malloc.c: Likewise.
1411         * malloc/mtrace.c: Likewise.
1412         * nscd/nscd_getgr_r.c: Likewise.
1413         * nscd/nscd_getpw_r.c: Likewise.
1414         * nscd/nscd_getserv_r.c: Likewise.
1415         * posix/getopt_init.c: Likewise.
1416         * posix/wordexp.c: Likewise.
1417         * stdio-common/_itoa.c: Likewise.
1418         * stdio-common/printf_fphex.c: Likewise.
1419         * stdio-common/vfprintf.c: Likewise.
1420         * string/_strerror.c: Likewise.
1421         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1422         * sysdeps/i386/i686/hp-timing.h: Likewise.
1423         * sysdeps/mach/_strerror.c: Likewise.
1424         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1425         * sysdeps/mach/hurd/sethostid.c: Likewise.
1426         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1427         * sysdeps/mach/xpg-strerror.c: Likewise.
1428         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1429         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1430         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1431         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1432         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1433         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1434         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1435         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1436         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1437         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1438         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1439         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1440         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1441         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1442         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1443         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1444         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1445         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1446         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1447         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1448         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1449
1450         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1451
1452         * stdio-common/_itoa.h: Moved to ...
1453         * sysdeps/generic/_itoa.h: Here.
1454
1455         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1456
1457         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1458         instead of "_itoa.h" and "_itowa.h".
1459         * stdio-common/vfprintf.: Likewise.
1460
1461 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1462
1463         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1464         <bits/wordsize.h>.
1465         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1466         (__signbit): Likwise.
1467         (llrintf): Likwise.
1468         (llrint): Likwise.
1469
1470 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1471
1472         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1473         __WORDSIZE != 64.
1474
1475 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1476
1477         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1478         OVERFLOW_EXCEPTION_OK.
1479         * math/libm-test.inc ("Philosophy"): Update comment about
1480         exception testing.
1481         (OVERFLOW_EXCEPTION): Define.
1482         (OVERFLOW_EXCEPTION_OK): Likewise.
1483         (INVALID_EXCEPTION_OK): Renumber.
1484         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1485         (IGNORE_ZERO_INF_SIGN): Likewise.
1486         (test_exceptions): Handle FE_OVERFLOW.
1487         (exp10_test): Expect overflow exceptions.
1488         (exp2_test): Likewise.
1489         (expm1_test): Likewise.
1490         (nextafter_test): Likewise.
1491         (pow_test): Likewise.
1492         (scalbn_test): Likewise.
1493         (scalbln_test): Likewise.
1494
1495 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1496
1497         * sysdeps/x86_64/bits/atomic.h
1498         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1499         64bit integer.
1500         (atomic_exchange_acq): Likewise.
1501         (__arch_exchange_and_add_body): Likewise.
1502         (__arch_add_body): Likewise.
1503         (atomic_add_negative): Likewise.
1504         (atomic_add_zero): Likewise.
1505
1506 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1507
1508         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1509         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1510
1511 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1512
1513         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1514         Check __x86_64__ instead of __WORDSIZE.
1515
1516 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1517
1518         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1519
1520 2012-03-19  David S. Miller  <davem@davemloft.net>
1521
1522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1523
1524         * sysdeps/sparc/fpu/fenv_private.h: New file.
1525         * sysdeps/sparc/fpu/math_private.h: Use it.
1526         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1527         Remove.
1528         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1529         (libc_feholdexcept_setroundl): Remove.
1530         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1531         Remove.
1532         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1533         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1534
1535 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1536
1537         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1538         int64_t instead of long int.
1539         (INSERT_WORDS64): Likwise.
1540
1541 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1542
1543         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1544         _Unwind_GetCFA return to _Unwind_Ptr first.
1545
1546 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1547
1548         [BZ #13629]
1549         * math/s_clog.c: Include <float.h>.
1550         (__clog): Scale large or subnormal inputs.
1551         * math/s_clogf.c: Likewise.
1552         * math/s_clogl.c: Likewise.
1553         * math/s_clog10.c: Include <float.h>.
1554         (M_LOG10_2): Define.
1555         (__clog10): Scale large or subnormal inputs.
1556         * math/s_clog10f.c: Likewise.
1557         * math/s_clog10l.c: Likewise.
1558         * math/libm-test.inc (clog_test): Add more tests.
1559         (clog10_test): Likewise.
1560         * sysdeps/i386/fpu/libm-test-ulps: Update.
1561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1562
1563         [BZ #11451]
1564         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1565         x and y.
1566         * math/libm-test.inc (atan2_test): Add another test.
1567
1568         * Makerules (common-objdir-compile): Remove.
1569         * sysdeps/unix/Makefile (config-generated): Do not add
1570         $(unix-generated) to variable.
1571         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1572         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1573         Remove rule.
1574         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1575         Likewise.
1576         [generic bits/local_lim.h] (before-compile): Do not append to
1577         variable.
1578         [generic bits/local_lim.h] (common-generated): Likewise.
1579         [generic sys/param.h] (before-compile): Do not append to variable.
1580         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1581         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1582         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1583         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1584         include.
1585         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1586         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1587         [generic sys/param.h] ($(addprefix
1588         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1589         [generic sys/param.h] (common-generated): Do not append to
1590         variable.
1591         [generic sys/param.h] (sysdep_headers): Likewise.
1592         [generic bits/errno.h] (before-compile): Do not append to
1593         variable.
1594         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1595         rule.
1596         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1597         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1598         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1599         [generic bits/errno.h] (common-generated): Do not append to
1600         variable.
1601         [generic bits/ioctls.h] (before-compile): Do not append to
1602         variable.
1603         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1604         rule.
1605         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1606         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1607         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1608         rule.
1609         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1610         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1611         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1612         [generic bits/ioctls.h] (common-generated): Do not append to
1613         variable.
1614         [generic sys/syscall.h] (syscall.h): Remove variable.
1615         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1616         rule.
1617         [generic sys/syscall.h] (before-compile): Do not append to
1618         variable.
1619         [generic sys/syscall.h] (common-generated): Likewise.
1620         * sysdeps/unix/errnos-tmpl.c: Remove file.
1621         * sysdeps/unix/errnos.awk: Likewise.
1622         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1623         * sysdeps/unix/ioctls.awk: Likewise.
1624         * sysdeps/unix/mk-local_lim.c: Likewise.
1625         * sysdeps/unix/snarf-ioctls: Likewise.
1626
1627 2012-03-19  Richard Henderson  <rth@twiddle.net>
1628
1629         * sysdeps/i386/fpu/fenv_private.h: New file.
1630         * sysdeps/i386/fpu/math_private.h: Use it.
1631         (math_opt_barrier, math_force_eval): Remove.
1632         (libc_feholdexcept_setround_53bit): Remove.
1633         (libc_feupdateenv_53bit): Remove.
1634         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1635         (math_opt_barrier, math_force_eval): Remove.
1636         (libc_feholdexcept): Remove.
1637         (libc_feholdexcept_setround): Remove.
1638         (libc_fetestexcept, libc_fesetenv): Remove.
1639         (libc_feupdateenv_test): Remove.
1640         (libc_feupdateenv, libc_feholdsetround): Remove.
1641         (libc_feresetround): Remove.
1642
1643         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1644         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1645
1646         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1647         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1648         (libc_feupdateenv_testl): New.
1649         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1650         (libc_feupdateenv_testf): New.
1651         (libc_feupdateenv): Use libc_feupdateenv_test.
1652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1653         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1654
1655         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1656         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1657         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1658         (libc_feresetround_noex): New.
1659         (libc_feresetround_noexf): New.
1660         (libc_feresetround_noexl): New.
1661         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1662         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1663         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1664         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1665         SET_RESTORE_ROUND.
1666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1667         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1668         (__cos): Likewise.
1669         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1670         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1671         SET_RESTORE_ROUND_NOEX.
1672         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1673         SET_RESTORE_ROUND_NOEXF.
1674         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1675         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1676         (libc_feholdsetroundf): New.
1677         (libc_feresetround, libc_feresetroundf): New.
1678
1679         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1680         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1681         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1682
1683         * sysdeps/generic/math_private.h: Include <fenv.h>.
1684         (default_libc_feholdexcept): New.
1685         (default_libc_feholdexcept_setround): New.
1686         (default_libc_fesetenv, default_libc_feupdateenv): New.
1687         (libc_feholdexcept): Only define if undefined.
1688         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1689         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1690         (libc_feholdexcept_setroundl): Likewise.
1691         (libc_feholdexcept_setround_53bit): Likewise.
1692         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1693         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1694         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1695         (libc_feupdateenv_53bit): Likewise.
1696         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1697         (libc_feholdexcept): Convert from macro to inline function.
1698         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1699         (libc_fesetenv, libc_feupdateenv): Likewise.
1700
1701         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1702         not previously defined.
1703         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1704         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1705         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1706         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1707         * sysdeps/ieee754/flt-32/math_private.h: New file.
1708         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1709         math_private.h below SET_FLOAT_WORD.
1710         (__isnan, __isinf_ns, __finite): Remove.
1711         (__isnanf, __isinf_nsf, __finitef): Remove.
1712
1713 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1714
1715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1716
1717 2012-03-17  David S. Miller  <davem@davemloft.net>
1718
1719         [BZ #6471]
1720         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1721         for 2.16.
1722
1723 2012-03-16  David S. Miller  <davem@davemloft.net>
1724
1725         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1726         warnings.
1727
1728         [BZ #6471]
1729         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1730         properly.
1731         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1732         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1733         sysdep_routines when subdir is sysvipc.
1734         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1735         __getshmlba helper.
1736
1737         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1738
1739 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1740
1741         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1742         [__LP64__].
1743
1744 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1745
1746         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1747         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1748         (__lround): Renamed to ...
1749         (__llround): This.  Replace long int with long long int.
1750         Define lround functions as aliases of llround functions.
1751         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1752
1753 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1754
1755         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1756         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1757         adresses to uintptr_t.  Replace "long int" and "unsigned long
1758         int" with "greg_t" on va_arg.
1759
1760 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1761
1762         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1763         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1764
1765         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1766         Move e_machine check before EI_CLASS check.  Handle x32
1767         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1768         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1769         SKIP_EM_IA_64 and include
1770         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1771
1772         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1773         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1774         (add_system_dir): New macro.
1775
1776         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1777         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1778
1779 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1780
1781         [BZ #2551]
1782         [BZ #2552]
1783         [BZ #2553]
1784         [BZ #2554]
1785         [BZ #2562]
1786         [BZ #2563]
1787         [BZ #2565]
1788         [BZ #2566]
1789         [BZ #2576]
1790         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1791         (y0): Likewise.
1792         * math/w_j0f.c (j0f): Likewise.
1793         (y0f): Likewise.
1794         * math/w_j0l.c (__j0l): Likewise.
1795         (__y0l): Likewise.
1796         * math/w_j1.c (j1): Likewise.
1797         (y1): Likewise.
1798         * math/w_j1f.c (j1f): Likewise.
1799         (y1f): Likewise.
1800         * math/w_j1l.c (__j1l): Likewise.
1801         (__y1l): Likewise.
1802         * math/w_jn.c (jn): Likewise.
1803         (yn): Likewise.
1804         * math/w_jnf.c (jnf): Likewise.
1805         (ynf): Likewise.
1806         * math/w_jnl.c (__jnl): Likewise.
1807         (__ynl): Likewise.
1808         * math/libm-test.inc (j0_test): Add more tests.
1809         (j1_test): Likewise.
1810         (jn_test): Likewise.  Add trailing semicolon to existing test.
1811         (y0_test): Likewise.
1812         (y1_test): Likewise.
1813         * sysdeps/i386/fpu/libm-test-ulps: Update.
1814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1815
1816         [BZ #13851]
1817         [BZ #13854]
1818         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1819         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1820         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1821         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1822         (__tanl): Set errno for infinite argument.
1823         * sysdeps/i386/fpu/mptan.c: Remove.
1824         * sysdeps/i386/fpu/s_tan.S: Likewise.
1825         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1826         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1827         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1828         * math/libm-test.inc (tan_test): Add more tests and enable more
1829         tests for double and long double.
1830         * sysdeps/i386/fpu/libm-test-ulps: Update.
1831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1832
1833 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1834
1835         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1836         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1837
1838 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1839
1840         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1841         * configure.in: Use it for both main tree and add-ons.
1842         * configure: Regenerated.
1843
1844 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1845
1846         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1847
1848 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1849
1850         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1851         in comment.
1852
1853         [BZ #13851]
1854         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1855         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1856         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1857         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1858         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1859         infinite argument.
1860         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1861         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1862         != 0 for prec == 2.
1863         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1864         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1865         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1866         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1867         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1868         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1869         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1870         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1871         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1872         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1873         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1874         * math/libm-test.inc (cos_test): Add more tests and enable more
1875         tests for long double.
1876         (sin_test): Likewise.
1877         (sincos_test): Likewise.
1878         * sysdeps/i386/fpu/libm-test-ulps: Update.
1879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880
1881 2012-03-16  David S. Miller  <davem@davemloft.net>
1882
1883         * sysdeps/sparc/fpu/math_private.h: New file.
1884
1885 2012-03-15  David S. Miller  <davem@davemloft.net>
1886
1887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1888         file.
1889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1891         file.
1892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1898         sysdep routines.
1899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1900
1901         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1902         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1903
1904         * sysdeps/sparc/sparc-ifunc.h: New file.
1905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1906         sparc-ifunc.h
1907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1909         Likewise.
1910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1911         Likewise.
1912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1916         Likewise.
1917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1922         Likewise.
1923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1924         Likewise.
1925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1929         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1931         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1932         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1941         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1942         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1943         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1944         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1945         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1946         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1947         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1948         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1949
1950 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1951
1952         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1953         scaling.
1954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1955
1956 2012-03-15  Andreas Jaeger  <aj@suse.de>
1957
1958         [BZ #13852]
1959         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1960         ieee754/flt-32 implementation for sin, cos and sincos.
1961         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1962         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1963         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1964         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1965         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1966         ieee754/flt-32 implementation for tan.
1967
1968         * math/libm-test.inc (cos_test): Enable some large input tests for
1969         float as well
1970         (sin_test): Likewise.
1971         (sincos_test): Likewise.
1972         (tan_test): Add tests for large input.
1973
1974         * sysdeps/i386/fpu/libm-test-ulps: Update.
1975
1976 2012-03-15  Andreas Jaeger  <aj@suse.de>
1977
1978         [BZ #13658]
1979         * math/libm-test.inc (cos_test): Add more test cases.
1980         (sin_test): Likewise.
1981         (sincos_test): Likewise.
1982
1983 2012-03-15  Andreas Jaeger  <aj@suse.de>
1984
1985         [BZ #13837]
1986         * math/libm-test.inc (cos_test): Add a test case for large input
1987         value.
1988         (sin_test): Likewise.
1989         (sincos_test): Likewise.
1990
1991 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1992         Joseph Myers  <joseph@codesourcery.com>
1993
1994         [BZ #13658]
1995         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1996         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1997         * sysdeps/i386/fpu/branred.c: Likewise.
1998         * sysdeps/i386/fpu/dosincos.c: Likewise.
1999         * sysdeps/i386/fpu/mpa.c: Likewise.
2000         * sysdeps/i386/fpu/s_cos.S: Likewise.
2001         * sysdeps/i386/fpu/s_sin.S: Likewise.
2002         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2003         * sysdeps/i386/fpu/sincos32.c: Likewise.
2004
2005         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2006         Define.
2007         (libc_feupdateenv_53bit): Define.
2008         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2009         Define.
2010         (libc_feupdateenv_53bit): Define.
2011
2012         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2013         53 bit (without extend i386 double precision).
2014
2015         * math/libm-test.inc (sincos_test): Add tests for large input.
2016         (sin): Likewise.
2017         (cos): Likewise.
2018
2019         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2020
2021 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2022
2023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2024
2025 2012-03-15  David S. Miller  <davem@davemloft.net>
2026
2027         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2028         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2029         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2030         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2043         file.
2044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2046         file.
2047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2049         file.
2050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2052         file.
2053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2055         fmin/fmax sysdep routines.
2056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2057
2058 2012-03-14  David S. Miller  <davem@davemloft.net>
2059
2060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2063         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2064         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2065         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2066         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2067         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2081         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2082         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2083         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2085         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2086         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2087         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2089         routines.
2090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2091         file.
2092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2094         file.
2095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2097         file.
2098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2100         file.
2101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2103         file.
2104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2106         file.
2107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2108         file.
2109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2110         file.
2111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2112         file.
2113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2114         New file.
2115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2116         file.
2117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2118         file.
2119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2121         file.
2122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2124         file.
2125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2127         file.
2128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2130         VIS3 routines.
2131
2132         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2133         New file.
2134
2135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2136
2137         * sysdeps/sparc/configure.in: New file.
2138         * sysdeps/sparc/configure: Generate.
2139         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2140         * configure: Regenerate.
2141         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2142         * config.make.in (have-as-vis3): New.
2143         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2144         available use -Av9d instead of -Av9a.
2145         * sysdeps/sparc/sparc64/Makefile: Likewise.
2146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2148         New file.
2149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2150         file.
2151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2152         New file.
2153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2154         file.
2155         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2157         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2158         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2160
2161         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2162         fzeros/fnegs to load 0x80000000 into a float register instead of
2163         using the stack.
2164         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2165
2166 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2167
2168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2169         bits/syscall.h.
2170         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2171         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2172         ($(inst_includedir)/bits/syscall.h): Remove rule.
2173         ($(objpfx)bits/syscall.d): Include instead of
2174         $(objpfx)syscall-list.d.
2175         (generated): Change syscall-list.h and syscall-list.d to
2176         bits/syscall.h and bits/syscall.d.
2177
2178 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2179
2180         [BZ #13846]
2181         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2182
2183 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2184
2185         [BZ #13841]
2186         * math/s_csqrt.c: Include <float.h>.
2187         (__csqrt): Scale large or subnormal inputs.
2188         * math/s_csqrtf.c: Likewise.
2189         * math/s_csqrtl.c: Likewise.
2190         * math/libm-test.inc (csqrt_test): Add more tests.
2191         * sysdeps/i386/fpu/libm-test-ulps: Update.
2192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2193
2194         [BZ #13840]
2195         * math/libm-test.inc (hypot_test): Add more tests.
2196
2197 2012-03-13  David S. Miller  <davem@davemloft.net>
2198
2199         [BZ #13840]
2200         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2201         double-precision for the calculation instead of scaling.
2202
2203 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2204
2205         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2206         manipulate bits before adding and subtracting TWO52[sx].
2207         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2208         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2209         Likewise.
2210         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2211
2212 2012-03-13  David S. Miller  <davem@davemloft.net>
2213
2214         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2215         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2217         rtld-global-offsets.h
2218         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2219
2220         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2221         large parameters.
2222
2223         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2224
2225         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2226         'err' in the ifdef scope in which it is actually used.
2227
2228         * nss/nss_db/db-init.c: Include string.h
2229
2230 2012-03-12  David S. Miller  <davem@davemloft.net>
2231
2232         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2233         masking out of the most significant byte of random value used.
2234         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2235         Fix coding style in previous change.
2236
2237         * sysdeps/unix/sysv/linux/kernel-features.h
2238         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2239         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2240         expression.
2241         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2242         later.
2243
2244 2012-03-11  David S. Miller  <davem@davemloft.net>
2245
2246         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2247         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2248         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2249         for 'resultvar' otherwise things get truncated on 64-bit.
2250
2251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2252         Fix masking out of the most significant byte of random value used.
2253
2254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2255
2256 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2257
2258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2259
2260 2012-03-09  David S. Miller  <davem@davemloft.net>
2261
2262         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2263         variables with appropriate CPP guards.
2264         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2265         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2266         on resulting framesize and the management of the outregs buffer for pltexit.
2267         Preserve floating point return values across _dl_call_pltexit call.
2268         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2269         framesize and the management of the outregs buffer for pltexit.
2270         Preserve floating point return values across _dl_call_pltexit
2271         call.
2272         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2273         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2274         (print_exit): Fix format string for return register value.
2275
2276 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2277
2278         * sunrpc/Makefile (others): Add rpcgen.
2279         ($(objpfx)rpcgen): Remove special build rule and dependency on
2280         libc.
2281         * sunrpc/rpcgen.c: New file.
2282
2283 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2284
2285         [BZ #13673]
2286         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2287         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2288         * sysdeps/i386/crti.S: Likewise.
2289         * sysdeps/i386/crtn.S: Likewise.
2290         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2291         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2292         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2293         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2294         * sysdeps/sh/crti.S: Likewise.
2295         * sysdeps/sh/crtn.S: Likewise.
2296         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2297
2298         [BZ #13673]
2299         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2300         with URL.
2301         * locale/programs/locfile-kw.gperf: Likewise.
2302         * locale/programs/charmap-kw.h: Regenerated.
2303         * locale/programs/locfile-kw.h: Likewise.
2304
2305         [BZ #13673]
2306         * intl/plural.y: Replace FSF snail mail address with URL.
2307         * intl/plural.c: Regenerated.
2308
2309 2012-03-09  Richard Henderson  <rth@twiddle.net>
2310
2311         * include/math_private.h: Remove file.
2312         * math/math_private.h: Move file ...
2313         * sysdeps/generic/math_private.h: ... here.
2314
2315         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2316         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2317         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2318
2319         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2320         and <math_private.h>.
2321         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2322         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2323         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2324         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2325         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2326         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2327         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2328         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2329         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2330         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2332         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2333         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2334         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2335         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2336         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2338         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2339         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2340         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2342         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2343         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2345         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2346         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2347         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2348         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2350         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2351         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2352         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2353         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2354         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2355         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2356         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2357         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2358         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2359         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2360         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2361         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2362         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2363         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2364         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2365         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2366         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2367         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2368         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2369         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2370         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2371         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2372         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2373         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2374         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2375         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2376         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2377         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2378         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2379         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2380         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2381         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2382         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2384         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2385         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2386         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2387         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2388         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2389         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2390         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2391         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2392         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2393         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2395         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2400         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2404         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2405         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2408         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2409         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2410         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2411         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2412         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2413         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2414         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2415         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2416         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2417         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2418         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2419         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2420         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2421         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2422         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2423         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2424         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2425         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2426         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2427         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2428         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2429         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2431         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2432         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2433         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2434         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2435         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2436         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2437         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2438         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2439         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2440         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2441         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2442         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2444         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2445         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2446         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2447         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2448         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2449         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2450         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2451         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2452         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2453         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2454         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2455         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2456         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2457         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2458         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2459         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2460         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2461         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2462         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2463         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2464         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2465         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2466         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2467         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2468         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2469         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2470         * sysdeps/ieee754/k_standard.c: Likewise.
2471         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2475         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2476         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2477         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2479         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2480         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2481         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2483         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2484         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2485         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2487         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2488         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2489         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2492         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2493         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2494         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2495         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2496         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2497         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2498         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2499         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2501         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2502         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2503         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2504         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2505         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2506         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2507         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2508         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2509         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2510         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2511         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2513         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2514         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2515         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2516         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2522         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2523         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2524         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2525         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2526         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2527         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2528         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2529         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2530         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2531         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2532         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2533         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2534         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2535         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2536         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2537         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2538         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2539         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2543         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2544         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2545         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2546         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2547         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2550         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2551         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2552         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2553         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2554         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2555         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2556         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2557         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2558         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2559         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2561         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2562         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2563         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2564         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2566         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2567         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2568         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2569         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2573         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2574         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2575         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2576         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2578         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2579         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2580         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2582         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2583         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2584         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2585         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2586         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2587         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2588         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2589         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2590         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2591         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2592         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2593         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2594         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2595         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2596         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2597         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2598         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2599         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2600         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2601         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2602         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2603         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2604         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2605         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2606         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2607         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2608         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2609         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2610         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2611         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2612         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2613         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2614         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2615         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2620         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2621         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2622         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2624         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2625         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2626         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2627         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2628         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2629         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2630         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2631         * sysdeps/ieee754/s_lib_version.c: Likewise.
2632         * sysdeps/ieee754/s_matherr.c: Likewise.
2633         * sysdeps/ieee754/s_signgam.c: Likewise.
2634         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2635         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2636         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2637         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2638         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2639         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2640         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2641         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2642         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2643         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2644         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2645         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2646         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2647         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2648         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2649         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2651         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2654         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2655
2656 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2657
2658         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2659         * sunrpc/rpc_main.c: Likewise.
2660         * sunrpc/rpc_svcout.c: Likewise.
2661
2662 2012-03-09  David S. Miller  <davem@davemloft.net>
2663
2664         * include/math_private.h: New file.
2665
2666 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2667
2668         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2669         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2670         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2671         from <bits/socket_type.h>.
2672         (enum __socket_type): Don't define here.
2673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2675         bits/socket_type.h.
2676
2677         [BZ #13566]
2678         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2679         checking __USE_GNU.
2680
2681         * Makerules ($(inst_includedir)/%.h): New rule.
2682         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2683         (install-others): Remove variable setting.
2684         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2685
2686 2012-03-08  Richard Henderson  <rth@twiddle.net>
2687
2688         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2689         from macro to inline function; merge with the
2690         !__LIBC_INTERNAL_MATH_INLINES version.
2691         (__ieee754_sqrtf): Likewise.
2692
2693         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2694         to inline function.
2695         (__rintf, __floor, __floorf): Likewise.
2696
2697         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2698         macro to inline function.
2699         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2700
2701         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2702         not <math/math_private.h>.
2703
2704 2012-03-08  David S. Miller  <davem@davemloft.net>
2705
2706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2707         copyright year.
2708         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2709
2710 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2711
2712         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2713         normalization.
2714         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2715         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2716
2717 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2718
2719         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2720         be defined individually, they must be defined as a block.  Define
2721         S for printing a string instead of hidint the different by using a
2722         macro for adding the 'l'.
2723         * stdio-common/tst-fphex-wide.c: Adjust.
2724
2725 2012-03-07  Marek Polacek  <polacek@redhat.com>
2726
2727         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2728
2729 2012-03-08  Marek Polacek  <polacek@redhat.com>
2730
2731         [BZ #13806]
2732         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2733         * stdio-common/tst-fphex.c: Define a few macros to make the
2734         test reusable.  Use them.
2735         * stdio-common/tst-fphex-wide.c: New file.
2736
2737 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2738
2739         [BZ #6911]
2740         * manual/macros.texi (gnusystems): New macro.
2741         (nongnusystems): Likewise.
2742         (gnulinuxhurdsystems): Likewise.
2743         (gnuhurdsystems): Likewise..
2744         (gnulinuxsystems): Likewise.
2745         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2746         variants of the GNU system, not "GNU system".
2747         * manual/conf.texi: Likewise.
2748         * manual/errno.texi: Likewise.  Update example of errno macro
2749         expansion.
2750         * manual/filesys.texi: Likewise.
2751         (getumask): Document as specific to GNU/Hurd.
2752         * manual/install.texi: Likewise.  Reword some references to
2753         GNU/Linux.
2754         * manual/intro.texi: Likewise.
2755         * manual/io.texi: Likewise.
2756         (File Name Portability): Detail which constraints are inapplicable
2757         to all GNU systems and which are only inapplicable to GNU/Hurd.
2758         * manual/job.texi: Likewise.
2759         * manual/llio.texi: Likewise.
2760         (O_NOCTTY): Document as present on GNU/Linux.
2761         * manual/maint.texi: Likewise.
2762         * manual/memory.texi: Likewise.
2763         * manual/pattern.texi: Likewise.
2764         * manual/pipe.texi: Likewise.
2765         * manual/process.texi: Likewise.
2766         * manual/resource.texi: Likewise.
2767         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2768         child on GNU/Hurd.
2769         * manual/setjmp.texi: Likewise.
2770         * manual/signal.texi: Likewise.
2771         * manual/startup.texi: Likewise.
2772         * manual/stdio.texi: Likewise.
2773         * manual/terminal.texi: Likewise.
2774         (ONLCR): Document as POSIX.
2775         (OXTABS): Document availability on GNU/Linux as XTABS.
2776         (ONOEOT): Document availability separately from other bits.
2777         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2778         * manual/time.texi: Likewise.
2779         * manual/users.texi: Likewise.
2780         * INSTALL: Regenerated.
2781         * sysdeps/gnu/errlist.c: Regenerated.
2782
2783         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2784         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2785         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2786         puts.
2787         * configure: Regenerated.
2788
2789 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2790
2791         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2792         default includes instead of AC_HEADER_CHECK.
2793         * sysdeps/i386/configure: Regenerated.
2794
2795         [BZ #10716]
2796         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2797         * math/s_cacoshf.c (__cacoshf): Likewise.
2798         * math/s_cacoshl.c (__cacoshl): Likewise.
2799         * math/s_casinh.c (__casinh): Set signs of result from argument.
2800         * math/s_casinhf.c (__casinhf): Likewise.
2801         * math/s_casinhl.c (__casinhl): Likewise.
2802         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2803         (casinh_test): Add more tests.
2804         * sysdeps/i386/fpu/libm-test-ulps: Update.
2805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2806
2807 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2808
2809         * po/zh_TW.po: Update from translation team.
2810
2811         * login/Makefile (distribute): Remove variable.
2812         * catgets/Makefile: Likewise.
2813         * mach/Makefile: Likewise.
2814         * malloc/Makefile: Likewise.
2815         * misc/Makefile: Likewise.
2816         * iconv/Makefile: Likewise.
2817         * nscd/Makefile: Likewise.
2818         * hurd/Makefile: Likewise.
2819         * manual/Makefile: Likewise.
2820         * locale/Makefile: Likewise.
2821         * intl/Makefile: Likewise.
2822         * conform/Makefile: Likewise.
2823         * nss/Makefile: Likewise.
2824         * time/Makefile: Likewise.
2825         * soft-fp/Makefile: Likewise.
2826         * dirent/Makefile: Likewise.
2827         * gmon/Makefile: Likewise.
2828         * po/Makefile: Likewise.
2829         * rt/Makefile: Likewise.
2830         * socket/Makefile: Likewise.
2831         * math/Makefile: Likewise.
2832         * signal/Makefile: Likewise.
2833         * debug/Makefile: Likewise.
2834         * elf/Makefile: Likewise.
2835         * timezone/Makefile: Likewise.
2836         * stdlib/Makefile: Likewise.
2837         * iconvdata/Makefile: Likewise.
2838         * sunrpc/Makefile: Likewise.
2839         * io/Makefile: Likewise.
2840         * argp/Makefile: Likewise.
2841         * inet/Makefile: Likewise.
2842         * hesiod/Makefile: Likewise.
2843         * grp/Makefile: Likewise.
2844         * csu/Makefile: Likewise.
2845         * wctype/Makefile: Likewise.
2846         * crypt/Makefile: Likewise.
2847         * libio/Makefile: Likewise.
2848         * string/Makefile: Likewise.
2849         * nis/Makefile: Likewise.
2850         * resolv/Makefile: Likewise.
2851         * stdio-common/Makefile: Likewise.
2852         * wcsmbs/Makefile: Likewise.
2853         * dlfcn/Makefile: Likewise.
2854         * posix/Makefile: Likewise.
2855
2856         * timezone/Makefile: Don't install timezone files, just the programs
2857         and scripts.
2858
2859 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2860
2861         * nss/databases.def: Add missing gshadow entry.
2862
2863         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2864
2865 2012-03-06  Marek Polacek  <polacek@redhat.com>
2866
2867         [BZ #13726]
2868         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2869         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2870         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2871         * stdio-common/tst-long-dbl-fphex.c: New file.
2872
2873 2012-03-06  David S. Miller  <davem@davemloft.net>
2874
2875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2876         (set_obp_int): New function.
2877         (get_obp_int): New function.
2878         (__get_clockfreq_via_dev_openprom): Likewise.
2879         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2880         Avoid unused variable warnings on 'val' and use builtin_expect.
2881         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2882         __builtin_expect.
2883         (INLINE_CLONE_SYSCALL): Likewise.
2884
2885 2012-03-05  David S. Miller  <davem@davemloft.net>
2886
2887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2888
2889 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2890
2891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2892
2893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2894         only for |x| >= 40.
2895         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2896
2897 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2898
2899         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2900         Replace gettimeofday with __vdso_gettimeofday.
2901
2902         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2903         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2904         __vdso_clock_gettime and __vdso_getcpu.
2905
2906         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2907         time with __vdso_time.
2908
2909 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2910
2911         * manual/lang.texi (size_t): Note types to which size_t may be
2912         equivalent with the GNU C Library, but do not describe when
2913         differences between them are significant.
2914
2915 2012-03-05  Andreas Jaeger  <aj@suse.de>
2916
2917         * sysdeps/i386/fpu/libm-test-ulps: Update.
2918
2919 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2920
2921         [BZ #3976]
2922         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2923         (__ieee754_pow): Save and restore rounding mode and use
2924         round-to-nearest for main computations.
2925         * math/libm-test.inc (pow_test_tonearest): New function.
2926         (pow_test_towardzero): Likewise.
2927         (pow_test_downward): Likewise.
2928         (pow_test_upward): Likewise.
2929         (main): Call the new functions.
2930         * sysdeps/i386/fpu/libm-test-ulps: Update.
2931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2932
2933         [BZ #3976]
2934         * math/libm-test.inc (cosh_test_tonearest): New function.
2935         (cosh_test_towardzero): Likewise.
2936         (cosh_test_downward): Likewise.
2937         (cosh_test_upward): Likewise.
2938         (sinh_test_tonearest): Likewise.
2939         (sinh_test_towardzero): Likewise.
2940         (sinh_test_downward): Likewise.
2941         (sinh_test_upward): Likewise.
2942         (main): Call the new functions.
2943         * sysdeps/i386/fpu/libm-test-ulps: Update.
2944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2945
2946 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2947
2948         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2949         default stack guard is set in last bytes.
2950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2951
2952 2012-03-05  Kees Cook  <keescook@chromium.org>
2953
2954         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2955
2956         [BZ #13656]
2957         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2958         possibly allocate from heap instead of stack.
2959         * stdio-common/bug-vfprintf-nargs.c: New file.
2960         * stdio-common/Makefile (tests): Add nargs overflow test.
2961
2962 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2963
2964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2965
2966 2012-03-03  Marek Polacek  <polacek@redhat.com>
2967
2968         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2969         * math/math_private.h: Likewise.
2970         * stdlib/tst-strtod.c: Likewise.
2971         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2972         * sysdeps/x86_64/bits/atomic.h: Likewise.
2973
2974 2012-03-02  David S. Miller  <davem@davemloft.net>
2975
2976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2980         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2981         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2982         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2983         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2984
2985 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2986
2987         [BZ #13792]
2988         * manual/examples/README: New file, says the example source files
2989         can be used under GPL>=2.
2990         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2991         line containing just "*/".
2992         * manual/examples/add.c: Add copyright header (GPL>=2).
2993         * manual/examples/argp-ex1.c: Likewise.
2994         * manual/examples/argp-ex2.c: Likewise.
2995         * manual/examples/argp-ex3.c: Likewise.
2996         * manual/examples/argp-ex4.c: Likewise.
2997         * manual/examples/atexit.c: Likewise.
2998         * manual/examples/db.c: Likewise.
2999         * manual/examples/dir.c: Likewise.
3000         * manual/examples/dir2.c: Likewise.
3001         * manual/examples/execinfo.c: Likewise.
3002         * manual/examples/filecli.c: Likewise.
3003         * manual/examples/filesrv.c: Likewise.
3004         * manual/examples/fmtmsgexpl.c: Likewise.
3005         * manual/examples/genpass.c: Likewise.
3006         * manual/examples/inetcli.c: Likewise.
3007         * manual/examples/inetsrv.c: Likewise.
3008         * manual/examples/isockad.c: Likewise.
3009         * manual/examples/longopt.c: Likewise.
3010         * manual/examples/memopen.c: Likewise.
3011         * manual/examples/memstrm.c: Likewise.
3012         * manual/examples/mkfsock.c: Likewise.
3013         * manual/examples/mkisock.c: Likewise.
3014         * manual/examples/mygetpass.c: Likewise.
3015         * manual/examples/pipe.c: Likewise.
3016         * manual/examples/popen.c: Likewise.
3017         * manual/examples/rprintf.c: Likewise.
3018         * manual/examples/search.c: Likewise.
3019         * manual/examples/select.c: Likewise.
3020         * manual/examples/setjmp.c: Likewise.
3021         * manual/examples/sigh1.c: Likewise.
3022         * manual/examples/sigusr.c: Likewise.
3023         * manual/examples/stpcpy.c: Likewise.
3024         * manual/examples/strdupa.c: Likewise.
3025         * manual/examples/strftim.c: Likewise.
3026         * manual/examples/strncat.c: Likewise.
3027         * manual/examples/subopt.c: Likewise.
3028         * manual/examples/swapcontext.c: Likewise.
3029         * manual/examples/termios.c: Likewise.
3030         * manual/examples/testopt.c: Likewise.
3031         * manual/examples/testpass.c: Likewise.
3032         * manual/examples/timeval_subtract.c: Likewise.
3033
3034         [BZ #13792]
3035         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3036         function to ...
3037         * manual/timeval_subtract.c.texi: ... here, new file.
3038
3039 2012-03-02  David S. Miller  <davem@davemloft.net>
3040
3041         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3042
3043 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3044
3045         [BZ #3976]
3046         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3047         (__sin): Save and restore rounding mode and use round-to-nearest
3048         for all computations.
3049         (__cos): Save and restore rounding mode and use round-to-nearest
3050         for all computations.
3051         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3052         <fenv.h>.
3053         (tan): Save and restore rounding mode and use round-to-nearest for
3054         all computations.
3055         * math/libm-test.inc (cos_test_tonearest): New function.
3056         (cos_test_towardzero): Likewise.
3057         (cos_test_downward): Likewise.
3058         (cos_test_upward): Likewise.
3059         (sin_test_tonearest): Likewise.
3060         (sin_test_towardzero): Likewise.
3061         (sin_test_downward): Likewise.
3062         (sin_test_upward): Likewise.
3063         (tan_test_tonearest): Likewise.
3064         (tan_test_towardzero): Likewise.
3065         (tan_test_downward): Likewise.
3066         (tan_test_upward): Likewise.
3067         (main): Call the new functions.
3068         * sysdeps/i386/fpu/libm-test-ulps: Update.
3069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3070
3071         [BZ #10135]
3072         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3073         small n, then large n, before computing and testing k+n.
3074         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3076         Likewise.
3077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3078         Likewise.
3079         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3080         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3082         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3086         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3087         * math/libm-test.inc (scalbn_test): Add more tests.
3088         (scalbln_test): Likewise.
3089
3090         * manual/filesys.texi (mode_t): Describe constraints on size and
3091         signedness, not exact equivalence to a particular type.
3092         (ino_t): Likewise.
3093         (ino64_t): Likewise.
3094         (dev_t): Likewise.
3095         (nlink_t): Likewise.
3096         (blkcnt_t): Likewise.
3097         (blkcnt64_t): Likewise.
3098         * manual/llio.texi (off_t): Likewise.
3099
3100         [BZ #3976]
3101         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3102         (__ieee754_exp): Save and restore rounding mode and use
3103         round-to-nearest for all computations.
3104         * math/libm-test.inc (exp_test_tonearest): New function.
3105         (exp_test_towardzero): Likewise.
3106         (exp_test_downward): Likewise.
3107         (exp_test_upward): Likewise.
3108         (main): Call the new functions.
3109         * sysdeps/i386/fpu/libm-test-ulps: Update.
3110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3111
3112 2012-03-01  Chris Demetriou  <cgd@google.com>
3113
3114         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3115         have predictable order.
3116
3117 2012-03-01  David S. Miller  <davem@davemloft.net>
3118
3119         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3120
3121         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3122         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3123         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3124         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3125
3126         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3127         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3128         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3130         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3131         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3132         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3133         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3134         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3135
3136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3137
3138         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3139         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3140         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3141
3142         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3143         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3144         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3145         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3146         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3147         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3148         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3149         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3150         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3151         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3152         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3153         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3155         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3156         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3158         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3159         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3160         * sysdeps/sparc/elf/configure: Regenerated.
3161
3162 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3163
3164         * configure.in (AS, LD): Require binutils 2.20 or later.
3165         * configure: Regenerated.
3166         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3167         as required minimum version.
3168         * INSTALL: Regenerated.
3169
3170         [BZ #2541]
3171         [BZ #4108]
3172         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3173         before squaring exponent.
3174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3175         bottom long double and 27 bits of top long double before squaring
3176         exponent.
3177         * math/libm-test.inc (erfc_test): Add more tests.
3178         * sysdeps/i386/fpu/libm-test-ulps: Update.
3179         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3181
3182 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3183
3184         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3185         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3186         containing bit-fields.
3187         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3188         * soft-fp/single.h (_FP_UNION_S): Likewise.
3189         * soft-fp/double.h (_FP_UNION_D): Likewise.
3190
3191 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3192
3193         [BZ #13786]
3194         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3195         not include ../strcmp.S.
3196         [USE_AS_STRNCASECMP_L]: Likewise.
3197         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3198         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3199         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3200         (__strncasecmp_l_ia32): Define as alias to
3201         __strncasecmp_l_nonascii.
3202
3203         [BZ #5794]
3204         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3205         * sysdeps/i386/fpu/libm-test-ulps: Update.
3206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207
3208         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3210
3211 2012-02-29  Jeff Law  <law@redhat.com>
3212
3213         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3214         out of bounds read.
3215
3216 2012-02-29  Marek Polacek  <polacek@redhat.com>
3217
3218         [BZ #13706]
3219         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3220         * elf/Makefile: Add rules to run tst-unused-dep.out.
3221
3222 2012-02-28  David S. Miller  <davem@davemloft.net>
3223
3224         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3225         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3228         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3229         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3230
3231 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3232
3233         * math/libm-test.inc (llround_test): Move one test from
3234         lround_test.  Use TEST_f_L in moved test.
3235         (lround_test): Move misplaced test to llround_test.  Add testcase
3236         from bug 2561.
3237
3238 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3239
3240         * sysdeps/x86_64/fpu/e_expf.S: New file.
3241         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3242
3243 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3244
3245         [BZ #13637]
3246         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3247         of remain_len that may cause incomplete multi-byte character and
3248         false match.
3249         * posix/bug-regex33.c: New file.
3250         * posix/Makefile (tests): Add bug-regex33.
3251
3252 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3253
3254         * manual/macros.texi: New file.
3255         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3256         * manual/libc.texinfo: Include macros.texi.
3257         * manual/creatute.texi: Likewise.
3258         * manual/install.texi: Likewise.
3259         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3260         @glibcadj{} in references to the GNU C Library.
3261         * manual/charset.texi: Likewise.
3262         * manual/conf.texi: Likewise.
3263         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3264         when not using those macros.
3265         * manual/creature.texi: Likewise.
3266         * manual/crypt.texi: Likewise.
3267         * manual/errno.texi: Likewise.
3268         * manual/filesys.texi: Likewise.
3269         * manual/header.texi: Likewise.
3270         * manual/install.texi: Likewise.
3271         * manual/intro.texi: Likewise.
3272         * manual/io.texi: Likewise.
3273         * manual/job.texi: Likewise.
3274         * manual/lang.texi: Likewise.
3275         * manual/libc.texiinfo: Likewise.
3276         * manual/llio.texi: Likewise.
3277         * manual/locale.texi: Likewise.
3278         * manual/maint.texi: Likewise.
3279         * manual/math.texi: Likewise.
3280         * manual/memory.texi: Likewise.
3281         * manual/message.texi: Likewise.
3282         * manual/nss.texi: Likewise.
3283         * manual/pattern.texi: Likewise.
3284         * manual/process.texi: Likewise.
3285         * manual/resource.texi: Likewise.
3286         * manual/search.texi: Likewise.
3287         * manual/setjmp.texi: Likewise.
3288         * manual/signal.texi: Likewise.
3289         * manual/socket.texi: Likewise.
3290         * manual/startup.texi: Likewise.
3291         * manual/stdio.texi: Likewise.
3292         * manual/string.texi: Likewise.
3293         * manual/sysinfo.texi: Likewise.
3294         * manual/syslog.texi: Likewise.
3295         * manual/terminal.texi: Likewise.
3296         * manual/time.texi: Likewise.
3297         * manual/users.texi: Likewise.
3298         * INSTALL: Regenerated.
3299         * NOTES: Regenerated.
3300         * sysdeps/gnu/errlist.c: Regenerated.
3301
3302 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3303
3304         * include/dirent.h: Include <dirstream.h> before
3305         <dirent/dirent.h>.
3306
3307 2012-02-28  David S. Miller  <davem@davemloft.net>
3308
3309         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3310         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3311         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3312         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3313
3314 2012-02-27  David S. Miller  <davem@davemloft.net>
3315
3316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3318         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3319         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3320
3321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3322         frame pointer instead of stack pointer relative arg slot.
3323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3324         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3325         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3326
3327 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3328
3329         [BZ #3992]
3330         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3331
3332 2012-02-27  David S. Miller  <davem@davemloft.net>
3333
3334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3338         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3339         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3340         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3341         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3342
3343 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3344
3345         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3346         later.  Allow versions 5-9.
3347         * configure: Regenerated.
3348         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3349         required minimum version and 4.6 as recommended version.  Do not
3350         mention bugs in GCC 2.7 and 2.8.
3351         * INSTALL: Regenerated.
3352
3353 2012-02-27  David S. Miller  <davem@davemloft.net>
3354
3355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3359         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3360         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3361         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3362         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3363
3364         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3365         manipulate bits before adding and subtracting TWO112[sx].
3366         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3367
3368 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3369
3370         [BZ #13775]
3371         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3372         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3373         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3374         being in POSIX, because they are in 1003.1-2008.
3375
3376         * rt/tst-aio.c: Include <fcntl.h>.
3377         * rt/tst-aio7.c: Likewise.
3378         * rt/tst-aio64.c: Likewise.
3379
3380         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3381
3382 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3383
3384         * manual/install.texi (--with-headers): Describe headers as
3385         interface headers, not private headers.
3386         (Specific advice for GNU/Linux systems): Describe use of headers
3387         from "make headers_install", not private headers from older
3388         kernels.
3389         * INSTALL: Regenerated.
3390         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3391         Change to 2.6.19.
3392         * sysdeps/unix/sysv/linux/configure: Regenerated.
3393
3394         * manual/llio.texi (fclean): Remove documentation.
3395
3396         * manual/Makefile (libc-texi-generated): New variable.  Include
3397         version.texi.
3398         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3399         $(libc-texi-generated), not duplicated list of files.
3400         (version.texi, stamp-version): New rules.
3401         (realclean): Remove $(libc-texi-generated), not individual files
3402         from that list.  Do not remove dir-add.texinfo.
3403         * manual/libc.texinfo: Comment out uses of edition numbers and
3404         references to printed manual.  Remove last-updated dates.
3405         (EDITION): Comment out.
3406         (ISBN): Likewise.
3407         (VERSION, UPDATED): Remove.
3408         (version.texi): Include.
3409
3410 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3411
3412         * sysdeps/posix/spawni.c: Include <signal.h>.
3413         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3414         * sysdeps/pthread/aio_fsync.c: Likewise.
3415
3416 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3417
3418         * conform/Makefile (tests): Run only when not cross-compiling and
3419         when fast-check is not defined.
3420
3421         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3422         * conform/data/limits.h-data: Fixes for POSIX2008.
3423         * conform/run-conformtest.sh: Run all tests.
3424         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3425         headers.
3426         * include/bits/dlfcn.h: Likewise.
3427         * include/langinfo.h: Likewise.
3428         * include/monetary.h: Likewise.
3429         * include/sys/poll.h: Likewise.
3430
3431         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3432         for __USE_GNU.
3433         * posix/spawn.h: Define __need_sigset_t.
3434         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3435         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3436         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3437         to get sigevent_t only.
3438         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3439         only for __USE_GNU.
3440         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3441         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3442         process_vm_writev only for __USE_GNU.
3443         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3444
3445         * conform/Makefile: For now ignore errors from run-conformtest.
3446         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3447         POSIX to avoid namespace pollution.  Don't prepend headers.
3448         * conform/data/aio.h-data: Fixes for POSIX testing.
3449         * conform/data/fcntl.h-data: Likewise.
3450         * conform/data/glob.h-data: Likewise.
3451         * conform/data/grp.h-data: Likewise.
3452         * conform/data/pthread.h-data: Likewise.
3453         * conform/data/pwd.h-data: Likewise.
3454         * conform/data/signal.h-data: Likewise.
3455         * conform/data/spawn.h-data: Likewise.
3456         * conform/data/stdio.h-data: Likewise.
3457         * conform/data/stdlib.h-data: Likewise.
3458         * conform/data/stropts.h-data: Likewise.
3459         * conform/data/sys/mman.h-data: Likewise.
3460         * conform/data/sys/stat.h-data: Likewise.
3461         * conform/data/sys/types.h-data: Likewise.
3462         * conform/data/sys/wait.h-data: Likewise.
3463         * conform/data/time.h-data: Likewise.
3464         * conform/data/unistd.h-data: Likewise.
3465         * conform/data/utime.h-data: Likewise.
3466
3467         * io/sys/stat.h: fchmod was always in POSIX.
3468         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3469         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3470         * rt/aio.h: Define __need_timespec before including <time.h>.
3471         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3472         struct.  Add forward declaration of pthread_attr_t and use it in
3473         sigevent.
3474         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3475         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3476         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3477         always remove CLK_TCK definition.
3478
3479 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3480
3481         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3482
3483 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3484
3485         * conform/run-conformtest.sh: New file.
3486         * conform/Makefile: Run run-conformtest for tests.
3487         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3488         support.
3489
3490         * conform/data/uchar.h-data: New file.
3491         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3492         * conform/data/arpa/inet.h-data: Likewise.
3493         * conform/data/assert.h-data: Likewise.
3494         * conform/data/complex.h-data: Likewise.
3495         * conform/data/cpio.h-data: Likewise.
3496         * conform/data/ctype.h-data: Likewise.
3497         * conform/data/dirent.h-data: Likewise.
3498         * conform/data/dlfcn.h-data: Likewise.
3499         * conform/data/errno.h-data: Likewise.
3500         * conform/data/fcntl.h-data: Likewise.
3501         * conform/data/float.h-data: Likewise.
3502         * conform/data/fmtmsg.h-data: Likewise.
3503         * conform/data/fnmatch.h-data: Likewise.
3504         * conform/data/ftw.h-data: Likewise.
3505         * conform/data/glob.h-data: Likewise.
3506         * conform/data/grp.h-data: Likewise.
3507         * conform/data/iconv.h-data: Likewise.
3508         * conform/data/inttypes.h-data: Likewise.
3509         * conform/data/langinfo.h-data: Likewise.
3510         * conform/data/libgen.h-data: Likewise.
3511         * conform/data/limits.h-data: Likewise.
3512         * conform/data/locale.h-data: Likewise.
3513         * conform/data/math.h-data: Likewise.
3514         * conform/data/monetary.h-data: Likewise.
3515         * conform/data/mqueue.h-data: Likewise.
3516         * conform/data/ndbm.h-data: Likewise.
3517         * conform/data/net/if.h-data: Likewise.
3518         * conform/data/netdb.h-data: Likewise.
3519         * conform/data/netinet/in.h-data: Likewise.
3520         * conform/data/nl_types.h-data: Likewise.
3521         * conform/data/poll.h-data: Likewise.
3522         * conform/data/pthread.h-data: Likewise.
3523         * conform/data/pwd.h-data: Likewise.
3524         * conform/data/regex.h-data: Likewise.
3525         * conform/data/sched.h-data: Likewise.
3526         * conform/data/search.h-data: Likewise.
3527         * conform/data/semaphore.h-data: Likewise.
3528         * conform/data/setjmp.h-data: Likewise.
3529         * conform/data/signal.h-data: Likewise.
3530         * conform/data/spawn.h-data: Likewise.
3531         * conform/data/stdarg.h-data: Likewise.
3532         * conform/data/stdio.h-data: Likewise.
3533         * conform/data/stdlib.h-data: Likewise.
3534         * conform/data/string.h-data: Likewise.
3535         * conform/data/strings.h-data: Likewise.
3536         * conform/data/stropts.h-data: Likewise.
3537         * conform/data/sys/ipc.h-data: Likewise.
3538         * conform/data/sys/mman.h-data: Likewise.
3539         * conform/data/sys/msg.h-data: Likewise.
3540         * conform/data/sys/resource.h-data: Likewise.
3541         * conform/data/sys/select.h-data: Likewise.
3542         * conform/data/sys/sem.h-data: Likewise.
3543         * conform/data/sys/shm.h-data: Likewise.
3544         * conform/data/sys/socket.h-data: Likewise.
3545         * conform/data/sys/stat.h-data: Likewise.
3546         * conform/data/sys/statvfs.h-data: Likewise.
3547         * conform/data/sys/time.h-data: Likewise.
3548         * conform/data/sys/timeb.h-data: Likewise.
3549         * conform/data/sys/times.h-data: Likewise.
3550         * conform/data/sys/types.h-data: Likewise.
3551         * conform/data/sys/uio.h-data: Likewise.
3552         * conform/data/sys/un.h-data: Likewise.
3553         * conform/data/sys/utsname.h-data: Likewise.
3554         * conform/data/sys/wait.h-data: Likewise.
3555         * conform/data/syslog.h-data: Likewise.
3556         * conform/data/tar.h-data: Likewise.
3557         * conform/data/termios.h-data: Likewise.
3558         * conform/data/utime.h-data: Likewise.
3559         * conform/data/utmpx.h-data: Likewise.
3560         * conform/data/varargs.h-data: Likewise.
3561         * conform/data/wchar.h-data: Likewise.
3562         * conform/data/wctype.h-data: Likewise.
3563         * conform/data/wordexp.h-data: Likewise.
3564
3565         * include/stropts.h: New file.
3566         * include/uchar.h: New file.
3567         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3568         * include/assert.h: Likewise.
3569         * include/ctype.h: Likewise.
3570         * include/dirent.h: Likewise.
3571         * include/dlfcn.h: Likewise.
3572         * include/fcntl.h: Likewise.
3573         * include/fnmatch.h: Likewise.
3574         * include/glob.h: Likewise.
3575         * include/grp.h: Likewise.
3576         * include/libio.h: Likewise.
3577         * include/locale.h: Likewise.
3578         * include/math.h: Likewise.
3579         * include/net/if.h: Likewise.
3580         * include/netdb.h: Likewise.
3581         * include/netinet/in.h: Likewise.
3582         * include/pthread.h: Likewise.
3583         * include/pwd.h: Likewise.
3584         * include/regex.h: Likewise.
3585         * include/sched.h: Likewise.
3586         * include/search.h: Likewise.
3587         * include/setjmp.h: Likewise.
3588         * include/signal.h: Likewise.
3589         * include/stdio.h: Likewise.
3590         * include/stdlib.h: Likewise.
3591         * include/string.h: Likewise.
3592         * include/sys/cdefs.h: Likewise.
3593         * include/sys/mman.h: Likewise.
3594         * include/sys/msg.h: Likewise.
3595         * include/sys/resource.h: Likewise.
3596         * include/sys/select.h: Likewise.
3597         * include/sys/socket.h: Likewise.
3598         * include/sys/stat.h: Likewise.
3599         * include/sys/statvfs.h: Likewise.
3600         * include/sys/time.h: Likewise.
3601         * include/sys/times.h: Likewise.
3602         * include/sys/uio.h: Likewise.
3603         * include/sys/utsname.h: Likewise.
3604         * include/sys/wait.h: Likewise.
3605         * include/termios.h: Likewise.
3606         * include/time.h: Likewise.
3607         * include/ulimit.h: Likewise.
3608         * include/unistd.h: Likewise.
3609         * include/utime.h: Likewise.
3610         * include/wchar.h: Likewise.
3611         * include/wctype.h: Likewise.
3612         * include/wordexp.h: Likewise.
3613
3614         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3615
3616         * time/time.h: TIME_UTC must be a macro.
3617         Make timespec_get available for ISO C11 only as well.
3618
3619 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3620
3621         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3622         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3623
3624 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3625
3626         * configure.in: Use -o not -a in test for unsupported multi-arch.
3627
3628 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3629
3630         * manual/texinfo.tex: Update to version 2012-01-19.16.
3631
3632 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3633
3634         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3635
3636 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3637
3638         [BZ #13738]
3639         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3640         * manual/fdl-1.3.texi: New file.
3641         * manual/fdl-1.1.texi: File removed.
3642
3643         [BZ #13738]
3644         * manual/libc.texinfo (FDL_VERSION): New @set.
3645         Use it for mention of FDL in cover text.
3646         (Documentation License): Use it in @include file name.
3647
3648 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3649             Roland McGrath  <roland@hack.frob.com>
3650
3651         [BZ #5461]
3652         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3653         not LONG_LONG_MAX and LONG_LONG_MIN.
3654         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3655         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3656         name.
3657         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3658
3659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3660
3661         [BZ #2547]
3662         [BZ #11365]
3663         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3664         manipulate bits before adding and subtracting TWO23[sx].
3665         * math/libm-test.inc (nearbyint_test): Add more tests.
3666
3667 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3668
3669         [BZ #2548]
3670         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3671         bits before adding and subtracting TWO23[sx].
3672         * math/libm-test.inc (rint_test): Add more tests.
3673         (rint_test_tonearest): Likewise.
3674         (rint_test_towardzero): Likewise.
3675         (rint_test_downward): Likewise.
3676         (rint_test_upward: Likewise.
3677
3678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3679
3680         [BZ #10110]
3681         * include/stdc-predef.h: New file.  Extracted from features.h.
3682         * include/features.h: Include stdc-predef.h.
3683         * Makefile (headers): Add stdc-predef.h.
3684         * CONFORMANCE (Compiler limitations): Update.
3685
3686 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3687
3688         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3689
3690 2012-02-21  David S. Miller  <davem@davemloft.net>
3691
3692         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3693         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3694
3695 2012-02-20  David S. Miller  <davem@davemloft.net>
3696
3697         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3698         using a normal save/restore sequence, rather than allocating a
3699         dummy stack frame just to store a frame pointer and restore.
3700         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3701
3702 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3703
3704         * manual/install.texi: Fix stray word in line-wrapped comment.
3705
3706 2012-02-20  David S. Miller  <davem@davemloft.net>
3707
3708         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3709         both binutils and gcc support GOTDATA.
3710
3711         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3712         "rd %pc" in the PIC register setup sequences.
3713
3714         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3715         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3716         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3717         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3718         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3719         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3720         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3721         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3723         (SYSCALL_ERROR_HANDLER): Likewise.
3724         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3725         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3726         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3727         (SYSCALL_ERROR_HANDLER): Likewise.
3728
3729         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3730         (HAVE_GCC_GOTDATA): New.
3731         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3732         relocation support in both binutils and gcc.
3733         * sysdeps/sparc/elf/configure: Regenerate.
3734
3735         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3736         * sysdeps/sparc/sparc32/elf/configure: Delete.
3737         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3738         * sysdeps/sparc/sparc64/elf/configure: Delete.
3739         * sysdeps/sparc/elf/configure.in: New file.
3740         * sysdeps/sparc/elf/configure: Generate.
3741
3742         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3743         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3744         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3745         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3746         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3747
3748 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3749
3750         * manual/install.texi: Do not mention specific glibc version
3751         numbers.
3752         * manual/libc.texinfo (VERSION, UPDATED): Update.
3753         (@copying): Use @copyright{} and range of years.
3754
3755 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3756
3757         [BZ #13695]
3758         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3759         [crti.S not in sysdirs] (generated): Do not append.
3760         [crti.S not in sysdirs] (omit-deps): Likewise.
3761         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3762         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3763         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3764         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3765         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3766         Likewise.
3767         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3768         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3769         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3770         * csu/defs.awk: Remove file.
3771         * sysdeps/generic/initfini.c: Likewise.
3772         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3773         variable.
3774         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3775         Likewise.
3776
3777 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3778
3779         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3780         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3781         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3782         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3783         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3784         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3785         <bits/epoll.h>.
3786         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3787         (__EPOLL_PACKED): Define to empty if not defined by
3788         <bits/epoll.h>.
3789         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3791         bits/epoll.h.
3792
3793 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3794
3795         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3796         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3798         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3799         <bits/timerfd.h>.
3800         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3802         bits/timerfd.h.
3803
3804 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3805
3806         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3807         in C locale.
3808         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3809         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3810         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812
3813 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3814
3815         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3816         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3817
3818 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3819
3820         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3821         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3822         defined.
3823         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3824         Likewise.
3825         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3826         entry for 2.16.
3827
3828 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3829
3830         * math/w_acos.c: Use non-signaling floating-point comparisons.
3831         * math/w_acosf.c: Likewise.
3832         * math/w_acosh.c: Likewise.
3833         * math/w_acoshf.c: Likewise.
3834         * math/w_acoshl.c: Likewise.
3835         * math/w_acosl.c: Likewise.
3836         * math/w_asin.c: Likewise.
3837         * math/w_asinf.c: Likewise.
3838         * math/w_asinl.c: Likewise.
3839         * math/w_atanh.c: Likewise.
3840         * math/w_atanhf.c: Likewise.
3841         * math/w_atanhl.c: Likewise.
3842         * math/w_exp2.c: Likewise.
3843         * math/w_exp2f.c: Likewise.
3844         * math/w_exp2l.c: Likewise.
3845         * math/w_j0.c: Likewise.
3846         * math/w_j0f.c: Likewise.
3847         * math/w_j0l.c: Likewise.
3848         * math/w_j1.c: Likewise.
3849         * math/w_j1f.c: Likewise.
3850         * math/w_j1l.c: Likewise.
3851         * math/w_jn.c: Likewise.
3852         * math/w_jnf.c: Likewise.
3853         * math/w_log.c: Likewise.
3854         * math/w_log10.c: Likewise.
3855         * math/w_log10f.c: Likewise.
3856         * math/w_log10l.c: Likewise.
3857         * math/w_log2.c: Likewise.
3858         * math/w_log2f.c: Likewise.
3859         * math/w_log2l.c: Likewise.
3860         * math/w_logf.c: Likewise.
3861         * math/w_logl.c: Likewise.
3862         * math/w_sqrt.c: Likewise.
3863         * math/w_sqrtf.c: Likewise.
3864         * math/w_sqrtl.c: Likewise.
3865         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3866         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3867         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3868         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3869         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3870
3871 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3872
3873         [BZ #9739]
3874         * manual/string.texi (strnlen): Use correct parameter name in
3875         equivalent expression.
3876
3877 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3878
3879         [BZ #11174]
3880         * manual/users.texi (seteuid): Consistently use neweuid for
3881         argument name.
3882
3883 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3884
3885         [BZ #13704]
3886         * manual/nss.texi (Services in the NSS configuration): Correct
3887         list of services in example configuration file.
3888
3889 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3890
3891         [BZ #11322]
3892         * manual/arith.texi: Remove statements about negative zero
3893         behaving identically to zero.
3894
3895 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3896
3897         [BZ #5993]
3898         * manual/install.texi: Do not document upgrading from libc5.
3899
3900 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3901
3902         [BZ #4596]
3903         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3904
3905 2012-02-18  David S. Miller  <davem@davemloft.net>
3906
3907         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3908         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3909         %o7 across the call.
3910         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3911         instead.
3912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3913         SETUP_PIC_REG_LEAF.
3914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3915         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3916         * sysdeps/sparc/crtn.S: Likewise.
3917
3918 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3919
3920         * aout/Makefile: Remove.
3921
3922 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3923
3924         [BZ #13058]
3925         * manual/examples/argp-ex1.c (main): Format definition in GNU
3926         style.
3927         * manual/examples/argp-ex2.c (main): Likewise.
3928         * manual/examples/argp-ex3.c (main): Likewise.
3929         * manual/examples/argp-ex4.c (main): Likewise.
3930         * manual/examples/longopt.c (main): Use new-style prototype
3931         definition.
3932         * manual/examples/strncat.c (main): Specify return type and use
3933         (void) for arguments.
3934         * manual/examples/subopt.c (main): Use char **argv argument.
3935
3936 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3937
3938         [BZ #5077]
3939         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3940         rounding modes.
3941
3942 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3943
3944         [BZ #6907]
3945         * manual/string.texi (strchr): Change when strchrnul is
3946         recommended.
3947
3948 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3949
3950         [BZ #174]
3951         * manual/locale.texi (setlocale): Document LOCPATH.
3952
3953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3954
3955         [BZ #10210]
3956         * manual/process.texi (execle): Move @dots{} before last argument.
3957
3958 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3959
3960         [BZ #12047]
3961         * manual/charset.texi (Generic Charset Conversion): Fix typo
3962         (LC_TYPE -> LC_CTYPE).
3963
3964 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3965
3966         [BZ #5805]
3967         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3968         (scalbnf): Likewise.
3969         (scalbnl): Likewise.
3970         (scalbln): Likewise.
3971         (scalblnf): Likewise.
3972         (scalblnl): Likewise.
3973         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3974         (vwarnx): Likewise.
3975         (verr): Likewise.
3976         (verrx): Likewise.
3977         * manual/filesys.texi (telldir): Use braces around return type.
3978         * manual/llio.texi (mmap): Add space after comma.
3979         (mmap64): Likewise.
3980         * manual/math.texi (jn): Use @var{} on parameter names.
3981         (jnf): Likewise.
3982         (jnl): Likewise.
3983         (yn): Likewise.
3984         (ynf): Likewise.
3985         (ynl): Likewise.
3986         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3987         line.
3988         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3989         "...".
3990         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3991         (sched_get_priority_max): Likewise.
3992         * manual/signal.texi (sigvec): Add space after comma.
3993         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3994         names.
3995         (if_indextoname): Likewise.
3996         (if_freenameindex): Likewise.
3997         (sendto): Use ',' instead of '.' in prototype.
3998         * manual/startup.texi (syscall): Use @dots{} instead of literal
3999         "...".
4000         * manual/stdio.texi (__fpending): Separate initial words of
4001         paragraph from @deftypefun line.
4002         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4003         "...".
4004         (vsyslog): Use @var{} on parameter names.
4005         * manual/terminal.texi (stty): Use @var{} on parameter names.
4006         * manual/users.texi (getutmp): Use @var{} on parameter names.
4007         (getutmpx): Likewise.
4008
4009 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4010
4011         [BZ #6884]
4012         * manual/stdio.texi (fopen): Fix typos in description of
4013         ",ccs=STRING".
4014
4015 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4016
4017         [BZ #4026]
4018         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4019         get clock_id definition.
4020
4021 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4022
4023         [BZ #4822]
4024         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4025         (madvise): Cast every argument to void on its own.
4026
4027 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4028
4029         [BZ #9902]
4030         * manual/startup.texi (Exit Status): Fix typo.
4031
4032 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4033
4034         [BZ #10140]
4035         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4036         * manual/examples/argp-ex2.c: Likewise.
4037         * manual/examples/argp-ex3.c: Likewise.
4038
4039 2012-02-16  Richard Henderson  <rth@redhat.com>
4040
4041         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4042         * sysdeps/s390/s390-32/initfini.c: Remove.
4043         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4044         * sysdeps/s390/s390-64/initfini.c: Remove.
4045
4046 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4047
4048         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4049         compiler output for sysdeps/generic/initfini.c.
4050         * sysdeps/sh/elf/initfini.c: Remove file.
4051
4052 2012-02-16  David S. Miller  <davem@davemloft.net>
4053
4054         [BZ #11494]
4055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4056
4057         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4058         * sysdeps/sparc/crti.S: New file.
4059         * sysdeps/sparc/crtn.S: New file.
4060         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4061         * sysdeps/sparc/sparc64/Makefile: Likewise.
4062
4063 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4064
4065         [BZ #3335]
4066         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4067
4068 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4069
4070         [BZ #4822]
4071         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4072
4073         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4074         (write, read, close): Likewise.
4075         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4076
4077 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4078
4079         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4080         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4081         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4082         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4083         <bits/signalfd.h>.
4084         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4086         bits/signalfd.h.
4087
4088 2012-02-14  Marek Polacek  <polacek@redhat.com>
4089
4090         * sysdeps/x86_64/crti.S: New file.
4091         * sysdeps/x86_64/crtn.S: New file.
4092         * sysdeps/x86_64/elf/initfini.c: Remove file.
4093
4094 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4095
4096         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4097         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4098         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4099         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4100         <bits/inotify.h>.
4101         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4103         bits/inotify.h.
4104
4105 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4106
4107         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4108         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4109         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4110         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4111         <bits/eventfd.h>.
4112         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4114         bits/eventfd.h.
4115
4116 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4117
4118         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4119         __feraiseexcept instead of feraiseexcept.
4120
4121         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4122         nanosleep invocations.
4123         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4124         strings, and add error checking for a nanosleep invocations.
4125
4126 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4127
4128         Replace FSF snail mail address with URLs, as per GNU coding standards.
4129         Most of the snail mail addresses were wrong anyway, and omitting
4130         them makes the source code easier to maintain.  Almost all of the
4131         changes are to license notices and to locale LC_IDENTIFICATION
4132         addresses, except for this one:
4133         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4134         not its snail mail address.
4135
4136 2012-02-09  Richard Henderson  <rth@twiddle.net>
4137
4138         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4139         of kernel-features.h.
4140
4141         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4142
4143 2012-02-08  Marek Polacek  <polacek@redhat.com>
4144
4145         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4146         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4147         * sysdeps/gnu/_G_config.h: Likewise.
4148         * sysdeps/generic/_G_config.h: Likewise.
4149
4150 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4151
4152         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4153         tests.
4154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155
4156         * sysdeps/powerpc/powerpc32/crti.S: New file.
4157         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4158         * sysdeps/powerpc/powerpc64/crti.S: New file.
4159         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4160
4161         * Makeconfig (have-initfini): Don't set.
4162         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4163         * configure.in (nopic_initfini): Don't substitute.
4164         * config.h.in (HAVE_INITFINI): Don't #undef.
4165         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4166         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4167
4168 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4169
4170         Support crti.S and crtn.S provided directly by architectures.
4171         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4172         [crti.S in sysdirs] (omit-deps): Likewise.
4173         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4174         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4175         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4176         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4177         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4178         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4179         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4180         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4181         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4182         compiler output for sysdeps/generic/initfini.c.
4183         * sysdeps/i386/elf/Makefile: Remove file.
4184         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4185
4186 2012-02-07  Marek Polacek  <polacek@redhat.com>
4187
4188         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4189         * sysdeps/gnu/_G_config.h: Likewise.
4190         * sysdeps/mach/hurd/_G_config.h: Likewise.
4191
4192 2012-02-07  Marek Polacek  <polacek@redhat.com>
4193
4194         * math/Makefile (tests): Add tst-CMPLX2.
4195         * math/tst-CMPLX2.c: New file.
4196
4197 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4198
4199         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4200
4201         * math/libm-test.inc (jn_test): Add missing L suffix.
4202
4203 2012-02-06  Marek Polacek  <polacek@redhat.com>
4204
4205         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4206         * sysdeps/i386/fpu/e_powf.S: Likewise.
4207         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4208         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4209         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4210         * sysdeps/i386/fpu/e_pow.S: Likewise.
4211         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4212         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4213         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4214         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4215         * sysdeps/i386/fpu/e_log2.S: Likewise.
4216         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4217         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4218         * sysdeps/i386/fpu/e_powl.S: Likewise.
4219         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4220         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4221         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4222         * sysdeps/i386/fpu/e_logl.S: Likewise.
4223         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4224         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4225         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4226         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4227         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4228         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4229         * sysdeps/i386/fpu/e_log.S: Likewise.
4230         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4231         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4232         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4233         * sysdeps/i386/fpu/e_logf.S: Likewise.
4234         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4236         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4237         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4238         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4239         * sysdeps/i386/fpu/e_log10.S: Likewise.
4240         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4241         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4242         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4243         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4244         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4245         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4246         * sysdeps/i386/asm-syntax.h: Likewise.
4247         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4248         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4249         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4250         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4251         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4252         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4253         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4254         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4255         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4256         * sysdeps/powerpc/sysdep.h: Likewise.
4257         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4258         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4259
4260 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4261
4262         [BZ #411]
4263         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4264
4265 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4266
4267         * sysdeps/i386/sysdep.h: Include <features.h>.
4268         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4269         version.
4270
4271 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4272
4273         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4274         Define.
4275         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4276         LOAD_PIC_REG_STR.
4277
4278 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4279
4280         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4281         (SETUP_PIC_REG): Use GET_PC_THUNK.
4282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4283         macro.
4284
4285 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4286
4287         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4288         for non-PIC compilation.
4289         (SETUP_PIC_REG): Add .p2align directive.
4290         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4291         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4292         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4293         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4294         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4295         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4296         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4297         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4298         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4299         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4300         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4301         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4302         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4303         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4304         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4305         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4306         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4307         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4308         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4309         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4310         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4311         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4312         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4313         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4314         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4316         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4317         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4318         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4319         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4320         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4321         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4322         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4323         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4324         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4325         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4327         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4328         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4329         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4330         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4331
4332 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4333
4334         * math/tst-CMPLX.c: Include <stdio.h>.
4335
4336 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4337
4338         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4339         float.
4340         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4341         * sysdeps/sparc/bits/mathdef.h: Likewise.
4342
4343 2012-01-31  Marek Polacek  <polacek@redhat.com>
4344
4345         * libio/libio.h: Don't define _PARAMS.
4346         * locale/programs/config.h: Don't define PARAMS.
4347         * stdlib/strtol_l.c: Likewise.
4348         (__strtol_l): Remove PARAMS from the prototype.
4349
4350 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4351
4352         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4353         names.  Just use the correct names.  Remove unnecessary wrapper
4354         functions.
4355         * malloc/arena.c: Likewise.
4356         * malloc/hooks.c: Likewise.
4357
4358         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4359         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4360         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4361
4362 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4363
4364         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4365         into tail calls.
4366         (update_get_addr): New function.
4367         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4368         GET_ADDR_MODULE parameter.
4369
4370 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4371
4372         * crypt/cert.c: Remove __STDC__ conditionals.
4373         * crypt/crypt-entry.c: Likewise.
4374         * crypt/crypt_util.c: Likewise.
4375         * libio/filedoalloc.c: Likewise.
4376         * libio/fileops.c: Likewise.
4377         * libio/genops.c: Likewise.
4378         * libio/iofclose.c: Likewise.
4379         * libio/iofdopen.c: Likewise.
4380         * libio/iofopen.c: Likewise.
4381         * libio/iofopen64.c: Likewise.
4382         * libio/iogetdelim.c: Likewise.
4383         * libio/iopopen.c: Likewise.
4384         * libio/obprintf.c: Likewise.
4385         * libio/oldfileops.c: Likewise.
4386         * libio/oldiofclose.c: Likewise.
4387         * libio/oldiofdopen.c: Likewise.
4388         * libio/oldiofopen.c: Likewise.
4389         * libio/oldiopopen.c: Likewise.
4390         * libio/wfiledoalloc.c: Likewise.
4391         * libio/wgenops.c: Likewise.
4392         * locale/programs/xmalloc.c: Likewise.
4393         * misc/syslog.c: Likewise.
4394         * stdio-common/xbug.c: Likewise.
4395         * string/memchr.c: Likewise.
4396         * string/memcmp.c: Likewise.
4397         * string/memrchr.c: Likewise.
4398         * string/rawmemchr.c: Likewise.
4399         * sysdeps/posix/getcwd.c: Likewise.
4400         * time/strftime_l.c: Likewise.
4401
4402 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4403
4404         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4405         * config.make.in (config-cflags-sse2avx): Define.
4406         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4407         Fix typo.
4408
4409 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4410
4411         * scripts/config.guess: Update from upstream config git repository.
4412         * scripts/config.sub: Likewise.
4413
4414 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4415
4416         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4417         (EM_NUM): Update.
4418         (R_TILEPRO_*, R_TILEGX_*): New macros.
4419
4420         * scripts/firstversions.awk: Fix bug in version range handling.
4421
4422         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4423
4424         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4425
4426         * include/sys/epoll.h: New file.
4427         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4428         libc_hidden_def.
4429
4430 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4431
4432         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4433         Avoid unnecessary __WORDSIZE == 64 test.
4434         (fmaxf): Use VEX format if possible.
4435         (fmax): Likewise.
4436         (fminf): Likewise.
4437         (fmin): Likewise.
4438
4439         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4440         * math/math_private.h: Remove libc_fegetround* and
4441         libc_fesetround*.
4442         * sysdeps/i386/configure.in: Check for -msse2avx.
4443         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4444         also if SSE2AVX is defined.
4445         Remove libc_fegetround* and libc_fesetround*.
4446         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4447         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4449         of HAS_YMM_USABLE.
4450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4455
4456         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4457
4458 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4459
4460         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4461         size is not set.
4462         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4463
4464 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4465
4466         [BZ #13618]
4467         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4468         relocation.
4469         * Makeconfig (libm): Define.
4470         * elf/Makefile: Add rules to build and run tst-relsort1.
4471         * elf/tst-relsort1.c: New file.
4472         * elf/tst-relsort1mod1.c: New file.
4473         * elf/tst-relsort1mod2.c: New file.
4474
4475 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4476
4477         * math/s_ldexp.c: Remove __STDC__ conditionals.
4478         * math/s_ldexpf.c: Likewise.
4479         * math/s_ldexpl.c: Likewise.
4480         * math/s_nextafter.c: Likewise.
4481         * math/s_nexttowardf.c: Likewise.
4482         * math/s_significand.c: Likewise.
4483         * math/s_significandf.c: Likewise.
4484         * math/s_significandl.c: Likewise.
4485         * math/w_jnl.c: Likewise.
4486         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4487         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4488         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4489         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4490         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4492         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4493         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4495         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4496         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4498         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4499         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4500         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4501         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4502         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4503         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4505         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4506         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4507         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4508         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4509         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4510         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4511         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4513         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4514         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4515         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4516         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4517         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4518         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4519         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4520         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4521         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4522         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4523         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4524         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4525         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4526         * sysdeps/ieee754/k_standard.c: Likewise.
4527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4528         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4529         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4530         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4531         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4532         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4533         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4534         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4535         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4536         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4537         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4538         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4539         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4540         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4541         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4543         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4546         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4547         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4548         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4549         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4550         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4551         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4552         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4556         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4558         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4559         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4560         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4561         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4562         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4563         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4565         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4566         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4567         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4569         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4571         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4572         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4575         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4576         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4577         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4578         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4579         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4580         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4582         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4583         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4584         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4585         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4586         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4587         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4588         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4589         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4591         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4592         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4593         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4594         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4595         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4596         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4597         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4598         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4599         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4600         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4601         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4602         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4603         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4604         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4605         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4606         * sysdeps/ieee754/s_matherr.c: Likewise.
4607         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4608         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4609         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4611
4612 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4613
4614         * crypt/md5.h: Remove __STDC__ conditionals.
4615         * libio/libioP.h: Likewise.
4616         * locale/programs/config.h: Likewise.
4617         * sysdeps/generic/sysdep.h: Likewise.
4618         * sysdeps/i386/asm-syntax.h: Likewise.
4619         * sysdeps/s390/asm-syntax.h: Likewise.
4620         * sysdeps/unix/sysdep.h: Likewise.
4621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4623
4624 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4625
4626         * libio/libio.h: Remove __STDC__ conditionals.
4627         * malloc/obstack.h: Likewise.
4628         * math/complex.h: Likewise.
4629         * math/math.h: Likewise.
4630         * sysdeps/generic/_G_config.h: Likewise.
4631         * sysdeps/gnu/_G_config.h: Likewise.
4632         * sysdeps/mach/hurd/_G_config.h: Likewise.
4633         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4634         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4635         * sysdeps/sparc/bits/mathdef.h: Likewise.
4636
4637 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4638
4639         [BZ #13583]
4640         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4641         Clean up HAS_* macros.
4642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4643         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4644         possible.
4645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4646         HAS_AVX.
4647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4652
4653 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4654
4655         * elf/tst-unique3.cc (gets): Remove declaration.
4656         * elf/tst-unique3lib.cc (gets): Likewise.
4657         * elf/tst-unique3lib2.cc (gets): Likewise.
4658         * elf/tst-unique4.cc (gets): Likewise.
4659
4660 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4661
4662         * include/stdio.h: Add C++ protection.  Add gets declarations and
4663         definitions.
4664         * debug/tst-chk1.c: Don't declare gets here.
4665         * stdio-common/tst-gets.c: Likewise.
4666
4667 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4668
4669         * posix/glob: Remove directory.
4670
4671 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4672
4673         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4674
4675 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4676
4677         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4678         of the non-standard EPFNOSUPPORT.
4679
4680 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4681
4682         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4683         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4684         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4685
4686 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4687
4688         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4689
4690 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4691
4692         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4693         transient errors.
4694         * nscd/grpcache.c (cache_addgr): Likewise.
4695         * nscd/hstcache.c (cache_addhst): Likewise.
4696         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4697         * nscd/pwdcache.c (cache_addpw): Likewise.
4698         * nscd/servicescache.c (cache_addserv): Likewise.
4699
4700 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4701
4702         * malloc/malloc.c: Various cleanups.
4703         * malloc/hooks.c: Likewise.
4704
4705         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4706         * stdlib/bug-fmtmsg1.c: New file.
4707
4708         * stdlib/fmtmsg.c (init): Add missing unlock.
4709         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4710
4711 2012-01-12  Marek Polacek  <polacek@redhat.com>
4712
4713         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4714         and _GNU_SOURCE.
4715
4716 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4717
4718         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4719         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4720         macro to ensure uniqueness of label name.
4721         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4722         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4723
4724 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4725
4726         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4727
4728         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4729         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4730         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4731         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4732
4733 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4734
4735         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4736
4737         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4738         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4739         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4740
4741         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4742
4743         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4744         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4745         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4746         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4747
4748         * math/bits/math-finite.h: Add ldexp support.
4749
4750 2012-01-10  Marek Polacek  <polacek@redhat.com>
4751
4752         * locale/programs/localedef.h (show_archive_content): Add noreturn
4753         attribute.
4754
4755 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4756
4757         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4758
4759 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4760
4761         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4762
4763         * io/Makefile (headers): Add bits/poll2.h.
4764
4765 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4766
4767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4768         typo #include statement.
4769
4770 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4771
4772         * include/sys/cdefs.h: Define __attribute_alloc_size.
4773         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4774         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4775         * elf/pldd.c: Likewise.
4776         * iconv/iconv_charmap.c: Likewise.
4777         * iconv/iconvconfig.c: Likewise.
4778         * iconv/strtab.c: Likewise.
4779         * locale/programs/locale.c: Likewise.
4780         * locale/programs/localedef.h: Likewise.
4781         * locale/programs/simple-hash.c: Likewise.
4782         * nscd/nscd.h: Likewise.
4783         * nss/makedb.c: Likewise.
4784         * sysdeps/generic/ldconfig.h: Likewise.
4785         * locale/programs/localedef.c: Remove xmalloc prototype.
4786         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4787
4788 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4789
4790         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4791         appropriate.
4792
4793 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4794
4795         * math/Makefile (tests): Add tst-CMPLX.
4796         * math/tst-CMPLX.c: New file.
4797
4798         * math/complex.h (CMPLXL): Fix typo.
4799
4800         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4801         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4802         GLIBC_2.16.
4803         * debug/tst-chk1.c: Add poll and ppoll tests.
4804         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4805         * include/sys/poll.h: Add hidden proto for ppoll.
4806         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4807         * sysdeps/mach/hurd/ppoll.c: Likewise.
4808         * io/ppoll.c: Likewise.
4809         * debug/poll_chk.c: New file.
4810         * debug/ppoll_chk.c: New file.
4811         * include/bits/poll2.h: New file.
4812         * io/bits/poll2.h: New file.
4813
4814         [BZ #1350]
4815         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4816
4817         * configure.in: static is always set to yes.  Remove.
4818         * config.make.in: Don't set build-static.
4819         * Makeconfig: Remove use of build-static.
4820         * dlfcn/Makefile: Likewise.
4821         * elf/Makefile: Likewise.
4822         * math/Makefile: Likewise.
4823         * misc/Makefile: Likewise.
4824         * nptl/Makefile: Likewise.
4825         * sysdeps/mach/hurd/Makefile: Likewise.
4826
4827         * configure.in: PWD_P is not used anymore.
4828         * config.make.in: Remove PWD_P entry.
4829
4830         * configure.in: Remove last remnants of RANLIB.
4831         No need to check for signed size_t anymore.
4832         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4833         and IA-64.
4834         Remove __builtin_expect test because we require at least gcc 3.4.
4835         * aclocal.m4: Likewise.
4836
4837         * wcsmbs/mbrtoc16.c: Implement using towc function.
4838         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4839         * wcsmbs/wcsmbsload.c: Likewise.
4840         * iconv/gconv_simple.c: Likewise.
4841         * iconv/gconv_int.h: Likewise.
4842         * iconv/gconv_builtin.h: Likewise.
4843         * iconv/iconv_prog.c: Remove CHAR16 handling.
4844
4845         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4846
4847         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4848
4849         * configure.in: Remove --with-elf and --enable-bounded options.
4850         Dont set base_machine for ia64.  More non-ELF conditions removed.
4851         Remove testing and setting of leading underscore information.
4852         * config.make.in (build-bounded): Set to no.
4853         * config.h.in: Remove NO_UNDERSCORES entry.
4854         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4855         them.
4856         * csu/start.c: Remove !NO_UNDERSCORE code.
4857         * locale/localeinfo.h: Likewise.
4858         * sysdeps/generic/machine-gmon.h: Likewise.
4859         * sysdeps/generic/sysdep.h: Likewise.
4860         * sysdeps/i386/sysdep.h: Likewise.
4861         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4862         * sysdeps/mach/sysdep.h: Likewise.
4863         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4864         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4865         * sysdeps/sh/sysdep.h: Likewise.
4866         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4867         * sysdeps/unix/i386/sysdep.S: Likewise.
4868         * sysdeps/unix/sparc/start.c: Likewise.
4869         * sysdeps/unix/sparc/sysdep.S: Likewise.
4870         * sysdeps/unix/sparc/sysdep.h: Likewise.
4871         * sysdeps/unix/start.c: Likewise.
4872         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4873         * sysdeps/x86_64/sysdep.h: Likewise.
4874
4875 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4876
4877         [BZ #13553]
4878         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4879         for non-gcc.
4880         * argp/argp-fmtstream.h: Use const instead __const.
4881         * argp/argp.h: Likewise.
4882         * assert/assert.h: Likewise.
4883         * bits/fenv.h: Likewise.
4884         * bits/sched.h: Likewise.
4885         * bits/sigset.h: Likewise.
4886         * bits/sigthread.h: Likewise.
4887         * catgets/nl_types.h: Likewise.
4888         * conform/data/pthread.h-data: Likewise.
4889         * crypt/crypt-private.h: Likewise.
4890         * crypt/crypt.h: Likewise.
4891         * crypt/crypt_util.c: Likewise.
4892         * ctype/ctype.h: Likewise.
4893         * debug/execinfo.h: Likewise.
4894         * debug/mbsnrtowcs_chk.c: Likewise.
4895         * debug/mbsrtowcs_chk.c: Likewise.
4896         * debug/wcsnrtombs_chk.c: Likewise.
4897         * debug/wcsrtombs_chk.c: Likewise.
4898         * debug/wcstombs_chk.c: Likewise.
4899         * dirent/dirent.h: Likewise.
4900         * dlfcn/dlfcn.h: Likewise.
4901         * elf/neededtest4.c: Likewise.
4902         * grp/grp.h: Likewise.
4903         * gshadow/gshadow.h: Likewise.
4904         * iconv/gconv.h: Likewise.
4905         * iconv/gconv_int.h: Likewise.
4906         * iconv/gconv_simple.c: Likewise.
4907         * iconv/iconv.h: Likewise.
4908         * iconv/loop.c: Likewise.
4909         * iconv/skeleton.c: Likewise.
4910         * include/aio.h: Likewise.
4911         * include/aliases.h: Likewise.
4912         * include/argz.h: Likewise.
4913         * include/arpa/inet.h: Likewise.
4914         * include/assert.h: Likewise.
4915         * include/dirent.h: Likewise.
4916         * include/dlfcn.h: Likewise.
4917         * include/execinfo.h: Likewise.
4918         * include/fcntl.h: Likewise.
4919         * include/fenv.h: Likewise.
4920         * include/glob.h: Likewise.
4921         * include/grp.h: Likewise.
4922         * include/libintl.h: Likewise.
4923         * include/mntent.h: Likewise.
4924         * include/netdb.h: Likewise.
4925         * include/pwd.h: Likewise.
4926         * include/rpc/netdb.h: Likewise.
4927         * include/sched.h: Likewise.
4928         * include/search.h: Likewise.
4929         * include/shadow.h: Likewise.
4930         * include/signal.h: Likewise.
4931         * include/stdio.h: Likewise.
4932         * include/stdlib.h: Likewise.
4933         * include/string.h: Likewise.
4934         * include/sys/socket.h: Likewise.
4935         * include/sys/stat.h: Likewise.
4936         * include/sys/statfs.h: Likewise.
4937         * include/sys/statvfs.h: Likewise.
4938         * include/sys/syslog.h: Likewise.
4939         * include/sys/time.h: Likewise.
4940         * include/sys/uio.h: Likewise.
4941         * include/time.h: Likewise.
4942         * include/unistd.h: Likewise.
4943         * include/utmp.h: Likewise.
4944         * include/wchar.h: Likewise.
4945         * include/wctype.h: Likewise.
4946         * inet/aliases.h: Likewise.
4947         * inet/arpa/inet.h: Likewise.
4948         * inet/netinet/ether.h: Likewise.
4949         * inet/netinet/in.h: Likewise.
4950         * intl/libintl.h: Likewise.
4951         * io/bits/fcntl2.h: Likewise.
4952         * io/fcntl.h: Likewise.
4953         * io/ftw.h: Likewise.
4954         * io/sys/poll.h: Likewise.
4955         * io/sys/stat.h: Likewise.
4956         * io/sys/statfs.h: Likewise.
4957         * io/sys/statvfs.h: Likewise.
4958         * io/utime.h: Likewise.
4959         * libio/bits/stdio.h: Likewise.
4960         * libio/bits/stdio2.h: Likewise.
4961         * libio/libio.h: Likewise.
4962         * libio/libioP.h: Likewise.
4963         * libio/stdio.h: Likewise.
4964         * locale/lc-ctype.c: Likewise.
4965         * locale/locale.h: Likewise.
4966         * login/utmp.h: Likewise.
4967         * malloc/arena.c: Likewise.
4968         * malloc/malloc.c: Likewise.
4969         * malloc/malloc.h: Likewise.
4970         * malloc/mcheck.c: Likewise.
4971         * malloc/mtrace.c: Likewise.
4972         * math/bits/mathcalls.h: Likewise.
4973         * math/fenv.h: Likewise.
4974         * math/math_private.h: Likewise.
4975         * misc/bits/error.h: Likewise.
4976         * misc/bits/syslog.h: Likewise.
4977         * misc/err.h: Likewise.
4978         * misc/error.h: Likewise.
4979         * misc/fstab.h: Likewise.
4980         * misc/mntent.h: Likewise.
4981         * misc/regexp.h: Likewise.
4982         * misc/search.h: Likewise.
4983         * misc/sgtty.h: Likewise.
4984         * misc/sys/mman.h: Likewise.
4985         * misc/sys/syslog.h: Likewise.
4986         * misc/sys/uio.h: Likewise.
4987         * misc/sys/xattr.h: Likewise.
4988         * misc/ttyent.h: Likewise.
4989         * nis/rpcsvc/ypclnt.h: Likewise.
4990         * nss/nss.h: Likewise.
4991         * posix/bits/unistd.h: Likewise.
4992         * posix/fnmatch.h: Likewise.
4993         * posix/glob.h: Likewise.
4994         * posix/sched.h: Likewise.
4995         * posix/spawn.h: Likewise.
4996         * posix/sys/wait.h: Likewise.
4997         * posix/unistd.h: Likewise.
4998         * posix/wordexp.h: Likewise.
4999         * pwd/pwd.h: Likewise.
5000         * resolv/netdb.h: Likewise.
5001         * resource/sys/resource.h: Likewise.
5002         * rt/aio.h: Likewise.
5003         * rt/bits/mqueue2.h: Likewise.
5004         * rt/mqueue.h: Likewise.
5005         * shadow/shadow.h: Likewise.
5006         * signal/signal.h: Likewise.
5007         * socket/send.c: Likewise.
5008         * socket/sendto.c: Likewise.
5009         * socket/sys/socket.h: Likewise.
5010         * stdio-common/printf.h: Likewise.
5011         * stdlib/bits/stdlib.h: Likewise.
5012         * stdlib/fmtmsg.h: Likewise.
5013         * stdlib/monetary.h: Likewise.
5014         * stdlib/stdlib.h: Likewise.
5015         * stdlib/ucontext.h: Likewise.
5016         * streams/stropts.h: Likewise.
5017         * string/argz.h: Likewise.
5018         * string/bits/string2.h: Likewise.
5019         * string/string.h: Likewise.
5020         * string/strings.h: Likewise.
5021         * sunrpc/rpc/auth.h: Likewise.
5022         * sunrpc/rpc/auth_des.h: Likewise.
5023         * sunrpc/rpc/clnt.h: Likewise.
5024         * sunrpc/rpc/netdb.h: Likewise.
5025         * sunrpc/rpc/pmap_clnt.h: Likewise.
5026         * sunrpc/rpc/xdr.h: Likewise.
5027         * sysdeps/generic/inttypes.h: Likewise.
5028         * sysdeps/generic/net/if.h: Likewise.
5029         * sysdeps/generic/sys/swap.h: Likewise.
5030         * sysdeps/gnu/net/if.h: Likewise.
5031         * sysdeps/gnu/utmpx.h: Likewise.
5032         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5033         * sysdeps/i386/i486/bits/string.h: Likewise.
5034         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5035         * sysdeps/s390/bits/string.h: Likewise.
5036         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5037         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5038         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5039         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5040         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5041         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5042         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5043         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5044         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5045         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5046         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5047         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5048         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5049         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5050         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5052         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5054         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5055         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5056         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5057         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5058         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5059         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5060         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5061         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5062         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5063         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5064         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5065         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5066         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5067         * sysvipc/sys/ipc.h: Likewise.
5068         * sysvipc/sys/msg.h: Likewise.
5069         * sysvipc/sys/sem.h: Likewise.
5070         * sysvipc/sys/shm.h: Likewise.
5071         * termios/termios.h: Likewise.
5072         * time/sys/time.h: Likewise.
5073         * time/time.h: Likewise.
5074         * wcsmbs/bits/wchar2.h: Likewise.
5075         * wcsmbs/uchar.h: Likewise.
5076         * wcsmbs/wchar.h: Likewise.
5077         * wctype/wctype.h: Likewise.
5078
5079         [BZ #13551]
5080         * Makeconfig: Remove all but ELF support including AIX support.
5081         * Makerules: Likewise.
5082         * config.h.in: Likewise.
5083         * config.make.in: Likewise.
5084         * configure: Likewise.
5085         * configure.in: Likewise.
5086         * csu/Makefile: Likewise.
5087         * csu/version.c: Likewise.
5088         * debug/Makefile: Likewise.
5089         * dlfcn/Makefile: Likewise.
5090         * elf/Makefile: Likewise.
5091         * extra-lib.mk: Likewise.
5092         * iconv/Makefile: Likewise.
5093         * include/libc-symbols.h: Likewise.
5094         * include/shlib-compat.h: Likewise.
5095         * resolv/Makefile: Likewise.
5096         * resolv/res_libc.c: Likewise.
5097         * rt/Makefile: Likewise.
5098         * sysdeps/i386/asm-syntax.h: Likewise.
5099         * sysdeps/i386/sysdep.h: Likewise.
5100         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5101         * sysdeps/mach/sysdep.h: Likewise.
5102         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5103         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5104         * sysdeps/s390/asm-syntax.h: Likewise.
5105         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5106         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5107         * sysdeps/sh/sysdep.h: Likewise.
5108         * sysdeps/unix/sparc/sysdep.h: Likewise.
5109         * sysdeps/wordsize-32/divdi3.c: Likewise.
5110         * sysdeps/x86_64/sysdep.h: Likewise.
5111
5112         * argp/Versions: Remove _argp_unlock_xxx.
5113
5114         [BZ #13559]
5115         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5116         * abilist/libBrokenLocale.abilist: Likewise.
5117         * abilist/libanl.abilist: Likewise.
5118         * abilist/libc.abilist: Likewise.
5119         * abilist/libcrypt.abilist: Likewise.
5120         * abilist/libdl.abilist: Likewise.
5121         * abilist/libm.abilist: Likewise.
5122         * abilist/libnsl.abilist: Likewise.
5123         * abilist/libpthread.abilist: Likewise.
5124         * abilist/libresolv.abilist: Likewise.
5125         * abilist/librt.abilist: Likewise.
5126         * abilist/libthread_db.abilist: Likewise.
5127         * abilist/libutil.abilist: Likewise.
5128         * abilist/libnss_db.abilist: New file.
5129
5130         * scripts/abilist.awk: Add support for indirect functions.
5131
5132         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5133
5134         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5135
5136         * shlib-versions: Remove entries for ports architectures.
5137
5138         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5139         files in ports.
5140         * elf/stackguard-macros.h: Remove support for IA-64.
5141         * elf/tst-auditmod1.c: Likewise.
5142         * sysdeps/generic/ldsodefs.h: Likewise.
5143
5144         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5145         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5146         configure files.
5147
5148         [BZ #13552]
5149         * configure.in: Remove --enable-omitfp support.
5150         * FAQ.in: Adjust.
5151         * config.make.in: Likewise.
5152         * Makeconfig: Likewise.
5153         * manual/install.texi: Likewise.
5154
5155         In case anyone cares, the IA-64 architecture could move to ports.
5156         * sysdeps/ia64/*: Removed.
5157         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5158         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5159
5160         [BZ #13555]
5161         * configure.in: Remove entries for unsupported architectures.
5162
5163         [BZ #13533]
5164         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5165         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5166         routines.
5167         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5168         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5169         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5170         fall back to using wcrtomb.
5171         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5172         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5173         renaming.
5174         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5175         * wcsmbs/tst-c16c32-1.c: New file.
5176
5177         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5178         local variable.
5179
5180         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5181
5182         * elf/tst-unique3.cc: Add explicit declaration of gets.
5183         * elf/tst-unique3lib.cc: Likewise.
5184         * elf/tst-unique3lib2.cc: Likewise.
5185         * elf/tst-unique4.cc: Likewise.
5186
5187         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5188
5189 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5190
5191         [BZ #13566]
5192         * assert/assert.h (static_assert): Don't define for C++.
5193         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5194         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5195
5196 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5197
5198         * iconv/loop.c (single loop): Fix assertion in storing of
5199         remaining bytes.
5200
5201         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5202
5203 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5204
5205         * posix/getconf.c: Update copyright year.
5206         * nss/getent.c: Likewise.
5207         * nss/makedb.c: Likewise.
5208         * iconv/iconvconfig.c: Likewise.
5209         * iconv/iconv_prog.c: Likewise.
5210         * elf/ldconfig.c: Likewise.
5211         * elf/pldd.c: Likewise.
5212         * elf/sotruss.ksh: Likewise.
5213         * catgets/gencat.c: Likewise.
5214         * csu/version.c: Likewise.
5215         * elf/ldd.bash.in: Likewise.
5216         * elf/sprof.c (print_version): Likewise.
5217         * locale/programs/locale.c: Likewise.
5218         * locale/programs/localedef.c: Likewise.
5219         * login/programs/pt_chown.c: Likewise.
5220         * nscd/nscd.c (print_version): Likewise.
5221         * debug/xtrace.sh: Likewise.
5222         * malloc/memusage.sh: Likewise.
5223         * malloc/mtrace.pl: Likewise.
5224         * debug/catchsegv.sh: Likewise.
5225
5226 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5227
5228         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5229         pure attribute.
5230
5231 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5232
5233         [BZ #13533]
5234         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5235         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5236         transformations.
5237         * iconv/gconv_int.h: Likewise.
5238         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5239         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5240         from libc for GLIBC_2.16.
5241         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5242         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5243         * wcsmbs/uchar.h: Really define mbstate_t.
5244         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5245         * wcsmbs/c16rtomb.c: New file.
5246         * wcsmbs/mbrtoc16.c: New file.
5247         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5248         for C/POSIX locale.
5249         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5250         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5251
5252         * wcsmbs/wchar.h: Add missing __restrict.
5253
5254 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5255
5256         [BZ #13532]
5257         * time/Makefile (routines): Add timespec_get.
5258         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5259         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5260         timespec for ISO C11.
5261         * time/timespec_get.c: New file.
5262         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5263         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5264
5265         [BZ #13531]
5266         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5267         * stdlib/stdlib.h: Declare aligned_alloc.
5268         * Versions.def: Add GLIBC_2.16 for libc.
5269         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5270
5271         [BZ 13527]
5272         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5273         ISO C11.
5274
5275         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5276         code.
5277
5278         [BZ #13528]
5279         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5280
5281         [BZ #13529]
5282         * assert/assert.h (static_assert): Define.
5283
5284         * version.h: Update for 2.16 development version.
5285
5286         [BZ #13526]
5287         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5288         _ISOC11_SOURCE.
5289
5290         * version.h (RELEASE): Bump for 2.15 release.
5291         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5292
5293         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5294         Patch by Marek Polacek <mpolacek@redhat.com>.
5295
5296         * bits/byteswap.h: Protect long long constants with __extension__.
5297         * sysdeps/i386/bits/byteswap.h: Likewise.
5298         * sysdeps/ia64/bits/byteswap.h: Likewise.
5299         * sysdeps/s390/bits/byteswap.h: Likewise.
5300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5301
5302 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5303
5304         [BZ #13540]
5305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5306         destination buffer.
5307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5308
5309 2011-12-23  Marek Polacek  <polacek@redhat.com>
5310
5311         * elf/dl-addr.c (determine_info): Add inline keyword.
5312         * elf/tst-auditmod4b.c (check_avx): Likewise.
5313         * elf/tst-auditmod6b.c (check_avx): Likewise.
5314         * elf/tst-auditmod6c.c (check_avx): Likewise.
5315         * elf/tst-auditmod7b.c (check_avx): Likewise.
5316
5317 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5318
5319         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5320         !__SSE_MATH__.
5321
5322 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5323
5324         [BZ #13540]
5325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5326         processing for last bytes.
5327
5328 2011-08-06  Bruno Haible  <bruno@clisp.org>
5329
5330         [BZ #13061]
5331         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5332         U+0385, not to U+1FEE.
5333
5334         [BZ #13062]
5335         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5336         entry for U+00A5 U+0301.
5337
5338 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5339
5340         [BZ #13166]
5341         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5342         buffer for the output is too small.
5343
5344         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5345         optimization.
5346
5347         [BZ #13185]
5348         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5349         SSE flags if possible.
5350
5351 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5352
5353         [BZ #13540]
5354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5355         processing for last bytes.
5356
5357 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5358
5359         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5360         (syscall-list-default-options, syscall-list-default-condition)
5361         (syscall-list-includes): Define.
5362         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5363         list of ABIs and options and #if conditions for each ABI.  Do not
5364         handle common syscalls between ABIs specially.
5365         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5366         Remove.
5367         (syscall-list-variants, syscall-list-32bit-options)
5368         (syscall-list-32bit-condition, syscall-list-64bit-options)
5369         (syscall-list-64bit-condition): Define.
5370         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5371         (syscall-list-variants, syscall-list-32bit-options)
5372         (syscall-list-32bit-condition, syscall-list-64bit-options)
5373         (syscall-list-64bit-condition): Define.
5374         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5375         Remove.
5376         (syscall-list-variants, syscall-list-32bit-options)
5377         (syscall-list-32bit-condition, syscall-list-64bit-options)
5378         (syscall-list-64bit-condition): Define.
5379         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5380         Remove.
5381         (syscall-list-variants, syscall-list-32bit-options)
5382         (syscall-list-32bit-condition, syscall-list-64bit-options)
5383         (syscall-list-64bit-condition): Define.
5384
5385 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5386
5387         * locale/iso-639.def: Add brx entry.
5388
5389         [BZ #13328]
5390         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5391         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5392
5393         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5394         __feraiseexcept_renamed.
5395
5396 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5397
5398         [BZ #13538]
5399         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5400         EPOLLET with unsigned values.
5401         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5402         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5403
5404         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5405         to large cancellation.
5406         * math/s_cacoshf.c: Likewise.
5407         * math/s_cacoshl.c: Likewise.
5408
5409 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5410
5411         [BZ #13305]
5412         [BZ #12786]
5413         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5414         * math/s_cacoshf.c: Likewise.
5415         * math/s_cacoshl.c: Likewise.
5416
5417 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5418
5419         [BZ #13439]
5420         * iconv/gconv.h: Define __GCONV_SWAP.
5421         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5422         * iconvdata/utf-16.c: Likewise.
5423         * iconvdata/utf-32.c: Likewise.
5424
5425 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5426
5427         [BZ #13524]
5428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5429         numerator after shifting it by one limb.
5430
5431 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5432
5433         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5434         under [__USE_EXTERN_INLINES].
5435
5436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5437
5438         [BZ #13446]
5439         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5440
5441 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5442
5443         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5444         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5445         optimized code.
5446         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5447         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5448         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5449         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5450         for strncasecmp/strncasecmp_l compilation.
5451         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5452         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5453
5454 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5455
5456         [BZ #13484]
5457         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5458         of __asm__.
5459
5460 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5461
5462         [BZ #13506]
5463         * time/tzfile.c (__tzfile_read): Check values from file header.
5464
5465 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5466
5467         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5468         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5469         * powerpc/powerpc32/dl-start.S: Likewise.
5470         * powerpc/powerpc32/elf/start.S: Likewise.
5471         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5472         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5473         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5474         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5475         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5476         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5477         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5478         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5479         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5480         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5481         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5482         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5483         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5484         * powerpc/powerpc32/memset.S: Likewise.
5485         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5486         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5487         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5488         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5489         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5490         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5491         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5492         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5493         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5494         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5495         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5496         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5497         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5498
5499 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5500
5501         * math/libm-test.inc: Added more nearbyint tests.
5502         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5506
5507 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5508
5509         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5510         FD_CLOEXEC.
5511
5512 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5513
5514         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5515         Add wcscpy-ssse3 wcscpy-c.
5516         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5517         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5518         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5519         * sysdeps/x86_64/wcschr.S: New file.
5520         * sysdeps/x86_64/wcsrchr.S: New file.
5521         * string/test-strcmp.c: Remove checking of wcscmp function for
5522         wrong alignments.
5523         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5524         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5525         wcsrchr-sse2 wcsrchr-c.
5526         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5527         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5528         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5529         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5530         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5531         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5532         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5533         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5534         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5535         * wcsmbc/wcschr.c (WCSCHR): New macro.
5536
5537 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5538
5539         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5540         * wcsmbs/test-wcsrchr.c: New file.
5541         * string/test-strrchr.c: Add wcsrchr support.
5542         (WIDE): New macro.
5543         * wcsmbs/test-wcscpy.c: New file.
5544         * string/test-strcpy.c: Add wcscpy support.
5545         (WIDE): New macro.
5546
5547 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5548
5549         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5550         the inner loop.
5551
5552 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5553
5554         [BZ #13472]
5555         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5556
5557 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5558
5559         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5560         Minor optimizations.
5561
5562         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5563         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5564         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5565
5566 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5567
5568         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5569         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5570         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5571         for gcc to avoid warnings.
5572         * inet/Makefile (tests): Add tst-checks.
5573         * inet/tst-checks.c: New file.
5574
5575         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5576         warning.
5577
5578         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5579         __wmemcmp_sse2.
5580
5581         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5582         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5583
5584         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5585
5586 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5587
5588         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5589         problem.
5590
5591         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5592
5593 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5594
5595         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5596         conditional on GCC version.
5597         (__arch_compare_and_exchange_val_8_acq)
5598         (__arch_compare_and_exchange_val_16_acq)
5599         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5600         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5601         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5602
5603 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5604
5605         * sysdeps/sh/backtrace.c: New file.
5606
5607 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5608
5609         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5610         parenthesis.
5611
5612 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5613
5614         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5615         falling back to utime.
5616
5617 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5618
5619         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5620         expectations for float.
5621
5622 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5623
5624         * locale/weight.h (findidx): Add parameter len.
5625         * locale/weightwc.h (findidx): Likewise.
5626         * posix/fnmatch_loop.c (FCT): Adjust caller.
5627         * posix/regcomp.c (build_equiv_class): Likewise.
5628         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5629         * posix/regexec.c (check_node_accept_bytes): Likewise.
5630         * string/strcoll_l.c (STRCOLL): Likewise.
5631         * string/strxfrm_l.c (STRXFRM): Likewise.
5632
5633 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5634
5635         * Makefile.in: Remove CVSOPT handling.
5636         * configure.in: Remove use of AC_REVISION.
5637         * iconvdata/Makefile (distribute): No need to filter out CVS.
5638         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5639         handling.
5640
5641 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5642
5643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5644         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5645         [USE_AS_STRNCASECMP_L]: Likewise.
5646         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5647         NO_TLS_DIRECT_SEG_REFS.
5648         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5649         Fix argument offsets for non-PIC.
5650         [USE_AS_STRNCASECMP_L]: Likewise.
5651         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5652         NO_TLS_DIRECT_SEG_REFS.
5653
5654 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5655
5656         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5657         O_CLOEXEC.
5658         * locale/loadlocale.c (_nl_load_locale): Likewise.
5659
5660 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5661
5662         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5663         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5664         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5665         (SYSCALL_GETTIME): Set errno on error.
5666
5667         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5668         count references to noai6ai_cached.
5669
5670 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5671
5672         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5673
5674         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5675         FD_CLOEXEC for /proc/self/maps.
5676
5677         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5678         FD_CLOEXEC for /proc/meminfo.
5679
5680         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5681         gai.conf.
5682
5683         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5684         FD_CLOEXEC for given file.
5685
5686         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5687
5688         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5689         FD_CLOEXEC for /etc/hosts.
5690         (_gethtent): Likewise.
5691
5692         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5693
5694         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5695         cancellation and set FD_CLOEXEC for /etc/netgroup.
5696
5697         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5698         reading /etc/publickey.
5699
5700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5701         allow cancellation when reading /etc/group.
5702
5703         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5704         cancellation.
5705         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5706
5707         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5708         when using data file.
5709
5710         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5711
5712         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5713         (write_nis_obj): Use "c" and "e" in fopen.
5714
5715         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5716
5717         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5718
5719         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5720
5721         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5722
5723         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5724         locale.alias.
5725
5726         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5727
5728         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5729
5730         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5731
5732         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5733         file parsing and set FD_CLOEXEC.
5734
5735 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5736
5737         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5738
5739 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5740
5741         * malloc/arena.c (arena_get2): Don't call reused_arena when
5742         _int_new_arena failed.
5743
5744 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5745
5746         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5747         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5748         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5749         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5750         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5752         to compile strcasecmp and strncasecmp.
5753         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5754         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5755
5756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5757
5758 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5759
5760         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5761         locale-defines.sym to gen-as-const-headers.
5762         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5763         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5764         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5765         to compile strcasecmp and strncasecmp.
5766         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5767         strcasecmp_l and strncasecmp_l.
5768         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5769         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5770         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5771         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5772         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5773         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5774         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5775         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5776         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5777         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5778         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5779
5780 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5781
5782         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5783         result of SYSDEP_GETTIME_CPU to retval.
5784         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5785         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5786
5787         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5788         variable.
5789
5790         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5791         mantissa words.
5792         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5793
5794         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5795         from unused variable.
5796
5797         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5798         DWARF definitions.
5799         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5800         for assembling.
5801
5802         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5803         over namespaces.
5804
5805         * sunrpc/rpc_prot.c (rejected): Fix case value.
5806
5807         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5808         unsigned long long int to avoid warnings in shift.
5809
5810         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5811         of use of trans.
5812         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5813         variable tmp.
5814
5815         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5816         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5817         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5818
5819         * nis/nis_table.c (nis_list): Use variable of correct type for
5820         result of __follow_path call.
5821
5822 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5823
5824         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5825         of math functions ceil, trunc, floor, round, and sqrt, when
5826         avaliable on the platform.
5827         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5828         name clash.
5829         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5830         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5831         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5832
5833 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5834
5835         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5836         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5837
5838 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5839
5840         * include/unistd.h: Fix __readlink return type.
5841         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5842
5843 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5844
5845         * stdlib/ucontext.h: Undo last change for makecontext.
5846
5847 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5848
5849         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5850
5851         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5852         * setjmp/setjmp.h: Mark functions as non-leaf.
5853         * setjmp/bits/setjmp2.h: Likewise.
5854         * stdlib/ucontext.h: Likewise.
5855
5856 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5857
5858         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5859         (reused_arena): Don't check arena limit.
5860         (arena_get2): Atomically check arena limit.
5861
5862 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5863
5864         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5865         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5866
5867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5868         instructions.
5869
5870 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5871
5872         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5873         handler when locking.
5874
5875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5876         Fix size of allocated buffer.
5877
5878 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5879
5880         [BZ #10103]
5881         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5882         declarations for long double functions.
5883         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5884
5885         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5886
5887 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5888
5889         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5890         installed.
5891
5892         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5893         is disabled.
5894
5895 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5896
5897         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5898
5899 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5900
5901         * include/alloca.h (stackinfo_alloca_round): Define.
5902         (extend_alloca): Use it.
5903         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5904         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5905         here.
5906
5907         * scripts/check-local-headers.sh: Ignore libaudit.h.
5908
5909         * nscd/Makefile (extra-objs): Make recursively expanded.
5910
5911 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5912
5913         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5914         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5915
5916         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5917         * posix/tst-rfc3484-2.c: Likewise.
5918         * posix/tst-rfc3484-3.c: Likewise.
5919
5920         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5921         process_vm_writev.
5922         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5923         process_vm_writev.
5924         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5925         process_vm_writev from libc using GLIBC_2.15 version.
5926
5927         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5928
5929 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5930
5931         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5932         stack usage.
5933
5934 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5935
5936         [BZ #13367]
5937         * nss/getent.c (initgroups_keys): Show error message in case no group
5938         names are given.
5939
5940         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5941         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5942         __bump_nl_timestamp.
5943         * nscd/connections (nscd_init): When host database is served open
5944         netlink socket and request notification about configuration changes.
5945         (main_loop_poll): Track netlink file descriptor and bump timestamp
5946         in case data becomes available.
5947         (main_loop_epoll): Likewise.
5948         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5949         (database_pers_head): Add extra_data fileds.
5950         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5951         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5952         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5953         Adjust caller.
5954         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5955         in6ai data, call __free_in6ai.
5956         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5957         Add -DHAVE_NETLINK.
5958         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5959         interface information.  Reuse previous data if netlink timestamp
5960         is not changed.
5961         (__bump_nl_timestamp): New function.
5962         (__free_in6ai): New function.
5963
5964 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5965
5966         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5967         close_not_cancel_no_status here.
5968         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5969
5970 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5971
5972         [BZ #13276]
5973         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5974         return value.
5975
5976         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5977         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5978         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5979
5980 2011-07-03  Andreas Jaeger  <aj@suse.de>
5981
5982         [BZ #10709]
5983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5984         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5985         * math/libm-test.inc (sin_test): Add test case.
5986
5987 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5988
5989         [BZ #13337]
5990         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5991         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5992
5993         * elf/chroot_canon.c (chroot_canon): Cleanups.
5994
5995         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5996
5997         [BZ #13335]
5998         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5999         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6000
6001         * string/test-strchr.c: Make usable for strchrnul testing.
6002         * string/test-strchrnul.c: New file.
6003         * string/Makefile (strop-tests): Add strchrnul.
6004
6005         * po/it.po: Update from translation team.
6006         * po/es.po: Likewise.
6007
6008 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6009
6010         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6011         the three constants needed as parameters.  Drop the others.
6012         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6013         __m128i_strloadu_tolower.
6014         Create and initialize variable zero and use it in all the places
6015         where _mm_setzero_si128 was used.
6016
6017         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6018         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6019         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6021         anymore.
6022         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6023         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6024         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6025         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6026         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6027         __mpranred, __mptan.
6028         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6029         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6030         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6031         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6032         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6033         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6034         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6035         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6036         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6037
6038 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6039
6040         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6041         redefine if SHARED.
6042         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6043
6044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6045         wide char related routines to wcsmbs subdir.
6046
6047 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6048
6049         [BZ #13344]
6050         * misc/sys/cdefs.h (__THROWNL): Define.
6051         * posix/unistd.h: Use __THREADNL instead of __THREAD
6052         for memory synchronization functions.
6053
6054 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6055
6056         [BZ #13349]
6057         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6058         doesn't exist.
6059         * manual/stdio.texi (Obstack Streams): Node removed.
6060
6061 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6062
6063         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6064         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6065         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6066
6067         * math/math_private.h (math_force_eval): Allow non-addressable
6068         arguments.
6069         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6070
6071 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6072
6073         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6074         file is not needed.
6075
6076         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6080         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6081         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6082         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6083         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6084         Add AVX variants.
6085         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6086         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6087         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6088         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6089         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6090         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6091         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6093         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6094         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6095         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6096         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6097         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6098         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6099         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6100         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6101         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6102         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6103         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6104
6105         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6106         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6107
6108         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6109         place.  Use VEX encoding when compiling for AVX.
6110
6111 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6112
6113         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6114         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6115
6116         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6117
6118 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6119
6120         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6121         useless if() expression.
6122         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6123         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6124         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6126         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6127         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6128         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6130         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6131         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6132         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6133         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6134         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6135         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6136         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6137         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6138         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6139         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6140         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6141
6142         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6143
6144 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6145
6146         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6147         condition.
6148         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6149
6150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6151
6152         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6153         .text section.  Avoid duplicate constants.
6154         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6156         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6158         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6161         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6162         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6163         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6164         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6166         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6167         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6168         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6169         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6170         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6171         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6172         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6174         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6175         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6176         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6177         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6178         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6179         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6180         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6181         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6182         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6183         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6184         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6185         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6186         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6187         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6188         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6189         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6190         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6192         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6193         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6194         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6195         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6196         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6197         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6198         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6199
6200 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6201
6202         * sysdeps/x86_64/dla.h: Move to ...
6203         * sysdeps/x86_64/fpu/dla.h: ...here.
6204         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6205         situations.  Use __builtin_fma only for gcc 4.6 and up.
6206
6207         * config.make.in: Add have-mfma4 entry.
6208         * configure.in: Substitute libc_cv_cc_fma4.
6209         * math/Makefile (dbl-only-routines): Add sincostab.
6210         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6211         Use __sincostab not sincos.
6212         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6213         name is a macro.
6214         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6216         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6218         using __copysign.
6219         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6220         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6221         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6222         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6223         and __inv.
6224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6225         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6226         __copysign.
6227         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6228         define aliases when function name is a macro.
6229         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6230         sysdeps/ieee754/dbl-64/sincos.tbl.
6231         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6232         fma4-enabled routines.
6233         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6234         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6235         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6236         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6237         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6238         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6240         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6241         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6242         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6243         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6244         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6245         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6246         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6247         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6248         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6249         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6250         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6251         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6252         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6253         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6254         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6256         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6257         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6258         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6259         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6260         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6261         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6262         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6263
6264         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6265         rename.
6266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6270         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6271         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6272         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6274
6275 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6276
6277         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6278
6279 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6280
6281         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6282
6283         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6284         prediction.
6285         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6286
6287         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6288         Remove unused variable magic_bits.
6289         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6290
6291         * string/strnlen.c: Define and use STRNLEN macro.
6292         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6293         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6295         * wcsmbs/wcslen.c: Define and use WCSLEN.
6296         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6297         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6298         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6299         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6300         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6301         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6302         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6303
6304 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6305
6306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6307         strnlen-sse2-no-bsf.
6308         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6309         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6310         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6311         Add strnlen support.
6312         (USE_AS_STRNLEN): New macro.
6313         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6315         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6316         * sysdeps/x86_64/wcslen.S: New file.
6317
6318 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6319
6320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6321         XMM-moves are used for copying on small sizes.
6322
6323 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6324
6325         * wcsmbs/Makefile (strop-tests): Add wcschr.
6326         * wcsmbs/test-wcschr.c: New file.
6327         * string/test-strchr.c: Update.
6328         Add wcschr support.
6329         (WIDE): New macro.
6330
6331 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6332
6333         * wcsmbs/Makefile (strop-tests): Add wcslen.
6334         * wcsmbs/test-wcslen.c: New file.
6335         * string/test-strlen.c: Update.
6336         Add wcslen support.
6337         (WIDE): New macro.
6338
6339 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6340
6341         * po/it.po: Update from translation team.
6342
6343 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6344
6345         * sysdeps/x86_64/wcscmp.S: Update.
6346         Fix wrong comparison semantics.
6347         wcscmp shall use signed comparison not unsigned.
6348         Don't use substraction to avoid overflow bug.
6349         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6350         * wcsmbc/wcscmp.c: Likewise.
6351         * string/test-strcmp.c: Likewise.
6352         Add new tests to check cases with negative values.
6353
6354 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6355
6356         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6357         * sysdeps/x86_64/dla.h: ...here.  New file.
6358         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6363         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6366         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6367
6368 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6369
6370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6371         __ynl_finite aliases.
6372
6373 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6374
6375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6376
6377         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6378         define DLA_FMA.
6379         [DLA_FMA] (EMULV): Use DLA_FMA.
6380         [DLA_FMA] (MUL12): Use EMULV.
6381         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6382         that are not needed.
6383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6385         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6387         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6390
6391 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6392
6393         * math/s_nan.c: Undef __nan.
6394         * math/s_nanf.c: Undef __nanf.
6395         * math/s_nanl.c: Undef __nanl.
6396         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6397         "math_private.h".
6398
6399 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6400
6401         * math/s_catan.c: Add branch predictions.
6402         * math/s_catanf.c: Likewise.
6403         * math/s_catanh.c: Likewise.
6404         * math/s_catanhf.c: Likewise.
6405         * math/s_catanhl.c: Likewise.
6406         * math/s_catanl.c: Likewise.
6407         * math/s_cexp.c: Likewise.
6408         * math/s_cexpf.c: Likewise.
6409         * math/s_cexpl.c: Likewise.
6410         * math/s_clog.c: Likewise.
6411         * math/s_clog10.c: Likewise.
6412         * math/s_clog10f.c: Likewise.
6413         * math/s_clog10l.c: Likewise.
6414         * math/s_clogf.c: Likewise.
6415         * math/s_clogl.c: Likewise.
6416         * math/s_csqrt.c: Likewise.
6417         * math/s_csqrtf.c: Likewise.
6418         * math/s_csqrtl.c: Likewise.
6419         * math/s_ctanf.c: Likewise.
6420         * math/s_ctanh.c: Likewise.
6421         * math/s_ctanhf.c: Likewise.
6422         * math/s_ctanhl.c: Likewise.
6423         * math/s_ctanl.c: Likewise.
6424
6425         * math/math_private.h: Define __nan, __nanf, __nanl.
6426         * math/s_cacosh.c: Include <math_private.h>.
6427         * math/s_cacoshl.c: Likewise.
6428         * math/s_casinh.c: Likewise.
6429         * math/s_casinhf.c: Likewise.
6430         * math/s_casinhl.c: Likewise.
6431         * math/s_ccos.c: Rely entire on ccosh.
6432         * math/s_ccosf.c: Rely entire on ccoshf.
6433         * math/s_ccosl.c: Rely entirely on ccoshl.
6434         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6435         Remove tests for FE_INVALID.
6436         * math/s_ccoshf.c: Likewise.
6437         * math/s_ccoshl.c: Likewise.
6438         * math/s_csin.c: Likewise.
6439         * math/s_csinf.c: Likewise.
6440         * math/s_csinh.c Likewise.
6441         * math/s_csinhf.c: Likewise.
6442         * math/s_csinhl.c: Likewise.
6443         * math/s_csinl.c: Likewise.
6444         * math/s_ctan.c: Likewise.
6445         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6446         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6447         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6448
6449 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6450
6451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6452         compilation problems.
6453
6454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6455         __builtin_expect.
6456
6457 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6458
6459         * sysdeps/i386/configure.in: Test for -mfma4 option.
6460         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6461         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6462         COMMON_CPUID_INDEX_80000001.
6463         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6464         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6465         use it if FMA3 is not supported.
6466         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6467
6468         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6469         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6470
6471 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6472
6473         [BZ #12892]
6474         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6475         it would create a cycle with a link time dependency.
6476
6477 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6478
6479         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6480         instruction.
6481         * string/Makefile (strop-tests): Add rawmemchr.
6482         * string/test-rawmemchr.c: New file.
6483
6484         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6485         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6486         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6487         when compiling str{,n}casecmp and when AVX is available.  Hook up
6488         new optimized code in initializers.
6489
6490 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6491
6492         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6493         __feraiseexcept instead of feraiseexcept.
6494
6495 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6496
6497         * math/math_private.h: Define defaults for libc_fetestexcept and
6498         libc_feupdateenv.
6499         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6500         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6501         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6502         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6503         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6504         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6505         libc_fetestexcept and libc_feupdateenv.
6506
6507         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6508         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6509         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6510         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6511         libc_feholdexcept_setround.
6512
6513         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6514         Add s_nearbyint-c and s_nearbyintf-c.
6515         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6516         nearbyintf inlines.
6517         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6518         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6519         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6520         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6521
6522         * math/math_private.h: Define defaults for libc_fegetround,
6523         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6524         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6525         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6527         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6528         standard functions.
6529         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6530         Remove comments and hacks for old compiler versions.
6531         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6532         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6533         libc_feholdexceptl.
6534
6535 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6536
6537         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6538         (__feraiseexcept_renamed): Add __NTH.
6539         (feraiseexcept): Add __NTH.  Rename local variables to fix
6540         namespace violations.
6541
6542 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6543
6544         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6545
6546         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6547
6548         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6549         recently added interfaces.
6550         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6551
6552         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6553         about macro parameter expansion.
6554
6555         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6556         __NO_MATH_INLINES is defined.  Cleanups.
6557
6558         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6559         and __floorf is target has SSE4.1.
6560         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6561         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6562         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6563         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6564
6565         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6566         name.
6567         (floorf): Likewise.
6568
6569         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6570
6571 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6572
6573         * misc/sys/cdefs.h: Fix last change.
6574
6575         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6576         database lookup.
6577
6578 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6579
6580         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6581
6582         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6584         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6585         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6586         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6587         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6588         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6589         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6590         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6592         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6593         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6594         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6595         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6596         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6597         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6598         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6599         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6600         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6601         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6602         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6603         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6604
6605         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6606         ceil, ceilf, floor, floorf.
6607
6608         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6609         Perform IRELATIVE relocations last.
6610
6611         * elf/do-rel.h: Add another parameter nrelative, replacing the
6612         local variable with the same name.  Change name of the function
6613         to end in Rel or Rela (uppercase).
6614         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6615         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6616         elf_dynamic_do_##reloc function.
6617
6618 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6619
6620         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6621         is sufficient, at least on modern CPUs.
6622
6623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6624
6625         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6626         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6627
6628         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6629         __expl_finite.
6630         * math/bits/math-finite.h: Add entries for exp.
6631         * math/e_expl.c: Add __*_finite alias.
6632         * sysdeps/i386/fpu/e_exp.S: Likewise.
6633         * sysdeps/i386/fpu/e_expf.S: Likewise.
6634         * sysdeps/i386/fpu/e_expl.c: Likewise.
6635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6636         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6637         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6639         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6640         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6641         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6642
6643         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6644         is sufficient, at least on modern CPUs.
6645
6646         * ctype/ctype-info.c (__ctype_init): Define.
6647         * include/ctype.h (__ctype_init): Declare.
6648         (__ctype_b_loc): The variable is always initialized.
6649         (__ctype_toupper_loc): Likewise.
6650         (__ctype_tolower_loc): Likewise.
6651         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6652         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6653
6654 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6655
6656         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6657
6658         * configure.in: Also look in $cxxmachine/include for C++ system
6659         headers.
6660
6661 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6662
6663         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6664         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6665         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6666         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6667         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6668         (USE_AS_WMEMCMP): New macro.
6669         Fixing indents.
6670         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6671         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6672         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6673         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6675         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6676         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6677         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6678         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6679         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6680         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6681         (USE_AS_WMEMCMP): New macro.
6682         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6683         * sysdeps/string/test-memcmp.c: Update.
6684         Fix simple_wmemcmp.
6685         Add new tests.
6686         * wcsmbs/wmemcmp.c: Update.
6687         (WMEMCMP): New macro.
6688         Fix overflow bug.
6689
6690 2011-10-12  Andreas Jaeger  <aj@suse.de>
6691
6692         [BZ #13268]
6693         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6694
6695 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6696
6697         * libio/iofwide.c (do_length): Avoid warning.
6698
6699         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6700
6701 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6702
6703         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6704
6705         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6706         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6707         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6708         * sysdeps/i386/i686/fpu/e_log.S: New file.
6709         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6710         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6711
6712         * ctype/ctype.h: Add support for inlined isXXX functions when
6713         compiling C++ code.
6714
6715 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6716
6717         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6718
6719         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6720
6721 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6722
6723         [BZ #13291]
6724         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6725
6726 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6727
6728         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6729         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6730         feraiseexcept.
6731
6732         * sysdeps/x86_64/memrchr.S: Check for zero size.
6733
6734         * string/stratcliff.c: Add memrchr tests.
6735
6736 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6737
6738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6739         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6740         rawmemchr-sse2 rawmemchr-sse2-bsf.
6741         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6742         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6743         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6744         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6745         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6746         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6747         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6748         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6749         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6750         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6751         * string/memrchr.c (MEMRCHR): New macro.
6752
6753 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6754
6755         Add integration with gcc's -ffinite-math-only and optimize wrapper
6756         functions in libm.
6757         * Versions.def: Define GLIBC_2.15 version for libm.
6758         * math/Makefile (headers): Add bits/math-finite.h.
6759         * math/bits/math-finite.h: New file.
6760         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6761         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6762         * math/e_acoshl.c: Add __*_finite alias.
6763         * math/e_acosl.c: Likewise.
6764         * math/e_asinl.c: Likewise.
6765         * math/e_atan2l.c: Likewise.
6766         * math/e_atanhl.c: Likewise.
6767         * math/e_coshl.c: Likewise.
6768         * math/e_exp10.c: Likewise.
6769         * math/e_exp10f.c: Likewise.
6770         * math/e_exp10l.c: Likewise.
6771         * math/e_exp2l.c: Likewise.
6772         * math/e_fmodl.c: Likewise.
6773         * math/e_gammal_r.c: Likewise.
6774         * math/e_hypotl.c: Likewise.
6775         * math/e_j0l.c: Likewise.
6776         * math/e_j1l.c: Likewise.
6777         * math/e_jnl.c: Likewise.
6778         * math/e_lgammal_r.c: Likewise.
6779         * math/e_log10l.c: Likewise.
6780         * math/e_log2l.c: Likewise.
6781         * math/e_logl.c: Likewise.
6782         * math/e_powl.c: Likewise.
6783         * math/e_sinhl.c: Likewise.
6784         * math/e_sqrtl.c: Likewise.
6785         * math/e_scalb.c: Completely rewritten and optimized.
6786         * math/e_scalbf.c: Likewise.
6787         * math/e_scalbl.c: Likewise.
6788         * math/w_acos.c: Likewise.
6789         * math/w_acosf.c: Likewise.
6790         * math/w_acosl.c: Likewise.
6791         * math/w_acosh.c: Likewise.
6792         * math/w_acoshf.c: Likewise.
6793         * math/w_acoshl.c: Likewise.
6794         * math/w_asin.c: Likewise.
6795         * math/w_asinf.c: Likewise.
6796         * math/w_asinl.c: Likewise.
6797         * math/w_atan2.c: Likewise.
6798         * math/w_atan2f.c: Likewise.
6799         * math/w_atan2l.c: Likewise.
6800         * math/w_atanh.c: Likewise.
6801         * math/w_atanhf.c: Likewise.
6802         * math/w_atanhl.c: Likewise.
6803         * math/w_exp10.c: Likewise.
6804         * math/w_exp10f.c: Likewise.
6805         * math/w_exp10l.c: Likewise.
6806         * math/w_fmod.c: Likewise.
6807         * math/w_fmodf.c: Likewise.
6808         * math/w_fmodl.c: Likewise.
6809         * math/w_j0.c: Likewise.
6810         * math/w_j0f.c: Likewise.
6811         * math/w_j0l.c: Likewise.
6812         * math/w_j1.c: Likewise.
6813         * math/w_j1f.c: Likewise.
6814         * math/w_j1l.c: Likewise.
6815         * math/w_jn.c: Likewise.
6816         * math/w_jnf.c: Likewise.
6817         * math/w_log.c: Likewise.
6818         * math/w_logf.c: Likewise.
6819         * math/w_logl.c: Likewise.
6820         * math/w_log10.c: Likewise.
6821         * math/w_log10f.c: Likewise.
6822         * math/w_log10l.c: Likewise.
6823         * math/w_log2.c: Likewise.
6824         * math/w_log2f.c: Likewise.
6825         * math/w_log2l.c: Likewise.
6826         * math/w_pow.c: Likewise.
6827         * math/w_powf.c: Likewise.
6828         * math/w_powl.c: Likewise.
6829         * math/w_remainder.c: Likewise.
6830         * math/w_remainderf.c: Likewise.
6831         * math/w_remainderl.c: Likewise.
6832         * math/w_scalb.c: Likewise.
6833         * math/w_scalbf.c: Likewise.
6834         * math/w_scalbl.c: Likewise.
6835         * math/w_sqrt.c: Likewise.
6836         * math/w_sqrtf.c: Likewise.
6837         * math/w_sqrtl.c: Likewise.
6838         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6839         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6840         used.
6841         * math/math_private.h: Declare __kernel_standard_f.
6842         * math/w_cosh.c: Remove cruft and optimize a bit.
6843         * math/w_coshf.c: Likewise.
6844         * math/w_coshl.c: Likewise.
6845         * math/w_exp2.c: Likewise.
6846         * math/w_exp2f.c: Likewise.
6847         * math/w_exp2l.c: Likewise.
6848         * math/w_hypot.c: Likewise.
6849         * math/w_hypotf.c: Likewise.
6850         * math/w_hypotl.c: Likewise.
6851         * math/w_lgamma.c: Likewise.
6852         * math/w_lgamma_r.c: Likewise.
6853         * math/w_lgammaf.c: Likewise.
6854         * math/w_lgammaf_r.c: Likewise.
6855         * math/w_lgammal.c: Likewise.
6856         * math/w_lgammal_r.c: Likewise.
6857         * math/w_sinh.c: Likewise.
6858         * math/w_sinhf.c: Likewise.
6859         * math/w_sinhl.c: Likewise.
6860         * math/w_tgamma.c: Likewise.
6861         * math/w_tgammaf.c: Likewise.
6862         * math/w_tgammal.c: Likewise.
6863         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6864         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6865         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6866         Minor optimizations.  Pretty printing.  Remove cruft.
6867         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6868         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6870         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6871         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6872         * sysdeps/i386/fpu/e_asin.S: Likewise.
6873         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6874         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6875         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6876         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6877         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6878         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6879         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6880         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6881         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6882         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6883         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6884         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6885         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6886         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6887         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6888         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6889         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6890         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6891         * sysdeps/i386/fpu/e_log.S: Likewise.
6892         * sysdeps/i386/fpu/e_log10.S: Likewise.
6893         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6894         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6895         * sysdeps/i386/fpu/e_log2.S: Likewise.
6896         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6897         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6898         * sysdeps/i386/fpu/e_logf.S: Likewise.
6899         * sysdeps/i386/fpu/e_logl.S: Likewise.
6900         * sysdeps/i386/fpu/e_pow.S: Likewise.
6901         * sysdeps/i386/fpu/e_powf.S: Likewise.
6902         * sysdeps/i386/fpu/e_powl.S: Likewise.
6903         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6904         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6905         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6906         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6907         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6908         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6909         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6910         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6911         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6912         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6913         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6914         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6915         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6916         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6917         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6918         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6919         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6920         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6921         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6922         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6923         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6924         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6925         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6926         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6928         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6929         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6930         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6931         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6932         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6933         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6934         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6935         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6936         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6937         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6938         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6939         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6940         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6941         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6942         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6943         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6944         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6945         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6946         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6947         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6948         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6949         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6950         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6951         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6952         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6953         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6954         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6955         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6957         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6958         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6959         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6960         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6961         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6962         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6963         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6964         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6965         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6967         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6968         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6969         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6970         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6971         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6972         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6973         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6980         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6986         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6987         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6988         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6989         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6990         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6991         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6992         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6993         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6995         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6996         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6997         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6998         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6999         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7000         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7001         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7002         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7003         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7004         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7005         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7006         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7007         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7008         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7009         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7010         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7011         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7012         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7013         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7014         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7015         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7016         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7017         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7018         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7020         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7021         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7022         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7023         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7024         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7025         (__isnanf): Likewise.
7026         (__isinf_ns): Likewise.
7027         (__isinf_nsf): Likewise.
7028         (__finite): Likewise.
7029         (__finitef): Likewise.
7030         (__ieee754_sqrt): Define as macro.
7031         (__ieee754_sqrtf): Define as macro.
7032         (__ieee754_sqrtl): Define as macro.
7033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7034         inlined copy.
7035         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7036         __FINITE_MATH_ONLY__ consistent.
7037         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7038
7039 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7040
7041         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7042         of rawmemchr.
7043
7044         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7045
7046 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7047
7048         * po/ja.po: Update from translation team.
7049
7050 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7051
7052         * locale/programs/locarchive.c (prepare_address_space): New function.
7053         (create_archive, enlarge_archive, open_archive): Use it.
7054
7055         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7056         inside [SHARED], where it is used.
7057
7058         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7059
7060         * nss/getent.c (netgroup_keys): Remove unused variable.
7061         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7062
7063 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7064
7065         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7066         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7068         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7069         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7070         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7071         * math/Makefile (libm-calls): Add s_isinf_ns.
7072         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7073         * math/multc3.c: Likewise.
7074         * math/s_casin.c: Likewise.
7075         * math/s_casinf.c: Likewise.
7076         * math/s_casinl.c: Likewise.
7077         * math/s_ccos.c: Likewise.
7078         * math/s_ccosf.c: Likewise.
7079         * math/s_ccosl.c: Likewise.
7080         * math/s_ctan.c: Likewise.
7081         * math/s_ctanf.c: Likewise.
7082         * math/s_ctanh.c: Likewise.
7083         * math/s_ctanhf.c: Likewise.
7084         * math/s_ctanhl.c: Likewise.
7085         * math/s_ctanl.c: Likewise.
7086         * math/w_fmod.c: Likewise.
7087         * math/w_fmodf.c: Likewise.
7088         * math/w_fmodl.c: Likewise.
7089         * math/w_remainder.c: Likewise.
7090         * math/w_remainderf.c: Likewise.
7091         * math/w_remainderl.c: Likewise.
7092         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7093         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7094         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7096         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7097         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7098         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7099         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7100
7101         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7102         of the number.
7103         * stdio-common/printf_fphex.c: Likewise.
7104         * stdio-common/printf_size.c: Likewise.
7105
7106         * math/e_exp10.c: Include math_private.h using <...> not "...".
7107         * math/e_exp10f.c: Likewise.
7108         * math/e_exp10l.c: Likewise.
7109         * math/e_exp2l.c: Likewise.
7110         * math/e_j0l.c: Likewise.
7111         * math/e_j1l.c: Likewise.
7112         * math/e_jnl.c: Likewise.
7113         * math/e_lgammal_r.c: Likewise.
7114         * math/e_rem_pio2l.c: Likewise.
7115         * math/e_scalb.c: Likewise.
7116         * math/e_scalbf.c: Likewise.
7117         * math/e_scalbl.c: Likewise.
7118         * math/k_cosl.c: Likewise.
7119         * math/k_sinl.c: Likewise.
7120         * math/k_tanl.c: Likewise.
7121         * math/s_cacoshf.c: Likewise.
7122         * math/s_catan.c: Likewise.
7123         * math/s_catanf.c: Likewise.
7124         * math/s_catanh.c: Likewise.
7125         * math/s_catanhf.c: Likewise.
7126         * math/s_catanhl.c: Likewise.
7127         * math/s_catanl.c: Likewise.
7128         * math/s_ccosh.c: Likewise.
7129         * math/s_ccoshf.c: Likewise.
7130         * math/s_ccoshl.c: Likewise.
7131         * math/s_cexp.c: Likewise.
7132         * math/s_cexpf.c: Likewise.
7133         * math/s_cexpl.c: Likewise.
7134         * math/s_clog.c: Likewise.
7135         * math/s_clog10.c: Likewise.
7136         * math/s_clog10f.c: Likewise.
7137         * math/s_clog10l.c: Likewise.
7138         * math/s_clogf.c: Likewise.
7139         * math/s_clogl.c: Likewise.
7140         * math/s_csin.c: Likewise.
7141         * math/s_csinf.c: Likewise.
7142         * math/s_csinh.c: Likewise.
7143         * math/s_csinhf.c: Likewise.
7144         * math/s_csinhl.c: Likewise.
7145         * math/s_csinl.c: Likewise.
7146         * math/s_csqrt.c: Likewise.
7147         * math/s_csqrtf.c: Likewise.
7148         * math/s_csqrtl.c: Likewise.
7149         * math/s_ctan.c: Likewise.
7150         * math/s_ctanf.c: Likewise.
7151         * math/s_ctanh.c: Likewise.
7152         * math/s_ctanhf.c: Likewise.
7153         * math/s_ctanhl.c: Likewise.
7154         * math/s_ctanl.c: Likewise.
7155         * math/s_ldexp.c: Likewise.
7156         * math/s_ldexpf.c: Likewise.
7157         * math/s_ldexpl.c: Likewise.
7158         * math/s_significand.c: Likewise.
7159         * math/s_significandf.c: Likewise.
7160         * math/s_significandl.c: Likewise.
7161         * math/w_acos.c: Likewise.
7162         * math/w_acosf.c: Likewise.
7163         * math/w_acosh.c: Likewise.
7164         * math/w_acoshf.c: Likewise.
7165         * math/w_acoshl.c: Likewise.
7166         * math/w_acosl.c: Likewise.
7167         * math/w_asin.c: Likewise.
7168         * math/w_asinf.c: Likewise.
7169         * math/w_asinl.c: Likewise.
7170         * math/w_atan2.c: Likewise.
7171         * math/w_atan2f.c: Likewise.
7172         * math/w_atan2l.c: Likewise.
7173         * math/w_atanh.c: Likewise.
7174         * math/w_atanhf.c: Likewise.
7175         * math/w_atanhl.c: Likewise.
7176         * math/w_cosh.c: Likewise.
7177         * math/w_coshf.c: Likewise.
7178         * math/w_coshl.c: Likewise.
7179         * math/w_dremf.c: Likewise.
7180         * math/w_exp10.c: Likewise.
7181         * math/w_exp10f.c: Likewise.
7182         * math/w_exp10l.c: Likewise.
7183         * math/w_exp2.c: Likewise.
7184         * math/w_exp2f.c: Likewise.
7185         * math/w_fmod.c: Likewise.
7186         * math/w_fmodf.c: Likewise.
7187         * math/w_fmodl.c: Likewise.
7188         * math/w_hypot.c: Likewise.
7189         * math/w_hypotf.c: Likewise.
7190         * math/w_hypotl.c: Likewise.
7191         * math/w_j0.c: Likewise.
7192         * math/w_j0f.c: Likewise.
7193         * math/w_j0l.c: Likewise.
7194         * math/w_j1.c: Likewise.
7195         * math/w_j1f.c: Likewise.
7196         * math/w_j1l.c: Likewise.
7197         * math/w_jn.c: Likewise.
7198         * math/w_jnf.c: Likewise.
7199         * math/w_jnl.c: Likewise.
7200         * math/w_lgamma.c: Likewise.
7201         * math/w_lgamma_r.c: Likewise.
7202         * math/w_lgammaf.c: Likewise.
7203         * math/w_lgammaf_r.c: Likewise.
7204         * math/w_lgammal.c: Likewise.
7205         * math/w_lgammal_r.c: Likewise.
7206         * math/w_log.c: Likewise.
7207         * math/w_log10.c: Likewise.
7208         * math/w_log10f.c: Likewise.
7209         * math/w_log10l.c: Likewise.
7210         * math/w_log2.c: Likewise.
7211         * math/w_log2f.c: Likewise.
7212         * math/w_log2l.c: Likewise.
7213         * math/w_logf.c: Likewise.
7214         * math/w_logl.c: Likewise.
7215         * math/w_pow.c: Likewise.
7216         * math/w_powf.c: Likewise.
7217         * math/w_powl.c: Likewise.
7218         * math/w_remainder.c: Likewise.
7219         * math/w_remainderf.c: Likewise.
7220         * math/w_remainderl.c: Likewise.
7221         * math/w_scalb.c: Likewise.
7222         * math/w_scalbf.c: Likewise.
7223         * math/w_scalbl.c: Likewise.
7224         * math/w_sinh.c: Likewise.
7225         * math/w_sinhf.c: Likewise.
7226         * math/w_sinhl.c: Likewise.
7227         * math/w_sqrt.c: Likewise.
7228         * math/w_sqrtf.c: Likewise.
7229         * math/w_sqrtl.c: Likewise.
7230         * math/w_tgamma.c: Likewise.
7231         * math/w_tgammaf.c: Likewise.
7232         * math/w_tgammal.c: Likewise.
7233
7234         * po/ja.po: Update from translation team.
7235
7236 2011-09-29  Andreas Jaeger  <aj@suse.de>
7237
7238         [BZ #13179]
7239         * sunrpc/netname.c (netname2host): Fix logic.
7240
7241         [BZ #6779]
7242         [BZ #6783]
7243         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7244         correctly.
7245         * math/w_remainder.c (__remainder): Likewise.
7246         * math/w_remainderf.c (__remainderf): Likewise.
7247         * math/libm-test.inc (remainder_test): Add test cases.
7248
7249 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7250
7251         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7252         sdiv_qrnnd.
7253
7254 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7255
7256         * string/test-memcmp.c: Avoid unncessary #defines.
7257         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7258
7259 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7260
7261         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7262         Use new sse2 version for core i3 - i7 as it's faster
7263         than sse42 version.
7264         (bit_Prefer_PMINUB_for_stringop): New.
7265         * sysdeps/x86_64/rawmemchr.S: Update.
7266         Replace with faster SSE2 version.
7267         * sysdeps/x86_64/memrchr.S: New file.
7268         * sysdeps/x86_64/memchr.S: Update.
7269         Replace with faster SSE2 version.
7270
7271 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7272
7273         * elf/dl-load.c (lose): Add cast to avoid warning.
7274
7275 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7276
7277         * po/ca.po: Update from translation team.
7278
7279         * inet/getnetgrent_r.c: Hook up nscd.
7280         * nscd/Makefile (routines): Add nscd_netgroup.
7281         (nscd-modules): Add netgroupcache.
7282         (CFLAGS-netgroupcache.c): Define.
7283         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7284         (cache_search): Add const to second parameter.
7285         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7286         INNETGR.
7287         (dbs): Add netgrdb entry.
7288         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7289         (verify_persistent_db): Handle netgrdb.
7290         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7291         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7292         GETFDNETGR.
7293         (netgroup_response_header): Define.
7294         (innetgroup_response_header): Define.
7295         (datahead): Add netgroup_response_header and innetgroup_response_header
7296         elements.
7297         * nscd/nscd.conf: Add entries for netgroup cache.
7298         * nscd/nscd.h (dbtype): Add netgrdb.
7299         (_PATH_NSCD_NETGROUP_DB): Define.
7300         (netgroup_iov_disabled): Declare.
7301         (xmalloc, xcalloc, xrealloc): Move declarations here.
7302         (cache_search): Adjust prototype.
7303         Add netgroup-related prototypes.
7304         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7305         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7306         (__nscd_innetgr): Declare.
7307         * nscd/selinux.c (perms): Use access_vector_t as element type and
7308         add netgroup-related initializers.
7309         * nscd/netgroupcache.c: New file.
7310         * nscd/nscd_netgroup.c: New file.
7311         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7312         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7313         For four parameters use innetgr.
7314         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7315         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7316         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7317         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7318
7319         * nscd/connections.c (register_traced_file): Don't register file
7320         for disabled databases.
7321
7322 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7323
7324         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7325
7326         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7327         from tree and freeing node.
7328
7329 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7330
7331         * nss/nsswitch.c (__nss_database_lookup): Handle
7332         nss_parse_service_list out of memory case.
7333
7334 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7335
7336         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7337         out of memory case.
7338
7339 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7340
7341         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7342         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7343         pass it down.
7344         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7345         elf_machine_rela, elf_machine_lazy_rel.
7346         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7347         (ELF_DYNAMIC_DO_REL): Likewise.
7348         (ELF_DYNAMIC_DO_RELA): Likewise.
7349         (ELF_DYNAMIC_RELOCATE): Likewise.
7350         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7351         to ELF_DYNAMIC_DO_REL.
7352         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7353         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7354         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7355         elf_machine_rela.
7356         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7357         skip_ifunc, don't call ifunc function if non-zero.
7358         (elf_machine_rela): Likewise.
7359         (elf_machine_lazy_rel): Likewise.
7360         (elf_machine_lazy_rela): Likewise.
7361         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7362         (elf_machine_lazy_rel): Likewise.
7363         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7364         Likewise.
7365         (elf_machine_lazy_rel): Likewise.
7366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7367         Likewise.
7368         (elf_machine_lazy_rel): Likewise.
7369         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7370         (elf_machine_lazy_rel): Likewise.
7371         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7372         (elf_machine_lazy_rel): Likewise.
7373         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7374         (elf_machine_lazy_rel): Likewise.
7375         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7376         (elf_machine_lazy_rel): Likewise.
7377         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7378         (elf_machine_lazy_rel): Likewise.
7379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7380         (elf_machine_lazy_rel): Likewise.
7381
7382 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7383
7384         * nss/nss_files/files-init.c (_nss_files_init): Use static
7385         initialization for all the *_traced_file variables.
7386
7387 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7388
7389         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7390
7391 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7392
7393         [BZ #13226]
7394         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7395
7396 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7397
7398         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7399         Reread the line before reparsing it.
7400
7401 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7402
7403         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7404
7405 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7406             Maxim Kuvyrkov  <maxim@codesourcery.com>
7407             Joseph Myers  <joseph@codesourcery.com>
7408
7409         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7410         if needed for __stack_chk_guard.
7411
7412 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7413
7414         * sysdeps/posix/spawni.c (script_execute): Always define it.
7415         It will be optimized away if unused.
7416         (maybe_script_execute): New function.
7417         (__spawni): Call it.
7418
7419         * Makerules: Don't include tls.make.
7420         (config-tls): Always set to thread.
7421         * tls.make.c: File removed.
7422
7423 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7424
7425         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7426         * config.make.in (CPPFLAGS-config): New substituted variable.
7427
7428 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7429
7430         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7431
7432         [BZ #13192]
7433         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7434         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7435
7436 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7437
7438         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7439         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7440         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7441         (CALL_FAIL): Likewise.
7442         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7443         (CALL_FAIL): Macro removed.
7444         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7445
7446 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7447
7448         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7449         for __FINITE_MATH_ONLY__ == 1.
7450
7451 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7452
7453         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7454         __ieee754_sqrt instead of sqrt.
7455         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7456         __ieee754_sqrtf instead of sqrtf.
7457         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7458         __floorf instead of floorf.
7459         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7460         __floorf, __truncf instead of floorf, truncf.
7461
7462 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7463
7464         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7465
7466         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7467         __extern_always_inline.
7468         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7469         32-bit.
7470
7471 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7472
7473         * elf/rtld.c (dl_main): Also relocate in dependency order when
7474         doing symbol dependency testing.
7475
7476 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7477
7478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7479         Always define `refsym'.
7480
7481 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7482
7483         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7484         (__FD_ELT): Renamed from __FDELT.
7485         * misc/bits/select2.h (__FD_ELT): Likewise.
7486         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7487         __FD_MASK instead of __FDELT, __FDMASK.
7488         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7489         Likewise.
7490         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7491         Likewise.
7492
7493         * elf/Makefile (gen-ldd): Fix pattern.
7494
7495         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7496         (init_tls): Likewise.
7497
7498 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7499
7500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7501
7502 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7503
7504         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7505         `struct cmsghdr *' instead of `void *'.
7506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7507         Likewise.
7508
7509 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7510
7511         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7512         if non-absolute.
7513         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7514         ldd_rewrite_script.
7515
7516 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7517
7518         * configure.in: Remove --with-tls option.
7519         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7520         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7521         out in case it is missing.
7522         * sysdeps/ia64/elf/configure.in: Likewise.
7523         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7524         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7525         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7526         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7527         * sysdeps/sh/elf/configure.in: Likewise.
7528         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7529         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7530         * sysdeps/x86_64/elf/configure.in: Likewise.
7531         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7532         * sysdeps/mach/hurd/tls.h: Likewise.
7533
7534         [BZ #13067]
7535         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7536
7537         [BZ #13090]
7538         * configure.in: Fix use of AC_INIT.
7539
7540         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7541
7542 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7543
7544         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7545         __set_errno.
7546         * malloc/hooks.c: Likewise.
7547
7548         [BZ #11929]
7549         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7550         variables statically.
7551         (narenas): Initialize.
7552         (list_lock): Initialize.
7553         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7554         initializtion of main_arena and list_lock.  Small cleanups.
7555         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7556         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7557         Add initializers to main_arena and mp_.
7558         (malloc_state): Remove pagesize member.  Change all users to use
7559         GLRO(dl_pagesize).
7560
7561         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7562         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7563         is always initialized.
7564
7565         * malloc/malloc.c: Removed unused configurations and dead code.
7566         * malloc/arena.c: Likewise.
7567         * malloc/hooks.c: Likewise.
7568         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7569
7570         * include/tls.h: Removed.  USE___THREAD must always be defined.
7571         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7572         * elf/dl-libc.c: Likewise.
7573         * elf/dl-tsd.c: Likewise.
7574         * include/errno.h: Likewise.
7575         * include/netdb.h: Likewise.
7576         * include/resolv.h: Likewise.
7577         * inet/herrno-loc.c: Likewise.
7578         * inet/herrno.c: Likewise.
7579         * malloc/arena.c: Likewise.
7580         * malloc/hooks.c: Likewise.
7581         * malloc/malloc.c: Likewise.
7582         * resolv/res-state.c: Likewise.
7583         * resolv/res_libc.c: Likewise.
7584         * sysdeps/i386/dl-machine.h: Likewise.
7585         * sysdeps/ia64/dl-machine.h: Likewise.
7586         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7587         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7588         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7589         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7590         * sysdeps/sh/dl-machine.h: Likewise.
7591         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7592         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7593         * sysdeps/unix/i386/sysdep.S: Likewise.
7594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7595         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7600         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7604         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7605         * sysdeps/x86_64/dl-machine.h: Likewise.
7606         * tls.make.c: Likewise.
7607
7608         * configure.in: Remove --with-__thread option.  Make tests for
7609         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7610         tls_model attribute fail if no support is available.  Remove
7611         USE_IN_LIBIO.
7612         * Makeconfig: Adjust for dropped configure option.  All features are
7613         now mandatory.
7614         * Makerules: Likewise.
7615         * Versions.def: Likewise.
7616         * argp/argp-fmtstream.c: Likewise.
7617         * argp/argp-fmtstream.h: Likewise.
7618         * argp/argp-help.c: Likewise.
7619         * assert/assert.c: Likewise.
7620         * config.h.in: Likewise.
7621         * config.make.in: Likewise.
7622         * configure: Likewise.
7623         * configure.in: Likewise.
7624         * csu/Versions: Likewise.
7625         * csu/init.c: Likewise.
7626         * elf/tst-audit2.c: Likewise.
7627         * elf/tst-tls10.c: Likewise.
7628         * elf/tst-tls10.h: Likewise.
7629         * elf/tst-tls11.c: Likewise.
7630         * elf/tst-tls12.c: Likewise.
7631         * elf/tst-tls14.c: Likewise.
7632         * elf/tst-tlsmod11.c: Likewise.
7633         * elf/tst-tlsmod12.c: Likewise.
7634         * elf/tst-tlsmod13.c: Likewise.
7635         * elf/tst-tlsmod13a.c: Likewise.
7636         * elf/tst-tlsmod14a.c: Likewise.
7637         * elf/tst-tlsmod15b.c: Likewise.
7638         * elf/tst-tlsmod16a.c: Likewise.
7639         * elf/tst-tlsmod16b.c: Likewise.
7640         * elf/tst-tlsmod7.c: Likewise.
7641         * elf/tst-tlsmod8.c: Likewise.
7642         * elf/tst-tlsmod9.c: Likewise.
7643         * gmon/gmon.c: Likewise.
7644         * grp/fgetgrent_r.c: Likewise.
7645         * grp/putgrent.c: Likewise.
7646         * hurd/fopenport.c: Likewise.
7647         * include/libc-symbols.h: Likewise.
7648         * include/tls.h: Likewise.
7649         * intl/gettextP.h: Likewise.
7650         * intl/loadinfo.h: Likewise.
7651         * locale/global-locale.c: Likewise.
7652         * locale/localeinfo.h: Likewise.
7653         * mach/devstream.c: Likewise.
7654         * malloc/arena.c: Likewise.
7655         * malloc/set-freeres.c: Likewise.
7656         * misc/err.c: Likewise.
7657         * misc/getttyent.c: Likewise.
7658         * misc/mntent_r.c: Likewise.
7659         * posix/getopt.c: Likewise.
7660         * posix/wordexp.c: Likewise.
7661         * pwd/fgetpwent_r.c: Likewise.
7662         * resolv/Versions: Likewise.
7663         * resolv/res_hconf.c: Likewise.
7664         * shadow/fgetspent_r.c: Likewise.
7665         * shadow/putspent.c: Likewise.
7666         * stdio-common/printf_fphex.c: Likewise.
7667         * stdio-common/tmpfile.c: Likewise.
7668         * stdlib/abort.c: Likewise.
7669         * stdlib/fmtmsg.c: Likewise.
7670         * sunrpc/auth_unix.c: Likewise.
7671         * sunrpc/clnt_perr.c: Likewise.
7672         * sunrpc/clnt_tcp.c: Likewise.
7673         * sunrpc/clnt_udp.c: Likewise.
7674         * sunrpc/clnt_unix.c: Likewise.
7675         * sunrpc/openchild.c: Likewise.
7676         * sunrpc/svc_simple.c: Likewise.
7677         * sunrpc/svc_tcp.c: Likewise.
7678         * sunrpc/svc_udp.c: Likewise.
7679         * sunrpc/svc_unix.c: Likewise.
7680         * sunrpc/xdr.c: Likewise.
7681         * sunrpc/xdr_array.c: Likewise.
7682         * sunrpc/xdr_rec.c: Likewise.
7683         * sunrpc/xdr_ref.c: Likewise.
7684         * sunrpc/xdr_stdio.c: Likewise.
7685
7686 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7687
7688         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7689
7690 2011-07-03  Andreas Jaeger  <aj@suse.de>
7691
7692         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7693         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7694         regenerate with gen-libm-tests.pl.
7695
7696 2010-05-12  Petr Baudis  <pasky@suse.cz>
7697
7698         [BZ #11589]
7699         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7700         around j0() zero points by switching to j1().
7701         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7705
7706 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7707
7708         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7709         instead of 0.
7710         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7711         instead of 0.                              .
7712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7713         Patch in part by Pavel Roskin <proski@gnu.org>.
7714
7715         [BZ #13138]
7716         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7717         realloc.
7718         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7719         Free memory block if necessary.
7720
7721         [BZ #12847]
7722         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7723         be NULL.  Don't lock in this case.
7724
7725 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7726
7727         * elf/elf.h (ELFOSABI_GNU): New macro.
7728         (ELFOSABI_LINUX): Define to that.
7729
7730 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7731
7732         * string/strncat.c (strncat): Undef the symbol in case it has been
7733         defined in bits/string.h.
7734
7735 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7736
7737         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7738
7739         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7740         link map.
7741
7742 2011-08-17  Andreas Jaeger  <aj@suse.de>
7743
7744         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7745
7746 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7747             Ian Lance Taylor  <iant@google.com>
7748
7749         * math/libm-test.inc (lround_test): New testcase.
7750         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7751
7752 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7753
7754         * Makefile: Remove support for automatic cvs check-ins.
7755         * Makerules: Likewise.
7756         * config.make.in: Likewise.
7757         * configure.in: Likewise.
7758         * intl/Makefile: Likewise.
7759         * locale/Makefile: Likewise.
7760         * po/Makefile: Likewise.
7761         * posix/Makefile: Likewise.
7762         * sysdeps/gnu/Makefile: Likewise.
7763         * sysdeps/mach/hurd/Makefile: Likewise.
7764         * sysdeps/sparc/sparc32/Makefile: Likewise.
7765
7766         [BZ #13118]
7767         * posix/Makefile (bug-regex32-ENV): Define.
7768         Patch by John Stanley <jpsinthemix@verizon.net>.
7769
7770         * misc/Makefile (headers): Add bits/select2.h.
7771         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7772         * misc/bits/select2.h: New file.
7773         * include/bits/select2.h: New file.
7774         * debug/Makefile (routines): Add fdelt_chk.
7775         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7776         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7777         FD_ISSET.
7778         * debug/fdelt_chk.c: New file.
7779
7780         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7781         * wcsmbs/test-wmemcmp.c: Likewise.
7782         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7783         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7784
7785 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7786
7787         * string/Makefile (strop-tests): Add memcmp.
7788         * string/test-wmemcmp.c: New file.
7789         * string/test-memcmp.c: Add wmemcmp support.
7790
7791 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7792
7793         [BZ #13153]
7794         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7795         2011-07-19 change.
7796
7797         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7798         garbage value in a __mach_port_mod_refs call in the cases of the
7799         task-self and thread-self ports.
7800
7801 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7802
7803         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7804
7805 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7806
7807         * elf/dl-load.c (lose): Check for non-null L.
7808
7809 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7810
7811         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7812
7813         * elf/dl-libc.c (dlerror_run): Pass back error code from
7814         dl_catch_error.
7815
7816         [BZ #13123]
7817         * elf/dl-load.c (lose): Free l_origin if it is valid.
7818
7819         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7820         names.
7821         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7822         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7824         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7825         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7826         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7827
7828 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7829
7830         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7831         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7832         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7833         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7834         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7835         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7836         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7837         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7838         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7839         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7840
7841 2011-08-15  Alan Modra  <amodra@gmail.com>
7842
7843         [BZ #13092]
7844         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7845         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7846         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7847         ppc_mcount to static-only-routines.
7848         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7849         __mcount_internal.
7850         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7851         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7852
7853 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7854
7855         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7856         for finite and infinity parameters.
7857
7858 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7859
7860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7861         and add nop instructions for throughput optimization.
7862         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7863
7864 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7865
7866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7867         aligned copy for power7 with vector-scalar instructions.
7868         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7869
7870 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7871
7872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7873         AVX check.
7874
7875 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7876
7877         [BZ #13144]
7878         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7879         last change.
7880
7881 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7882
7883         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7884         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7885         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7886         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7887         clock_gettime.
7888
7889 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7890
7891         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7892         Forgot to demangle the pointer.
7893
7894         * sysdeps/i386/sysdep.h: Define atom_text_section.
7895         * sysdeps/x86_64/sysdep.h: Likewise.
7896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7897         section with atom_text_section.
7898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7900         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7901         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7902         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7903
7904         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7905         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7906         already be defined.  Change to take two parameters and don't assign
7907         result to variable.  Adjust all users.
7908         Define INTERNAL_GETTIME if not already defined.
7909         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7910         call.
7911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7912         HAVE_CLOCK_GETTIME_VSYSCALL.
7913         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7914
7915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7916         gettimeofday vsyscall, just use time.
7917
7918 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7919
7920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7921         <errno.h>.
7922
7923 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7924
7925         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7926         syscall on x86-64.
7927         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7928         syscall.
7929         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7931         syscall if possible.
7932
7933 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7934
7935         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7936         e_ident.  Don't pass to find_mapsXX.
7937         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7938
7939 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7940
7941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7942         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7943         * sysdeps/x86_64/multiarch/strchr.S: Update.
7944         Check bit_slow_BSF bit.
7945         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7946         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7947         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7948
7949 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7950
7951         [BZ #13134]
7952         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7953         before glibc 2.15.
7954         (tryshell): Define.
7955         (__spawni): Change last parameter to be flag.  Test
7956         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7957         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7958         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7959         * posix/spawni.c: Likewise.
7960         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7961         * posix/spawnp.c: Likewise.  Change normal version to use
7962         SPAWN_XFLAGS_USE_PATH.
7963         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7964         SPAWN_XFLAGS_TRY_SHELL.
7965
7966         [BZ #13150]
7967         * posix/glob.h: Remove gcc 1.x support.
7968
7969         [BZ #13068]
7970         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7971
7972 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7973
7974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7975         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7976         strrchr-sse2-bsf
7977         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7978         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7979         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7980         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7981         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7982         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7983
7984 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7985
7986         * sysdeps/x86_64/wcscmp.S: New file.
7987
7988         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7989         wcscmp-c wcscmp-sse2
7990         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7991         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7992         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7993         * wcsmbs/wcscmp.c: Allow renaming.
7994
7995 2011-09-05  David S. Miller  <davem@davemloft.net>
7996
7997         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7998         stack slot, rather than the struct return pointer slot.
7999         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8000         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8002         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8003
8004 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8005
8006         * po/ja.po: Update from translation team.
8007
8008         [BZ #13144]
8009         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8010         kernel in 64-bit binaries.
8011
8012 2011-09-01  David S. Miller  <davem@davemloft.net>
8013
8014         * elf/elf.h (HWCAP_SPARC_*): Move to..
8015         * sysdeps/sparc/sysdep.h: this new file and add new values.
8016         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8017         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8018         _DL_HWCAP_COUNT to 24.
8019         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8020         entries.
8021         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8022         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8023         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8024         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8025         instead of magic constants.
8026         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8027
8028 2011-08-31  David S. Miller  <davem@davemloft.net>
8029
8030         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8032         Reimplement to do errno handling inline.
8033         (SYSCALL_ERROR_HANDLER): New macro.
8034         (__SYSCALL_STRING): Do not do errno handling in asm.
8035         (__CLONE_SYSCALL_STRING): Delete.
8036         (__INTERNAL_SYSCALL_STRING): Delete.
8037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8038         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8039         (PSEUDO): Reimplement to do errno handling inline.
8040         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8041         (SYSCALL_ERROR_HANDLER): New macro.
8042         (__SYSCALL_STRING): Do not do errno handling in asm.
8043         (__CLONE_SYSCALL_STRING): Delete.
8044         (__INTERNAL_SYSCALL_STRING): Delete.
8045         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8046         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8047         i386.
8048         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8049         (inline_syscall*): Add 'err' argument.
8050         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8051         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8052         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8053         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8054
8055         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8056         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8057
8058 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8059
8060         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8061
8062 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8063
8064         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8065         directive.
8066
8067 2011-08-24  David S. Miller  <davem@davemloft.net>
8068
8069         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8070
8071 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8072
8073         * elf/Makefile: Add rules to build and run unload8 test.
8074         * elf/unload8.c: New file.
8075         * elf/unload8mod1.c: New file.
8076         * elf/unload8mod1x.c: New file.
8077         * elf/unload8mod2.c: New file.
8078         * elf/unload8mod3.c: New file.
8079
8080         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8081         it wasn't used.
8082
8083 2011-08-23  David S. Miller  <davem@davemloft.net>
8084
8085         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8086         subtract stack bias.
8087         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8088         %sp not %fp in calculations.
8089         (_JMPBUF_UNWINDS_ADJ): Likewise.
8090
8091         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8092         (aio_suspend): Call it to force an exception region around the
8093         AIO_MISC_WAIT() invocation.
8094
8095 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8096
8097         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8098         backslash.
8099
8100 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8101
8102         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8103         protection macro.
8104         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8105         and <dl-machine.h>.
8106         (Elf64_FuncDesc): Remove.
8107
8108 2011-08-22  David S. Miller  <davem@davemloft.net>
8109
8110         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8111         sigaltstack check, add missing cfi directives.
8112         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8113         missing cfi directives, and sigaltstack handling.
8114
8115 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8116
8117         [BZ #11724]
8118         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8119         object is seen twice.
8120         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8121
8122         * elf/Makefile (distribute): Add tst-initorder2.c.
8123         (tests): Add tst-initorder2.
8124         (modules-names): Add tst-initorder2a tst-initorder2b
8125         tst-initorder2c tst-initorder2d.  Add rules to build them.
8126         ($(objpfx)tst-initorder2.out): New rule.
8127         * elf/tst-initorder2.c: New file.
8128         * elf/tst-initorder2.exp: New file.
8129
8130 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8131
8132         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8133
8134         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8135         dependencies back to end of function.
8136
8137         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8138         $(elfobjdir)/ld.so.
8139
8140 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8141
8142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8143         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8145         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8146         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8147         of __vdso_gettimeofday.
8148         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8149         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8150         attribute_hidden.
8151         (_libc_vdso_platform_setup): Remove initialization of
8152         __vdso_gettimeofday and __vdso_time.
8153
8154 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8155
8156         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8157         and fgetc_unlocked.
8158         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8159         getc_unlocked.
8160
8161         * elf/dl-open.c (add_to_global): Report additions to the global scope
8162         for LD_DEBUG=scopes.
8163         (dl_open_worker): Also print scope of newly loaded dependencies.
8164         (_dl_show_scope): Indicate if there is no scope.
8165
8166         [BZ #13114]
8167         * stdio-common/Makefile (tests): Add bug24.
8168         * stdio-common/bug24.c: New file.
8169
8170 2011-08-19  Andreas Jaeger  <aj@suse.de>
8171
8172         [BZ #13114]
8173         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8174         non-existant file when using close-on-exec mode.
8175
8176 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8177
8178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8179         the very first instruction.
8180
8181         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8182         the CFI state in the end.
8183         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8184         inclusion of dl-trampoline.h.
8185         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8186
8187 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8188
8189         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8190         expectations for long double.
8191
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8193         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8194
8195 2011-08-14  David S. Miller  <davem@davemloft.net>
8196
8197         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8198         artificual limit depends upon the system page size.
8199
8200 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8201
8202         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8203         * resolv/Makefile: Define CFLAGS-libresolv.
8204
8205 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8206
8207         * nss/makedb.c (compute_tables): Make variables used in nested
8208         function static.
8209
8210 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8211
8212         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8213         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8214         if buffer was too small.
8215
8216         * elf/pldd.c (main): Attach to all threads in the process.
8217         Rewrite /proc handling to use *at functions.
8218
8219 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8220
8221         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8222         specifies first scope to show.
8223         (dl_open_worker): Update callers.  Move printing scope of new
8224         object to before the relocation.
8225         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8226         * sysdeps/generic/ldsodefs.h: Update declaration.
8227
8228         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8229         string for the scope number.
8230
8231 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8232
8233         * nscd/servicescache.c (cache_addserv): Make sure written is always
8234         initialized.
8235
8236 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8237
8238         * sysdeps/i386/i486/bits/atomic.h
8239         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8240         statement expression, so as to suppress "set but not used" warning.
8241         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8242
8243         * string/strncat.c (STRNCAT): Use prototype definition.
8244
8245         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8246         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8247         -Iprograms here.
8248         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8249         (localedef-modules): Add localedef.
8250         (locale-modules): Add locale.
8251
8252         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8253         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8254         to avoid a warning.
8255
8256 2011-08-14  David S. Miller  <davem@davemloft.net>
8257
8258         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8259         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8260
8261 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8262
8263         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8264         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8265         * elf/rtld.c (dl_main): Set l_name of vDSO.
8266         Call _dl_show_scope when DL_DEBUG_SCOPES.
8267         (process_dl_debug): Recognize scopes flag and also set it for all.
8268         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8269         Declare _dl_show_scope.
8270
8271         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8272         (do_dlopen): Pass caller_dlopen to dl_open.
8273         (__libc_dlopen_mode): Initialize caller_dlopen.
8274
8275         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8276         of libc.  Make tolower call locale-independent.  Optimize a bit by
8277         using isdigit instead of isalnum.
8278         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8279
8280 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8281
8282         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8283         was a dependency or dynamically loaded.
8284
8285 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8286
8287         * intl/l10nflist.c: Allow architecture-specific pop function.
8288         * sysdeps/x86_64/l10nflist.c: New file.
8289
8290         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8291         classification.
8292
8293 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8294
8295         * include/dirent.h: Add libc_hidden_proto for scandirat and
8296         scandirat64.  Don't declare __scandirat64.
8297         * dirent/scandirat.c: Add libc_hidden_def.
8298         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8299         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8300
8301 2011-08-10  David S. Miller  <davem@davemloft.net>
8302
8303         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8304         enum.
8305         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8306         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8307         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8308
8309 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8310
8311         * Versions.def [libc]: Add GLIBC_2.15.
8312         * dirent/Makefile (routines): Add scandirat and scandirat64.
8313         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8314         GLIBC_2.15.
8315         * dirent/dirent.h: Declare scandirat and scandirat64.
8316         * dirent/scandirat.c: New file.
8317         * dirent/scandirat64.c: New file.
8318         * sysdeps/wordsize-64/scandirat.c: New file.
8319         * sysdeps/wordsize-64/scandirat64.c: New file.
8320         * dirent/opendir.c: Define opendirat.
8321         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8322         using scandirat.
8323         * dirent/scandir64.c: Adjust for scandir.c change.
8324         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8325         __scandirat64, and __scandir_cancel_handler.
8326         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8327         additional parameter and use openat instead of open (outside of ld.so).
8328         Add new __opendir as wrapper around __opendirat.
8329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8330         here without requiring old scandirat implementation.
8331
8332 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8333
8334         * dirent/scandir.c (cancel_handler): Renamed to
8335         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8336         defined.  Adjust users.
8337         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8338         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8339
8340 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8341
8342         * string/test-string.h (IMPL): Use __STRING to expand name and then
8343         stringify it.
8344
8345         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8346         of cleanups.
8347
8348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8349
8350         * string/Makefile: Update.
8351         (strop-tests): Append strncat.
8352         * string/test-wcscmp.c: New file.
8353         New comprehensive test for wcscmp.
8354         * string/test-strcmp.c: Update.
8355         (WIDE): New define.
8356
8357 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8358
8359         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8360         line.
8361
8362 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8363
8364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8365         encoding to ACE if AI_IDN.
8366
8367 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8368
8369         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8370         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8371
8372 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8373
8374         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8375         Fix overflow bug in strncat.
8376         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8377
8378         * string/test-strncat.c: Update.
8379         Add new tests for checking overflow bugs.
8380
8381 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8382
8383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8384         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8385         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8386         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8388         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8389         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8390         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8391         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8392
8393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8394         (USE_AS_STRCAT): Define.
8395         Add strcat and strncat support.
8396         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8397
8398 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8399
8400         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8401         __n bigger than INT_MAX+1.
8402         (__strncmp_g): Likewise.
8403
8404 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8405
8406         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8407         * libio/stido.h: Likewise.
8408
8409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8410         (AF_NFC): Define.
8411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8412         (AF_NFC): Define.
8413
8414         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8415         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8416         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8417         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8419
8420         [BZ #13021]
8421         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8422         installed.
8423
8424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8425         typo.
8426         (_dl_x86_64_save_sse): Likewise.
8427
8428 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8429
8430         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8431         OSXSAVE.
8432         (_dl_x86_64_save_sse): Likewise.
8433
8434         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8435
8436         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8437
8438 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8439
8440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8441         change.
8442         (_dl_x86_64_save_sse): Use correct AVX check.
8443
8444 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8445
8446         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8447         bug in strncpy/strncat.
8448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8449
8450 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8451
8452         * string/tester.c (test_strcat): Add tests for different alignments
8453         of source and destination.
8454         (test_strncat): Likewise.
8455
8456 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8457
8458         [BZ #12852]
8459         * posix/glob.c (glob): Check passed in values before using them in
8460         expressions to avoid some overflows.
8461         (glob_in_dir): Likewise.
8462
8463         [BZ #13007]
8464         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8465         check for AVX enablement so that we don't crash with old kernels and
8466         new hardware.
8467         * elf/tst-audit4.c: Add same checks here.
8468         * elf/tst-audit6.c: Likewise.
8469
8470         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8471
8472 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8473
8474         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8475
8476 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8477
8478         * po/cs.po: Update from translation team.
8479         * po/bg.po: Likewise.
8480
8481 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8482
8483         * misc/sys/cdefs.h: Add support for const attribute.
8484         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8485         to gnu_dev_{major,minor,makedev} functions.
8486
8487 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8488
8489         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8490
8491 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8492
8493         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8494         strlen results.
8495
8496 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8497
8498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8499         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8500         register in order to avoid conflicts with the soft frame pointer
8501         being held in r11 when necessary.
8502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8503         (INTERNAL_VSYSCALL_NCS): Likewise.
8504
8505 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8506
8507         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8508         * elf/dl-fini.c (_dl_fini): Adjust caller.
8509         * elf/dl-close.c (_dl_close_worker): Likewise.
8510         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8511
8512 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8513
8514         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8515         "aux_cache->nlibs < 0".
8516
8517         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8518         in the reload-count case.
8519
8520 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8521
8522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8523         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8524         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8525         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8526         * sysdeps/x86_64/multiarch/strcat.S: New file.
8527         * sysdeps/x86_64/multiarch/strncat.S: New file.
8528         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8530         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8531         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8532         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8533         (USE_AS_STRCAT): Define.
8534         Add strcat and strncat support.
8535         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8536         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8537         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8538         * string/strncat.c: Update.
8539         (USE_AS_STRNCAT): Define.
8540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8541         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8542         and i7.
8543         * sysdeps/x86_64/multiarch/init-arch.h
8544         (bit_Prefer_PMINUB_for_stringop): New.
8545         (index_Prefer_PMINUB_for_stringop): Likewise.
8546         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8547         bit_Prefer_PMINUB_for_stringop.
8548
8549 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8550
8551         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8552         buffer64.
8553         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8554         of casting of buffer.
8555         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8556         buffer32 and buffer64.
8557         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8558         writes instead of casting of buffer.
8559         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8560         buffer32.
8561         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8562         casting of buffer.
8563
8564 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8565
8566         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8567
8568 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8569
8570         * nscd/nscd.c (termination_handler): Don't do anything for a database
8571         if it has not yet been initialized.
8572
8573 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8574
8575         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8576
8577 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8578
8579         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8580
8581 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8582
8583         * po/nl.po: Update from translation team.
8584         * po/sv.po: Likewise.
8585
8586 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8587
8588         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8589         now disallowed by GCC.
8590
8591         * configure.in (use-default-link): Default to yes if a test -shared
8592         link meets our qualifications.
8593         * configure: Regenerated.
8594
8595         * config.make.in (output-format): New variable.
8596         * configure.in: Check for ld --print-output-format support.
8597         * configure: Regenerated.
8598         * Makerules ($(common-objpfx)format.lds)
8599         [$(output-format) != unknown]: Just use $(output-format),
8600         instead of the linker-script munging.
8601
8602 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8603
8604         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8605         of $(common-objpfx)shlib.lds.
8606         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8607
8608         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8609         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8610
8611         * configure.in (-z relro check): Adjust test code to add a large
8612         writable data section after it.
8613         * configure: Regenerated.
8614
8615 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8616
8617         * configure.in (-z relro check): Fix test code to make the variable
8618         truly const.
8619         * configure: Regenerated.
8620
8621 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8622
8623         * nscd/nscd.h (struct traced_file): Define.
8624         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8625         elements.  Add traced_files.
8626         (inotify_fd): Declare.
8627         (register_traced_file): Declare.
8628         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8629         (inotify_fd): Export.
8630         (resolv_conf_descr): Remove.
8631         (nscd_init): Move inotify descriptor creation to main.
8632         Don't register files for notification here.
8633         (register_traced_file): New function.
8634         (invalidate_cache): Don't use reset_res to determine whether to call
8635         res_init, go through the list of registered files.
8636         (main_loop_poll): The inotify descriptors are now stored in the
8637         structures for the traced files.
8638         (main_loop_epoll): Likewise
8639         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8640         to __nss_disable_nscd.
8641         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8642         for a database anymore.  Check the records for all the registered
8643         files instead.
8644         * nss/Makefile (libnss_files-routines): Add files-init.
8645         (libnss_db-routines): Add db-init.
8646         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8647         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8648         * nss/nss_db/db-init.c: New file.
8649         * nss/nss_files/files-init.c: New file.
8650         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8651         __nss_lookup_function.
8652         (__nss_lookup_function): Call nss_load_library.
8653         (nss_load_all_libraries): New function.
8654         (__nss_disable_nscd): Take parameter with callback function for files
8655         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8656         used for the cached services.
8657         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8658         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8659         options for features to all the files in nscd.
8660
8661         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8662
8663 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8664
8665         * csu/elf-init.c (__libc_csu_init): Comment typo.
8666
8667 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8668
8669         * po/pl.po: Update from translation team.
8670         * po/ja.po: Likewise.
8671         * po/ru.po: Likewise.
8672         * po/ko.po: Likewise.
8673         * po/fr.po: Likewise.
8674
8675 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8676
8677         * configure.in (.ctors/.dtors header and trailer check):
8678         Use an empirical test on a built program.
8679         * configure: Regenerated.
8680
8681         * configure.in (-z relro check): Use an empirical test on a built DSO.
8682         Detect, but do not require, on ia64.
8683         * configure: Regenerated.
8684
8685         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8686         Update tests that use readelf to use $READELF instead.
8687         * configure: Regenerated.
8688
8689 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8690
8691         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8692         if the result is not used.
8693
8694 2011-07-05  Andreas Jaeger  <aj@suse.de>
8695
8696         [BZ#9696]
8697         * stdlib/tst-strtod.c: Add testcase.
8698
8699 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8700
8701         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8702         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8703         The latter has a higher limit.  Take additional parameter to pass to
8704         the new function.
8705         (__pathconf): Pass file to __statfs_link_max.
8706         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8707         __statfs_link_max.
8708         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8709         __statfs_link_max.
8710
8711         [BZ #12868]
8712         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8713         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8714         Handle Lustre.
8715         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8716         (__statfs_filesize_max): Likewise.
8717         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8718
8719 2011-07-05  Andreas Jaeger  <aj@suse.de>
8720
8721         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8722
8723 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8724
8725         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8726         `status' variable.
8727         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8728         Likewise.
8729
8730 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8731
8732         * Makefile (strop-tests): Add strncat.
8733         * string/test-strncat.c: New file.
8734
8735 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8736
8737         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8738
8739 2011-06-21  Andreas Jaeger  <aj@suse.de>
8740
8741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8742         Copy rule from iconvdata/Makefile.
8743
8744 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8745
8746         [BZ #12922]
8747         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8748         but no long options are defined, just return 'W'.
8749
8750 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8751
8752         [BZ #9696]
8753         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8754
8755 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8756
8757         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8758         netgroups to read.
8759         (innetgr): Likewise.
8760
8761 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8762
8763         * config.make.in (install_root): Default to $(DESTDIR).
8764
8765 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8766
8767         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8768
8769 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8770
8771         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8772
8773         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8774         containing directory rather than embedding absolute directory names.
8775
8776         * scripts/check-local-headers.sh: Rewritten using awk.
8777         Match by word, not by line.  Print error messages for matches.
8778         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8779
8780         * Makerules [shlib-lds-flags empty]:
8781         ($(common-objpfx)libc_pic.opts): New target.
8782         ($(common-objpfx)libc_pic.os.clean): New target.
8783         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8784
8785         * config.make.in (OBJCOPY): New variable.
8786         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8787         * configure: Regenerated.
8788
8789         * config.make.in (use-default-link): New variable.
8790         * configure.in (use_default_link): Grok --with-default-link to set it.
8791         * configure: Regenerated.
8792         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8793         (shlib-lds, shlib-lds-flags): Define to empty.
8794
8795         * Makerules (shlib-lds): New variable.
8796         (shlib-lds-flags): New variable.
8797         (build-shlib, build-moduile, build-module-asneeded): Use it.
8798         ($(common-objpfx)libc.so): Use $(shlib-lds).
8799         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8800         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8801
8802         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8803         DT_FLAGS/DT_FLAGS_1 with zero flags.
8804
8805         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8806         linker script munging.
8807
8808 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8809
8810         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8811         as 128-bit value.
8812         * crypt/sha512.c (sha512_process_block): Perform total addition using
8813         128-bit if possible.
8814         (__sha512_finish_ctx): Likewise.
8815         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8816         as 64-bit value.
8817         * crypt/sha256.c (SWAP64): Define.
8818         (sha256_process_block): Perform total addition using 64-bit if
8819         possible.
8820         (__sha256_finish_ctx): Likewise.
8821
8822 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8823
8824         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8825         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8826         * nscd/hstcache.c (cache_addhst): Likewise.
8827         * nscd/grpcache.c (cache_addgr): Likewise.
8828         * nscd/aicache.c (addhstaiX): Likewise
8829         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8830
8831 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8832
8833         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8834         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8835         * nscd/hstcache.c (cache_addhst): Likewise.
8836         * nscd/grpcache.c (cache_addgr): Likewise.
8837         * nscd/aicache.c (addhstaiX): Likewise
8838
8839 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8840
8841         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8842         domain only when needed.
8843
8844 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8845
8846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8847         is always restored.
8848
8849 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8850
8851         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8852         are re-adding the entry.
8853         * nscd/servicescache.c (cache_addserv): Likewise.
8854
8855 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8856
8857         * sysdeps/generic/dl-irel.h: fix protection against multiple
8858         inclusions.
8859         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8860
8861 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8862
8863         [BZ #12935]
8864         * malloc/memusage.sh: Fix quoting in message.
8865         * debug/xtrace.sh: Likewise.
8866
8867         * configure.in: Remove support for --experimental-malloc option, make
8868         it the default.
8869         * config.make.in: Likewise.
8870         * malloc/Makefile: Likewise.
8871
8872 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8873
8874         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8875         two-byte characters.
8876
8877 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8878
8879         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8880         AC_CACHE_CHECK invocation.
8881         * configure: Regenerated.
8882
8883         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8884
8885 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8886
8887         [BZ #12350]
8888         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8889         bit from old_res_options.
8890
8891         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8892
8893         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8894         value type for setfct.
8895
8896 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8897
8898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8899         __gettimeofday instead of gettimeofday.
8900
8901 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8902
8903         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8904
8905 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8906
8907         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8908
8909         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8910         info.
8911
8912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8913
8914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8915         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8916         strcpy-sse2-unaligned strncpy-sse2-unaligned
8917         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8918         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8919         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8920         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8921         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8922         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8923         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8924         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8925         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8926         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8927         (STRCPY): Support SSE2 and SSSE3 versions.
8928
8929 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8930
8931         [BZ #12874]
8932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8933         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8934         kernels which artificially limit size of requests.
8935
8936 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8937
8938         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8939         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8940         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8941         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8942         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8943         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8944         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8945         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8946         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8947         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8948         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8949         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8950         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8951         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8952         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8954         Enable unaligned load optimization for Intel Core i3, i5 and i7
8955         processors.
8956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8957         Define.
8958         (index_Fast_Unaligned_Load): Define.
8959         (HAS_FAST_UNALIGNED_LOAD): Define.
8960
8961 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8962
8963         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8964
8965 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8966
8967         [BZ #12907]
8968         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8969         until it is clear that the information is realy needed.
8970         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8971
8972 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8973
8974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8975
8976 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8977
8978         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8979         /sys/devices/system/cpu/online if it is usable.
8980
8981         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8982         reading the information from the /proc filesystem to once a second.
8983
8984 2011-06-21  Andreas Jaeger  <aj@suse.de>
8985
8986         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8987         NULL after inclusion of kernel headers.
8988
8989 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8990
8991         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8992         calls to internal_setent.
8993
8994         [BZ #12885]
8995         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8996         addresses using gethostbyname4_r ignore IPv4 addresses.
8997
8998         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8999         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9000
9001         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9002
9003 2011-06-20  David S. Miller  <davem@davemloft.net>
9004
9005         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9006         inclusions.
9007         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9008
9009         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9010         (elf_irel): Use it.
9011         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9012         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9013         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9014         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9015         * sysdeps/x86_64/dl-irel.h: Likewise.
9016
9017         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9018         * elf/dl-sym.c: Likewise.
9019
9020 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9021
9022         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9023         need to dereference resplen2.
9024
9025 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9026
9027         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9028
9029 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9030
9031         * Makeconfig: Define vardbdir and inst_vardbdir.
9032         * nss/Makefile: Add rules to install db-Makefile.
9033
9034         * nss/nss_db/db-XXX.c: Cleanup.
9035
9036         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9037         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9038         GLIBC_PRIVATE.
9039         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9040         * nss/makedb.c: Implement -g option to specify that value strings
9041         are generated and should not be added to table iterated over for
9042         get*ent calls.
9043         * nss/nss_db/db-initgroups.c: New file.
9044
9045         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9046         interface.
9047
9048         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9049         (internal_getgrouplist): Adjust to name change.
9050         Update use_initgroups_entry if this is not the first call.
9051         * nss/databases.def: Add initgroups entry.
9052
9053         * nss/makedb.c (compute_tables): Check result of multiple hash table
9054         sizes to minimize maximum chain length.
9055
9056 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9057
9058         * Versions.def: Add entry for libnss_db.
9059         * shlib-versions: Likewise.
9060         * nss/Makefile: Add rules to build libnss_db.
9061         * nss/Versions: Add libnss_db information.  Organize libnss_files
9062         entries better.
9063         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9064         makedb progra.  Some minor improvements to generate smaller files.
9065         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9066         here from...
9067         * nss/makedb.c: ...here.
9068         Improve database format to be smaller and require less memory at
9069         runtime.
9070         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9071         db anymore.
9072         * nss/nss_db/db-netgrp.c: Likewise.
9073         * nss/nss_db/db-open.c: Likewise.
9074         * nss/nss_files/flies-XXX.x: Adjust comments.
9075         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9076         * nss/nss_files/files-grp.c: Likewise.
9077         * nss/nss_files/files-hosts.c: Likewise.
9078         * nss/nss_files/files-network.c: Likewise.
9079         * nss/nss_files/files-proto.c: Likewise.
9080         * nss/nss_files/files-pwd.c: Likewise.
9081         * nss/nss_files/files-rpc.c: Likewise.
9082         * nss/nss_files/files-service.c: Likewise.
9083         * nss/nss_files/files-sgrp.c: Likewise.
9084         * nss/nss_files/files-spwd.c: Likewise.
9085         * nss/nss_db/db-alias.c: Removed.
9086         * nss/nss_db/dummy-db.h: Removed.
9087
9088 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9089
9090         * nss/makedb.c: Rewritten to not use database library.
9091         * nss/Makefile: Update to build new makedb program.
9092
9093 2011-06-14  Andreas Jaeger  <aj@suse.de>
9094
9095         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9096         memset declaration.
9097
9098 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9099
9100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9101         tmpbuf.
9102
9103 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9104
9105         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9106         * elf/Makefile ($(objpfx)ld.so): Likewise.
9107
9108         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9109         Don't list ld.so twice in dependencies.
9110
9111         * posix/bug-regex31.c: Include <stdlib.h>.
9112
9113         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9114
9115         * nis/nss_compat/compat-spwd.c
9116         (getspent_next_nss_netgr): Remove unused variable.
9117         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9118
9119         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9120         nonmembers" output to use the right array.
9121
9122         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9123
9124         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9125
9126         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9127         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9128         * catgets/gencat.c (read_input_file): Likewise.
9129         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9130
9131         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9132         variable definition inside #if's controlling its use.
9133
9134         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9135
9136         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9137
9138         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9139
9140         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9141         unreachable code.
9142
9143         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9144
9145         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9146         * configure: Regenerated.
9147
9148         * Makerules: Revert last change.
9149         * elf/Makefile: Likewise.
9150
9151 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9152
9153         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9154         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9155         (reloc-link): Likewise.
9156
9157 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9158
9159         * elf/Makefile: Add rules to build pldd.
9160         * elf/pldd.c: New file.
9161         * elf/pldd-xx.c: New file.
9162
9163 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9164
9165         * version.h: Update for 2.15 development version.
9166
9167 2011-06-07  David S. Miller  <davem@davemloft.net>
9168
9169         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9170         ifuncs.
9171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9172         elf_machine_lazy_rel): Likewise.
9173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9175         elf_machine_lazy_rel): Likewise.
9176         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9177         dl_hwcap via passed in argument.
9178         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9179         Likewise.
9180
9181 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9182
9183         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9184
9185 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9186
9187         [BZ #12849]
9188         * manual/fdl-1.1.texi: New file, verbatim from:
9189         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9190         * manual/lgpl-2.1.texi: New file, verbatim from:
9191         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9192         * manual/Makefile (licenses): New variable, list those new file names.
9193         (texis): Use it.
9194         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9195
9196         * manual/fdl.texi: File removed.
9197         * manual/lesser.texi: File removed.
9198         * manual/libc.texinfo (Copying, Documentation License):
9199         Use new @include file names, put @appendix directive before @include.
9200
9201 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9202
9203         [BZ #12841]
9204         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9205         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9206         (mq_open): Add __NTH.
9207
9208 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9209
9210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9211         Assume Intel Core i3/i5/i7 processor if AVX is available.
9212
9213 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9214
9215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9216         typo.
9217
9218 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9219
9220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9221         memory.  Use alloca_account.  Fix memory leak when retrying.
9222
9223 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9224
9225         * version.h (RELEASE): Bump for 2.14 release.
9226         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9227
9228         * config.make.in (RANLIB): Remove entry.
9229
9230 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9231
9232         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9233         (libc.pot): Work around missing support for .ksh extension in xgettext.
9234
9235         [BZ #12684]
9236         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9237         if both request failed.
9238         (send_dg): In case of server errors clear resplen or *resplen2.
9239
9240         [BZ #12454]
9241         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9242         when there are multiple maps.
9243         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9244         (_dl_fini): Remove test here.
9245
9246         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9247
9248 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9249
9250         [BZ #12350]
9251         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9252         bit from old_res_options.
9253         (gaih_inet): Likewise.
9254
9255         [BZ #11099]
9256         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9257         as signed.
9258
9259         * resolv/res_init.c (res_setoptions): Make the code more compact.
9260
9261         [BZ #11558]
9262         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9263         set RES_USEVC.
9264
9265         [BZ #11634]
9266         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9267
9268         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9269
9270         [BZ #11781]
9271         * malloc/malloc.h: Declare malloc hook variables as volatile.
9272
9273         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9274         in last patch.
9275
9276         [BZ #11799]
9277         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9278         raise in the comment.
9279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9281         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9282
9283 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9284
9285         [BZ #12811]
9286         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9287         grow the buffers more if it already has to be sufficient.
9288         (build_wcs_upper_buffer): Likewise.
9289         * posix/regexec.c (check_matching): Likewise.
9290         (clean_state_log_if_needed): Likewise.
9291         (extend_buffers): Don't enlarge buffers beyond size of the input
9292         buffer.
9293         Patches mostly by Emil Wojak <emil@wojak.eu>.
9294         * posix/bug-regex32.c: New file.
9295         * posix/Makefile (tests): Add bug-regex32.
9296
9297         * locale/findlocale.c (_nl_find_locale): Return right away if
9298         _nl_explode_name failed.
9299         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9300
9301         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9302
9303         * debug/xtrace.sh: Unify messages.
9304         * malloc/memusage.sh: Likewise.
9305
9306         [BZ #12813]
9307         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9308         time symbol from vDSO.  Substitute with vsyscall if not available.
9309         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9310         __vdso_time.
9311
9312         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9313         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9314         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9315         Add sendmmsg and internal_sendmmsg.
9316         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9317         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9318         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9319
9320         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9321         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9322         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9323
9324 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9325
9326         [BZ #12813]
9327         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9328         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9329         available.
9330         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9331         __vdso_getcpu.
9332
9333         [BZ #12814]
9334         * iconvdata/Makefile (tests): Add bug-iconv9.
9335         * iconvdata/bug-iconv9.c: New file.
9336
9337 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9338
9339         [BZ #12814]
9340         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9341
9342 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9343
9344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9345         (struct user_regs_struct): Change intcs field back to cs.
9346
9347 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9348
9349         * po/ja.po: Update from translation team.
9350
9351 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9352
9353         [BZ #12795]
9354         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9355         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9356
9357 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9358
9359         * stdlib/longlong.h: Update from GCC.
9360
9361 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9362
9363         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9364         parameter name.
9365         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9366         Add parameter name.
9367         (__sysconf): Pass it down.
9368
9369 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9370
9371         [BZ #12671]
9372         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9373         some situations.
9374         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9375         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9376         add in in __libc_use_alloca calls.  Adjust callers.
9377         (glob): Use malloc in some situations.
9378
9379         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9380         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9381         pltexit.
9382
9383 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9384
9385         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9386         and CLOCK_BOOTTIME_ALARM.
9387
9388         [BZ #12782]
9389         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9390         is returned.
9391
9392         * string/_strerror.c (__strerror_r): Print negative errors as signed
9393         numbers.
9394
9395         [BZ #12777]
9396         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9397         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9398         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9399
9400         * configure.in: Fix typo in redirection and correct removal of test
9401         files in two cases.
9402
9403         [BZ #12788]
9404         * locale/setlocale.c (new_composite_name): Fix test to check for
9405         identical name of all categories.
9406
9407         [BZ #12792]
9408         * libio/filedoalloc.c (local_isatty): New function.
9409         (_IO_file_doallocate): Use local_isatty.
9410         * stdio-common/perror.c (perror): In case a new stream is used
9411         forward the stream error.
9412         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9413         error flag.
9414
9415 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9416
9417         [BZ #11869]
9418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9419         alloca.
9420         * include/alloca.h (extend_alloca_account): Define.
9421
9422         [BZ #11857]
9423         * posix/regex.h: Fix comments with documentation of user-accessible
9424         fields after compilation and describe correct free'ing of pattern
9425         after re_compile_pattern.
9426         Patch by Reuben Thomas <rrt@sc3d.org>.
9427
9428 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9429
9430         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9431         and -mno-altivec to prevent the compiler from using Altivec and/or
9432         VSX instructions when the corresponding registers are not available.
9433
9434 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9435
9436         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9437
9438 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9439
9440         * libio/freopen.c (freopen): Use __dup2, not dup2.
9441         * libio/freopen64.c (freopen64): Likewise.
9442
9443 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9444
9445         [BZ #12775]
9446         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9447         * math/Makefile (tests): Add test-powl.
9448         (CFLAGS-test-powl.c): Define.
9449         * math/test-powl.c: New file.
9450
9451 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9452
9453         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9454
9455 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9456
9457         [BZ #11837]
9458         * iconvdata/gb18030.c: Update to GB18020-2005.
9459
9460 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9461
9462         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9463         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9464         Patch by Aharon Robbins <arnold@skeeve.com>.
9465
9466         [BZ #11892]
9467         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9468         on the stack.
9469
9470         [BZ #11895]
9471         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9472         through underflows.
9473
9474         [BZ #12766]
9475         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9476         point to strings before performing equality test for error_one_per_line
9477         mode.
9478
9479         [BZ #11697]
9480         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9481
9482         [BZ #11820]
9483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9484         (struct user_fpregs_struct): Avoid __uint*_t types.
9485
9486         [BZ #6420]
9487         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9488         symbol info.  Use it instead of calling _dl_addr locally.
9489         (lock_and_info): New function.
9490         (tr_freehook): Call lock_and_info and pass symbol info as additional
9491         parameter to tr_where.
9492         (tr_mallochook): Likewise.
9493         (tr_reallochook): Likewise.
9494         (tr_memalignhook): Likewise.
9495
9496         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9497         used and couldn't be at all thread-safe.
9498
9499 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9500
9501         * libio/freopen.c (freopen): Don't close old file descriptor
9502         before the new one is opened.  Instead dup the new file descriptor
9503         to the old one after the new stream is created.
9504         * libio/freopen64.c (freopen64): Likewise.
9505         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9506         * libio/fileops.c (_IO_new_file_close_it): Handle new
9507         _IO_FLAGS2_NOCLOSE flag.
9508         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9509         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9510         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9511         _IO_FLAGS2_NOCLOSE flag.
9512         * include/unistd.h: Add hidden_proto for dup3.
9513         Define __have_dup3.
9514         * io/dup3.c: Define hidden symbol.
9515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9516
9517         [BZ #7101]
9518         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9519         when an incomplete long option is used.
9520         * posix/tst-getopt_long1.c: New file.
9521         * posix/Makefile (tests): Add tst-getopt_long1.
9522
9523         [BZ #10138]
9524         * scripts/config.guess: Update from autoconf-2.68.
9525         * scripts/config.sub: Likewise.
9526
9527         [BZ #10157]
9528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9529         tests into ...
9530         (has_cpuclock): ...this.  New function.
9531         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9532         macro here based on has_cpuclock code.
9533
9534         [BZ #10149]
9535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9536         First byte (not low byte) is now always NUL.
9537         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9538
9539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9540         Use non-cancelable interfaces.
9541
9542         [BZ #9809]
9543         * locale/iso-639.def: Add entry for Sorani.
9544
9545         [BZ #11901]
9546         * include/stdlib.h: Move include protection to the right place.
9547         Define abort_msg_s.  Declare __abort_msg with it.
9548         * stdlib/abort.c (__abort_msg): Adjust type.
9549         * assert/assert.c (__assert_fail_base): New function.  Majority
9550         of code from __assert_fail.  Allocate memory for __abort_msg with
9551         mmap.
9552         (__assert_fail): Now call __assert_fail_base.
9553         * assert/assert-perr.c: Remove bulk of implementation.  Use
9554         __assert_fail_base.
9555         * include/assert.hL Declare __assert_fail_base.
9556         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9557         mmap.
9558         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9559
9560 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9561
9562         [BZ #11952]
9563         [BZ #12453]
9564         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9565         until all modules are registered in the DTV.
9566         * elf/Makefile: Add rules to build and run tst-tls19.
9567         * elf/tst-tls19.c: New file.
9568         * elf/tst-tls19mod1.c: New file.
9569         * elf/tst-tls19mod2.c: New file.
9570         * elf/tst-tls19mod3.c: New file.
9571         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9572
9573         [BZ #12083]
9574         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9575         correctly.
9576
9577         [BZ #12601]
9578         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9579         two-byte sequence errors.
9580         * iconvdata/Makefile (tests): Add bug-iconv8.
9581         * iconvdata/bug-iconv8.c: New file.
9582
9583         [BZ #12626]
9584         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9585         buf2 definition.
9586
9587         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9588
9589         [BZ #12432]
9590         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9591         (dummy_getcfa): New function.
9592         (init): Get _Unwind_GetCFA address, use dummy if not found.
9593         (backtrace_helper): In recursion check, also check whether CFA changes.
9594         (__backtrace): Completely initialize arg.
9595
9596         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9597         storing incomplete byte sequence in state object.  Avoid testing for
9598         guaranteed too small input if we know there is enough data available.
9599
9600 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9601
9602         * Makeconfig (+link-pie): Indent.
9603         * Rules (binaries-pie): Define if $(have-fpie) and
9604         $(build-shared).
9605         (binaries-shared): Also filter out $(binaries-pie).
9606         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9607         * nscd/Makefile (others-pie): Add nscd.
9608         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9609         ($(objpfx)nscd): Remove command override.
9610         * login/Makefile (others-pie): Add pt_chown.
9611         ($(objpfx)pt_chown): Remove command override.
9612         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9613         remove command overrides.
9614
9615 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9616
9617         * libio/tst_putwc.c: Fix error messages.
9618
9619         [BZ #12724]
9620         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9621         currently writing and seek to current position when not.
9622         * libio/Makefile (tests): Add bug-fclose1.
9623         * libio/bug-fclose1.c: New file.
9624
9625 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9626
9627         [BZ #12511]
9628         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9629         don't set DF_1_NODELETE here.
9630         (do_lookup_x): When entering new entry test for copy relocation
9631         and if necessary set DF_1_NODELETE flag.
9632         * elf/tst-unique4.cc: New file.
9633         * elf/tst-unique4.h: New file.
9634         * elf/tst-unique4lib.cc: New file.
9635         * elf/Makefile: Add rules to build and run tst-unique4.
9636         Patch by Piotr Bury <pbury@goahead.com>.
9637
9638 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9639
9640         [BZ #12052]
9641         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9642
9643         [BZ #12625]
9644         * misc/mntent_r.c (addmntent): Flush the stream after the output
9645
9646         [BZ #12393]
9647         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9648         (is_trusted_path_normalize): Skip initial colon.  Append slash
9649         to empty buffer.  Duplicate is_trusted_path code but allow
9650         constructed patch to be prefix.
9651         (is_dst): Allow $ORIGIN followed by /.
9652         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9653         Correct testing of result of is_trusted_path_normalize
9654         (decompose_rpath): Fix warning.
9655
9656 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9657
9658         [BZ #11257]
9659         * grp/initgroups.c (internal_getgrouplist): When we found the service
9660         list through the initgroups entry in nsswitch.conf do not always
9661         continue on a successful lookup.  Don't always use the
9662         __nss_group_database value if it is set.
9663         * nss/nsswitch.conf (initgroups): Change action for successful db
9664         lookup to continue for compatibility.
9665
9666 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9667
9668         [BZ #11532]
9669         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9670         and CP774 modules.
9671         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9672         and CP774 modules.
9673         * iconvdata/tst-tables.sh: Likewise.
9674         * iconvdata/cp770.c: New file.
9675         * iconvdata/cp771.c: New file.
9676         * iconvdata/cp772.c: New file.
9677         * iconvdata/cp773.c: New file.
9678         * iconvdata/cp774.c: New file.
9679         * iconvdata/testdata/CP770: New file.
9680         * iconvdata/testdata/CP770..UTF8: New file.
9681         * iconvdata/testdata/CP771: New file.
9682         * iconvdata/testdata/CP771..UTF8: New file.
9683         * iconvdata/testdata/CP772: New file.
9684         * iconvdata/testdata/CP772..UTF8: New file.
9685         * iconvdata/testdata/CP773: New file.
9686         * iconvdata/testdata/CP773..UTF8: New file.
9687         * iconvdata/testdata/CP774: New file.
9688         * iconvdata/testdata/CP774..UTF8: New file.
9689
9690         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9691         END CHARMAP line.
9692         * iconvdata/gen-8bit-gap.sh: Likewise.
9693         * iconvdata/gen-8bit.sh: Likewise.
9694
9695         * locale/iso-639.def: Add ary entry.
9696
9697         [BZ #11258]
9698         * locale/C-translit.h.in: Add U20A1 transliteration.
9699
9700         [BZ #12178]
9701         * locale/iso-639.def: Add wae entry.
9702         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9703
9704         [BZ #12545]
9705         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9706         for n.
9707
9708         [BZ #12711]
9709         * locale/C-translit.h.in: Add entry for U20B9.
9710         Patch by pravin.d.s@gmail.com.
9711
9712 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9713
9714         [BZ #12713]
9715         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9716         ENAMETOOLONG use generic getcwd.
9717         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9718         in rtld.  Use *stat64.
9719         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9720         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9721         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9722         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9723         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9724         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9725         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9726         __fstatat64 macros.
9727         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9728         * dirent/rewinddir.c: Add libc_hidden_def.
9729         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9730         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9731
9732         * include/dirent.h (__alloc_dir): Add flags parameter.
9733         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9734         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9735         __alloc_dir.
9736         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9737         from fdopendir if O_CLOEXEC is already set.
9738
9739 2011-03-15  Alan Modra  <amodra@gmail.com>
9740
9741         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9742         l_tls_firstbyte_offset non-zero.  Save padding offset in
9743         l_tls_firstbyte_offset for later use.
9744         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9745         freeing static tls block.
9746
9747 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9748
9749         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9750         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9751         being defined by the kernel headers.
9752
9753 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9754
9755         [BZ #12734]
9756         * resolv/resolv.h: Define RES_NOTLDQUERY.
9757         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9758         no-tld-query and set RES_NOTLDQUERY.
9759         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9760         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9761         modern BIND to search name as TLD unless forbidden.
9762
9763 2011-05-07  Petr Baudis  <pasky@suse.cz>
9764             Ulrich Drepper  <drepper@gmail.com>
9765
9766         [BZ #12393]
9767         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9768         (is_trusted_path): ...to here.
9769         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9770         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9771         using is_trusted_path_normalize() in setuid scripts.
9772
9773 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9774
9775         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9776         __BEGIN/__END_DECLS.
9777
9778 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9779
9780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9781         NSS_STATUS_NOTFOUND if no record was found.
9782
9783 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9784
9785         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9786         (headers-not-in-tirpc): Remove rpc/netdb.h
9787         * resolv/netdb.h: Revert last change.
9788
9789 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9790
9791         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9792         circular dependency between libgcc.a and libc.a.
9793
9794 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9795
9796         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9797         * nis/Makefile: Don't install rpcsvc/*.
9798         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9799         instead of <rpc/types.h>.
9800         (MAXHOSTNAMELEN): Define.
9801
9802 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9803
9804         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9805
9806 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9807
9808         [BZ #12714]
9809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9810         gethostbyname4_r when IPv6 results are possible.
9811
9812 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9813
9814         [BZ #12723]
9815         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9816         _PC_PIPE_BUF handling.
9817
9818 2011-04-30  Bruno Haible  <bruno@clisp.org>
9819
9820         [BZ #12717]
9821         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9822         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9823         to 'int'.
9824         * inet/getnameinfo.c (getnameinfo): Likewise.
9825
9826 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9827
9828         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9829         to groups setting in database lookup.
9830         * nss/nsswitch.conf: Add initgroups entry.
9831
9832 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9833
9834         [BZ #12685]
9835         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9836         mode string.
9837         Patch by Eric Blake <eblake@redhat.com>.
9838
9839 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9840
9841         * sunrpc/Makefile (need-export-routines): Add svc_run.
9842         (routines): Remove svc_run.
9843         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9844         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9845         * sunrpc/svc_run.c (svc_run): Likewise.
9846         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9847
9848 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9849
9850         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9851         problem in reallocation in last patch.
9852
9853 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9854
9855         * sunrpc/Makefile: Move inclusion of Rules.
9856
9857 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9858
9859         * nss/nss_files/files-initgroups.c: New file.
9860         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9861         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9862         _nss_files_initgroups_dyn.
9863
9864 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9865
9866         * elf/elf.h (R_ARM_IRELATIVE): Define.
9867
9868 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9869
9870         * po/ru.po: Update from translation team.
9871
9872 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9873
9874         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9875         dependencies.
9876
9877 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9878
9879         [BZ #12653]
9880         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9881         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9884         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9885
9886 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9887
9888         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9889         differing bytes.
9890         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9893
9894 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9895
9896         [BZ #12420]
9897         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9898         storing it.
9899         * stdlib/bug-getcontext.c: New file.
9900         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9901
9902 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9903
9904         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9905         instructions into .machine "z9-109".
9906         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9907         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9908
9909 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9910
9911         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9912         between environment variables and auxiliary vector.
9913
9914 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9915
9916         * Makefile: Add rules to build linkobj/libc.so.
9917         * include/libc-symbols.h: Define libc_hidden_nolink.
9918         * include/rpc/auth.h: Mark functions which are to be hidden.
9919         * include/rpc/auth_des.h: Likewise.
9920         * include/rpc/auth_unix.h: Likewise.
9921         * include/rpc/clnt.h: Likewise.
9922         * include/rpc/des_crypt.h: Likewise.
9923         * include/rpc/key_prot.h: Likewise.
9924         * include/rpc/pmap_clnt.h: Likewise.
9925         * include/rpc/pmap_prot.h: Likewise.
9926         * include/rpc/pmap_rmt.h: Likewise.
9927         * include/rpc/rpc_msg.h: Likewise.
9928         * include/rpc/svc.h: Likewise.
9929         * include/rpc/svc_auth.h: Likewise.
9930         * include/rpc/xdr.h: Likewise.
9931         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9932         * nss/Makefile: Likewise.
9933         * sunrpc/Makefile: Don't install headers.  Build library with normal
9934         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9935         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9936         for the compat linking library.  Remove use of INTDEF/INTUSE.
9937         * sunrpc/auth_none.c: Likewise.
9938         * sunrpc/auth_unix.c: Likewise.
9939         * sunrpc/authdes_prot.c: Likewise.
9940         * sunrpc/authuxprot.c: Likewise.
9941         * sunrpc/clnt_gen.c: Likewise.
9942         * sunrpc/clnt_perr.c: Likewise.
9943         * sunrpc/clnt_raw.c: Likewise.
9944         * sunrpc/clnt_simp.c: Likewise.
9945         * sunrpc/clnt_tcp.c: Likewise.
9946         * sunrpc/clnt_udp.c: Likewise.
9947         * sunrpc/clnt_unix.c: Likewise.
9948         * sunrpc/des_crypt.c: Likewise.
9949         * sunrpc/des_soft.c: Likewise.
9950         * sunrpc/get_myaddr.c: Likewise.
9951         * sunrpc/key_call.c: Likewise.
9952         * sunrpc/key_prot.c: Likewise.
9953         * sunrpc/netname.c: Likewise.
9954         * sunrpc/pm_getmaps.c: Likewise.
9955         * sunrpc/pm_getport.c: Likewise.
9956         * sunrpc/pmap_clnt.c: Likewise.
9957         * sunrpc/pmap_prot.c: Likewise.
9958         * sunrpc/pmap_prot2.c: Likewise.
9959         * sunrpc/pmap_rmt.c: Likewise.
9960         * sunrpc/publickey.c: Likewise.
9961         * sunrpc/rpc_cmsg.c: Likewise.
9962         * sunrpc/rpc_common.c: Likewise.
9963         * sunrpc/rpc_dtable.c: Likewise.
9964         * sunrpc/rpc_prot.c: Likewise.
9965         * sunrpc/rpc_thread.c: Likewise.
9966         * sunrpc/rtime.c: Likewise.
9967         * sunrpc/svc.c: Likewise.
9968         * sunrpc/svc_auth.c: Likewise.
9969         * sunrpc/svc_authux.c: Likewise.
9970         * sunrpc/svc_raw.c: Likewise.
9971         * sunrpc/svc_run.c: Likewise.
9972         * sunrpc/svc_simple.c: Likewise.
9973         * sunrpc/svc_tcp.c: Likewise.
9974         * sunrpc/svc_udp.c: Likewise.
9975         * sunrpc/svc_unix.c: Likewise.
9976         * sunrpc/svcauth_des.c: Likewise.
9977         * sunrpc/xcrypt.c: Likewise.
9978         * sunrpc/xdr.c: Likewise.
9979         * sunrpc/xdr_array.c: Likewise.
9980         * sunrpc/xdr_float.c: Likewise.
9981         * sunrpc/xdr_intXX_t.c: Likewise.
9982         * sunrpc/xdr_mem.c: Likewise.
9983         * sunrpc/xdr_rec.c: Likewise.
9984         * sunrpc/xdr_ref.c: Likewise.
9985         * sunrpc/xdr_sizeof.c: Likewise.
9986         * sunrpc/xdr_stdio.c: Likewise.
9987
9988 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9989
9990         [BZ #12650]
9991         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9992         * sysdeps/ia64/dl-tls.h: Likewise.
9993         * sysdeps/powerpc/dl-tls.h: Likewise.
9994         * sysdeps/s390/dl-tls.h: Likewise.
9995         * sysdeps/sh/dl-tls.h: Likewise.
9996         * sysdeps/sparc/dl-tls.h: Likewise.
9997         * sysdeps/x86_64/dl-tls.h: Likewise.
9998         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9999
10000 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10001
10002         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10003         rpath element also skip the following colon.
10004         (expand_dynamic_string_token): Add is_path parameter and pass
10005         down to DL_DST_REQUIRED and _dl_dst_substitute.
10006         (decompose_rpath): Call expand_dynamic_string_token with
10007         non-zero is_path.  Ignore empty rpaths.
10008         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10009         with zero is_path.
10010
10011 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10012
10013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10014         Make cancelable.
10015
10016 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10017
10018         [BZ #12655]
10019         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10020         Patch by Filipe David Manana <fdmanana@apache.org>.
10021
10022 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10023
10024         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10025         Maintain aligned stack.
10026         (CHECK_RSP): Remove unused macro.
10027
10028 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10029
10030         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10031         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10032
10033 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10034
10035         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10036
10037         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10038
10039 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10040
10041         [BZ #12518]
10042         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10043         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10044         * sysdeps/x86_64/memmove.c: New file.
10045         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10046         (memcpy): Renamed to ...
10047         (__new_memcpy): This.
10048         (memcpy): Provide GLIBC_2_14 memcpy.
10049         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10050         (memcpy): Provide GLIBC_2_2_5 memcpy.
10051
10052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10053
10054         [BZ #12631]
10055         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10056
10057 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10058
10059         * misc/syncfs.c: New file.
10060         * misc/Makefile (routines): Add syncfs.
10061         * posix/unistd.h: Declare syncfs.
10062         * sysdeps/unix/syscalls.list: Add syncfs.
10063
10064 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10065
10066         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10067         open_by_handle_at.
10068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10069         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10071         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10073         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10075
10076 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10077
10078         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10079         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10080         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10081         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10082         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10083         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10084         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10085
10086         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10087         sync_file_range.c with -fexceptions.
10088         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10089         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10090         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10091         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10092         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10093         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10094         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10095         sync_file_range as cancellation point
10096         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10097         now a wrapper around __call_sync_file_range with cancellation handling.
10098         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10099         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10100         function name to __call_sync_file_range.
10101         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10102         Add call_sync_file_range.
10103
10104 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10105
10106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10107         bits/timex.h.
10108
10109 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10110
10111         * iconv/iconv.h: Fix typo in comment.
10112         * io/fcntl.h: Likewise.
10113         * libio/stdio.h: Likewise.
10114         * posix/spawn.h: Likewise.
10115         * posix/unistd.h: Likewise.
10116         * stdlib/stdlib.h: Likewise.
10117         * time/time.h: Likewise.
10118         * wcsmbs/wchar.h: Likewise.
10119
10120         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10121         open_by_handle): Add.
10122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10123         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10124         Augment a few comments.
10125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10126         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10130         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10131         open_by_handle.
10132
10133         * io/fcntl.h (AT_EMPTY_PATH): Define.
10134
10135 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10136
10137         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10138         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10139         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10140         to...
10141         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10142         * Versions.def: Add GLIBC_2.14.
10143         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10144         Export.
10145
10146 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10147
10148         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10149         round counter.
10150         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10151
10152 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10153
10154         [BZ #12597]
10155         * string/test-strncmp.c (do_page_test): New function.
10156         (check2): Likewise.
10157         (test_main): Call check2.
10158         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10159
10160 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10161
10162         [BZ #12587]
10163         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10164         Handle cache information in CPU leaf 4.
10165         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10166
10167 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10168
10169         [BZ #12583]
10170         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10171         character representation.
10172         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10173
10174 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10175
10176         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10177         END(__isnan) to END(__isnanf) to match function entry point/label
10178         EALIGN(__isnanf,...).
10179
10180 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10181
10182         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10183
10184 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10185
10186         [BZ #12510]
10187         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10188         copy from the symbol referenced in the relocation to initialize the
10189         used variable.
10190         Patch by Piotr Bury <pbury@goahead.com>.
10191         * elf/Makefile: Add rules to build and tst-unique3.
10192         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10193         * elf/tst-unique3.cc: New file.
10194         * elf/tst-unique3.h: New file.
10195         * elf/tst-unique3lib.cc: New file.
10196         * elf/tst-unique3lib2.cc: New file.
10197
10198         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10199
10200 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10201
10202         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10203         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10204         to _start.
10205
10206 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10207
10208         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10209         to-be-loaded object along a path to loader is ld.so.
10210
10211 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10212             Ulrich Drepper  <drepper@gmail.com>
10213
10214         * sysdeps/x86_64/memset.S: After aligning destination, code
10215         branches to different locations depending on the value of
10216         misalignment, when multiarch is enabled. Fix this.
10217
10218 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10219
10220         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10221         Set _x86_64_preferred_memory_instruction for AMD processsors.
10222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10223         Set bit_Prefer_SSE_for_memop for AMD processors.
10224
10225 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10226
10227         * libio/fmemopen.c (fmemopen): Optimize a bit.
10228
10229 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10230
10231         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10232
10233 2011-03-03  Roland McGrath  <roland@redhat.com>
10234
10235         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10236
10237 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10238
10239         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10240         __bzero_ultra1 instead of __memset_ultra1.
10241
10242 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10243             Ulrich Drepper  <drepper@gmail.com>
10244
10245         [BZ #12509]
10246         * include/link.h (struct link_map): Add l_orig_initfini.
10247         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10248         returning unsuccessfully.
10249         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10250         close of a file loaded at startup, restore the original l_initfini
10251         list.
10252         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10253         list, store the pointer.
10254         * elf/Makefile ($(objpfx)noload-mem): New rule.
10255         (noload-ENV): Define.
10256         (tests): Add $(objpfx)noload-mem.
10257         * elf/noload.c: Include <memcheck.h>.
10258         (main): Call mtrace.  Close all opened handles.
10259
10260 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10261
10262         [BZ #12454]
10263         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10264         dependencies are missing.
10265
10266 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10267
10268         Fix __if_freereq crash: Unlike the generic version which uses free,
10269         Hurd needs munmap.
10270         * sysdeps/mach/hurd/ifreq.h: New file.
10271
10272 2011-01-27  Petr Baudis  <pasky@suse.cz>
10273             Ulrich Drepper  <drepper@gmail.com>
10274
10275         [BZ 12445]#
10276         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10277         to extend_alloca().
10278         * stdio-common/bug23.c: New file.
10279         * stdio-common/Makefile (tests): Add bug23.
10280
10281 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10282             Ulrich Drepper  <drepper@gmail.com>
10283
10284         [BZ #12489]
10285         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10286         before performing relro protection.  At old place add assertion
10287         to make sure nothing changed.
10288
10289 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10290             Glauber de Oliveira Costa  <glommer@gmail.com>
10291
10292         * elf/elf.h: Add new ARM TLS relocs.
10293
10294 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10295
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10297         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10298         cast from r3.
10299         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10300         'tests' variable.
10301         * sysdeps/wordsize-64/tst-writev.c: New file.
10302
10303 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10304
10305         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10306         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10307         insns in _dl_start to prevent a TOC reference before relocs are
10308         resolved.
10309
10310 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10311
10312         [BZ #12469]
10313         * Makeconfig: Remove RANLIB definition.
10314         * Makerules: Don't use RANLIB.
10315         * aclocal.m4: Remove ranlib test.
10316         * configure.in: No need to check for ranlib.
10317         * elf/rtld-Rules: Don't use RANLIB.
10318
10319 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10320
10321         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10322         protection macro.
10323         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10324         inclusion protection macro.
10325
10326         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10327         SIGRTMIN and SIGRTMAX and print information in that case only when
10328         SIGRTMIN is defined.
10329
10330 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10331
10332         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10333         arginfo fn returning -1.
10334
10335         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10336         and thousands string is zero terminated.
10337
10338 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10339
10340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10341         sysdeps/unix/sysv/linux/bits/socket.h.
10342
10343 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10344
10345         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10346         (__CPU_COUNT): Remove old macros.
10347         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10348         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10349         (__CPU_ALLOC, __CPU_FREE): Add macros.
10350         (__sched_cpualloc, __sched_cpufree): Add declarations.
10351
10352 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10353
10354         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10355         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10356         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10357         (readdhstai): Return value of addhstaiX call.
10358         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10359         (addgrbyX): Return value returned by cache_addgr.
10360         (readdgrbyname): Return value returned by addgrbyX.
10361         (readdgrbygid): Likewise.
10362         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10363         (addpwbyX): Return value returned by cache_addpw.
10364         (readdpwbyname): Return value returned by addhstbyX.
10365         (readdpwbyuid): Likewise.
10366         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10367         (addservbyX): Return value returned by cache_addserv.
10368         (readdservbyname): Return value returned by addservbyX:
10369         (readdservbyport): Likewise.
10370         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10371         (addhstbyX): Return value returned by cache_addhst.
10372         (readdhstbyname): Return value returned by addhstbyX.
10373         (readdhstbyaddr): Likewise.
10374         (readdhstbynamev6): Likewise.
10375         (readdhstbyaddrv6): Likewise.
10376         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10377         (readdinitgroups): Return value returned by addinitgroupsX.
10378         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10379         (prune_cache): Keep track of timeout value of re-added entries.
10380         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10381         * nscd/nscd.h: Adjust prototypes of readd* functions.
10382
10383 2011-02-04  Roland McGrath  <roland@redhat.com>
10384
10385         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10386         (nis_stats): Likewise.
10387         * nis/nis_modify.c (nis_modify): Likewise.
10388         * nis/nis_remove.c (nis_remove): Likewise.
10389         * nis/nis_add.c (nis_add): Likewise.
10390
10391         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10392
10393         * posix/fnmatch_loop.c: Add some consts.
10394
10395         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10396
10397 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10398
10399         [BZ #12460]
10400         * config.make.in (config-cflags-novzeroupper): Define.
10401         * configure.in: Substitute libc_cv_cc_novzeroupper.
10402         * elf/Makefile (AVX-CFLAGS): Define.
10403         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10404         (CFLAGS-tst-auditmod4a.c): Likewise.
10405         (CFLAGS-tst-auditmod4b.c): Likewise.
10406         (CFLAGS-tst-auditmod6b.c): Likewise.
10407         (CFLAGS-tst-auditmod6c.c): Likewise.
10408         (CFLAGS-tst-auditmod7b.c): Likewise.
10409         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10410
10411 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10412
10413         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10414         function to the callback.
10415         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10416
10417 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10418
10419         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10420         of errno.
10421
10422 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10423
10424         [BZ #11724]
10425         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10426         of constructors.
10427         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10428         of destructors.
10429         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10430
10431         [BZ #11724]
10432         * elf/Makefile: Add rules to build and run new test.
10433         * elf/tst-initorder.c: New file.
10434         * elf/tst-initorder.exp: New file.
10435         * elf/tst-initordera1.c: New file.
10436         * elf/tst-initordera2.c: New file.
10437         * elf/tst-initordera3.c: New file.
10438         * elf/tst-initordera4.c: New file.
10439         * elf/tst-initorderb1.c: New file.
10440         * elf/tst-initorderb2.c: New file.
10441         * elf/tst-order-a1.c: New file.
10442         * elf/tst-order-a2.c: New file.
10443         * elf/tst-order-a3.c: New file.
10444         * elf/tst-order-a4.c: New file.
10445         * elf/tst-order-b1.c: New file.
10446         * elf/tst-order-b2.c: New file.
10447         * elf/tst-order-main.c: New file.
10448         New test case by George Gensure <werkt0@gmail.com>.
10449
10450 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10451
10452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10453         decoding ACE if AI_CANONIDN.
10454
10455 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10456
10457         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10458
10459 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10460
10461         * version.h (RELEASE): Bump for 2.13 release.
10462         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10463
10464         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10465
10466         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10467         MADV_NOHUGEPAGE.
10468         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10471         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10473         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10474
10475         * posix/getconf.c: Update copyright year.
10476         * catgets/gencat.c: Likewise.
10477         * csu/version.c: Likewise.
10478         * debug/catchsegv.sh: Likewise.
10479         * debug/xtrace.sh: Likewise.
10480         * elf/ldconfig.c: Likewise.
10481         * elf/ldd.bash.in: Likewise.
10482         * elf/sprof.c (print_version): Likewise.
10483         * iconv/iconv_prog.c: Likewise.
10484         * iconv/iconvconfig.c: Likewise.
10485         * locale/programs/locale.c: Likewise.
10486         * locale/programs/localedef.c: Likewise.
10487         * malloc/memusage.sh: Likewise.
10488         * malloc/mtrace.pl: Likewise.
10489         * nscd/nscd.c (print_version): Likewise.
10490         * nss/getent.c: Likewise.
10491
10492         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10493         PF_CAIF, and PF_ALG.
10494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10495
10496 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10497
10498         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10499         (modules-names): Use them.
10500         (ifunc-test-modules, ifunc-pie-tests): Define.
10501         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10502         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10503         (test-extras): Likewise.
10504         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10505         $(compile-command.c).
10506         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10507         (all-built-dso): Define.
10508         (check-textrel.out, check-execstack.out): Depend on it.
10509
10510         * configure.in: Don't override --enable-multi-arch.
10511
10512 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10513
10514         [BZ #6812]
10515         * nscd/hstcache.c (tryagain): Define.
10516         (cache_addhst): Return tryagain not notfound for temporary errors.
10517         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10518         failed.
10519
10520 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10521
10522         [BZ #10563]
10523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10524         to make the syscall.
10525         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10526
10527         [BZ #12378]
10528         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10529         and fall back to matching as normal character if the string ends before
10530         the matching ']' is found.  This is what POSIX requires.
10531         * posix/testfnm.c: Adjust test result.
10532         * posix/globtest.sh: Adjust test result.  Add new test.
10533         * posix/tst-fnmatch.input: Likewise.
10534         * posix/tst-fnmatch2.c: Add new test.
10535
10536 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10537
10538         * elf/Makefile (check-execstack): Revert last change.  Depend on
10539         check-execstack.h.
10540         (check-execstack.h): New target.
10541         (generated): Add check-execstack.h.
10542         * elf/check-execstack.c: Include "check-execstack.h".
10543         (main): Revert last change.
10544         (handle_file): Return zero if GNU_STACK is absent and
10545         DEFAULT_STACK_PERMS doesn't include PF_X.
10546
10547 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10548
10549         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10550         in child fails because the descriptor is already closed.
10551         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10552         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10553         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10554
10555         [BZ #12397]
10556         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10557         syscall.
10558
10559         [BZ #10484]
10560         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10561         temporary buffer used to handle multi lookups locally.
10562         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10563
10564 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10565
10566         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10567         loader is ld.so.
10568
10569 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10570
10571         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10572         alignment for SSE2.
10573
10574 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10575
10576         [BZ #12394]
10577         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10578         characters.  When rounding increased number of integer digits recompute
10579         number of groups.
10580         * stdio-common/tst-grouping.c: New file.
10581         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10582
10583 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10584
10585         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10586         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10587
10588         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10589         void.
10590         * bits/select.h: Likewise.
10591
10592 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10593
10594         * po/ja.po: Update from translation team.
10595
10596 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10597
10598         [BZ #11155]
10599         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10600         implementation just like for lxstat, fxstatat, et al.
10601
10602 2010-12-27  Jim Meyering  <meyering@redhat.com>
10603
10604         [BZ #12348]
10605         * posix/regexec.c (build_trtable): Return failure indication upon
10606         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10607
10608 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10609
10610         [BZ #12201]
10611         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10612         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10613         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10614         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10615
10616         [BZ #12207]
10617         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10618
10619         [BZ #12204]
10620         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10621         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10622
10623 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10624
10625         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10626         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10627         script has SORT_BY_INIT_PRIORITY.
10628         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10629         NO_CTORS_DTORS_SECTIONS is defined.
10630         * elf/soinit.c: Likewise.
10631         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10632         NO_CTORS_DTORS_SECTIONS is defined.
10633         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10634         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10635         * sysdeps/sh/init-first.c: Likewise.
10636         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10637
10638 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10639
10640         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10641         always use the slow path.
10642
10643 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10644
10645         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10646         similar rule which adds the sysdep directories to the header search in
10647         order to pick up the correct platform stackinfo.h.
10648         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10649         perform test if it is, otherwise return successfully without testing.
10650         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10651         DEFAULT_STACK_PERMS define in stackinfo.h.
10652         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10653         defined in stackinfo.h.
10654         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10655         DEFAULT_STACK_PERMS defined in stackinfo.h.
10656         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10657         * sysdeps/ia64/stackinfo.h: Likewise.
10658         * sysdeps/s390/stackinfo.h: Likewise.
10659         * sysdeps/sh/stackinfo.h: Likewise.
10660         * sysdeps/sparc/stackinfo.h: Likewise.
10661         * sysdeps/x86_64/stackinfo.h: Likewise.
10662         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10663         PF_X for powerpc64.  Retain PF_X for powerpc32.
10664
10665 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10666
10667         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10668         accurately.
10669         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10670         GETDENTS_64BIT_ALIGNED.
10671
10672 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10673
10674         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10675
10676 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10677
10678         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10679         _GNU_SOURCE.
10680
10681         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10682         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10683         Remove __restrict.
10684         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10685         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10686
10687 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10688
10689         [BZ #11655]
10690         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10691         are initialized.
10692
10693 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10694
10695         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10696
10697 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10698
10699         * po/it.po: Update from translation team.
10700
10701 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10702
10703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10704         unused codes.
10705
10706 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10707
10708         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10709
10710 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10711
10712         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10713         specially.
10714         (gaih_getanswer_slice): Likewise.
10715
10716 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10717
10718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10719
10720 2010-05-31  Petr Baudis  <pasky@suse.cz>
10721
10722         [BZ #11149]
10723         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10724         silently even in the chroot mode.
10725
10726 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10727
10728         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10729         last patch a bit.  Pretty printing
10730
10731 2010-05-31  Petr Baudis <pasky@suse.cz>
10732
10733         [BZ #10085]
10734         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10735         initialization of skip_initgroups_dyn.
10736
10737 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10738
10739         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10740         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10741
10742 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10743
10744         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10745
10746 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10747
10748         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10749         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10750         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10751         ($(objpfx)tst-fnmatch-mem): New rule.
10752         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10753         * posix/tst-fnmatch.c (main): Call mtrace.
10754
10755 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10756
10757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10758         Support Intel processor model 6 and model 0x2c.
10759
10760 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10761
10762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10763           signed comparison.
10764
10765 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10766
10767         [BZ #12205]
10768         * string/test-strncasecmp.c (check_result): New function.
10769         (do_one_test): Use it.
10770         (check1): New function.
10771         (test_main): Use it.
10772         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10773         Support strcasecmp and strncasecmp.
10774
10775 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10776
10777         [BZ #12194]
10778         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10780
10781 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10782
10783         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10784         IFUNC support.
10785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10786         memset-x86-64.
10787         * sysdeps/x86_64/multiarch/bzero.S: New file.
10788         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10789         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10790         * sysdeps/x86_64/multiarch/memset.S: New file.
10791         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10793         Set bit_Prefer_SSE_for_memop for Intel processors.
10794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10795         Define.
10796         (index_Prefer_SSE_for_memop): Define.
10797         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10798
10799 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10800
10801         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10802         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10803
10804 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10805
10806         [BZ #12191]
10807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10808         (__x86_64_raw_data_cache_size_half): Likewise.
10809         (__x86_64_raw_shared_cache_size): Likewise.
10810         (__x86_64_raw_shared_cache_size_half): Likewise.
10811
10812         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10813         (__x86_64_raw_data_cache_size_half): Likewise.
10814         (__x86_64_raw_shared_cache_size): Likewise.
10815         (__x86_64_raw_shared_cache_size_half): Likewise.
10816         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10817         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10818         and __x86_64_raw_shared_cache_size_half.  Round
10819         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10820         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10821         to multiple of 256 bytes.
10822
10823 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10824
10825         [BZ #12167]
10826         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10827         of inacessible symlinks.  Verify result of symlink before returning it.
10828         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10829         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10830
10831 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10832
10833         * math/math.h (isinf): Fix typo in comment.
10834
10835 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10836
10837         * po/da.po: Update from translation team.
10838
10839 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10840
10841         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10842         is added to the list.
10843
10844 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10845             Ulrich Drepper  <drepper@gmail.com>
10846
10847         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10848         the global list here.  Move code to...
10849         (_dl_add_to_namespace_list): ...here.  New function.
10850         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10851         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10852         * elf/dl-load.c (lose): Don't remove the element from the list.
10853         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10854         (_dl_map_object): Likewise.
10855
10856 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10857
10858         [BZ #12159]
10859         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10860         into all bytes of SSE register.
10861         Patch by Richard Li <richardpku@gmail.com>.
10862
10863 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10864
10865         [BZ #12140]
10866         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10867         perturbing.
10868
10869 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10870
10871         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10872         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10873         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10874         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10876         submachine.
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10878
10879 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10880
10881         * include/dlfcn.h (__RTLD_SECURE): Define.
10882         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10883         mode & __RTLD_SECURE instead.
10884         (open_path): Rename preloaded parameter to secure.
10885         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10886         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10887         * elf/dl-deps.c (openaux): Likewise.
10888         * elf/rtld.c (struct map_args): Remove is_preloaded.
10889         (map_doit): Don't use it.
10890         (dl_main): Likewise.
10891         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10892         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10893
10894 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10895
10896         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10897         (sysd-rules-targets): Remove duplicates.
10898         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10899         rtld-%.$o dependency.
10900
10901 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10902
10903         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10904         _dl_map_object do it.
10905
10906 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10907
10908         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10909         fast fma builtins, define the macros in the C99 standard.
10910         (FP_FAST_FMAF): Likewise.
10911         (FP_FAST_FMAL): Likewise.
10912         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10913
10914         * bits/mathdef.h: Update copyright year.
10915         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10916
10917 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10918
10919         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10920         builtins, define the macros in the C99 standard.
10921         (FP_FAST_FMAF): Likewise.
10922         (FP_FAST_FMAL): Likewise.
10923         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10924         multiply/add.
10925         (FP_FAST_FMAF): Likewise.
10926
10927 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10928
10929         [BZ #3268]
10930         * math/libm-test.inc (fma_test): Some new testcases.
10931         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10933         y and infinite z.  Do multiplication by C already in long double.
10934         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10936         y and infinite z.  Do bitwise or of inexact bit into u.d.
10937         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10938         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10939         * sysdeps/i386/fpu/s_fma.S: Removed.
10940         * sysdeps/i386/fpu/s_fmal.S: Removed.
10941
10942 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10943
10944         [BZ #3268]
10945         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10947         computation is not scheduled after fetestexcept.  Fix value
10948         of minimum denormal long double.
10949
10950 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10951
10952         [BZ #3268]
10953         * math/libm-test.inc (fma_test): Add some more tests.
10954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10955         correctly.
10956
10957 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10958
10959         * scripts/data/localplt-s390-linux-gnu.data: New file.
10960         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10961
10962 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10963
10964         [BZ #3268]
10965         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10966         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10967         instead of dbl-64.
10968         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10969         inlines.
10970         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10972         if one of x and y is very large and the other is subnormal.
10973         * sysdeps/s390/fpu/s_fmaf.c: New file.
10974         * sysdeps/s390/fpu/s_fma.c: New file.
10975         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10976         * sysdeps/powerpc/fpu/s_fma.S: New file.
10977         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10978         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10979         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10980
10981 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10982
10983         [BZ #3268]
10984         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10985         fma tests.
10986         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10987         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10988         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10989         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10990         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10991         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10993
10994 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10995
10996         [BZ #12078]
10997         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10998         * posix/bug-regex31.input: Add test case.
10999
11000 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11001
11002         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11003         * posix/bug-regex31.input: New file.
11004
11005         [BZ #12078]
11006         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11007         (parse_sub_exp): Fix last change, use postorder.
11008
11009         * posix/bug-regex31.c: New file.
11010         * posix/Makefile: Add rules to build and run bug-regex31.
11011
11012         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11013
11014         [BZ #12078]
11015         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11016
11017         [BZ #12108]
11018         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11019         to have entries in sys_siglist.
11020
11021         [BZ #12093]
11022         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11023         be NULL.
11024
11025 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11026
11027         [BZ #3268]
11028         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11029         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11030         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11031         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11032         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11033         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11034         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11035         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11036         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11037         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11038         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11039         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11040         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11041         * math/ftestexcept.c (fetestexcept): Likewise.
11042         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11043         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11044         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11045         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11046         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11047         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11048         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11049
11050 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11051
11052         [BZ #12107]
11053         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11054         newline.
11055
11056 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11057
11058         * string/bug-strstr1.c: New file.
11059         * string/Makefile: Add rules to build and run bug-strstr1.
11060
11061 2010-10-05  Eric Blake  <eblake@redhat.com>
11062
11063         [BZ #12092]
11064         * string/str-two-way.h (two_way_long_needle): Always clear memory
11065         when skipping input due to the shift table.
11066
11067 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11068
11069         [BZ #12005]
11070         * malloc/mcheck.c: Handle large requests.
11071
11072         [BZ #12077]
11073         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11074         for strncmp and strncasecmp.
11075         * string/stratcliff.c: Add tests for strcmp and strncmp.
11076         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11077
11078 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11079
11080         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11081         __set_fpscr.
11082
11083 2010-09-30  Andreas Jaeger  <aj@suse.de>
11084
11085         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11086         (CGROUP_SUPER_MAGIC): Define.
11087         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11088         Handle btrfs and cgroup file systems.
11089         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11090         Likewise.
11091
11092 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11093
11094         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11095         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11096
11097 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11098
11099         [BZ #12067]
11100         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11101         trying to locate the ELF header.
11102
11103 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11104
11105         [BZ #11611]
11106         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11107         Mask out sign-bit copies when constructing f_fsid.
11108
11109 2010-09-24  Petr Baudis <pasky@suse.cz>
11110
11111         * debug/stack_chk_fail_local.c: Add missing licence exception.
11112         * debug/warning-nop.c: Likewise.
11113
11114 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11115
11116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11117         implementing getdents64 using getdents syscall, set d_type if
11118         __ASSUME_GETDENTS32_D_TYPE.
11119
11120 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11121
11122         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11123         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11124
11125 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11126
11127         [BZ #12037]
11128         * posix/unistd.h: Undo change of feature selection for ftruncate from
11129         2010-01-11.
11130
11131 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11132
11133         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11134         detection.
11135
11136 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11137
11138         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11139         fanotify_mark.
11140         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11141
11142 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11143
11144         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11145         variables after CHECK_SP call.
11146         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11147
11148 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11149             Ulrich Drepper  <drepper@redhat.com>
11150
11151         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11152         re-relocationg ld.so.
11153         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11154         _dl_init_paths call.
11155         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11156         here anymore.
11157
11158 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11159
11160         * resolv/res_init.c (__res_vinit): Count the default server we added.
11161
11162 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11163             Ulrich Drepper  <drepper@redhat.com>
11164
11165         [BZ #11968]
11166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11167         (____longjmp_chk): Use %ebx for saving value across system call.
11168         Add unwind info.
11169
11170 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11171
11172         * manual/Makefile: Don't mix pattern rules with normal rules.
11173
11174 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11175
11176         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11177         operation.
11178         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11179         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11180         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11181         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11183         Likewise.
11184
11185 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11186
11187         [BZ #11979]
11188         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11189         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11190
11191 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11192
11193         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11194         * sysdeps/x86_64/addmul_1.S: Likewise.
11195         * sysdeps/x86_64/lshift.S: Likewise.
11196         * sysdeps/x86_64/mul_1.S: Likewise.
11197         * sysdeps/x86_64/rshift.S: Likewise.
11198         * sysdeps/x86_64/sub_n.S: Likewise.
11199         * sysdeps/x86_64/submul_1.S: Likewise.
11200
11201 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11202
11203         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11204         Define __sched_param instead of SCHED_* and sched_param when
11205         <bits/sched.h> is included with __need_schedparam defined.
11206         * bits/sched.h [__need_schedparam]
11207         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11208         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11209         (__defined_schedparam): Define to 1.
11210         (__sched_param): New structure, identical to sched_param.
11211         (__need_schedparam): Undefine.
11212
11213 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11214
11215         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11216         (epoll_create1): Declare.
11217
11218         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11219
11220 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11221
11222         [BZ #7066]
11223         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11224         shifting retval into place.
11225
11226 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11227
11228         * nis/rpcsvc/nis.h: Update copyright notice.
11229         * nis/rpcsvc/nis.x: Likewise.
11230         * nis/rpcsvc/nis_callback.h: Likewise.
11231         * nis/rpcsvc/nis_callback.x: Likewise.
11232         * nis/rpcsvc/nis_object.x: Likewise.
11233         * nis/rpcsvc/nis_tags.h: Likewise.
11234         * nis/rpcsvc/yp.h: Likewise.
11235         * nis/rpcsvc/yp.x: Likewise.
11236         * nis/rpcsvc/ypupd.h: Likewise.
11237         * nis/yp_xdr.c: Likewise.
11238         * nis/ypupdate_xdr.c: Likewise.
11239
11240         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11241         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11242         (pmap_getport): Use __libc_rpc_getport.
11243         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11244         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11245         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11246
11247 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11248
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11250         fanotify_mark.
11251
11252 2010-08-27  Roland McGrath  <roland@redhat.com>
11253
11254         * sysdeps/i386/i686/multiarch/Makefile
11255         (CFLAGS-varshift.c): New variable.
11256
11257 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11258
11259         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11260         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11261
11262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11263
11264         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11265
11266 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11267
11268         * sysdeps/x86_64/strlen.S: Unroll the loop.
11269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11270         strlen-sse2 strlen-sse2-bsf.
11271         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11272         __strlen_no_bsf if bit_Slow_BSF is set.
11273         (__strlen_sse42): Removed.
11274         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11275         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11276
11277 2010-08-25  Roland McGrath  <roland@redhat.com>
11278
11279         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11280         * sysdeps/x86_64/multiarch/varshift.c: New file.
11281         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11282         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11283         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11284         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11285
11286 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11287
11288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11289         strlen-sse2 strlen-sse2-bsf.
11290         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11291         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11292         (__strlen_sse2): Removed.
11293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11296         bit_Slow_BSF for Atom.
11297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11298         (index_Slow_BSF): Define.
11299         (HAS_SLOW_BSF): Define.
11300
11301 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11302
11303         [BZ #10851]
11304         * resolv/res_init.c (__res_vinit): When no server address at all
11305         is given default to loopback.
11306
11307 2010-08-24  Roland McGrath  <roland@redhat.com>
11308
11309         * configure.in: Remove config-name.h generation.
11310         * configure: Regenerated.
11311         * config-name.in: File removed.
11312         * scripts/config-uname.sh: New file.
11313         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11314         ($(objdir)config-name.h): New target.
11315
11316         * sunrpc/rpc_parse.h: Avoid nested comment.
11317
11318 2010-08-24  Richard Henderson  <rth@redhat.com>
11319             Ulrich Drepper  <drepper@redhat.com>
11320             H.J. Lu  <hongjiu.lu@intel.com>
11321
11322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11324         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11325         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11326         _mm_alignr_epi8 with _mm_loadu_si128.
11327         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11328         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11329         (__m128i_shift_right): Removed.
11330         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11331         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11332         * sysdeps/x86_64/multiarch/varshift.h: New file.
11333         * sysdeps/x86_64/multiarch/varshift.S: New file.
11334
11335 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11336
11337         * configure.in: Move assembler checks to before sysdep dir checking.
11338
11339 2010-08-20  Petr Baudis  <pasky@suse.cz>
11340
11341         * LICENSES: Sync the sunrpc license.
11342
11343 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11344
11345         * sunrpc/auth_des.c: Update copyright notice once again.
11346         * sunrpc/auth_none.c: Likewise.
11347         * sunrpc/auth_unix.c: Likewise.
11348         * sunrpc/authdes_prot.c: Likewise.
11349         * sunrpc/authuxprot.c: Likewise.
11350         * sunrpc/bindrsvprt.c: Likewise.
11351         * sunrpc/clnt_gen.c: Likewise.
11352         * sunrpc/clnt_perr.c: Likewise.
11353         * sunrpc/clnt_raw.c: Likewise.
11354         * sunrpc/clnt_simp.c: Likewise.
11355         * sunrpc/clnt_tcp.c: Likewise.
11356         * sunrpc/clnt_udp.c: Likewise.
11357         * sunrpc/clnt_unix.c: Likewise.
11358         * sunrpc/des_crypt.c: Likewise.
11359         * sunrpc/des_soft.c: Likewise.
11360         * sunrpc/get_myaddr.c: Likewise.
11361         * sunrpc/getrpcport.c: Likewise.
11362         * sunrpc/key_call.c: Likewise.
11363         * sunrpc/key_prot.c: Likewise.
11364         * sunrpc/openchild.c: Likewise.
11365         * sunrpc/pm_getmaps.c: Likewise.
11366         * sunrpc/pm_getport.c: Likewise.
11367         * sunrpc/pmap_clnt.c: Likewise.
11368         * sunrpc/pmap_prot.c: Likewise.
11369         * sunrpc/pmap_prot2.c: Likewise.
11370         * sunrpc/pmap_rmt.c: Likewise.
11371         * sunrpc/rpc/auth.h: Likewise.
11372         * sunrpc/rpc/auth_unix.h: Likewise.
11373         * sunrpc/rpc/clnt.h: Likewise.
11374         * sunrpc/rpc/des_crypt.h: Likewise.
11375         * sunrpc/rpc/key_prot.h: Likewise.
11376         * sunrpc/rpc/netdb.h: Likewise.
11377         * sunrpc/rpc/pmap_clnt.h: Likewise.
11378         * sunrpc/rpc/pmap_prot.h: Likewise.
11379         * sunrpc/rpc/pmap_rmt.h: Likewise.
11380         * sunrpc/rpc/rpc.h: Likewise.
11381         * sunrpc/rpc/rpc_des.h: Likewise.
11382         * sunrpc/rpc/rpc_msg.h: Likewise.
11383         * sunrpc/rpc/svc.h: Likewise.
11384         * sunrpc/rpc/svc_auth.h: Likewise.
11385         * sunrpc/rpc/types.h: Likewise.
11386         * sunrpc/rpc/xdr.h: Likewise.
11387         * sunrpc/rpc_clntout.c: Likewise.
11388         * sunrpc/rpc_cmsg.c: Likewise.
11389         * sunrpc/rpc_common.c: Likewise.
11390         * sunrpc/rpc_cout.c: Likewise.
11391         * sunrpc/rpc_dtable.c: Likewise.
11392         * sunrpc/rpc_hout.c: Likewise.
11393         * sunrpc/rpc_main.c: Likewise.
11394         * sunrpc/rpc_parse.c: Likewise.
11395         * sunrpc/rpc_parse.h: Likewise.
11396         * sunrpc/rpc_prot.c: Likewise.
11397         * sunrpc/rpc_sample.c: Likewise.
11398         * sunrpc/rpc_scan.c: Likewise.
11399         * sunrpc/rpc_scan.h: Likewise.
11400         * sunrpc/rpc_svcout.c: Likewise.
11401         * sunrpc/rpc_tblout.c: Likewise.
11402         * sunrpc/rpc_util.c: Likewise.
11403         * sunrpc/rpc_util.h: Likewise.
11404         * sunrpc/rpcinfo.c: Likewise.
11405         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11406         * sunrpc/rpcsvc/key_prot.x: Likewise.
11407         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11408         * sunrpc/rpcsvc/mount.x: Likewise.
11409         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11410         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11411         * sunrpc/rpcsvc/rex.x: Likewise.
11412         * sunrpc/rpcsvc/rstat.x: Likewise.
11413         * sunrpc/rpcsvc/rusers.x: Likewise.
11414         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11415         * sunrpc/rpcsvc/spray.x: Likewise.
11416         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11417         * sunrpc/rtime.c: Likewise.
11418         * sunrpc/svc.c: Likewise.
11419         * sunrpc/svc_auth.c: Likewise.
11420         * sunrpc/svc_authux.c: Likewise.
11421         * sunrpc/svc_raw.c: Likewise.
11422         * sunrpc/svc_run.c: Likewise.
11423         * sunrpc/svc_simple.c: Likewise.
11424         * sunrpc/svc_tcp.c: Likewise.
11425         * sunrpc/svc_udp.c: Likewise.
11426         * sunrpc/svc_unix.c: Likewise.
11427         * sunrpc/svcauth_des.c: Likewise.
11428         * sunrpc/xcrypt.c: Likewise.
11429         * sunrpc/xdr.c: Likewise.
11430         * sunrpc/xdr_array.c: Likewise.
11431         * sunrpc/xdr_float.c: Likewise.
11432         * sunrpc/xdr_mem.c: Likewise.
11433         * sunrpc/xdr_rec.c: Likewise.
11434         * sunrpc/xdr_ref.c: Likewise.
11435         * sunrpc/xdr_sizeof.c: Likewise.
11436         * sunrpc/xdr_stdio.c: Likewise.
11437
11438         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11439         handling.
11440
11441 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11442
11443         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11444
11445 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11446
11447         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11448         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11449         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11450         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11451         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11452         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11453         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11454         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11456         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11457         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11458         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11459         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11460         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11461
11462 2010-07-26  Anton Blanchard  <anton@samba.org>
11463
11464         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11465         * malloc/arena.c (heap_trim): Likewise.
11466
11467 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11468
11469         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11470         here.  Not...
11471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11472         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11473
11474 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11475
11476         * sysdeps/i386/elf/Makefile: New file.
11477
11478 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11479
11480         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11481         from fanotify_init.
11482         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11483         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11484
11485 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11486
11487         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11488         of strncasecmp_l.
11489         * sysdeps/multiarch/strcmp.S: Likewise.
11490
11491 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11492
11493         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11494         strncase_l-nonascii.
11495         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11496         Add strncase_l-ssse3.
11497         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11498         * sysdeps/x86_64/strcmp.S: Likewise.
11499         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11500         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11501         * sysdeps/x86_64/strncase.S: New file.
11502         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11503         * sysdeps/x86_64/strncase_l.S: New file.
11504         * string/Makefile (strop-tests): Add strncasecmp.
11505         * string/test-strncasecmp.c: New file.
11506
11507         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11508         warning.
11509
11510         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11511         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11512
11513 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11514
11515         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11516
11517 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11518
11519         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11521         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11522
11523 2010-05-01  Alan Modra  <amodra@gmail.com>
11524
11525         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11526         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11527         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11528         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11529         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11530         tidying.  Don't tail-call __sigjmp_save for static lib.
11531         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11532         save location.
11533         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11534         (CALL_MCOUNT): Add eh info, and nop after bl.
11535         (TAIL_CALL_SYSCALL_ERROR): New macro.
11536         (PSEUDO_RET): Use it.
11537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11538         Correct save location of integer regs and cr.
11539         (_dl_profile_resolve): Correct cr save location.  Delete nops
11540         after bl when SHARED.  Reduce cfi size a little by better
11541         placement of cfi directives.
11542         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11543         make a stack frame.  Instead use parm save area as a temp.
11544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11545         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11547         Don't make a stack frame for parent, use parm save area.
11548         Increase child stack frame to 112 bytes.  Don't save unused reg,
11549         and adjust reg usage.  Set up cfi on error recovery and
11550         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11552         (__makecontext): Add dummy nop after jump to exit.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11554         Use correct parm save area and cr save, reduce stack frame.
11555         Correct cfi for possible PSEUDO_RET frame setup.
11556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11557         Branch to local label emitted by PSEUDO_RET rather than
11558         __syscall_error.
11559
11560 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11561
11562         [BZ #11904]
11563         * locale/programs/locale.c (print_assignment): New function.
11564         (show_locale_vars): Use it.
11565
11566 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11567
11568         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11569         field.
11570         (struct statfs64): Likewise.
11571         (_STATFS_F_FLAGS): Define.
11572         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11573         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11574         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11575         (ST_VALID): Define locally.
11576         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11577         __statvfs_getflags, use the provided value.
11578         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11579         __ASSUME_STATFS_F_FLAGS.
11580
11581         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11582
11583         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11584         Add sys/fanotify.h.
11585         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11586         fanotify_mask for GLIBC_2.13.
11587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11588         fanotify_init and fanotify_mark.
11589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11590         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11591
11592         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11593         Add prlimit.
11594         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11595         prlimit64 for GLIBC_2.13.
11596         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11597         prlimit64.
11598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11599         syscall.
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11602         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11604         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11605         add prlimit alias.
11606         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11607
11608         [BZ #11903]
11609         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11610         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11611
11612         * nss/Makefile: Add rules to build and run tst-nss-test1.
11613         * shlib-versions: Add entry for libnss_test1.
11614         * nss/nss_test1.c: New file.
11615         * nss/tst-nss-test1.c: New file.
11616
11617         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11618         (__nss_configure_lookup): Set appropriate entry in
11619         __nss_configure_lookup to true.
11620         * nss/nsswitch.h: Define enum with indeces of databases in
11621         databases and __nss_database_custom arrays.  Declare
11622         __nss_database_custom.
11623         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11624         to avoid using nscd when custom rules are installed.
11625         * nss/getXXbyYY_r.c: Likewise.
11626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11627
11628         * nss/nss_files/files-parse.c: Whitespace fixes.
11629
11630 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11631
11632         [BZ #11883]
11633         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11634         * posix/fnmatch_loop.c: Likewise.
11635
11636 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11637
11638         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11639         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11640         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11641         * Versions.def [GLIBC_2.13]: Add.
11642
11643 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11644
11645         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11646         Also fail if tpwd after pwuid call is NULL.
11647
11648 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11649
11650         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11651         when converting to ms.
11652
11653 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11654
11655         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11656         EOPNOTSUPP errors with ENOTTY.
11657         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11658         EOPNOTSUPP errors with ENOTTY.
11659
11660 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11661
11662         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11663         Add strcasecmp_l-ssse3.
11664         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11665         strcasecmp.
11666         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11667         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11668         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11669
11670 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11671
11672         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11673
11674         * string/Makefile (strop-tests): Add strcasecmp.
11675         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11676         strcasecmp_l-nonascii.
11677         (gen-as-const-headers): Add locale-defines.sym.
11678         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11679         * sysdeps/x86_64/strcasecmp.S: New file.
11680         * sysdeps/x86_64/strcasecmp_l.S: New file.
11681         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11682         * sysdeps/x86_64/locale-defines.sym: New file.
11683         * string/test-strcasecmp.c: New file.
11684
11685         * string/test-strcasestr.c: Test both ends of the range of characters.
11686         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11687
11688 2010-07-29  Roland McGrath  <roland@redhat.com>
11689
11690         [BZ #11856]
11691         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11692
11693 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11694
11695         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11696         for ld.so.
11697
11698 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11699
11700         * manual/memory.texi (Malloc Tunable Parameters): Document
11701         M_PERTURB.
11702
11703 2010-07-26  Roland McGrath  <roland@redhat.com>
11704
11705         [BZ #11840]
11706         * configure.in (-fgnu89-inline check): Set and substitute
11707         gnu89_inline, not libc_cv_gnu89_inline.
11708         * configure: Regenerated.
11709         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11710
11711 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11712
11713         * string/test-strnlen.c: New file.
11714         * string/Makefile (strop-tests): Add strnlen.
11715         * string/tester.c (test_strnlen): Add a few more test cases.
11716         * string/tst-strlen.c: Better error reporting.
11717
11718         * sysdeps/x86_64/strnlen.S: New file.
11719
11720 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11721
11722         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11723         lower-latency instructions.
11724
11725 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11726
11727         * string/test-strcasestr.c: New file.
11728         * string/test-strstr.c: New file.
11729         * string/Makefile (strop-tests): Add strstr and strcasestr.
11730         * string/str-two-way.h: Don't undefine MAX.
11731         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11732
11733 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11734
11735         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11736         strcasestr-nonascii.
11737         (CFLAGS-strcasestr-nonascii.c): Define.
11738         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11739         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11740         Remove unused attribute.
11741
11742 2010-07-20  Roland McGrath  <roland@redhat.com>
11743
11744         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11745         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11746         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11747         like LD_HWCAP_MASK can disable hwcaps.
11748
11749 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11750
11751         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11752
11753 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11754
11755         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11756         call in strcasestr.
11757         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11758         __strcasestr_sse42_nonascii.
11759         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11760         strcasestr-nonascii.c.
11761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11762
11763 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11764
11765         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11767         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11768         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11769
11770 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11771
11772         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11773         fcntl.
11774
11775 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11776
11777         [BZ #11577]
11778         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11779         dl_signal_cerror.
11780
11781 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11782
11783         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11784         _PC_PIPE_BUF using F_GETPIPE_SZ.
11785
11786 2010-07-05  Roland McGrath  <roland@redhat.com>
11787
11788         * manual/arith.texi (Rounding Functions): Fix rint description
11789         implicit in round description.
11790
11791 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11792
11793         * elf/Makefile: Fix linking for a few tests to make recent linker
11794         happy.
11795
11796 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11797
11798         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11799         $(common-objpfx)libc_nonshared.a.
11800
11801 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11802
11803         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11804         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11805         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11806         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11807         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11808         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11809         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11810         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11825         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11826         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11827         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11828         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11829         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11830         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11831         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11832         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11833         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11834         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11835         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11836         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11851
11852 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11853
11854         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11855         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11856         * string/memmove.c (memmove): Renamed to ...
11857         (MEMMOVE): ...this.  Default to memmove.
11858         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11859         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11860         (END_CHK): Define.
11861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11862         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11863         mempcpy-ssse3-back memmove-ssse3-back.
11864         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11865         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11866         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11867         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11868         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11869         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11870         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11871         * sysdeps/x86_64/multiarch/memmove.c: New file.
11872         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11873         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11874         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11875         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11876         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11877         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11878         Define.
11879         (index_Fast_Copy_Backward): Define.
11880         (HAS_ARCH_FEATURE): Define.
11881         (HAS_FAST_REP_STRING): Define.
11882         (HAS_FAST_COPY_BACKWARD): Define.
11883
11884 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11885
11886         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11887         Restore proper fallback handling.
11888
11889 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11890
11891         [BZ #11701]
11892         * posix/group_member.c (__group_member): Correct checking loop.
11893
11894         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11895         OOM in getpwuid_r correctly.  Return error number when the caller
11896         should return, otherwise -1.
11897         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11898         call returning > 0 value.
11899         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11900
11901 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11902
11903         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11904         libc_nonshared.a from targets in modules-names.
11905
11906 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11907
11908         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11909         requires it.
11910
11911 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11912
11913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11914         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11916         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11917
11918 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11919
11920         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11921
11922 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11923
11924         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11925         and F_GETPIPE_SZ.
11926         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11930         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11932
11933 2010-06-14  Roland McGrath  <roland@redhat.com>
11934
11935         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11936
11937 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11938
11939         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11940         __REDIRECT followed by __THROW.
11941         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11942         * posix/getopt.h (getopt): Likewise.
11943
11944 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11945
11946         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11947         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11948         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11949         in AT_FLAGS.
11950         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11951         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11952
11953 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11954
11955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11956
11957 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11958
11959         [BZ #11640]
11960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11961         Properly check family and model.
11962
11963 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11964
11965         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11966
11967 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11968
11969         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11970
11971 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11972
11973         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11974         symbol reference.
11975
11976 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11977
11978         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11979         symbol reference.
11980
11981 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11982
11983         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11984         and internal_recvmmsg.
11985         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11986         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11987         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11988         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11989
11990         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11991         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11992         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11993
11994 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11995
11996         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11997
11998 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11999
12000         POWER7 optimizations.
12001         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12002         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12003
12004 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12005
12006         * version.h: Update for 2.13 development version.
12007
12008 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12009
12010         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12011         exceptions.  Return 0.
12012
12013 2010-05-07  Roland McGrath  <roland@redhat.com>
12014
12015         * elf/ldconfig.c (main): Add a const.
12016
12017 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12018
12019         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12020         (args_options): Add no-idn option.
12021         (ahosts_keys_int): Add idn_flags to ai_flags.
12022         (parse_option): Handle 'i' option to clear idn_flags.
12023
12024         * malloc/malloc.c (_int_free): Possible race in the most recently
12025         added check.  Only act on the data if no current modification
12026         happened.
12027
12028 See ChangeLog.17 for earlier changes.