List bug 14033 as fixed on mainline.
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-29  Marek Polacek  <polacek@redhat.com>
2
3         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4         (__fortify_function): New macro.
5         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7         __extern_always_inline.
8         * libio/bits/stdio2.h: Likewise.
9         * libio/bits/stdio.h: Likewise.
10         * string/string.h: Likewise.
11         * string/bits/string3.h: Likewise.
12         * include/stdio.h: Likewise.
13         * stdlib/bits/stdlib.h: Likewise.
14         * stdlib/stdlib.h: Likewise.
15         * rt/bits/mqueue2.h: Likewise.
16         * rt/mqueue.h: Likewise.
17         * posix/bits/unistd.h: Likewise.
18         * posix/unistd.h: Likewise.
19         * io/bits/poll2.h: Likewise.
20         * io/bits/fcntl2.h: Likewise.
21         * io/fcntl.h: Likewise.
22         * io/sys/poll.h: Likewise.
23         * misc/bits/syslog.h: Likewise.
24         * misc/bits/syslog-ldbl.h: Likewise.
25         * misc/sys/syslog.h: Likewise.
26         * socket/bits/socket2.h: Likewise.
27         * socket/sys/socket.h: Likewise.
28         * debug/tst-chk1.c: Likewise.
29         * wcsmbs/bits/wchar2.h: Likewise.
30         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31         * wcsmbs/wchar.h: Likewise.
32
33 2012-04-29  Andreas Jaeger  <aj@suse.de>
34
35         * Makerules (tests): Remove enable-check-abi protection.
36         (check-abi-warn): Remove.
37         (check-abi-%): Remove check-abi-warn usage.
38
39         * configure.in: Remove check-abi configure option.
40         * configure: Regenerated.
41         * config.make.in (enable-check-abi): Remove.
42
43 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44
45         [BZ #14033]
46         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47         double functions to double *_finite functions.
48
49         [BZ #13941]
50         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52         LDBL_MIN_EXP.
53         * stdio-common/Makefile (tests): Add tst-sprintf3.
54         * stdio-common/tst-sprintf3.c: New file.
55
56         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
57         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58
59 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60
61         * conform/conformtest.pl: Remove duplicate typed-constant
62         handling.
63
64 2012-04-28  David S. Miller  <davem@davemloft.net>
65
66         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67         (check-abi-%): Remove AWK script prerequisite and explicit
68         abilist directory.
69         (check-abi): Rewrite to just diff the symlist with the abilist.
70         (config-tls, config-abi-config): Delete, no longer used.
71         (update-abi-%): Remove AWK script and explicit abilist directory.
72         (update-abi): Rewrite to simply compare and conditionally copy the
73         symlist and the sysdep abilist file.  Remove update-abi-config
74         checks.
75         * abilist/ld.abilist: Remove.
76         * abilist/libBrokenLocale.abilist: Remove.
77         * abilist/libanl.abilist: Remove.
78         * abilist/libcrypt.abilist: Remove.
79         * abilist/libdl.abilist: Remove.
80         * abilist/librt.abilist: Remove.
81         * abilist/libthread_db.abilist: Remove.
82         * abilist/libutil.abilist: Remove.
83         * scripts/extract-abilist.awk: Remove.
84         * scripts/merge-abilist.awk: Remove.
85         * sysdeps/generic/libcidn.abilist: New file.
86         * sysdeps/generic/libnss_compat.abilist: New file.
87         * sysdeps/generic/libnss_db.abilist: New file.
88         * sysdeps/generic/libnss_dns.abilist: New file.
89         * sysdeps/generic/libnss_files.abilist: New file.
90         * sysdeps/generic/libnss_hesiod.abilist: New file.
91         * sysdeps/generic/libnss_nis.abilist: New file.
92         * sysdeps/generic/libnss_nisplus.abilist: New file.
93         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
94         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
95         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
96         file.
97         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
98         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
99         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
100         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
101         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
102         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
103         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
104         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
105         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
106         file.
107         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
108         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
109         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
110         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
111         file.
112         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
113         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
114         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
115         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
116         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
117         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
118         file.
119         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
120         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
121         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
122         file.
123         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
125         New file.
126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
127         New file.
128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
129         New file.
130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
131         New file.
132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
133         New file.
134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
135         New file.
136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
137         New file.
138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
139         New file.
140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
141         New file.
142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
143         New file.
144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
145         New file.
146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
147         New file.
148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
149         New file.
150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
151         file.
152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
153         New file.
154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
155         New file.
156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
157         file.
158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
159         New file.
160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
161         New file.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
163         file.
164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
165         New file.
166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
167         New file.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
169         New file.
170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
171         New file.
172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
173         New file.
174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
175         New file.
176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
178         file.
179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
180         New file.
181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
182         file.
183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
184         file.
185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
186         file.
187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
188         file.
189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
190         file.
191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
192         New file.
193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
194         file.
195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
196         file.
197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
198         New file.
199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
200         file.
201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
203         file.
204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
205         New file.
206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
207         file.
208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
209         file.
210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
211         file.
212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
213         file.
214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
215         file.
216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
217         New file.
218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
219         file.
220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
221         file.
222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
223         New file.
224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
225         file.
226         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
227         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
228         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
229         file.
230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
231         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
232         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
233         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
234         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
235         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
236         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
237         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
238         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
239         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
242         file.
243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
244         New file.
245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
246         file.
247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
248         file.
249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
250         file.
251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
252         file.
253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
254         file.
255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
256         New file.
257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
258         New file.
259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
260         file.
261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
262         New file.
263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
264         file.
265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
267         file.
268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
269         New file.
270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
271         file.
272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
273         file.
274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
275         file.
276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
277         file.
278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
279         file.
280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
281         New file.
282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
283         New file.
284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
285         file.
286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
287         New file.
288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
289         file.
290
291 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
292
293         * conform/conformtest.pl: Fix typo in handling typed-constant from
294         allow-header.
295
296 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
297
298         * README: Cut down references to pre-2.6 Linux kernels and
299         Linuxthreads.  Update lists of configurations in libc and ports
300         and sort alphabetically.  Say "or newer" with Linux kernel version
301         requirements.
302
303         * config.h.in [IS_IN_build]: Allow compiling without optimization.
304
305 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
306
307         [BZ #887]
308         * math/libm-test.inc (logb_test_downward): New test to expose
309         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
310         rounding mode.
311
312 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
313
314         [BZ #14027]
315         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
316         to be done.
317         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
318         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
319
320 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
321
322         * sysdeps/unix/i386/brk.S: Remove file.
323         * sysdeps/unix/i386/dl-brk.S: Likewise.
324         * sysdeps/unix/i386/pipe.S: Likewise.
325         * sysdeps/unix/i386/sigreturn.S: Likewise.
326         * sysdeps/unix/i386/syscall.S: Likewise.
327         * sysdeps/unix/i386/vfork.S: Likewise.
328         * sysdeps/unix/i386/wait.S: Likewise.
329
330         * sysdeps/unix/common/tcsendbrk.c: Move to ...
331         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
332
333         * configure.in (arm*-none*): Do not allow without
334         --enable-hacker-mode.
335         (netbsd*): Remove case setting base_os.
336         (386bsd*): Likewise.
337         (freebsd*): Likewise.
338         (bsdi*): Likewise.
339         (osf*): Likewise.
340         (sunos*): Likewise.
341         (ultrix*): Likewise.
342         (newsos*): Likewise.
343         (dynix*): Likewise.
344         (*bsd*): Likewise.
345         (sysv*): Likewise.
346         (isc*): Likewise.
347         (esix*): Likewise.
348         (sco*): Likewise.
349         (minix*): Likewise.
350         (irix4*): Likewise.
351         (irix6*): Likewise.
352         (solaris[2-9]*): Likewise.
353         (none): Likewise.
354         * configure: Regenerated.
355
356 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
357
358         [BZ #11521]
359         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
360         overflow or cancellation in calculating denominator.
361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
362         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
363         down expression to avoid unexpected rounding in newer GCCs.
364         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
365
366 2012-04-26  David S. Miller  <davem@davemloft.net>
367
368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
369         long-double compat symbols.
370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
383
384 2012-04-25  David S. Miller  <davem@davemloft.net>
385
386         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
387         HWCAP_* values only after the memory barriers have been defined.
388         (atomic_full_barrier): Define.
389         (atomic_read_barrier): Define.
390         (atomic_write_barrier): Define.
391
392 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
393
394         * shlib-versions: Add libgcc_s version information.
395         * sysdeps/generic/libgcc_s.h: Remove.
396         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
397         libgcc_s.h.
398         * sysdeps/gnu/unwind-resume.c: Likewise.
399         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
400
401 2012-04-25  David S. Miller  <davem@davemloft.net>
402
403         * sysdeps/unix/sparc/brk.S: Delete.
404         * sysdeps/unix/sparc/dl-brk.S: Delete.
405         * sysdeps/unix/sparc/pipe.S: Delete.
406         * sysdeps/unix/sparc/sysdep.S: Delete.
407         * sysdeps/unix/sparc/sysdep.h: Delete.
408         * sysdeps/unix/sparc/vfork.S: Delete.
409         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
410         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
411         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
412         ret_ERRVAL, r0, r1, MOVE): Define.
413         (JUMPTARGET): Remove.
414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
415         sysdeps/unix/sparc/sysdep.h
416         (ENTRY, END): Remove.
417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
418
419 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
420
421         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
422         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
423         -DIS_IN_build.
424
425         * timezone/README: Update upstream location and email address for
426         tzcode and tzdata.
427         * timezone/zdump.c: Update from tzcode 2012b.
428         * timezone/zic.c: Likewise.
429
430         * configure.in (libc_cv_as_needed): Remove test.
431         * configure: Regenerated.
432         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
433         conditional definition.
434         [$(have-as-needed) != yes] (no-as-needed): Likewise.
435         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
436         * config.make.in (have-as-needed): Remove variable.
437
438 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
439             Paul Pluzhnikov  <ppluzhnikov@google.com>
440
441         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
442         strings correctly.
443
444 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
445
446         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
447         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
448         * sysdeps/sh/strlen.S: Likewise.
449
450 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
451
452         * sysdeps/unix/fork.S: Remove file.
453         * sysdeps/unix/i386/fork.S: Likewise.
454         * sysdeps/unix/sparc/fork.S: Likewise.
455
456         * sysdeps/unix/system.c: Remove file.
457         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
458
459         * sysdeps/unix/getegid.S: Remove file.
460         * sysdeps/unix/geteuid.S: Likewise.
461
462 2012-04-24  Roland McGrath  <roland@hack.frob.com>
463
464         * scripts/check-localplt.awk: New file.
465         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
466         of diff.
467         * scripts/data/localplt-generic.data: Add a comment.
468
469         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
470         NODE when __dir_mkfile failed.
471         * sysdeps/mach/hurd/symlinkat.c: Likewise.
472         Reported by Ludovic Courtès <ludo@gnu.org>.
473
474 2012-04-24  Andreas Jaeger  <aj@suse.de>
475
476         * Makerules (common-clean): Also remove gen-as-const-headers
477         files.
478
479 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
480
481         * Makerules (native-compile): Do not change working directory for
482         build.  Use $(OUTPUT_OPTION) in command.
483         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
484
485 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
486
487         [BZ #13886]
488         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
489         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
490         * math/libm-test.inc (floor_test): Add more tests.
491         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
492
493 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
494
495         * sysdeps/unix/getdents.c: Remove file.
496         * sysdeps/unix/sysv/getdents.c: Likewise.
497         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
498
499         * sysdeps/unix/syscalls.list (madvise): Add syscall from
500         sysdeps/unix/mman/syscalls.list.
501         (mmap): Likewise.
502         (mprotect): Likewise.
503         (msync): Likewise.
504         (munmap): Likewise.
505         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
506         * sysdeps/unix/mman/syscalls.list: Remove.
507         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
508
509         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
510         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
511         * configure: Regenerated.
512         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
513         $(libgcc_s_suffix).
514         * config.make.in (libgcc_s_suffix): Remove variable.
515
516 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
517
518         * sysdeps/unix/sysv/gethostname.c: Move to ...
519         * sysdeps/posix/gethostname.c: ... here.
520
521         * sysdeps/unix/execve.S: Remove file.
522
523         * sysdeps/unix/_exit.S: Remove file.
524
525 2012-04-23  Andreas Jaeger  <aj@suse.de>
526
527         [BZ #13739]
528         * manual/Makefile: Remove make dist support, there's no
529         need for a stand-alone documentation tar ball.
530         (TEXI2DVI): Define always, it's not in Makeconfig.
531         (dist): Removed.
532         (tar-it): Removed.
533         (edition): Removed.
534         (glibc-doc-$(edition).tar): Removed
535         (%.Z): Removed.
536         (%.gz): Removed.
537         (%.uu): Removed.
538         (ETAGS): Remove, it's in Makeconfig.
539         (move-if-change): Remove, it's in Makeconfig.
540
541 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
542
543         [BZ #13970]
544         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
545         (strtod, strtof, strtold, strtol, strtoul, strtoq)
546         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
547         (strtod_l, strtof_l, strtold_l): Remove __wur.
548         It is not necessarily an error to ignore strtol's return value.
549         One can reliably look at the stored endptr to decide whether
550         the number had valid syntax.
551
552 2012-04-21  Andreas Jaeger  <aj@suse.de>
553
554         [BZ #13739]
555         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
556
557 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
558
559         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
560         * sysdeps/unix/sysv/Versions: Remove file.
561
562 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
563
564         [BZ #13927]
565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
566
567 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
568
569         [BZ #7064]
570         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
571         version from __vm86.
572
573 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
574
575         * sysdeps/unix/common/lxstat.c: Remove file.
576         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
577
578         * sysdeps/unix/sysv/Makefile: Remove file.
579
580         * sysdeps/unix/sysv/direct.h: Remove file.
581
582         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
583         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
584         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
585         * sysdeps/unix/sysv/bits/signum.h: Likewise.
586         * sysdeps/unix/sysv/bits/stat.h: Likewise.
587         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
588         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
589
590         * sysdeps/unix/sysv/setrlimit.c: Remove file.
591
592         * sysdeps/unix/xmknod.c: Remove file.
593         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
594
595         * sysdeps/unix/sysv/settimeofday.c: Remove file.
596
597         * sysdeps/unix/sysv/i386/time.S: Remove file.
598
599         * sysdeps/unix/fxstat.c: Remove file.
600         * sysdeps/unix/xstat.c: Likewise.
601         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
602
603         * sysdeps/unix/sysv/sigaction.c: Remove file.
604
605         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
606         (sysdep_headers): Remove variable.
607         [termio.h not in sysdep_headers] (generated): Likewise.
608         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
609         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
610         * sysdeps/unix/sysv/tcdrain.c: Likewise.
611         * sysdeps/unix/sysv/tcflow.c: Likewise.
612         * sysdeps/unix/sysv/tcflush.c: Likewise.
613         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
614         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
615         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
616         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
617         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
618
619         * sysdeps/unix/siglist.c: Remove file.
620
621         * sysdeps/unix/getppid.S: Remove file.
622
623         * sysdeps/unix/mkdir.c: Remove file.
624         * sysdeps/unix/rmdir.c: Likewise.
625
626 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
627
628         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
629         ERR_MAX value.
630         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
631         errlist-compat value.
632
633 2012-04-18  David S. Miller  <davem@davemloft.net>
634
635         * sysdeps/generic/memcopy.h (reg_char): Delete.
636         * debug/strcat_chk.c: Use char, not reg_char.
637         * debug/strcpy_chk.c: Likewise.
638         * debug/strncat_chk.c: Likewise.
639         * debug/strncpy_chk.c: Likewise.
640         * string/memchr.c: Likewise.
641         * string/memrchr.c: Likewise.
642         * string/rawmemchr.c: Likewise.
643         * string/strcat.c: Likewise.
644         * string/strchr.c: Likewise.
645         * string/strchrnul.c: Likewise.
646         * string/strcmp.c: Likewise.
647         * string/strcpy.c: Likewise.
648         * string/strncat.c: Likewise.
649         * string/strncmp.c: Likewise.
650         * string/strncpy.c: Likewise.
651
652 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
653
654         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
655         __builtin_memcopy is called when src and dest ranges are known to not
656         overlap.
657
658 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
659
660         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
661         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
662         fwd_align_merge macro call.
663         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
664         bwd_align_merge macro call.
665         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
666
667 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
668
669         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
670         bwd_align_merge macros.
671         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
672         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
673         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
674
675 2012-04-18  David S. Miller  <davem@davemloft.net>
676
677         * sysdeps/sparc/sparc64/memcopy.h: Delete.
678
679 2012-04-18  Andreas Jaeger  <aj@suse.de>
680
681         [BZ# 6794]
682         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
683         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
684         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
685
686         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
687         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
688         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
689
690         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
691         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
692         Adjust for changed ldbl-128 files.
693
694         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
695         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
696         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
697
698 2012-04-17  David S. Miller  <davem@davemloft.net>
699
700         * sysdeps/sparc/sparc32/memcopy.h: Delete.
701
702 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
703
704         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
705         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
706         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
707         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
708         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
709         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
710
711 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
712
713         [BZ #6794]
714         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
715         * math/libm-test.inc: Add ilogb errno and exception tests.
716         * math/w_ilogb.c: New file: ilogb wrapper.
717         * math/w_ilogbf.c: New file: ilogbf wrapper.
718         * math/w_ilogbl.c: New file: ilogbl wrapper.
719         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
720         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
721         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
722         exception being thrown with 0.0 as argument.
723         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
724         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
725         exception being thrown with 0.0 as argument.
726         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
727         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
728         exception being thrown with 0.0 as argument.
729         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
730         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
731         exception being thrown with 0.0 as argument.
732         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
733         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
734         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
735         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
736         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
737         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
738         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
739         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
740         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
741
742 2012-04-17  Petr Baudis  <pasky@ucw.cz>
743
744         * include/sys/uio.h: Change __vector to __iovec to avoid clash
745         with altivec.
746
747 2012-04-16  Marek Polacek  <polacek@redhat.com>
748
749         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
750
751 2012-04-16  Marek Polacek  <polacek@redhat.com>
752
753         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
754         operands of fdivp instruction.
755
756 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
757
758         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
759         * elf/tst-auditmod3b.c: Likewise.
760         * elf/tst-auditmod4b.c: Likewise.
761         * elf/tst-auditmod5b.c: Likewise.
762         * elf/tst-auditmod6b.c: Likewise.
763         * elf/tst-auditmod6c.c: Likewise.
764         * elf/tst-auditmod7b.c: Likewise.
765         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
766         * sysdeps/x86_64/preconfigure.in: Likewise.
767         * sysdeps/x86_64/preconfigure: Regenerated.
768
769 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
770
771         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
772         __ILP32__.
773
774 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
775
776         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
777         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
778
779 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
780
781         [BZ #13973]
782         * locale/iso-639.def: Fix gl language name. Spotted by
783         Yaron Shahrabani.
784
785 2012-04-12  Roland McGrath  <roland@hack.frob.com>
786
787         [BZ #2074]
788         * libio/libio.h (__io_write_fn): Update comment.
789
790 2012-04-12  Petr Baudis  <pasky@ucw.cz>
791
792         [BZ #2074]
793         * stdio.texi (Hook Functions): The user provided writer function
794         is not allowed to return -1.
795
796 2012-04-11  David S. Miller  <davem@davemloft.net>
797
798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
799
800 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
801
802         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
803         Add a leading slash to rtkaio.
804
805 2012-04-11  Jim Meyering  <meyering@redhat.com>
806
807         [BZ #11959]
808         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
809         It is not necessarily an error to ignore fwrite's return
810         value.  One can reliably use ferror to test for errors after
811         the fact.
812
813 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
814
815         * bits/types.h (__snseconds_t): New type.
816         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
817
818         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
820         (__SNSECONDS_T_TYPE): Likewise.
821         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
822         (__SNSECONDS_T_TYPE): Likewise.
823         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
824         (__SNSECONDS_T_TYPE): Likewise.
825
826 2012-04-10  Andreas Jaeger  <aj@suse.de>
827
828         [BZ #2636]
829         * manual/time.texi (Processor Time): Return type of times is
830         elapsed real time since an arbitrary point in the past.
831         (CPU Time): Move CLK_TCK from here...
832         (Processor Time): ...to here.  Correct description.
833         * manual/conf.texi (Constants for Sysconf): Correct description of
834         _SC_CLK_TCK.
835
836 2012-04-10  David S. Miller  <davem@davemloft.net>
837
838         [BZ #13967]
839         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
840         where the is a gap between DT_REL(A) and DT_JMPREL.
841
842 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
843
844         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
845         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
846         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
847
848 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
849
850         * elf/dl-support.c (_dl_inhibit_cache): New variable.
851         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
852         (dl_main): Handle --inhibit-cache.
853         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
854         _dl_inhibit_cache.
855         * elf/dl-load.c (_dl_map_object): Use it.
856         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
857
858 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
859
860         [BZ #13872]
861         * sysdeps/i386/fpu/e_powl.S (p78): New object.
862         (__ieee754_powl): Saturate large exponents rather than testing for
863         overflow of y*log2(x).
864         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
865         * math/libm-test.inc (pow_test): Do not permit spurious overflow
866         exceptions.
867
868         [BZ #11521]
869         * math/s_ctan.c: Include <float.h>.
870         (__ctan): Avoid internal overflow or cancellation in calculating
871         denominator.
872         * math/s_ctanf.c: Likewise.
873         * math/s_ctanl.c: Likewise.
874         * math/s_ctanh.c: Likewise.
875         * math/s_ctanhf.c: Likewise.
876         * math/s_ctanhl.c: Likewise.
877         * math/libm-test.inc (ctan_test): Add more tests.
878         (ctanh_test): Likewise.
879         * sysdeps/i386/fpu/libm-test-ulps: Update.
880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
881
882 2012-04-09  Andreas Jaeger  <aj@suse.de>
883
884         [BZ #6894]
885         * manual/filesys.texi (Directory Entries): Mention that d_namlen
886         is an optional BSD extension.
887
888         [BZ #10254]
889         * manual/stdio.texi (Opening Streams): Document additional fopen
890         parameters.
891
892 2012-04-09  Roland McGrath  <roland@hack.frob.com>
893
894         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
895         %eax without telling the compiler.
896
897 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
898
899         [BZ # 13963]
900         * manual/install.texi: Use sourceware.org.
901
902 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
903
904         [BZ #13873]
905         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
906         (__ieee754_pow): Generate overflow and underflow using huge*huge
907         and tiny*tiny rather than just returning constant infinity or zero
908         for large exponents.
909         * math/libm-test.inc (pow_test): Require overflow exceptions for
910         applicable cases of large exponents.
911
912         [BZ #706]
913         * sysdeps/i386/fpu/e_pow.S (p10): New object.
914         (__ieee754_pow): Use iterative multiplication algorithm only for
915         integer exponents with absolute value below 1024.  Check for odd
916         integer exponents when using algorithm for real exponents.
917         * math/libm-test.inc (pow_test): Add more tests.
918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
919
920 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
921
922         [BZ #13705]
923         * math/libm-test.inc (exp_test): Do not allow overflow exception
924         on underflow test.
925
926 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
927
928         [BZ #13705]
929         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
930         instead of __kernel_standard_f.
931
932 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
933
934         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
935         * sysdeps/x86_64/memset_chk.S: Likewise.
936
937 2012-04-08  Andreas Jaeger  <aj@suse.de>
938
939         [BZ #10153]
940         * manual/startup.texi (Environment Access): Describe return value
941         for putenv and setenv.
942
943         [BZ #6895]
944         * manual/filesys.texi (Directory Entries): Add description for
945         DT_LNK.
946
947         [BZ #6890]
948         * manual/filesys.texi (Directory Entries): Clarify that it's file
949         system not operating system in the description of DT_UNKNOWN.
950
951         [BZ #6578]
952         * manual/syslog.texi (closelog): Fix reference, it's openlog.
953
954 2012-04-08  Stephen Compall  <s11@member.fsf.org>
955
956         [BZ #6649]
957         * manual/llio.texi (Opening and Closing Files): Add cross
958         reference to explain mode argument.
959
960 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
961
962         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
963         * sysdeps/x86_64/memset_chk.S: Likewise.
964
965 2012-04-07  David S. Miller  <davem@davemloft.net>
966
967         * elf/elf.h (R_SPARC_WDISP10): Define.
968         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
969         R_SPARC_SIZE32.
970         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
971         R_SPARC_SIZE64 and R_SPARC_H34.
972
973 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
974
975         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
976         conditions and remove no longer applicable assertion.
977
978 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
979
980         * bits/byteswap.h: Include <features.h>.
981         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
982         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
983
984 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
985
986         * bits/byteswap.h (__bswap_16): Removed.
987         Include <bits/byteswap-16.h> to get __bswap_16.
988         * sysdeps/i386/bits/byteswap.h: Likewise.
989         * sysdeps/s390/bits/byteswap.h: Likewise.
990         * sysdeps/x86_64/bits/byteswap.h: Likewise.
991         * bits/byteswap-16.h: New file.
992         * sysdeps/i386/bits/byteswap-16.h: Likewise.
993         * sysdeps/s390/bits/byteswap-16.h: Likewise.
994         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
995         * string/Makefile (headers): Add bits/byteswap-16.h.
996
997 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
998
999         [BZ #13895]
1000         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1001         extra indirection.
1002         * nss/Makefile (tests-static, tests): Add tst-nss-static.
1003         * nss/tst-nss-static.c: New.
1004
1005 2012-04-06  Robert Millan  <rmh@gnu.org>
1006
1007         [BZ #6486]
1008         * manual/llio.texi (File Position Primitive): lseek
1009         refers to WHENCE when it really means OFFSET.
1010
1011 2012-04-06  Andreas Jaeger  <aj@suse.de>
1012
1013         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1014         strncmp declarations.
1015
1016         * abilist/libc.abilist: Add __poll and __ppoll.
1017
1018 2012-04-05  David S. Miller  <davem@davemloft.net>
1019
1020         * scripts/check-local-headers.sh: Accept a host triplet in the
1021         path matched by the exclude regexp.
1022
1023         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1024         definition.
1025         * sysdeps/powerpc/powerpc32/dl-machine.h
1026         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1027         * sysdeps/s390/s390-32/dl-machine.h
1028         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1029         * sysdeps/sparc/sparc32/dl-machine.h
1030         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1031         * sysdeps/sparc/sparc64/dl-machine.h
1032         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1033
1034         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1035         lazy binding.
1036         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1037         undefined symbol errors.
1038
1039         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1040         DT_NEEDED entries.
1041
1042 2012-04-05  Michael Matz  <matz@suse.de>
1043
1044         [BZ #13592]
1045         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1046
1047 2012-04-05  Andreas Jaeger  <aj@suse.de>
1048
1049         [BZ #13908]
1050         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1051         comment.
1052
1053 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1054
1055         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1056         which ROUND is no valid rounding mode.
1057
1058 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1059
1060         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1061         read again.
1062         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1063
1064 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1065
1066         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1067         an exception using FPU order intentionally.
1068
1069 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1070
1071         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1072         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1073         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1074         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1075
1076 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1077
1078         [BZ #12340]
1079         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1080         EINVAL when BUFLEN is too smal.
1081
1082 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1083
1084         [BZ #13553]
1085         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1086         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1087
1088 2012-04-03  Andreas Jaeger  <aj@suse.de>
1089
1090         [BZ #13938]
1091         * manual/setjmp.texi (System V contexts): Fix sentence.
1092
1093         [BZ #13926]
1094         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1095         New macro for this case.
1096         [!__GNUC__] (__bswap_64): New inline function for this case.
1097         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1098         * bits/byteswap.h: Likewise.
1099         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1100         ull, guard with __GLIBC_HAVE_LONG_LONG.
1101
1102         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1103         __GLIBC_HAVE_LONG_LONG.
1104
1105         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1106         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1107
1108 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1109
1110         [BZ #13691]
1111         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1112         inptr and inend, rather than using last_ch.
1113
1114 2012-04-02  David S. Miller  <davem@davemloft.net>
1115
1116         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1117         * stdio-common/printf-parse.h (read_int): Change return type to
1118         'int', return -1 on INT_MAX overflow.
1119         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1120         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1121         overflows INT_MAX.  Check for overflow of in-format-string precision
1122         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1123         SIZE_MAX not INT_MAX for integer overflow test.
1124         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1125         skip the construct in the format string but do not record anything.
1126         * stdio-common/bug22.c: Adjust to test both width/prevision
1127         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1128         explicitly for proper errno values.
1129
1130 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1131
1132         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1133         CHAR_MAX.
1134         * string/test-strcmp.c [! WIDE]: Likewise.
1135         * time/tst-mktime2.c: Likewise for INT_MAX.
1136         * string/test-string.h: #include <sys/param.h> for MIN.
1137
1138         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1139         * sysdeps/i386/init-first.c (init): Likewise.
1140         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1141         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1142         * sysdeps/sh/init-first.c (init): Likewise.
1143
1144 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1145
1146         * po/ru.po: Update from translation team.
1147         * po/vi.po: Likewise.
1148
1149 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1150
1151         * resolv/nss_dns/dns-host.c: Merge copyright years.
1152
1153 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1154
1155         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1156         Optimize memcpy with prefetch if
1157         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1158         src, dst pointers have unequal 16 byte alignments.
1159
1160 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1161
1162         [BZ #13928]
1163         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1164         from a CNAME entry and return the minimum ttl for the query.
1165         (gaih_getanswer_slice): Likewise.
1166
1167 2012-03-30  Jeff Law  <law@redhat.com>
1168
1169         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1170         due to long keys.
1171         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1172         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1173
1174         * resolv/nss_dns/dns-host.c: Update copyright year.
1175
1176 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1177
1178         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1179         requests to save a system call.  Fix check that all bytes are sent.
1180
1181         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1182         comments for sendmmsg.
1183
1184 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1185
1186         [BZ #13691]
1187         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1188         with only 1 character between 0x0041 and 0x01b0.
1189         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1190         * wcsmbs/tst-mbsnrtowcs.c: New file.
1191
1192 2012-03-29  David S. Miller  <davem@davemloft.net>
1193
1194         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1195         small copies by hand.
1196
1197 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1198
1199         [BZ #13761]
1200         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1201         _nss_compat_initgroups_dyn): Fall back to malloc/free
1202         for large group memberships.
1203
1204 2012-03-28  David S. Miller  <davem@davemloft.net>
1205
1206         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1207         that branches into memcpy.
1208         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1209         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1210         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1211         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1212         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1213         bits.
1214         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1215         implementation too.
1216         * sysdeps/sparc/mempcpy.S: New file.
1217
1218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1219         the IFUNC routine in the libc case.
1220         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1221
1222         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1223         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1224         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1225         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1226         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1227         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1228         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1229         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1230
1231         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1232         loop to 256 bytes instead of 64 bytes and fix test signedness.
1233
1234         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1235         * sysdeps/sparc/sparc32/Makefile: rather than here...
1236         * sysdeps/sparc/sparc64/Makefile: and here.
1237
1238 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1239
1240         * malloc/mallocbug.c: Avoid warnings about unused variables.
1241
1242 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1243
1244         [BZ #13760]
1245         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1246         in the right place. Discard and retry query if response is
1247         larger than input buffer size.
1248
1249 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1250
1251         [BZ #369]
1252         [BZ #2678]
1253         [BZ #3866]
1254         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1255         x for large integer exponent.
1256         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1257         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1258         sign of result as needed afterwards.
1259         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1260         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1261         result for underflowing pow the same as for overflow.
1262         (__kernel_standard_l): Handle powl overflow and underflow here
1263         rather than calling __kernel_standard.
1264         * math/libm-test.inc (pow_test): Add more tests.
1265
1266         [BZ #3868]
1267         [BZ #13879]
1268         [BZ #13910]
1269         [BZ #13911]
1270         [BZ #13912]
1271         [BZ #13913]
1272         [BZ #13915]
1273         [BZ #13916]
1274         [BZ #13917]
1275         [BZ #13918]
1276         [BZ #13919]
1277         [BZ #13920]
1278         [BZ #13921]
1279         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1280         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1281         (__kernel_standard_l): New function.
1282         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1283         __kernel_standard.
1284         * math/w_acosl.c (__acosl): Likewise.
1285         * math/w_asinl.c (__asinl): Likewise.
1286         * math/w_atan2l.c (__atan2l): Likewise.
1287         * math/w_atanhl.c (__atanhl): Likewise.
1288         * math/w_coshl.c (__coshl): Likewise.
1289         * math/w_exp10l.c (__exp10l): Likewise.
1290         * math/w_exp2l.c (__exp2l): Likewise.
1291         * math/w_fmodl.c (__fmodl): Likewise.
1292         * math/w_hypotl.c (__hypotl): Likewise.
1293         * math/w_j0l.c (__j0l, __y0l): Likewise.
1294         * math/w_j1l.c (__j1l, __y1l): Likewise.
1295         * math/w_jnl.c (__jnl, __ynl): Likewise.
1296         * math/w_lgammal.c (__lgammal): Likewise.
1297         * math/w_log10l.c (__log10l): Likewise.
1298         * math/w_log2l.c (__log2l): Likewise.
1299         * math/w_logl.c (__logl): Likewise.
1300         * math/w_powl.c (__powl): Likewise.
1301         * math/w_remainderl.c (__remainderl): Likewise.
1302         * math/w_scalbl.c (sysv_scalbl): Likewise.
1303         * math/w_sinhl.c (__sinhl): Likewise.
1304         * math/w_sqrtl.c (__sqrtl): Likewise.
1305         * math/w_tgammal.c (__tgammal): Likewise.
1306         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1307         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1308         * math/libm-test.inc (acos_test): Add more tests.
1309         (acosh_test): Likewise.
1310         (asin_test): Likewise.
1311         (atanh_test): Likewise.
1312         (exp_test): Likewise.
1313         (exp10_test): Likewise.
1314         (exp2_test): Likewise.
1315         (expm1_test): Likewise.
1316         (lgamma_test): Likewise.
1317         (log_test): Likewise.
1318         (log10_test): Likewise.
1319         (log1p_test): Likewise.
1320         (log2_test): Likewise.
1321         (pow_test): Do not allow some spurious overflow exceptions.
1322         (sqrt_test): Add more tests.
1323         (tgamma_test): Likewise.
1324         (y0_test): Likewise.
1325         (y1_test): Likewise.
1326         (yn_test): Likewise.
1327
1328 2012-03-27  Anton Blanchard  <anton@samba.org>
1329
1330         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1331         MAP_HUGETLB.
1332         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1333         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1334         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1335
1336 2012-03-27  David S. Miller  <davem@davemloft.net>
1337
1338         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1339
1340         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1341         have-as-vis3 check.
1342
1343 2012-03-27  Andreas Jaeger  <aj@suse.de>
1344
1345         * sysdeps/x86_64/elf/configure.in: Moved to ...
1346         * sysdeps/x86_64/configure.in: ... here.
1347         * sysdeps/x86_64/elf/start.S: Moved to ...
1348         * sysdeps/x86_64/start.S: ... here.
1349         * sysdeps/x86_64/elf/configure: Delete.
1350
1351         * sysdeps/x86_64/configure.in: Merge contents from
1352         sysdeps/i386/configure.in (without i686 check).
1353
1354         * sysdeps/i386/elf/Versions: Merge into ...
1355         * sysdeps/i386/Versions: ... this.
1356         * sysdeps/i386/elf/Versions: Delete file.
1357         * sysdeps/i386/elf/start.S: Moved to ...
1358         * sysdeps/i386/start.S: ...here.
1359         * sysdeps/i386/elf/configure.in: Merge into...
1360         * sysdeps/i386/configure.in: ...here.
1361         * sysdeps/i386/elf/configure.in: Delete file.
1362         * sysdeps/i386/elf/configure: Delete file.
1363
1364         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1365         * debug/backtracesyms.c: ... here.
1366         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1367         * debug/backtracesymsfd.c: ... here.
1368         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1369         * sysdeps/generic/ifunc-sel.h: ... here.
1370
1371         * sysdeps/unix/i386/start.c: Delete file.
1372         * sysdeps/unix/sparc/start.c: Delete file.
1373         * sysdeps/unix/start.c: Delete file.
1374
1375         * sysdeps/sh/elf/configure.in: Moved to ...
1376         * sysdeps/sh/configure.in: ... here.
1377         * sysdeps/sh/elf/start.S: Moved to ...
1378         * sysdeps/sh/start.S: ... here.
1379         * sysdeps/sh/elf/configure: Delete file.
1380
1381         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1382         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1383         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1384         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1385         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1386         * sysdeps/powerpc/powerpc64/start.S: here.
1387         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1388         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1389         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1390         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1391         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1392
1393         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1394         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1395         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1396         * sysdeps/powerpc/powerpc32/start.S: ... here.
1397         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1398         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1399         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1400
1401         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1402         * sysdeps/powerpc/ifunc-sel.h: ... here.
1403         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1404         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1405
1406         * sysdeps/sparc/elf/configure.in: Moved to ...
1407         * sysdeps/sparc/configure.in: ... here.
1408         * sysdeps/sparc/elf/configure: Delete file.
1409         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1410         * sysdeps/sparc/sparc32/start.S: ... here.
1411         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1412         * sysdeps/sparc/sparc64/start.S: ... here.
1413         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1414         * sysdeps/sparc/sparc32/Makefile: ... this.
1415         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1416         * sysdeps/sparc/sparc64/Makefile: ... this.
1417
1418         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1419         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1420         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1421         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1422         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1423         * sysdeps/s390/s390-32/setjmp.S: ... here.
1424         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1425         * sysdeps/s390/s390-32/configure.in: ... here.
1426         * sysdeps/s390/s390-32/elf/configure: Delete file.
1427         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1428         * sysdeps/s390/s390-32/start.S: ... here.
1429
1430         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1431         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1432         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1433         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1434         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1435         * sysdeps/s390/s390-64/setjmp.S: ... here.
1436         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1437         * sysdeps/s390/s390-64/configure.in: ... here
1438         * sysdeps/s390/s390-64/elf/configure: Delete file.
1439         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1440         * sysdeps/s390/s390-64/start.S: ... here.
1441         * sysdeps/s390/s390-64/elf/configure: Delete.
1442
1443         * configure.in: Remove support for elf directories in sysdeps.
1444
1445         * configure: Regenerated.
1446         * sysdeps/i386/configure: Regenerated.
1447         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1448         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1449         * sysdeps/s390/s390-32/configure: Regenerated.
1450         * sysdeps/s390/s390-64/configure: Regenerated.
1451         * sysdeps/sh/configure: Regenerated.
1452         * sysdeps/sparc/configure: Regenerated.
1453         * sysdeps/x86_64/configure: Regenerated.
1454
1455 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1456
1457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1458
1459         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1460         denormal result into account.
1461
1462 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1463
1464         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1465         Reported by Allan McRae <allan@archlinux.org>.
1466
1467 2012-03-23  Jeff Law  <law@redhat.com>
1468
1469         * nss/getnssent.c (__nss_getent): Fix typo.
1470
1471 2012-03-23  David S. Miller  <davem@davemloft.net>
1472
1473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1474
1475 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1476
1477         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1478         to pad to uint64_t for each field.
1479         (dl_tls_index): Replace unsigned long with uint64_t.
1480
1481 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1482         Paul Pluzhnikov  <ppluzhnikov@google.com>
1483
1484         [BZ #6528]
1485         * grp/Makefile (otherlibs): Don't set it.
1486         * inet/Makefile (otherlibs): Likewise.
1487         * login/Makefile (otherlibs): Likewise.
1488         * nscd/Makefile (otherlibs): Likewise.
1489         * posix/Makefile (otherlibs): Likewise.
1490         * pwd/Makefile (otherlibs): Likewise.
1491         * rt/Makefile (otherlibs): Likewise.
1492         * sunrpc/Makefile (otherlibs): Likewise.
1493         * nss/Makefile (otherlibs): Likewise.
1494         Add libnss_files to routines and static-only-routines.
1495         ($(objpfx)getent): Remove rule.
1496         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1497         static-only-routines.
1498
1499 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1500
1501         [BZ #13892]
1502         * math/s_cexp.c: Include <float.h>.
1503         (__cexp): Handle exp result overflowing not necessarily
1504         overflowing both real and imaginary parts of result.
1505         * math/s_cexpf.c: Likewise.
1506         * math/s_cexpl.c: Likewise.
1507         * math/libm-test.inc (cexp_test): Add more tests.
1508         * sysdeps/i386/fpu/libm-test-ulps: Update.
1509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1510
1511 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1512
1513         * include/link.h (ELFW): New macro.
1514         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1515         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1516
1517 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1518
1519         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1520         with uint64_t.
1521
1522 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1523
1524         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1525         declaration.
1526         (struct La_x32_retval): Likewise.
1527
1528 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1529
1530         * sysdeps/x86_64/preconfigure.in: New file.
1531         * sysdeps/x86_64/preconfigure: New generated file.
1532
1533 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1534
1535         [BZ #13824]
1536         * math/e_exp2l.c: Include <float.h>.
1537         (__ieee754_exp2l): Handle overflow and underflow cases
1538         separately.  Only pass fractional part of argument to
1539         __ieee754_expl.
1540         * math/libm-test.inc (exp2_test): Add more tests.
1541
1542         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1543         negating x to take absolute value.
1544         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1545         Likewise.
1546         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1547         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1548         Likewise.
1549         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1550         computing low part if x was negated.
1551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1552
1553 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1554
1555         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1556         la_x32_gnu_pltexit.
1557         (pltexit): Cast int_retval to ptrdiff_t.
1558         * elf/tst-auditmod3b.c: Likewise.
1559         * elf/tst-auditmod4b.c: Likewise.
1560         * elf/tst-auditmod5b.c: Likewise.
1561         * elf/tst-auditmod6b.c: Likewise.
1562         * elf/tst-auditmod6c.c: Likewise.
1563         * elf/tst-auditmod7b.c: Likewise.
1564
1565         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1566         and x32_gnu_pltexit.
1567
1568         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1569         __ELF_NATIVE_CLASS.
1570         (La_x32_regs): New macro.
1571         (La_x32_retval): Likewise.
1572         (la_x32_gnu_pltenter): New function prototype.
1573         (la_x32_gnu_pltexit): Likewise.
1574
1575 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1576
1577         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1578         exponent.
1579
1580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1581
1582         * configure.in (libc_cv_cc_nofma): Check for option to disable
1583         generation of FMA instructions.
1584         * configure: Regenerate.
1585         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1586         * sysdeps/ieee754/dbl-64/Makefile: New file.
1587         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1588         Remove brandred-fma4.
1589         (CFLAGS-brandred-fma4.c): Remove.
1590         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1591         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1592         define.
1593         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1594         define.
1595
1596 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1597
1598         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1599         LLONG_MAX != LONG_MAX.
1600         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1601         (_fitoa_word): Likewise.
1602         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1603         LLONG_MAX != LONG_MAX.
1604         * stdio-common/_itowa.h: Include <_itoa.h>.
1605         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1606         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1607         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1608         only if not defined.
1609         (_ITOA_WORD_TYPE): Likewise.
1610         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1611         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1612
1613 2012-03-21  David S. Miller  <davem@davemloft.net>
1614
1615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1616
1617 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1618
1619         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1620         of x86_64 when setting libc_cv_slibdir, libdir and
1621         libc_cv_localedir.
1622         * sysdeps/unix/sysv/linux/configure: Regenerated.
1623
1624 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1625
1626         * manual/lang.texi (Old Varargs): Remove section.
1627         (How Variadic): Update menu.
1628         (va_start): Do not mention varargs.h.
1629
1630 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1631             Joseph Myers  <joseph@codesourcery.com>
1632
1633         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1634         link test.
1635         * configure: Regenerated.
1636
1637 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1638
1639         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1640         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1641         conformtest.pl
1642
1643 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1644
1645         * NOTES: Remove.
1646         * Makefile (files-for-dist): Remove NOTES.
1647         (NOTES): Remove rule.
1648         * README: Don't refer to NOTES.
1649         * manual/creature.texi: Don't include macros.texi.
1650         * manual/intro.texi (creature.texi): Remove comment referring to
1651         NOTES.
1652
1653         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1654         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1655         * configure: Regenerated.
1656         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1657         LIBC_TRY_CC_OPTION.
1658         (libc_cv_as_i686): Likewise.
1659         (libc_cv_cc_avx): Likewise.
1660         (libc_cv_cc_sse2avx): Likewise.
1661         (libc_cv_cc_fma4): Likewise.
1662         (libc_cv_cc_novzeroupper): Likewise.
1663         * sysdeps/i386/configure: Regenerated.
1664
1665         [BZ #13883]
1666         * sysdeps/i386/fpu/s_cexp.S: Remove.
1667         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1668         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1669         * math/libm-test.inc (cexp_test): Add more tests.
1670         * sysdeps/i386/fpu/libm-test-ulps: Update.
1671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1672
1673 2012-03-21  Allan McRae  <allan@archlinux.org>
1674
1675         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1676
1677 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1678
1679         [BZ #13871]
1680         * math/w_exp2.c: Do not include <float.h>.
1681         (o_threshold, u_threshold): Remove.
1682         (__exp2): Calculate result before checking finiteness and calling
1683         __kernel_standard.
1684         * math/w_exp2f.c: Likewise.
1685         * math/w_exp2l.c: Likewise.
1686         * math/libm-test.inc (exp2_test): Require overflow exception for
1687         1e6 input.
1688
1689         [BZ #3866]
1690         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1691         range of signed 64-bit integers before using fistpll.  Remove
1692         checks for whether integers fit in mantissa bits.
1693         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1694         the range of signed 32-bit integers before using fistpl.  Remove
1695         checks for whether integers fit in mantissa bits.
1696         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1697         (__ieee754_powl): Test for y outside the range of signed 64-bit
1698         integers before using fistpll.  Reduce 64-bit values to 63-bit
1699         ones as needed.
1700         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1701         divide-by-zero is raised for zero to large negative powers.
1702         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1703         (__ieee754_powl): Test for y outside the range of signed 64-bit
1704         integers before using fistpll.  Reduce 64-bit values to 63-bit
1705         ones as needed.
1706         * math/libm-test.inc (pow_test): Add more tests.
1707
1708 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1709
1710         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1711         <stdio-common/_itoa.h>.
1712         * debug/segfault.c: Likewise.
1713         * elf/dl-cache.c: Likewise.
1714         * elf/dl-minimal.c: Likewise.
1715         * elf/dl-misc.c: Likewise.
1716         * elf/dl-sysdep.c: Likewise.
1717         * elf/dl-version.c: Likewise.
1718         * elf/rtld.c: Likewise.
1719         * hurd/hurdsock.c: Likewise.
1720         * hurd/lookup-retry.c: Likewise.
1721         * malloc/malloc.c: Likewise.
1722         * malloc/mtrace.c: Likewise.
1723         * nscd/nscd_getgr_r.c: Likewise.
1724         * nscd/nscd_getpw_r.c: Likewise.
1725         * nscd/nscd_getserv_r.c: Likewise.
1726         * posix/getopt_init.c: Likewise.
1727         * posix/wordexp.c: Likewise.
1728         * stdio-common/_itoa.c: Likewise.
1729         * stdio-common/printf_fphex.c: Likewise.
1730         * stdio-common/vfprintf.c: Likewise.
1731         * string/_strerror.c: Likewise.
1732         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1733         * sysdeps/i386/i686/hp-timing.h: Likewise.
1734         * sysdeps/mach/_strerror.c: Likewise.
1735         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1736         * sysdeps/mach/hurd/sethostid.c: Likewise.
1737         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1738         * sysdeps/mach/xpg-strerror.c: Likewise.
1739         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1741         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1742         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1743         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1744         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1745         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1746         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1747         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1748         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1749         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1750         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1751         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1752         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1753         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1754         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1755         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1757         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1758         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1759         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1760
1761         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1762
1763         * stdio-common/_itoa.h: Moved to ...
1764         * sysdeps/generic/_itoa.h: Here.
1765
1766         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1767
1768         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1769         instead of "_itoa.h" and "_itowa.h".
1770         * stdio-common/vfprintf.: Likewise.
1771
1772 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1773
1774         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1775         <bits/wordsize.h>.
1776         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1777         (__signbit): Likwise.
1778         (llrintf): Likwise.
1779         (llrint): Likwise.
1780
1781 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1782
1783         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1784         __WORDSIZE != 64.
1785
1786 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1787
1788         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1789         OVERFLOW_EXCEPTION_OK.
1790         * math/libm-test.inc ("Philosophy"): Update comment about
1791         exception testing.
1792         (OVERFLOW_EXCEPTION): Define.
1793         (OVERFLOW_EXCEPTION_OK): Likewise.
1794         (INVALID_EXCEPTION_OK): Renumber.
1795         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1796         (IGNORE_ZERO_INF_SIGN): Likewise.
1797         (test_exceptions): Handle FE_OVERFLOW.
1798         (exp10_test): Expect overflow exceptions.
1799         (exp2_test): Likewise.
1800         (expm1_test): Likewise.
1801         (nextafter_test): Likewise.
1802         (pow_test): Likewise.
1803         (scalbn_test): Likewise.
1804         (scalbln_test): Likewise.
1805
1806 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1807
1808         * sysdeps/x86_64/bits/atomic.h
1809         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1810         64bit integer.
1811         (atomic_exchange_acq): Likewise.
1812         (__arch_exchange_and_add_body): Likewise.
1813         (__arch_add_body): Likewise.
1814         (atomic_add_negative): Likewise.
1815         (atomic_add_zero): Likewise.
1816
1817 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1818
1819         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1820         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1821
1822 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1823
1824         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1825         Check __x86_64__ instead of __WORDSIZE.
1826
1827 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1828
1829         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1830
1831 2012-03-19  David S. Miller  <davem@davemloft.net>
1832
1833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1834
1835         * sysdeps/sparc/fpu/fenv_private.h: New file.
1836         * sysdeps/sparc/fpu/math_private.h: Use it.
1837         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1838         Remove.
1839         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1840         (libc_feholdexcept_setroundl): Remove.
1841         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1842         Remove.
1843         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1844         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1845
1846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1847
1848         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1849         int64_t instead of long int.
1850         (INSERT_WORDS64): Likwise.
1851
1852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1853
1854         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1855         _Unwind_GetCFA return to _Unwind_Ptr first.
1856
1857 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1858
1859         [BZ #13629]
1860         * math/s_clog.c: Include <float.h>.
1861         (__clog): Scale large or subnormal inputs.
1862         * math/s_clogf.c: Likewise.
1863         * math/s_clogl.c: Likewise.
1864         * math/s_clog10.c: Include <float.h>.
1865         (M_LOG10_2): Define.
1866         (__clog10): Scale large or subnormal inputs.
1867         * math/s_clog10f.c: Likewise.
1868         * math/s_clog10l.c: Likewise.
1869         * math/libm-test.inc (clog_test): Add more tests.
1870         (clog10_test): Likewise.
1871         * sysdeps/i386/fpu/libm-test-ulps: Update.
1872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1873
1874         [BZ #11451]
1875         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1876         x and y.
1877         * math/libm-test.inc (atan2_test): Add another test.
1878
1879         * Makerules (common-objdir-compile): Remove.
1880         * sysdeps/unix/Makefile (config-generated): Do not add
1881         $(unix-generated) to variable.
1882         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1883         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1884         Remove rule.
1885         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1886         Likewise.
1887         [generic bits/local_lim.h] (before-compile): Do not append to
1888         variable.
1889         [generic bits/local_lim.h] (common-generated): Likewise.
1890         [generic sys/param.h] (before-compile): Do not append to variable.
1891         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1892         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1893         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1894         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1895         include.
1896         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1897         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1898         [generic sys/param.h] ($(addprefix
1899         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1900         [generic sys/param.h] (common-generated): Do not append to
1901         variable.
1902         [generic sys/param.h] (sysdep_headers): Likewise.
1903         [generic bits/errno.h] (before-compile): Do not append to
1904         variable.
1905         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1906         rule.
1907         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1908         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1909         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1910         [generic bits/errno.h] (common-generated): Do not append to
1911         variable.
1912         [generic bits/ioctls.h] (before-compile): Do not append to
1913         variable.
1914         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1915         rule.
1916         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1917         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1918         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1919         rule.
1920         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1921         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1922         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1923         [generic bits/ioctls.h] (common-generated): Do not append to
1924         variable.
1925         [generic sys/syscall.h] (syscall.h): Remove variable.
1926         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1927         rule.
1928         [generic sys/syscall.h] (before-compile): Do not append to
1929         variable.
1930         [generic sys/syscall.h] (common-generated): Likewise.
1931         * sysdeps/unix/errnos-tmpl.c: Remove file.
1932         * sysdeps/unix/errnos.awk: Likewise.
1933         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1934         * sysdeps/unix/ioctls.awk: Likewise.
1935         * sysdeps/unix/mk-local_lim.c: Likewise.
1936         * sysdeps/unix/snarf-ioctls: Likewise.
1937
1938 2012-03-19  Richard Henderson  <rth@twiddle.net>
1939
1940         * sysdeps/i386/fpu/fenv_private.h: New file.
1941         * sysdeps/i386/fpu/math_private.h: Use it.
1942         (math_opt_barrier, math_force_eval): Remove.
1943         (libc_feholdexcept_setround_53bit): Remove.
1944         (libc_feupdateenv_53bit): Remove.
1945         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1946         (math_opt_barrier, math_force_eval): Remove.
1947         (libc_feholdexcept): Remove.
1948         (libc_feholdexcept_setround): Remove.
1949         (libc_fetestexcept, libc_fesetenv): Remove.
1950         (libc_feupdateenv_test): Remove.
1951         (libc_feupdateenv, libc_feholdsetround): Remove.
1952         (libc_feresetround): Remove.
1953
1954         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1955         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1956
1957         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1958         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1959         (libc_feupdateenv_testl): New.
1960         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1961         (libc_feupdateenv_testf): New.
1962         (libc_feupdateenv): Use libc_feupdateenv_test.
1963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1964         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1965
1966         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1967         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1968         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1969         (libc_feresetround_noex): New.
1970         (libc_feresetround_noexf): New.
1971         (libc_feresetround_noexl): New.
1972         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1973         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1974         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1975         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1976         SET_RESTORE_ROUND.
1977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1979         (__cos): Likewise.
1980         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1981         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1982         SET_RESTORE_ROUND_NOEX.
1983         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1984         SET_RESTORE_ROUND_NOEXF.
1985         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1986         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1987         (libc_feholdsetroundf): New.
1988         (libc_feresetround, libc_feresetroundf): New.
1989
1990         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1991         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1992         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1993
1994         * sysdeps/generic/math_private.h: Include <fenv.h>.
1995         (default_libc_feholdexcept): New.
1996         (default_libc_feholdexcept_setround): New.
1997         (default_libc_fesetenv, default_libc_feupdateenv): New.
1998         (libc_feholdexcept): Only define if undefined.
1999         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2000         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2001         (libc_feholdexcept_setroundl): Likewise.
2002         (libc_feholdexcept_setround_53bit): Likewise.
2003         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2004         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2005         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2006         (libc_feupdateenv_53bit): Likewise.
2007         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2008         (libc_feholdexcept): Convert from macro to inline function.
2009         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2010         (libc_fesetenv, libc_feupdateenv): Likewise.
2011
2012         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2013         not previously defined.
2014         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2015         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2016         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2017         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2018         * sysdeps/ieee754/flt-32/math_private.h: New file.
2019         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2020         math_private.h below SET_FLOAT_WORD.
2021         (__isnan, __isinf_ns, __finite): Remove.
2022         (__isnanf, __isinf_nsf, __finitef): Remove.
2023
2024 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
2025
2026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2027
2028 2012-03-17  David S. Miller  <davem@davemloft.net>
2029
2030         [BZ #6471]
2031         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2032         for 2.16.
2033
2034 2012-03-16  David S. Miller  <davem@davemloft.net>
2035
2036         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2037         warnings.
2038
2039         [BZ #6471]
2040         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2041         properly.
2042         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2043         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2044         sysdep_routines when subdir is sysvipc.
2045         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2046         __getshmlba helper.
2047
2048         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2049
2050 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2051
2052         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2053         [__LP64__].
2054
2055 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2056
2057         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2058         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2059         (__lround): Renamed to ...
2060         (__llround): This.  Replace long int with long long int.
2061         Define lround functions as aliases of llround functions.
2062         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2063
2064 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2065
2066         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2067         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2068         adresses to uintptr_t.  Replace "long int" and "unsigned long
2069         int" with "greg_t" on va_arg.
2070
2071 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2072
2073         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2074         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2075
2076         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2077         Move e_machine check before EI_CLASS check.  Handle x32
2078         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2079         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2080         SKIP_EM_IA_64 and include
2081         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2082
2083         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2084         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2085         (add_system_dir): New macro.
2086
2087         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2088         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2089
2090 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2091
2092         [BZ #2551]
2093         [BZ #2552]
2094         [BZ #2553]
2095         [BZ #2554]
2096         [BZ #2562]
2097         [BZ #2563]
2098         [BZ #2565]
2099         [BZ #2566]
2100         [BZ #2576]
2101         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2102         (y0): Likewise.
2103         * math/w_j0f.c (j0f): Likewise.
2104         (y0f): Likewise.
2105         * math/w_j0l.c (__j0l): Likewise.
2106         (__y0l): Likewise.
2107         * math/w_j1.c (j1): Likewise.
2108         (y1): Likewise.
2109         * math/w_j1f.c (j1f): Likewise.
2110         (y1f): Likewise.
2111         * math/w_j1l.c (__j1l): Likewise.
2112         (__y1l): Likewise.
2113         * math/w_jn.c (jn): Likewise.
2114         (yn): Likewise.
2115         * math/w_jnf.c (jnf): Likewise.
2116         (ynf): Likewise.
2117         * math/w_jnl.c (__jnl): Likewise.
2118         (__ynl): Likewise.
2119         * math/libm-test.inc (j0_test): Add more tests.
2120         (j1_test): Likewise.
2121         (jn_test): Likewise.  Add trailing semicolon to existing test.
2122         (y0_test): Likewise.
2123         (y1_test): Likewise.
2124         * sysdeps/i386/fpu/libm-test-ulps: Update.
2125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2126
2127         [BZ #13851]
2128         [BZ #13854]
2129         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2130         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2131         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2132         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2133         (__tanl): Set errno for infinite argument.
2134         * sysdeps/i386/fpu/mptan.c: Remove.
2135         * sysdeps/i386/fpu/s_tan.S: Likewise.
2136         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2137         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2138         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2139         * math/libm-test.inc (tan_test): Add more tests and enable more
2140         tests for double and long double.
2141         * sysdeps/i386/fpu/libm-test-ulps: Update.
2142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2143
2144 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2145
2146         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2147         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2148
2149 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2150
2151         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2152         * configure.in: Use it for both main tree and add-ons.
2153         * configure: Regenerated.
2154
2155 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2156
2157         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2158
2159 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2160
2161         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2162         in comment.
2163
2164         [BZ #13851]
2165         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2166         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2167         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2168         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2169         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2170         infinite argument.
2171         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2172         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2173         != 0 for prec == 2.
2174         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2175         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2176         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2177         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2178         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2179         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2180         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2181         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2182         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2183         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2184         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2185         * math/libm-test.inc (cos_test): Add more tests and enable more
2186         tests for long double.
2187         (sin_test): Likewise.
2188         (sincos_test): Likewise.
2189         * sysdeps/i386/fpu/libm-test-ulps: Update.
2190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
2192 2012-03-16  David S. Miller  <davem@davemloft.net>
2193
2194         * sysdeps/sparc/fpu/math_private.h: New file.
2195
2196 2012-03-15  David S. Miller  <davem@davemloft.net>
2197
2198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2199         file.
2200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2202         file.
2203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2208         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2209         sysdep routines.
2210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2211
2212         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2213         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2214
2215         * sysdeps/sparc/sparc-ifunc.h: New file.
2216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2217         sparc-ifunc.h
2218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2220         Likewise.
2221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2222         Likewise.
2223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2227         Likewise.
2228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2233         Likewise.
2234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2235         Likewise.
2236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2242         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2243         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2252         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2253         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2255         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2256         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2257         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2258         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2259         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2260
2261 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2262
2263         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2264         scaling.
2265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2266
2267 2012-03-15  Andreas Jaeger  <aj@suse.de>
2268
2269         [BZ #13852]
2270         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2271         ieee754/flt-32 implementation for sin, cos and sincos.
2272         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2273         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2274         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2275         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2276         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2277         ieee754/flt-32 implementation for tan.
2278
2279         * math/libm-test.inc (cos_test): Enable some large input tests for
2280         float as well
2281         (sin_test): Likewise.
2282         (sincos_test): Likewise.
2283         (tan_test): Add tests for large input.
2284
2285         * sysdeps/i386/fpu/libm-test-ulps: Update.
2286
2287 2012-03-15  Andreas Jaeger  <aj@suse.de>
2288
2289         [BZ #13658]
2290         * math/libm-test.inc (cos_test): Add more test cases.
2291         (sin_test): Likewise.
2292         (sincos_test): Likewise.
2293
2294 2012-03-15  Andreas Jaeger  <aj@suse.de>
2295
2296         [BZ #13837]
2297         * math/libm-test.inc (cos_test): Add a test case for large input
2298         value.
2299         (sin_test): Likewise.
2300         (sincos_test): Likewise.
2301
2302 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2303         Joseph Myers  <joseph@codesourcery.com>
2304
2305         [BZ #13658]
2306         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2307         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2308         * sysdeps/i386/fpu/branred.c: Likewise.
2309         * sysdeps/i386/fpu/dosincos.c: Likewise.
2310         * sysdeps/i386/fpu/mpa.c: Likewise.
2311         * sysdeps/i386/fpu/s_cos.S: Likewise.
2312         * sysdeps/i386/fpu/s_sin.S: Likewise.
2313         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2314         * sysdeps/i386/fpu/sincos32.c: Likewise.
2315
2316         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2317         Define.
2318         (libc_feupdateenv_53bit): Define.
2319         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2320         Define.
2321         (libc_feupdateenv_53bit): Define.
2322
2323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2324         53 bit (without extend i386 double precision).
2325
2326         * math/libm-test.inc (sincos_test): Add tests for large input.
2327         (sin): Likewise.
2328         (cos): Likewise.
2329
2330         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2331
2332 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2333
2334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2335
2336 2012-03-15  David S. Miller  <davem@davemloft.net>
2337
2338         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2339         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2340         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2341         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2350         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2351         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2354         file.
2355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2357         file.
2358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2360         file.
2361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2363         file.
2364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2366         fmin/fmax sysdep routines.
2367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2368
2369 2012-03-14  David S. Miller  <davem@davemloft.net>
2370
2371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2375         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2376         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2377         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2378         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2391         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2392         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2393         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2394         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2397         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2398         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2400         routines.
2401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2402         file.
2403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2405         file.
2406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2408         file.
2409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2411         file.
2412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2414         file.
2415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2417         file.
2418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2419         file.
2420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2421         file.
2422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2423         file.
2424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2425         New file.
2426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2427         file.
2428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2429         file.
2430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2432         file.
2433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2435         file.
2436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2438         file.
2439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2441         VIS3 routines.
2442
2443         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2444         New file.
2445
2446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2447
2448         * sysdeps/sparc/configure.in: New file.
2449         * sysdeps/sparc/configure: Generate.
2450         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2451         * configure: Regenerate.
2452         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2453         * config.make.in (have-as-vis3): New.
2454         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2455         available use -Av9d instead of -Av9a.
2456         * sysdeps/sparc/sparc64/Makefile: Likewise.
2457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2459         New file.
2460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2461         file.
2462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2463         New file.
2464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2465         file.
2466         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2467         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2468         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2469         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2470         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2471
2472         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2473         fzeros/fnegs to load 0x80000000 into a float register instead of
2474         using the stack.
2475         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2476
2477 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2478
2479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2480         bits/syscall.h.
2481         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2482         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2483         ($(inst_includedir)/bits/syscall.h): Remove rule.
2484         ($(objpfx)bits/syscall.d): Include instead of
2485         $(objpfx)syscall-list.d.
2486         (generated): Change syscall-list.h and syscall-list.d to
2487         bits/syscall.h and bits/syscall.d.
2488
2489 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2490
2491         [BZ #13846]
2492         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2493
2494 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2495
2496         [BZ #13841]
2497         * math/s_csqrt.c: Include <float.h>.
2498         (__csqrt): Scale large or subnormal inputs.
2499         * math/s_csqrtf.c: Likewise.
2500         * math/s_csqrtl.c: Likewise.
2501         * math/libm-test.inc (csqrt_test): Add more tests.
2502         * sysdeps/i386/fpu/libm-test-ulps: Update.
2503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2504
2505         [BZ #13840]
2506         * math/libm-test.inc (hypot_test): Add more tests.
2507
2508 2012-03-13  David S. Miller  <davem@davemloft.net>
2509
2510         [BZ #13840]
2511         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2512         double-precision for the calculation instead of scaling.
2513
2514 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2515
2516         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2517         manipulate bits before adding and subtracting TWO52[sx].
2518         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2519         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2520         Likewise.
2521         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2522
2523 2012-03-13  David S. Miller  <davem@davemloft.net>
2524
2525         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2526         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2528         rtld-global-offsets.h
2529         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2530
2531         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2532         large parameters.
2533
2534         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2535
2536         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2537         'err' in the ifdef scope in which it is actually used.
2538
2539         * nss/nss_db/db-init.c: Include string.h
2540
2541 2012-03-12  David S. Miller  <davem@davemloft.net>
2542
2543         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2544         masking out of the most significant byte of random value used.
2545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2546         Fix coding style in previous change.
2547
2548         * sysdeps/unix/sysv/linux/kernel-features.h
2549         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2550         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2551         expression.
2552         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2553         later.
2554
2555 2012-03-11  David S. Miller  <davem@davemloft.net>
2556
2557         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2558         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2559         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2560         for 'resultvar' otherwise things get truncated on 64-bit.
2561
2562         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2563         Fix masking out of the most significant byte of random value used.
2564
2565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2566
2567 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2568
2569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2570
2571 2012-03-09  David S. Miller  <davem@davemloft.net>
2572
2573         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2574         variables with appropriate CPP guards.
2575         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2576         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2577         on resulting framesize and the management of the outregs buffer for pltexit.
2578         Preserve floating point return values across _dl_call_pltexit call.
2579         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2580         framesize and the management of the outregs buffer for pltexit.
2581         Preserve floating point return values across _dl_call_pltexit
2582         call.
2583         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2584         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2585         (print_exit): Fix format string for return register value.
2586
2587 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2588
2589         * sunrpc/Makefile (others): Add rpcgen.
2590         ($(objpfx)rpcgen): Remove special build rule and dependency on
2591         libc.
2592         * sunrpc/rpcgen.c: New file.
2593
2594 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2595
2596         [BZ #13673]
2597         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2598         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2599         * sysdeps/i386/crti.S: Likewise.
2600         * sysdeps/i386/crtn.S: Likewise.
2601         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2602         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2603         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2604         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2605         * sysdeps/sh/crti.S: Likewise.
2606         * sysdeps/sh/crtn.S: Likewise.
2607         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2608
2609         [BZ #13673]
2610         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2611         with URL.
2612         * locale/programs/locfile-kw.gperf: Likewise.
2613         * locale/programs/charmap-kw.h: Regenerated.
2614         * locale/programs/locfile-kw.h: Likewise.
2615
2616         [BZ #13673]
2617         * intl/plural.y: Replace FSF snail mail address with URL.
2618         * intl/plural.c: Regenerated.
2619
2620 2012-03-09  Richard Henderson  <rth@twiddle.net>
2621
2622         * include/math_private.h: Remove file.
2623         * math/math_private.h: Move file ...
2624         * sysdeps/generic/math_private.h: ... here.
2625
2626         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2627         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2628         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2629
2630         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2631         and <math_private.h>.
2632         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2633         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2634         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2635         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2636         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2637         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2638         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2640         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2641         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2643         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2644         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2646         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2647         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2648         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2649         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2650         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2651         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2653         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2654         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2655         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2656         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2657         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2658         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2659         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2660         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2662         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2664         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2665         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2666         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2667         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2668         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2669         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2670         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2672         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2673         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2674         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2675         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2676         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2677         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2678         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2679         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2680         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2681         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2682         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2683         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2684         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2685         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2686         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2687         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2688         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2689         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2690         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2691         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2693         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2696         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2697         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2698         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2699         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2700         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2702         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2703         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2705         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2706         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2712         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2713         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2715         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2716         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2719         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2720         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2721         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2722         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2723         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2724         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2725         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2726         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2727         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2728         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2729         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2730         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2731         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2732         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2733         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2734         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2735         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2736         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2737         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2738         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2739         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2740         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2741         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2742         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2743         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2744         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2745         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2746         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2747         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2748         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2749         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2751         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2752         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2753         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2754         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2755         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2756         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2757         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2758         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2759         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2760         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2761         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2762         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2763         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2764         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2765         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2766         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2767         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2768         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2769         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2770         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2771         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2773         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2774         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2775         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2776         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2777         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2778         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2779         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2780         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2781         * sysdeps/ieee754/k_standard.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2798         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2799         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2800         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2801         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2802         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2803         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2804         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2805         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2806         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2807         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2822         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2823         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2824         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2827         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2828         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2829         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2830         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2832         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2833         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2834         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2844         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2845         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2846         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2852         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2897         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2903         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2904         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2905         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2907         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2908         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2909         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2910         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2911         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2912         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2913         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2914         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2915         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2916         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2917         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2918         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2919         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2920         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2921         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2922         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2923         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2924         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2925         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2926         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2927         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2930         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2931         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2932         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2942         * sysdeps/ieee754/s_lib_version.c: Likewise.
2943         * sysdeps/ieee754/s_matherr.c: Likewise.
2944         * sysdeps/ieee754/s_signgam.c: Likewise.
2945         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2946         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2947         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2948         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2949         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2950         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2951         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2952         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2953         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2954         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2955         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2956         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2957         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2958         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2959         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2960         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2961         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2962         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2963         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2966
2967 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2968
2969         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2970         * sunrpc/rpc_main.c: Likewise.
2971         * sunrpc/rpc_svcout.c: Likewise.
2972
2973 2012-03-09  David S. Miller  <davem@davemloft.net>
2974
2975         * include/math_private.h: New file.
2976
2977 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2978
2979         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2980         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2981         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2982         from <bits/socket_type.h>.
2983         (enum __socket_type): Don't define here.
2984         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2986         bits/socket_type.h.
2987
2988         [BZ #13566]
2989         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2990         checking __USE_GNU.
2991
2992         * Makerules ($(inst_includedir)/%.h): New rule.
2993         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2994         (install-others): Remove variable setting.
2995         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2996
2997 2012-03-08  Richard Henderson  <rth@twiddle.net>
2998
2999         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3000         from macro to inline function; merge with the
3001         !__LIBC_INTERNAL_MATH_INLINES version.
3002         (__ieee754_sqrtf): Likewise.
3003
3004         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3005         to inline function.
3006         (__rintf, __floor, __floorf): Likewise.
3007
3008         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3009         macro to inline function.
3010         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3011
3012         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3013         not <math/math_private.h>.
3014
3015 2012-03-08  David S. Miller  <davem@davemloft.net>
3016
3017         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3018         copyright year.
3019         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3020
3021 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
3022
3023         * resolv/gai_misc.c (handle_requests): Fix struct timespec
3024         normalization.
3025         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3026         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3027
3028 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
3029
3030         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
3031         be defined individually, they must be defined as a block.  Define
3032         S for printing a string instead of hidint the different by using a
3033         macro for adding the 'l'.
3034         * stdio-common/tst-fphex-wide.c: Adjust.
3035
3036 2012-03-07  Marek Polacek  <polacek@redhat.com>
3037
3038         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3039
3040 2012-03-08  Marek Polacek  <polacek@redhat.com>
3041
3042         [BZ #13806]
3043         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3044         * stdio-common/tst-fphex.c: Define a few macros to make the
3045         test reusable.  Use them.
3046         * stdio-common/tst-fphex-wide.c: New file.
3047
3048 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3049
3050         [BZ #6911]
3051         * manual/macros.texi (gnusystems): New macro.
3052         (nongnusystems): Likewise.
3053         (gnulinuxhurdsystems): Likewise.
3054         (gnuhurdsystems): Likewise..
3055         (gnulinuxsystems): Likewise.
3056         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3057         variants of the GNU system, not "GNU system".
3058         * manual/conf.texi: Likewise.
3059         * manual/errno.texi: Likewise.  Update example of errno macro
3060         expansion.
3061         * manual/filesys.texi: Likewise.
3062         (getumask): Document as specific to GNU/Hurd.
3063         * manual/install.texi: Likewise.  Reword some references to
3064         GNU/Linux.
3065         * manual/intro.texi: Likewise.
3066         * manual/io.texi: Likewise.
3067         (File Name Portability): Detail which constraints are inapplicable
3068         to all GNU systems and which are only inapplicable to GNU/Hurd.
3069         * manual/job.texi: Likewise.
3070         * manual/llio.texi: Likewise.
3071         (O_NOCTTY): Document as present on GNU/Linux.
3072         * manual/maint.texi: Likewise.
3073         * manual/memory.texi: Likewise.
3074         * manual/pattern.texi: Likewise.
3075         * manual/pipe.texi: Likewise.
3076         * manual/process.texi: Likewise.
3077         * manual/resource.texi: Likewise.
3078         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3079         child on GNU/Hurd.
3080         * manual/setjmp.texi: Likewise.
3081         * manual/signal.texi: Likewise.
3082         * manual/startup.texi: Likewise.
3083         * manual/stdio.texi: Likewise.
3084         * manual/terminal.texi: Likewise.
3085         (ONLCR): Document as POSIX.
3086         (OXTABS): Document availability on GNU/Linux as XTABS.
3087         (ONOEOT): Document availability separately from other bits.
3088         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3089         * manual/time.texi: Likewise.
3090         * manual/users.texi: Likewise.
3091         * INSTALL: Regenerated.
3092         * sysdeps/gnu/errlist.c: Regenerated.
3093
3094         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3095         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3096         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3097         puts.
3098         * configure: Regenerated.
3099
3100 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3101
3102         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3103         default includes instead of AC_HEADER_CHECK.
3104         * sysdeps/i386/configure: Regenerated.
3105
3106         [BZ #10716]
3107         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3108         * math/s_cacoshf.c (__cacoshf): Likewise.
3109         * math/s_cacoshl.c (__cacoshl): Likewise.
3110         * math/s_casinh.c (__casinh): Set signs of result from argument.
3111         * math/s_casinhf.c (__casinhf): Likewise.
3112         * math/s_casinhl.c (__casinhl): Likewise.
3113         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3114         (casinh_test): Add more tests.
3115         * sysdeps/i386/fpu/libm-test-ulps: Update.
3116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3117
3118 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3119
3120         * po/zh_TW.po: Update from translation team.
3121
3122         * login/Makefile (distribute): Remove variable.
3123         * catgets/Makefile: Likewise.
3124         * mach/Makefile: Likewise.
3125         * malloc/Makefile: Likewise.
3126         * misc/Makefile: Likewise.
3127         * iconv/Makefile: Likewise.
3128         * nscd/Makefile: Likewise.
3129         * hurd/Makefile: Likewise.
3130         * manual/Makefile: Likewise.
3131         * locale/Makefile: Likewise.
3132         * intl/Makefile: Likewise.
3133         * conform/Makefile: Likewise.
3134         * nss/Makefile: Likewise.
3135         * time/Makefile: Likewise.
3136         * soft-fp/Makefile: Likewise.
3137         * dirent/Makefile: Likewise.
3138         * gmon/Makefile: Likewise.
3139         * po/Makefile: Likewise.
3140         * rt/Makefile: Likewise.
3141         * socket/Makefile: Likewise.
3142         * math/Makefile: Likewise.
3143         * signal/Makefile: Likewise.
3144         * debug/Makefile: Likewise.
3145         * elf/Makefile: Likewise.
3146         * timezone/Makefile: Likewise.
3147         * stdlib/Makefile: Likewise.
3148         * iconvdata/Makefile: Likewise.
3149         * sunrpc/Makefile: Likewise.
3150         * io/Makefile: Likewise.
3151         * argp/Makefile: Likewise.
3152         * inet/Makefile: Likewise.
3153         * hesiod/Makefile: Likewise.
3154         * grp/Makefile: Likewise.
3155         * csu/Makefile: Likewise.
3156         * wctype/Makefile: Likewise.
3157         * crypt/Makefile: Likewise.
3158         * libio/Makefile: Likewise.
3159         * string/Makefile: Likewise.
3160         * nis/Makefile: Likewise.
3161         * resolv/Makefile: Likewise.
3162         * stdio-common/Makefile: Likewise.
3163         * wcsmbs/Makefile: Likewise.
3164         * dlfcn/Makefile: Likewise.
3165         * posix/Makefile: Likewise.
3166
3167         * timezone/Makefile: Don't install timezone files, just the programs
3168         and scripts.
3169
3170 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3171
3172         * nss/databases.def: Add missing gshadow entry.
3173
3174         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3175
3176 2012-03-06  Marek Polacek  <polacek@redhat.com>
3177
3178         [BZ #13726]
3179         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3180         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3181         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3182         * stdio-common/tst-long-dbl-fphex.c: New file.
3183
3184 2012-03-06  David S. Miller  <davem@davemloft.net>
3185
3186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3187         (set_obp_int): New function.
3188         (get_obp_int): New function.
3189         (__get_clockfreq_via_dev_openprom): Likewise.
3190         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3191         Avoid unused variable warnings on 'val' and use builtin_expect.
3192         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3193         __builtin_expect.
3194         (INLINE_CLONE_SYSCALL): Likewise.
3195
3196 2012-03-05  David S. Miller  <davem@davemloft.net>
3197
3198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3199
3200 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3201
3202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3203
3204         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3205         only for |x| >= 40.
3206         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3207
3208 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3209
3210         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3211         Replace gettimeofday with __vdso_gettimeofday.
3212
3213         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3214         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3215         __vdso_clock_gettime and __vdso_getcpu.
3216
3217         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3218         time with __vdso_time.
3219
3220 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3221
3222         * manual/lang.texi (size_t): Note types to which size_t may be
3223         equivalent with the GNU C Library, but do not describe when
3224         differences between them are significant.
3225
3226 2012-03-05  Andreas Jaeger  <aj@suse.de>
3227
3228         * sysdeps/i386/fpu/libm-test-ulps: Update.
3229
3230 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3231
3232         [BZ #3976]
3233         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3234         (__ieee754_pow): Save and restore rounding mode and use
3235         round-to-nearest for main computations.
3236         * math/libm-test.inc (pow_test_tonearest): New function.
3237         (pow_test_towardzero): Likewise.
3238         (pow_test_downward): Likewise.
3239         (pow_test_upward): Likewise.
3240         (main): Call the new functions.
3241         * sysdeps/i386/fpu/libm-test-ulps: Update.
3242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3243
3244         [BZ #3976]
3245         * math/libm-test.inc (cosh_test_tonearest): New function.
3246         (cosh_test_towardzero): Likewise.
3247         (cosh_test_downward): Likewise.
3248         (cosh_test_upward): Likewise.
3249         (sinh_test_tonearest): Likewise.
3250         (sinh_test_towardzero): Likewise.
3251         (sinh_test_downward): Likewise.
3252         (sinh_test_upward): Likewise.
3253         (main): Call the new functions.
3254         * sysdeps/i386/fpu/libm-test-ulps: Update.
3255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256
3257 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3258
3259         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3260         default stack guard is set in last bytes.
3261         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3262
3263 2012-03-05  Kees Cook  <keescook@chromium.org>
3264
3265         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3266
3267         [BZ #13656]
3268         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3269         possibly allocate from heap instead of stack.
3270         * stdio-common/bug-vfprintf-nargs.c: New file.
3271         * stdio-common/Makefile (tests): Add nargs overflow test.
3272
3273 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3274
3275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3276
3277 2012-03-03  Marek Polacek  <polacek@redhat.com>
3278
3279         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3280         * math/math_private.h: Likewise.
3281         * stdlib/tst-strtod.c: Likewise.
3282         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3283         * sysdeps/x86_64/bits/atomic.h: Likewise.
3284
3285 2012-03-02  David S. Miller  <davem@davemloft.net>
3286
3287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3291         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3292         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3293         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3294         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3295
3296 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3297
3298         [BZ #13792]
3299         * manual/examples/README: New file, says the example source files
3300         can be used under GPL>=2.
3301         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3302         line containing just "*/".
3303         * manual/examples/add.c: Add copyright header (GPL>=2).
3304         * manual/examples/argp-ex1.c: Likewise.
3305         * manual/examples/argp-ex2.c: Likewise.
3306         * manual/examples/argp-ex3.c: Likewise.
3307         * manual/examples/argp-ex4.c: Likewise.
3308         * manual/examples/atexit.c: Likewise.
3309         * manual/examples/db.c: Likewise.
3310         * manual/examples/dir.c: Likewise.
3311         * manual/examples/dir2.c: Likewise.
3312         * manual/examples/execinfo.c: Likewise.
3313         * manual/examples/filecli.c: Likewise.
3314         * manual/examples/filesrv.c: Likewise.
3315         * manual/examples/fmtmsgexpl.c: Likewise.
3316         * manual/examples/genpass.c: Likewise.
3317         * manual/examples/inetcli.c: Likewise.
3318         * manual/examples/inetsrv.c: Likewise.
3319         * manual/examples/isockad.c: Likewise.
3320         * manual/examples/longopt.c: Likewise.
3321         * manual/examples/memopen.c: Likewise.
3322         * manual/examples/memstrm.c: Likewise.
3323         * manual/examples/mkfsock.c: Likewise.
3324         * manual/examples/mkisock.c: Likewise.
3325         * manual/examples/mygetpass.c: Likewise.
3326         * manual/examples/pipe.c: Likewise.
3327         * manual/examples/popen.c: Likewise.
3328         * manual/examples/rprintf.c: Likewise.
3329         * manual/examples/search.c: Likewise.
3330         * manual/examples/select.c: Likewise.
3331         * manual/examples/setjmp.c: Likewise.
3332         * manual/examples/sigh1.c: Likewise.
3333         * manual/examples/sigusr.c: Likewise.
3334         * manual/examples/stpcpy.c: Likewise.
3335         * manual/examples/strdupa.c: Likewise.
3336         * manual/examples/strftim.c: Likewise.
3337         * manual/examples/strncat.c: Likewise.
3338         * manual/examples/subopt.c: Likewise.
3339         * manual/examples/swapcontext.c: Likewise.
3340         * manual/examples/termios.c: Likewise.
3341         * manual/examples/testopt.c: Likewise.
3342         * manual/examples/testpass.c: Likewise.
3343         * manual/examples/timeval_subtract.c: Likewise.
3344
3345         [BZ #13792]
3346         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3347         function to ...
3348         * manual/timeval_subtract.c.texi: ... here, new file.
3349
3350 2012-03-02  David S. Miller  <davem@davemloft.net>
3351
3352         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3353
3354 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3355
3356         [BZ #3976]
3357         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3358         (__sin): Save and restore rounding mode and use round-to-nearest
3359         for all computations.
3360         (__cos): Save and restore rounding mode and use round-to-nearest
3361         for all computations.
3362         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3363         <fenv.h>.
3364         (tan): Save and restore rounding mode and use round-to-nearest for
3365         all computations.
3366         * math/libm-test.inc (cos_test_tonearest): New function.
3367         (cos_test_towardzero): Likewise.
3368         (cos_test_downward): Likewise.
3369         (cos_test_upward): Likewise.
3370         (sin_test_tonearest): Likewise.
3371         (sin_test_towardzero): Likewise.
3372         (sin_test_downward): Likewise.
3373         (sin_test_upward): Likewise.
3374         (tan_test_tonearest): Likewise.
3375         (tan_test_towardzero): Likewise.
3376         (tan_test_downward): Likewise.
3377         (tan_test_upward): Likewise.
3378         (main): Call the new functions.
3379         * sysdeps/i386/fpu/libm-test-ulps: Update.
3380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3381
3382         [BZ #10135]
3383         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3384         small n, then large n, before computing and testing k+n.
3385         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3386         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3387         Likewise.
3388         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3389         Likewise.
3390         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3391         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3392         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3393         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3394         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3395         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3396         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3397         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3398         * math/libm-test.inc (scalbn_test): Add more tests.
3399         (scalbln_test): Likewise.
3400
3401         * manual/filesys.texi (mode_t): Describe constraints on size and
3402         signedness, not exact equivalence to a particular type.
3403         (ino_t): Likewise.
3404         (ino64_t): Likewise.
3405         (dev_t): Likewise.
3406         (nlink_t): Likewise.
3407         (blkcnt_t): Likewise.
3408         (blkcnt64_t): Likewise.
3409         * manual/llio.texi (off_t): Likewise.
3410
3411         [BZ #3976]
3412         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3413         (__ieee754_exp): Save and restore rounding mode and use
3414         round-to-nearest for all computations.
3415         * math/libm-test.inc (exp_test_tonearest): New function.
3416         (exp_test_towardzero): Likewise.
3417         (exp_test_downward): Likewise.
3418         (exp_test_upward): Likewise.
3419         (main): Call the new functions.
3420         * sysdeps/i386/fpu/libm-test-ulps: Update.
3421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3422
3423 2012-03-01  Chris Demetriou  <cgd@google.com>
3424
3425         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3426         have predictable order.
3427
3428 2012-03-01  David S. Miller  <davem@davemloft.net>
3429
3430         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3431
3432         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3433         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3434         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3435         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3436
3437         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3438         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3439         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3441         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3442         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3443         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3444         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3445         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3446
3447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3448
3449         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3450         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3451         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3452
3453         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3454         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3455         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3456         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3457         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3458         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3459         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3460         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3461         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3462         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3463         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3464         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3465         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3466         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3467         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3468         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3469         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3470         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3471         * sysdeps/sparc/elf/configure: Regenerated.
3472
3473 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3474
3475         * configure.in (AS, LD): Require binutils 2.20 or later.
3476         * configure: Regenerated.
3477         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3478         as required minimum version.
3479         * INSTALL: Regenerated.
3480
3481         [BZ #2541]
3482         [BZ #4108]
3483         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3484         before squaring exponent.
3485         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3486         bottom long double and 27 bits of top long double before squaring
3487         exponent.
3488         * math/libm-test.inc (erfc_test): Add more tests.
3489         * sysdeps/i386/fpu/libm-test-ulps: Update.
3490         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3492
3493 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3494
3495         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3496         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3497         containing bit-fields.
3498         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3499         * soft-fp/single.h (_FP_UNION_S): Likewise.
3500         * soft-fp/double.h (_FP_UNION_D): Likewise.
3501
3502 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3503
3504         [BZ #13786]
3505         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3506         not include ../strcmp.S.
3507         [USE_AS_STRNCASECMP_L]: Likewise.
3508         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3509         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3510         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3511         (__strncasecmp_l_ia32): Define as alias to
3512         __strncasecmp_l_nonascii.
3513
3514         [BZ #5794]
3515         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3516         * sysdeps/i386/fpu/libm-test-ulps: Update.
3517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3518
3519         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3521
3522 2012-02-29  Jeff Law  <law@redhat.com>
3523
3524         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3525         out of bounds read.
3526
3527 2012-02-29  Marek Polacek  <polacek@redhat.com>
3528
3529         [BZ #13706]
3530         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3531         * elf/Makefile: Add rules to run tst-unused-dep.out.
3532
3533 2012-02-28  David S. Miller  <davem@davemloft.net>
3534
3535         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3536         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3537         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3538         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3539         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3540         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3541
3542 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3543
3544         * math/libm-test.inc (llround_test): Move one test from
3545         lround_test.  Use TEST_f_L in moved test.
3546         (lround_test): Move misplaced test to llround_test.  Add testcase
3547         from bug 2561.
3548
3549 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3550
3551         * sysdeps/x86_64/fpu/e_expf.S: New file.
3552         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3553
3554 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3555
3556         [BZ #13637]
3557         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3558         of remain_len that may cause incomplete multi-byte character and
3559         false match.
3560         * posix/bug-regex33.c: New file.
3561         * posix/Makefile (tests): Add bug-regex33.
3562
3563 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3564
3565         * manual/macros.texi: New file.
3566         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3567         * manual/libc.texinfo: Include macros.texi.
3568         * manual/creatute.texi: Likewise.
3569         * manual/install.texi: Likewise.
3570         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3571         @glibcadj{} in references to the GNU C Library.
3572         * manual/charset.texi: Likewise.
3573         * manual/conf.texi: Likewise.
3574         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3575         when not using those macros.
3576         * manual/creature.texi: Likewise.
3577         * manual/crypt.texi: Likewise.
3578         * manual/errno.texi: Likewise.
3579         * manual/filesys.texi: Likewise.
3580         * manual/header.texi: Likewise.
3581         * manual/install.texi: Likewise.
3582         * manual/intro.texi: Likewise.
3583         * manual/io.texi: Likewise.
3584         * manual/job.texi: Likewise.
3585         * manual/lang.texi: Likewise.
3586         * manual/libc.texiinfo: Likewise.
3587         * manual/llio.texi: Likewise.
3588         * manual/locale.texi: Likewise.
3589         * manual/maint.texi: Likewise.
3590         * manual/math.texi: Likewise.
3591         * manual/memory.texi: Likewise.
3592         * manual/message.texi: Likewise.
3593         * manual/nss.texi: Likewise.
3594         * manual/pattern.texi: Likewise.
3595         * manual/process.texi: Likewise.
3596         * manual/resource.texi: Likewise.
3597         * manual/search.texi: Likewise.
3598         * manual/setjmp.texi: Likewise.
3599         * manual/signal.texi: Likewise.
3600         * manual/socket.texi: Likewise.
3601         * manual/startup.texi: Likewise.
3602         * manual/stdio.texi: Likewise.
3603         * manual/string.texi: Likewise.
3604         * manual/sysinfo.texi: Likewise.
3605         * manual/syslog.texi: Likewise.
3606         * manual/terminal.texi: Likewise.
3607         * manual/time.texi: Likewise.
3608         * manual/users.texi: Likewise.
3609         * INSTALL: Regenerated.
3610         * NOTES: Regenerated.
3611         * sysdeps/gnu/errlist.c: Regenerated.
3612
3613 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3614
3615         * include/dirent.h: Include <dirstream.h> before
3616         <dirent/dirent.h>.
3617
3618 2012-02-28  David S. Miller  <davem@davemloft.net>
3619
3620         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3621         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3622         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3623         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3624
3625 2012-02-27  David S. Miller  <davem@davemloft.net>
3626
3627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3629         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3630         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3631
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3633         frame pointer instead of stack pointer relative arg slot.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3635         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3636         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3637
3638 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3639
3640         [BZ #3992]
3641         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3642
3643 2012-02-27  David S. Miller  <davem@davemloft.net>
3644
3645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3649         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3650         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3651         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3652         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3653
3654 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3655
3656         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3657         later.  Allow versions 5-9.
3658         * configure: Regenerated.
3659         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3660         required minimum version and 4.6 as recommended version.  Do not
3661         mention bugs in GCC 2.7 and 2.8.
3662         * INSTALL: Regenerated.
3663
3664 2012-02-27  David S. Miller  <davem@davemloft.net>
3665
3666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3670         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3671         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3672         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3673         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3674
3675         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3676         manipulate bits before adding and subtracting TWO112[sx].
3677         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3678
3679 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3680
3681         [BZ #13775]
3682         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3683         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3684         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3685         being in POSIX, because they are in 1003.1-2008.
3686
3687         * rt/tst-aio.c: Include <fcntl.h>.
3688         * rt/tst-aio7.c: Likewise.
3689         * rt/tst-aio64.c: Likewise.
3690
3691         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3692
3693 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3694
3695         * manual/install.texi (--with-headers): Describe headers as
3696         interface headers, not private headers.
3697         (Specific advice for GNU/Linux systems): Describe use of headers
3698         from "make headers_install", not private headers from older
3699         kernels.
3700         * INSTALL: Regenerated.
3701         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3702         Change to 2.6.19.
3703         * sysdeps/unix/sysv/linux/configure: Regenerated.
3704
3705         * manual/llio.texi (fclean): Remove documentation.
3706
3707         * manual/Makefile (libc-texi-generated): New variable.  Include
3708         version.texi.
3709         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3710         $(libc-texi-generated), not duplicated list of files.
3711         (version.texi, stamp-version): New rules.
3712         (realclean): Remove $(libc-texi-generated), not individual files
3713         from that list.  Do not remove dir-add.texinfo.
3714         * manual/libc.texinfo: Comment out uses of edition numbers and
3715         references to printed manual.  Remove last-updated dates.
3716         (EDITION): Comment out.
3717         (ISBN): Likewise.
3718         (VERSION, UPDATED): Remove.
3719         (version.texi): Include.
3720
3721 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3722
3723         * sysdeps/posix/spawni.c: Include <signal.h>.
3724         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3725         * sysdeps/pthread/aio_fsync.c: Likewise.
3726
3727 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3728
3729         * conform/Makefile (tests): Run only when not cross-compiling and
3730         when fast-check is not defined.
3731
3732         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3733         * conform/data/limits.h-data: Fixes for POSIX2008.
3734         * conform/run-conformtest.sh: Run all tests.
3735         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3736         headers.
3737         * include/bits/dlfcn.h: Likewise.
3738         * include/langinfo.h: Likewise.
3739         * include/monetary.h: Likewise.
3740         * include/sys/poll.h: Likewise.
3741
3742         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3743         for __USE_GNU.
3744         * posix/spawn.h: Define __need_sigset_t.
3745         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3746         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3747         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3748         to get sigevent_t only.
3749         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3750         only for __USE_GNU.
3751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3752         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3753         process_vm_writev only for __USE_GNU.
3754         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3755
3756         * conform/Makefile: For now ignore errors from run-conformtest.
3757         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3758         POSIX to avoid namespace pollution.  Don't prepend headers.
3759         * conform/data/aio.h-data: Fixes for POSIX testing.
3760         * conform/data/fcntl.h-data: Likewise.
3761         * conform/data/glob.h-data: Likewise.
3762         * conform/data/grp.h-data: Likewise.
3763         * conform/data/pthread.h-data: Likewise.
3764         * conform/data/pwd.h-data: Likewise.
3765         * conform/data/signal.h-data: Likewise.
3766         * conform/data/spawn.h-data: Likewise.
3767         * conform/data/stdio.h-data: Likewise.
3768         * conform/data/stdlib.h-data: Likewise.
3769         * conform/data/stropts.h-data: Likewise.
3770         * conform/data/sys/mman.h-data: Likewise.
3771         * conform/data/sys/stat.h-data: Likewise.
3772         * conform/data/sys/types.h-data: Likewise.
3773         * conform/data/sys/wait.h-data: Likewise.
3774         * conform/data/time.h-data: Likewise.
3775         * conform/data/unistd.h-data: Likewise.
3776         * conform/data/utime.h-data: Likewise.
3777
3778         * io/sys/stat.h: fchmod was always in POSIX.
3779         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3780         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3781         * rt/aio.h: Define __need_timespec before including <time.h>.
3782         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3783         struct.  Add forward declaration of pthread_attr_t and use it in
3784         sigevent.
3785         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3786         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3787         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3788         always remove CLK_TCK definition.
3789
3790 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3791
3792         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3793
3794 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3795
3796         * conform/run-conformtest.sh: New file.
3797         * conform/Makefile: Run run-conformtest for tests.
3798         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3799         support.
3800
3801         * conform/data/uchar.h-data: New file.
3802         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3803         * conform/data/arpa/inet.h-data: Likewise.
3804         * conform/data/assert.h-data: Likewise.
3805         * conform/data/complex.h-data: Likewise.
3806         * conform/data/cpio.h-data: Likewise.
3807         * conform/data/ctype.h-data: Likewise.
3808         * conform/data/dirent.h-data: Likewise.
3809         * conform/data/dlfcn.h-data: Likewise.
3810         * conform/data/errno.h-data: Likewise.
3811         * conform/data/fcntl.h-data: Likewise.
3812         * conform/data/float.h-data: Likewise.
3813         * conform/data/fmtmsg.h-data: Likewise.
3814         * conform/data/fnmatch.h-data: Likewise.
3815         * conform/data/ftw.h-data: Likewise.
3816         * conform/data/glob.h-data: Likewise.
3817         * conform/data/grp.h-data: Likewise.
3818         * conform/data/iconv.h-data: Likewise.
3819         * conform/data/inttypes.h-data: Likewise.
3820         * conform/data/langinfo.h-data: Likewise.
3821         * conform/data/libgen.h-data: Likewise.
3822         * conform/data/limits.h-data: Likewise.
3823         * conform/data/locale.h-data: Likewise.
3824         * conform/data/math.h-data: Likewise.
3825         * conform/data/monetary.h-data: Likewise.
3826         * conform/data/mqueue.h-data: Likewise.
3827         * conform/data/ndbm.h-data: Likewise.
3828         * conform/data/net/if.h-data: Likewise.
3829         * conform/data/netdb.h-data: Likewise.
3830         * conform/data/netinet/in.h-data: Likewise.
3831         * conform/data/nl_types.h-data: Likewise.
3832         * conform/data/poll.h-data: Likewise.
3833         * conform/data/pthread.h-data: Likewise.
3834         * conform/data/pwd.h-data: Likewise.
3835         * conform/data/regex.h-data: Likewise.
3836         * conform/data/sched.h-data: Likewise.
3837         * conform/data/search.h-data: Likewise.
3838         * conform/data/semaphore.h-data: Likewise.
3839         * conform/data/setjmp.h-data: Likewise.
3840         * conform/data/signal.h-data: Likewise.
3841         * conform/data/spawn.h-data: Likewise.
3842         * conform/data/stdarg.h-data: Likewise.
3843         * conform/data/stdio.h-data: Likewise.
3844         * conform/data/stdlib.h-data: Likewise.
3845         * conform/data/string.h-data: Likewise.
3846         * conform/data/strings.h-data: Likewise.
3847         * conform/data/stropts.h-data: Likewise.
3848         * conform/data/sys/ipc.h-data: Likewise.
3849         * conform/data/sys/mman.h-data: Likewise.
3850         * conform/data/sys/msg.h-data: Likewise.
3851         * conform/data/sys/resource.h-data: Likewise.
3852         * conform/data/sys/select.h-data: Likewise.
3853         * conform/data/sys/sem.h-data: Likewise.
3854         * conform/data/sys/shm.h-data: Likewise.
3855         * conform/data/sys/socket.h-data: Likewise.
3856         * conform/data/sys/stat.h-data: Likewise.
3857         * conform/data/sys/statvfs.h-data: Likewise.
3858         * conform/data/sys/time.h-data: Likewise.
3859         * conform/data/sys/timeb.h-data: Likewise.
3860         * conform/data/sys/times.h-data: Likewise.
3861         * conform/data/sys/types.h-data: Likewise.
3862         * conform/data/sys/uio.h-data: Likewise.
3863         * conform/data/sys/un.h-data: Likewise.
3864         * conform/data/sys/utsname.h-data: Likewise.
3865         * conform/data/sys/wait.h-data: Likewise.
3866         * conform/data/syslog.h-data: Likewise.
3867         * conform/data/tar.h-data: Likewise.
3868         * conform/data/termios.h-data: Likewise.
3869         * conform/data/utime.h-data: Likewise.
3870         * conform/data/utmpx.h-data: Likewise.
3871         * conform/data/varargs.h-data: Likewise.
3872         * conform/data/wchar.h-data: Likewise.
3873         * conform/data/wctype.h-data: Likewise.
3874         * conform/data/wordexp.h-data: Likewise.
3875
3876         * include/stropts.h: New file.
3877         * include/uchar.h: New file.
3878         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3879         * include/assert.h: Likewise.
3880         * include/ctype.h: Likewise.
3881         * include/dirent.h: Likewise.
3882         * include/dlfcn.h: Likewise.
3883         * include/fcntl.h: Likewise.
3884         * include/fnmatch.h: Likewise.
3885         * include/glob.h: Likewise.
3886         * include/grp.h: Likewise.
3887         * include/libio.h: Likewise.
3888         * include/locale.h: Likewise.
3889         * include/math.h: Likewise.
3890         * include/net/if.h: Likewise.
3891         * include/netdb.h: Likewise.
3892         * include/netinet/in.h: Likewise.
3893         * include/pthread.h: Likewise.
3894         * include/pwd.h: Likewise.
3895         * include/regex.h: Likewise.
3896         * include/sched.h: Likewise.
3897         * include/search.h: Likewise.
3898         * include/setjmp.h: Likewise.
3899         * include/signal.h: Likewise.
3900         * include/stdio.h: Likewise.
3901         * include/stdlib.h: Likewise.
3902         * include/string.h: Likewise.
3903         * include/sys/cdefs.h: Likewise.
3904         * include/sys/mman.h: Likewise.
3905         * include/sys/msg.h: Likewise.
3906         * include/sys/resource.h: Likewise.
3907         * include/sys/select.h: Likewise.
3908         * include/sys/socket.h: Likewise.
3909         * include/sys/stat.h: Likewise.
3910         * include/sys/statvfs.h: Likewise.
3911         * include/sys/time.h: Likewise.
3912         * include/sys/times.h: Likewise.
3913         * include/sys/uio.h: Likewise.
3914         * include/sys/utsname.h: Likewise.
3915         * include/sys/wait.h: Likewise.
3916         * include/termios.h: Likewise.
3917         * include/time.h: Likewise.
3918         * include/ulimit.h: Likewise.
3919         * include/unistd.h: Likewise.
3920         * include/utime.h: Likewise.
3921         * include/wchar.h: Likewise.
3922         * include/wctype.h: Likewise.
3923         * include/wordexp.h: Likewise.
3924
3925         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3926
3927         * time/time.h: TIME_UTC must be a macro.
3928         Make timespec_get available for ISO C11 only as well.
3929
3930 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3931
3932         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3933         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3934
3935 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3936
3937         * configure.in: Use -o not -a in test for unsupported multi-arch.
3938
3939 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3940
3941         * manual/texinfo.tex: Update to version 2012-01-19.16.
3942
3943 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3944
3945         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3946
3947 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3948
3949         [BZ #13738]
3950         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3951         * manual/fdl-1.3.texi: New file.
3952         * manual/fdl-1.1.texi: File removed.
3953
3954         [BZ #13738]
3955         * manual/libc.texinfo (FDL_VERSION): New @set.
3956         Use it for mention of FDL in cover text.
3957         (Documentation License): Use it in @include file name.
3958
3959 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3960             Roland McGrath  <roland@hack.frob.com>
3961
3962         [BZ #5461]
3963         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3964         not LONG_LONG_MAX and LONG_LONG_MIN.
3965         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3966         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3967         name.
3968         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3969
3970 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3971
3972         [BZ #2547]
3973         [BZ #11365]
3974         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3975         manipulate bits before adding and subtracting TWO23[sx].
3976         * math/libm-test.inc (nearbyint_test): Add more tests.
3977
3978 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3979
3980         [BZ #2548]
3981         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3982         bits before adding and subtracting TWO23[sx].
3983         * math/libm-test.inc (rint_test): Add more tests.
3984         (rint_test_tonearest): Likewise.
3985         (rint_test_towardzero): Likewise.
3986         (rint_test_downward): Likewise.
3987         (rint_test_upward: Likewise.
3988
3989 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3990
3991         [BZ #10110]
3992         * include/stdc-predef.h: New file.  Extracted from features.h.
3993         * include/features.h: Include stdc-predef.h.
3994         * Makefile (headers): Add stdc-predef.h.
3995         * CONFORMANCE (Compiler limitations): Update.
3996
3997 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3998
3999         * manual/libc.texinfo (VERSION, UPDATED): Revert.
4000
4001 2012-02-21  David S. Miller  <davem@davemloft.net>
4002
4003         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4004         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4005
4006 2012-02-20  David S. Miller  <davem@davemloft.net>
4007
4008         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4009         using a normal save/restore sequence, rather than allocating a
4010         dummy stack frame just to store a frame pointer and restore.
4011         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4012
4013 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4014
4015         * manual/install.texi: Fix stray word in line-wrapped comment.
4016
4017 2012-02-20  David S. Miller  <davem@davemloft.net>
4018
4019         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4020         both binutils and gcc support GOTDATA.
4021
4022         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4023         "rd %pc" in the PIC register setup sequences.
4024
4025         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4026         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4027         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4028         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4029         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4031         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4032         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4033         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4034         (SYSCALL_ERROR_HANDLER): Likewise.
4035         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4036         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4038         (SYSCALL_ERROR_HANDLER): Likewise.
4039
4040         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4041         (HAVE_GCC_GOTDATA): New.
4042         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4043         relocation support in both binutils and gcc.
4044         * sysdeps/sparc/elf/configure: Regenerate.
4045
4046         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4047         * sysdeps/sparc/sparc32/elf/configure: Delete.
4048         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4049         * sysdeps/sparc/sparc64/elf/configure: Delete.
4050         * sysdeps/sparc/elf/configure.in: New file.
4051         * sysdeps/sparc/elf/configure: Generate.
4052
4053         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4054         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4055         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4056         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4057         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4058
4059 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4060
4061         * manual/install.texi: Do not mention specific glibc version
4062         numbers.
4063         * manual/libc.texinfo (VERSION, UPDATED): Update.
4064         (@copying): Use @copyright{} and range of years.
4065
4066 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4067
4068         [BZ #13695]
4069         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4070         [crti.S not in sysdirs] (generated): Do not append.
4071         [crti.S not in sysdirs] (omit-deps): Likewise.
4072         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4073         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4074         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4075         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4076         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4077         Likewise.
4078         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4079         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4080         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4081         * csu/defs.awk: Remove file.
4082         * sysdeps/generic/initfini.c: Likewise.
4083         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4084         variable.
4085         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4086         Likewise.
4087
4088 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4089
4090         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4091         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4092         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4094         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4095         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4096         <bits/epoll.h>.
4097         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4098         (__EPOLL_PACKED): Define to empty if not defined by
4099         <bits/epoll.h>.
4100         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4102         bits/epoll.h.
4103
4104 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4105
4106         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4107         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4108         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4109         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4110         <bits/timerfd.h>.
4111         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4113         bits/timerfd.h.
4114
4115 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4116
4117         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4118         in C locale.
4119         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4120         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4121         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123
4124 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4125
4126         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4127         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4128
4129 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4130
4131         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4132         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4133         defined.
4134         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4135         Likewise.
4136         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4137         entry for 2.16.
4138
4139 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4140
4141         * math/w_acos.c: Use non-signaling floating-point comparisons.
4142         * math/w_acosf.c: Likewise.
4143         * math/w_acosh.c: Likewise.
4144         * math/w_acoshf.c: Likewise.
4145         * math/w_acoshl.c: Likewise.
4146         * math/w_acosl.c: Likewise.
4147         * math/w_asin.c: Likewise.
4148         * math/w_asinf.c: Likewise.
4149         * math/w_asinl.c: Likewise.
4150         * math/w_atanh.c: Likewise.
4151         * math/w_atanhf.c: Likewise.
4152         * math/w_atanhl.c: Likewise.
4153         * math/w_exp2.c: Likewise.
4154         * math/w_exp2f.c: Likewise.
4155         * math/w_exp2l.c: Likewise.
4156         * math/w_j0.c: Likewise.
4157         * math/w_j0f.c: Likewise.
4158         * math/w_j0l.c: Likewise.
4159         * math/w_j1.c: Likewise.
4160         * math/w_j1f.c: Likewise.
4161         * math/w_j1l.c: Likewise.
4162         * math/w_jn.c: Likewise.
4163         * math/w_jnf.c: Likewise.
4164         * math/w_log.c: Likewise.
4165         * math/w_log10.c: Likewise.
4166         * math/w_log10f.c: Likewise.
4167         * math/w_log10l.c: Likewise.
4168         * math/w_log2.c: Likewise.
4169         * math/w_log2f.c: Likewise.
4170         * math/w_log2l.c: Likewise.
4171         * math/w_logf.c: Likewise.
4172         * math/w_logl.c: Likewise.
4173         * math/w_sqrt.c: Likewise.
4174         * math/w_sqrtf.c: Likewise.
4175         * math/w_sqrtl.c: Likewise.
4176         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4177         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4178         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4179         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4180         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4181
4182 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4183
4184         [BZ #9739]
4185         * manual/string.texi (strnlen): Use correct parameter name in
4186         equivalent expression.
4187
4188 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4189
4190         [BZ #11174]
4191         * manual/users.texi (seteuid): Consistently use neweuid for
4192         argument name.
4193
4194 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4195
4196         [BZ #13704]
4197         * manual/nss.texi (Services in the NSS configuration): Correct
4198         list of services in example configuration file.
4199
4200 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4201
4202         [BZ #11322]
4203         * manual/arith.texi: Remove statements about negative zero
4204         behaving identically to zero.
4205
4206 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4207
4208         [BZ #5993]
4209         * manual/install.texi: Do not document upgrading from libc5.
4210
4211 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4212
4213         [BZ #4596]
4214         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4215
4216 2012-02-18  David S. Miller  <davem@davemloft.net>
4217
4218         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4219         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4220         %o7 across the call.
4221         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4222         instead.
4223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4224         SETUP_PIC_REG_LEAF.
4225         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4226         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4227         * sysdeps/sparc/crtn.S: Likewise.
4228
4229 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4230
4231         * aout/Makefile: Remove.
4232
4233 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4234
4235         [BZ #13058]
4236         * manual/examples/argp-ex1.c (main): Format definition in GNU
4237         style.
4238         * manual/examples/argp-ex2.c (main): Likewise.
4239         * manual/examples/argp-ex3.c (main): Likewise.
4240         * manual/examples/argp-ex4.c (main): Likewise.
4241         * manual/examples/longopt.c (main): Use new-style prototype
4242         definition.
4243         * manual/examples/strncat.c (main): Specify return type and use
4244         (void) for arguments.
4245         * manual/examples/subopt.c (main): Use char **argv argument.
4246
4247 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4248
4249         [BZ #5077]
4250         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4251         rounding modes.
4252
4253 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4254
4255         [BZ #6907]
4256         * manual/string.texi (strchr): Change when strchrnul is
4257         recommended.
4258
4259 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4260
4261         [BZ #174]
4262         * manual/locale.texi (setlocale): Document LOCPATH.
4263
4264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4265
4266         [BZ #10210]
4267         * manual/process.texi (execle): Move @dots{} before last argument.
4268
4269 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4270
4271         [BZ #12047]
4272         * manual/charset.texi (Generic Charset Conversion): Fix typo
4273         (LC_TYPE -> LC_CTYPE).
4274
4275 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4276
4277         [BZ #5805]
4278         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4279         (scalbnf): Likewise.
4280         (scalbnl): Likewise.
4281         (scalbln): Likewise.
4282         (scalblnf): Likewise.
4283         (scalblnl): Likewise.
4284         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4285         (vwarnx): Likewise.
4286         (verr): Likewise.
4287         (verrx): Likewise.
4288         * manual/filesys.texi (telldir): Use braces around return type.
4289         * manual/llio.texi (mmap): Add space after comma.
4290         (mmap64): Likewise.
4291         * manual/math.texi (jn): Use @var{} on parameter names.
4292         (jnf): Likewise.
4293         (jnl): Likewise.
4294         (yn): Likewise.
4295         (ynf): Likewise.
4296         (ynl): Likewise.
4297         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4298         line.
4299         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4300         "...".
4301         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4302         (sched_get_priority_max): Likewise.
4303         * manual/signal.texi (sigvec): Add space after comma.
4304         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4305         names.
4306         (if_indextoname): Likewise.
4307         (if_freenameindex): Likewise.
4308         (sendto): Use ',' instead of '.' in prototype.
4309         * manual/startup.texi (syscall): Use @dots{} instead of literal
4310         "...".
4311         * manual/stdio.texi (__fpending): Separate initial words of
4312         paragraph from @deftypefun line.
4313         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4314         "...".
4315         (vsyslog): Use @var{} on parameter names.
4316         * manual/terminal.texi (stty): Use @var{} on parameter names.
4317         * manual/users.texi (getutmp): Use @var{} on parameter names.
4318         (getutmpx): Likewise.
4319
4320 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4321
4322         [BZ #6884]
4323         * manual/stdio.texi (fopen): Fix typos in description of
4324         ",ccs=STRING".
4325
4326 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4327
4328         [BZ #4026]
4329         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4330         get clock_id definition.
4331
4332 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4333
4334         [BZ #4822]
4335         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4336         (madvise): Cast every argument to void on its own.
4337
4338 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4339
4340         [BZ #9902]
4341         * manual/startup.texi (Exit Status): Fix typo.
4342
4343 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4344
4345         [BZ #10140]
4346         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4347         * manual/examples/argp-ex2.c: Likewise.
4348         * manual/examples/argp-ex3.c: Likewise.
4349
4350 2012-02-16  Richard Henderson  <rth@redhat.com>
4351
4352         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4353         * sysdeps/s390/s390-32/initfini.c: Remove.
4354         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4355         * sysdeps/s390/s390-64/initfini.c: Remove.
4356
4357 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4358
4359         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4360         compiler output for sysdeps/generic/initfini.c.
4361         * sysdeps/sh/elf/initfini.c: Remove file.
4362
4363 2012-02-16  David S. Miller  <davem@davemloft.net>
4364
4365         [BZ #11494]
4366         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4367
4368         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4369         * sysdeps/sparc/crti.S: New file.
4370         * sysdeps/sparc/crtn.S: New file.
4371         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4372         * sysdeps/sparc/sparc64/Makefile: Likewise.
4373
4374 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4375
4376         [BZ #3335]
4377         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4378
4379 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4380
4381         [BZ #4822]
4382         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4383
4384         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4385         (write, read, close): Likewise.
4386         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4387
4388 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4389
4390         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4391         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4392         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4393         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4394         <bits/signalfd.h>.
4395         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4397         bits/signalfd.h.
4398
4399 2012-02-14  Marek Polacek  <polacek@redhat.com>
4400
4401         * sysdeps/x86_64/crti.S: New file.
4402         * sysdeps/x86_64/crtn.S: New file.
4403         * sysdeps/x86_64/elf/initfini.c: Remove file.
4404
4405 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4406
4407         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4408         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4409         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4410         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4411         <bits/inotify.h>.
4412         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4414         bits/inotify.h.
4415
4416 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4417
4418         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4419         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4420         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4421         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4422         <bits/eventfd.h>.
4423         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4425         bits/eventfd.h.
4426
4427 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4428
4429         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4430         __feraiseexcept instead of feraiseexcept.
4431
4432         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4433         nanosleep invocations.
4434         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4435         strings, and add error checking for a nanosleep invocations.
4436
4437 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4438
4439         Replace FSF snail mail address with URLs, as per GNU coding standards.
4440         Most of the snail mail addresses were wrong anyway, and omitting
4441         them makes the source code easier to maintain.  Almost all of the
4442         changes are to license notices and to locale LC_IDENTIFICATION
4443         addresses, except for this one:
4444         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4445         not its snail mail address.
4446
4447 2012-02-09  Richard Henderson  <rth@twiddle.net>
4448
4449         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4450         of kernel-features.h.
4451
4452         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4453
4454 2012-02-08  Marek Polacek  <polacek@redhat.com>
4455
4456         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4457         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4458         * sysdeps/gnu/_G_config.h: Likewise.
4459         * sysdeps/generic/_G_config.h: Likewise.
4460
4461 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4462
4463         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4464         tests.
4465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4466
4467         * sysdeps/powerpc/powerpc32/crti.S: New file.
4468         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4469         * sysdeps/powerpc/powerpc64/crti.S: New file.
4470         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4471
4472         * Makeconfig (have-initfini): Don't set.
4473         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4474         * configure.in (nopic_initfini): Don't substitute.
4475         * config.h.in (HAVE_INITFINI): Don't #undef.
4476         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4477         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4478
4479 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4480
4481         Support crti.S and crtn.S provided directly by architectures.
4482         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4483         [crti.S in sysdirs] (omit-deps): Likewise.
4484         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4485         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4486         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4487         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4488         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4489         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4490         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4491         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4492         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4493         compiler output for sysdeps/generic/initfini.c.
4494         * sysdeps/i386/elf/Makefile: Remove file.
4495         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4496
4497 2012-02-07  Marek Polacek  <polacek@redhat.com>
4498
4499         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4500         * sysdeps/gnu/_G_config.h: Likewise.
4501         * sysdeps/mach/hurd/_G_config.h: Likewise.
4502
4503 2012-02-07  Marek Polacek  <polacek@redhat.com>
4504
4505         * math/Makefile (tests): Add tst-CMPLX2.
4506         * math/tst-CMPLX2.c: New file.
4507
4508 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4509
4510         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4511
4512         * math/libm-test.inc (jn_test): Add missing L suffix.
4513
4514 2012-02-06  Marek Polacek  <polacek@redhat.com>
4515
4516         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4517         * sysdeps/i386/fpu/e_powf.S: Likewise.
4518         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4519         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4520         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4521         * sysdeps/i386/fpu/e_pow.S: Likewise.
4522         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4523         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4524         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4525         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4526         * sysdeps/i386/fpu/e_log2.S: Likewise.
4527         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4528         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4529         * sysdeps/i386/fpu/e_powl.S: Likewise.
4530         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4531         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4532         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4533         * sysdeps/i386/fpu/e_logl.S: Likewise.
4534         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4535         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4536         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4537         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4538         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4539         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4540         * sysdeps/i386/fpu/e_log.S: Likewise.
4541         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4542         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4543         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4544         * sysdeps/i386/fpu/e_logf.S: Likewise.
4545         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4546         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4547         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4548         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4549         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4550         * sysdeps/i386/fpu/e_log10.S: Likewise.
4551         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4552         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4553         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4554         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4555         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4556         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4557         * sysdeps/i386/asm-syntax.h: Likewise.
4558         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4559         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4560         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4561         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4562         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4563         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4564         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4565         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4566         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4567         * sysdeps/powerpc/sysdep.h: Likewise.
4568         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4569         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4570
4571 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4572
4573         [BZ #411]
4574         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4575
4576 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4577
4578         * sysdeps/i386/sysdep.h: Include <features.h>.
4579         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4580         version.
4581
4582 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4583
4584         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4585         Define.
4586         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4587         LOAD_PIC_REG_STR.
4588
4589 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4590
4591         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4592         (SETUP_PIC_REG): Use GET_PC_THUNK.
4593         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4594         macro.
4595
4596 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4597
4598         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4599         for non-PIC compilation.
4600         (SETUP_PIC_REG): Add .p2align directive.
4601         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4602         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4603         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4604         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4605         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4606         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4607         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4608         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4609         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4610         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4611         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4612         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4613         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4614         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4615         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4616         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4617         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4618         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4619         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4620         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4621         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4622         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4623         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4624         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4625         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4626         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4627         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4628         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4629         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4630         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4631         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4632         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4633         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4634         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4635         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4636         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4637         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4638         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4639         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4640         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4641         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4642
4643 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4644
4645         * math/tst-CMPLX.c: Include <stdio.h>.
4646
4647 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4648
4649         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4650         float.
4651         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4652         * sysdeps/sparc/bits/mathdef.h: Likewise.
4653
4654 2012-01-31  Marek Polacek  <polacek@redhat.com>
4655
4656         * libio/libio.h: Don't define _PARAMS.
4657         * locale/programs/config.h: Don't define PARAMS.
4658         * stdlib/strtol_l.c: Likewise.
4659         (__strtol_l): Remove PARAMS from the prototype.
4660
4661 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4662
4663         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4664         names.  Just use the correct names.  Remove unnecessary wrapper
4665         functions.
4666         * malloc/arena.c: Likewise.
4667         * malloc/hooks.c: Likewise.
4668
4669         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4670         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4671         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4672
4673 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4674
4675         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4676         into tail calls.
4677         (update_get_addr): New function.
4678         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4679         GET_ADDR_MODULE parameter.
4680
4681 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4682
4683         * crypt/cert.c: Remove __STDC__ conditionals.
4684         * crypt/crypt-entry.c: Likewise.
4685         * crypt/crypt_util.c: Likewise.
4686         * libio/filedoalloc.c: Likewise.
4687         * libio/fileops.c: Likewise.
4688         * libio/genops.c: Likewise.
4689         * libio/iofclose.c: Likewise.
4690         * libio/iofdopen.c: Likewise.
4691         * libio/iofopen.c: Likewise.
4692         * libio/iofopen64.c: Likewise.
4693         * libio/iogetdelim.c: Likewise.
4694         * libio/iopopen.c: Likewise.
4695         * libio/obprintf.c: Likewise.
4696         * libio/oldfileops.c: Likewise.
4697         * libio/oldiofclose.c: Likewise.
4698         * libio/oldiofdopen.c: Likewise.
4699         * libio/oldiofopen.c: Likewise.
4700         * libio/oldiopopen.c: Likewise.
4701         * libio/wfiledoalloc.c: Likewise.
4702         * libio/wgenops.c: Likewise.
4703         * locale/programs/xmalloc.c: Likewise.
4704         * misc/syslog.c: Likewise.
4705         * stdio-common/xbug.c: Likewise.
4706         * string/memchr.c: Likewise.
4707         * string/memcmp.c: Likewise.
4708         * string/memrchr.c: Likewise.
4709         * string/rawmemchr.c: Likewise.
4710         * sysdeps/posix/getcwd.c: Likewise.
4711         * time/strftime_l.c: Likewise.
4712
4713 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4714
4715         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4716         * config.make.in (config-cflags-sse2avx): Define.
4717         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4718         Fix typo.
4719
4720 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4721
4722         * scripts/config.guess: Update from upstream config git repository.
4723         * scripts/config.sub: Likewise.
4724
4725 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4726
4727         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4728         (EM_NUM): Update.
4729         (R_TILEPRO_*, R_TILEGX_*): New macros.
4730
4731         * scripts/firstversions.awk: Fix bug in version range handling.
4732
4733         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4734
4735         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4736
4737         * include/sys/epoll.h: New file.
4738         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4739         libc_hidden_def.
4740
4741 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4742
4743         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4744         Avoid unnecessary __WORDSIZE == 64 test.
4745         (fmaxf): Use VEX format if possible.
4746         (fmax): Likewise.
4747         (fminf): Likewise.
4748         (fmin): Likewise.
4749
4750         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4751         * math/math_private.h: Remove libc_fegetround* and
4752         libc_fesetround*.
4753         * sysdeps/i386/configure.in: Check for -msse2avx.
4754         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4755         also if SSE2AVX is defined.
4756         Remove libc_fegetround* and libc_fesetround*.
4757         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4758         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4759         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4760         of HAS_YMM_USABLE.
4761         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4762         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4763         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4764         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4765         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4766
4767         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4768
4769 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4770
4771         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4772         size is not set.
4773         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4774
4775 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4776
4777         [BZ #13618]
4778         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4779         relocation.
4780         * Makeconfig (libm): Define.
4781         * elf/Makefile: Add rules to build and run tst-relsort1.
4782         * elf/tst-relsort1.c: New file.
4783         * elf/tst-relsort1mod1.c: New file.
4784         * elf/tst-relsort1mod2.c: New file.
4785
4786 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4787
4788         * math/s_ldexp.c: Remove __STDC__ conditionals.
4789         * math/s_ldexpf.c: Likewise.
4790         * math/s_ldexpl.c: Likewise.
4791         * math/s_nextafter.c: Likewise.
4792         * math/s_nexttowardf.c: Likewise.
4793         * math/s_significand.c: Likewise.
4794         * math/s_significandf.c: Likewise.
4795         * math/s_significandl.c: Likewise.
4796         * math/w_jnl.c: Likewise.
4797         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4798         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4799         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4800         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4801         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4802         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4803         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4804         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4805         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4806         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4807         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4808         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4809         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4810         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4811         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4812         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4813         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4814         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4815         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4816         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4817         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4818         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4819         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4821         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4822         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4823         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4824         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4825         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4826         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4827         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4828         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4829         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4830         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4831         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4832         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4833         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4834         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4835         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4836         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4837         * sysdeps/ieee754/k_standard.c: Likewise.
4838         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4841         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4842         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4843         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4844         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4845         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4846         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4847         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4848         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4849         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4854         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4855         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4856         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4857         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4859         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4860         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4861         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4862         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4863         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4864         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4865         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4866         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4867         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4868         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4869         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4870         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4871         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4872         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4873         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4874         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4875         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4876         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4877         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4878         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4880         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4881         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4882         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4883         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4884         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4885         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4886         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4887         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4888         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4889         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4890         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4891         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4893         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4894         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4895         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4896         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4897         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4898         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4899         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4900         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4901         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4902         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4903         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4904         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4905         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4906         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4907         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4908         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4909         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4910         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4911         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4912         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4913         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4914         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4915         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4917         * sysdeps/ieee754/s_matherr.c: Likewise.
4918         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4919         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4920         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4922
4923 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4924
4925         * crypt/md5.h: Remove __STDC__ conditionals.
4926         * libio/libioP.h: Likewise.
4927         * locale/programs/config.h: Likewise.
4928         * sysdeps/generic/sysdep.h: Likewise.
4929         * sysdeps/i386/asm-syntax.h: Likewise.
4930         * sysdeps/s390/asm-syntax.h: Likewise.
4931         * sysdeps/unix/sysdep.h: Likewise.
4932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4934
4935 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4936
4937         * libio/libio.h: Remove __STDC__ conditionals.
4938         * malloc/obstack.h: Likewise.
4939         * math/complex.h: Likewise.
4940         * math/math.h: Likewise.
4941         * sysdeps/generic/_G_config.h: Likewise.
4942         * sysdeps/gnu/_G_config.h: Likewise.
4943         * sysdeps/mach/hurd/_G_config.h: Likewise.
4944         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4945         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4946         * sysdeps/sparc/bits/mathdef.h: Likewise.
4947
4948 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4949
4950         [BZ #13583]
4951         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4952         Clean up HAS_* macros.
4953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4954         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4955         possible.
4956         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4957         HAS_AVX.
4958         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4959         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4960         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4961         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4962         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4963
4964 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4965
4966         * elf/tst-unique3.cc (gets): Remove declaration.
4967         * elf/tst-unique3lib.cc (gets): Likewise.
4968         * elf/tst-unique3lib2.cc (gets): Likewise.
4969         * elf/tst-unique4.cc (gets): Likewise.
4970
4971 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4972
4973         * include/stdio.h: Add C++ protection.  Add gets declarations and
4974         definitions.
4975         * debug/tst-chk1.c: Don't declare gets here.
4976         * stdio-common/tst-gets.c: Likewise.
4977
4978 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4979
4980         * posix/glob: Remove directory.
4981
4982 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4983
4984         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4985
4986 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4987
4988         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4989         of the non-standard EPFNOSUPPORT.
4990
4991 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4992
4993         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4994         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4995         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4996
4997 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4998
4999         * wcsmbs/uchar.h: Test __STDC_VERSION__.
5000
5001 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
5002
5003         * nscd/aicache.c (addhstaiX): Do not cache negative results of
5004         transient errors.
5005         * nscd/grpcache.c (cache_addgr): Likewise.
5006         * nscd/hstcache.c (cache_addhst): Likewise.
5007         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5008         * nscd/pwdcache.c (cache_addpw): Likewise.
5009         * nscd/servicescache.c (cache_addserv): Likewise.
5010
5011 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
5012
5013         * malloc/malloc.c: Various cleanups.
5014         * malloc/hooks.c: Likewise.
5015
5016         * stdlib/Makefile (tests): Add bug-fmtmsg1.
5017         * stdlib/bug-fmtmsg1.c: New file.
5018
5019         * stdlib/fmtmsg.c (init): Add missing unlock.
5020         Patch by Peng Haitao <penght@cn.fujitsu.com>.
5021
5022 2012-01-12  Marek Polacek  <polacek@redhat.com>
5023
5024         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5025         and _GNU_SOURCE.
5026
5027 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5028
5029         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5030         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5031         macro to ensure uniqueness of label name.
5032         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5033         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5034
5035 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
5036
5037         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5038
5039         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5040         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5041         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5042         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5043
5044 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5045
5046         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5047
5048         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5049         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5050         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5051
5052         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5053
5054         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5055         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5056         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5057         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5058
5059         * math/bits/math-finite.h: Add ldexp support.
5060
5061 2012-01-10  Marek Polacek  <polacek@redhat.com>
5062
5063         * locale/programs/localedef.h (show_archive_content): Add noreturn
5064         attribute.
5065
5066 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5067
5068         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5069
5070 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5071
5072         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5073
5074         * io/Makefile (headers): Add bits/poll2.h.
5075
5076 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5077
5078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5079         typo #include statement.
5080
5081 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5082
5083         * include/sys/cdefs.h: Define __attribute_alloc_size.
5084         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5085         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5086         * elf/pldd.c: Likewise.
5087         * iconv/iconv_charmap.c: Likewise.
5088         * iconv/iconvconfig.c: Likewise.
5089         * iconv/strtab.c: Likewise.
5090         * locale/programs/locale.c: Likewise.
5091         * locale/programs/localedef.h: Likewise.
5092         * locale/programs/simple-hash.c: Likewise.
5093         * nscd/nscd.h: Likewise.
5094         * nss/makedb.c: Likewise.
5095         * sysdeps/generic/ldconfig.h: Likewise.
5096         * locale/programs/localedef.c: Remove xmalloc prototype.
5097         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5098
5099 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5100
5101         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5102         appropriate.
5103
5104 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5105
5106         * math/Makefile (tests): Add tst-CMPLX.
5107         * math/tst-CMPLX.c: New file.
5108
5109         * math/complex.h (CMPLXL): Fix typo.
5110
5111         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5112         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5113         GLIBC_2.16.
5114         * debug/tst-chk1.c: Add poll and ppoll tests.
5115         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5116         * include/sys/poll.h: Add hidden proto for ppoll.
5117         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5118         * sysdeps/mach/hurd/ppoll.c: Likewise.
5119         * io/ppoll.c: Likewise.
5120         * debug/poll_chk.c: New file.
5121         * debug/ppoll_chk.c: New file.
5122         * include/bits/poll2.h: New file.
5123         * io/bits/poll2.h: New file.
5124
5125         [BZ #1350]
5126         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5127
5128         * configure.in: static is always set to yes.  Remove.
5129         * config.make.in: Don't set build-static.
5130         * Makeconfig: Remove use of build-static.
5131         * dlfcn/Makefile: Likewise.
5132         * elf/Makefile: Likewise.
5133         * math/Makefile: Likewise.
5134         * misc/Makefile: Likewise.
5135         * nptl/Makefile: Likewise.
5136         * sysdeps/mach/hurd/Makefile: Likewise.
5137
5138         * configure.in: PWD_P is not used anymore.
5139         * config.make.in: Remove PWD_P entry.
5140
5141         * configure.in: Remove last remnants of RANLIB.
5142         No need to check for signed size_t anymore.
5143         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5144         and IA-64.
5145         Remove __builtin_expect test because we require at least gcc 3.4.
5146         * aclocal.m4: Likewise.
5147
5148         * wcsmbs/mbrtoc16.c: Implement using towc function.
5149         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5150         * wcsmbs/wcsmbsload.c: Likewise.
5151         * iconv/gconv_simple.c: Likewise.
5152         * iconv/gconv_int.h: Likewise.
5153         * iconv/gconv_builtin.h: Likewise.
5154         * iconv/iconv_prog.c: Remove CHAR16 handling.
5155
5156         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5157
5158         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5159
5160         * configure.in: Remove --with-elf and --enable-bounded options.
5161         Dont set base_machine for ia64.  More non-ELF conditions removed.
5162         Remove testing and setting of leading underscore information.
5163         * config.make.in (build-bounded): Set to no.
5164         * config.h.in: Remove NO_UNDERSCORES entry.
5165         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5166         them.
5167         * csu/start.c: Remove !NO_UNDERSCORE code.
5168         * locale/localeinfo.h: Likewise.
5169         * sysdeps/generic/machine-gmon.h: Likewise.
5170         * sysdeps/generic/sysdep.h: Likewise.
5171         * sysdeps/i386/sysdep.h: Likewise.
5172         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5173         * sysdeps/mach/sysdep.h: Likewise.
5174         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5175         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5176         * sysdeps/sh/sysdep.h: Likewise.
5177         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5178         * sysdeps/unix/i386/sysdep.S: Likewise.
5179         * sysdeps/unix/sparc/start.c: Likewise.
5180         * sysdeps/unix/sparc/sysdep.S: Likewise.
5181         * sysdeps/unix/sparc/sysdep.h: Likewise.
5182         * sysdeps/unix/start.c: Likewise.
5183         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5184         * sysdeps/x86_64/sysdep.h: Likewise.
5185
5186 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5187
5188         [BZ #13553]
5189         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5190         for non-gcc.
5191         * argp/argp-fmtstream.h: Use const instead __const.
5192         * argp/argp.h: Likewise.
5193         * assert/assert.h: Likewise.
5194         * bits/fenv.h: Likewise.
5195         * bits/sched.h: Likewise.
5196         * bits/sigset.h: Likewise.
5197         * bits/sigthread.h: Likewise.
5198         * catgets/nl_types.h: Likewise.
5199         * conform/data/pthread.h-data: Likewise.
5200         * crypt/crypt-private.h: Likewise.
5201         * crypt/crypt.h: Likewise.
5202         * crypt/crypt_util.c: Likewise.
5203         * ctype/ctype.h: Likewise.
5204         * debug/execinfo.h: Likewise.
5205         * debug/mbsnrtowcs_chk.c: Likewise.
5206         * debug/mbsrtowcs_chk.c: Likewise.
5207         * debug/wcsnrtombs_chk.c: Likewise.
5208         * debug/wcsrtombs_chk.c: Likewise.
5209         * debug/wcstombs_chk.c: Likewise.
5210         * dirent/dirent.h: Likewise.
5211         * dlfcn/dlfcn.h: Likewise.
5212         * elf/neededtest4.c: Likewise.
5213         * grp/grp.h: Likewise.
5214         * gshadow/gshadow.h: Likewise.
5215         * iconv/gconv.h: Likewise.
5216         * iconv/gconv_int.h: Likewise.
5217         * iconv/gconv_simple.c: Likewise.
5218         * iconv/iconv.h: Likewise.
5219         * iconv/loop.c: Likewise.
5220         * iconv/skeleton.c: Likewise.
5221         * include/aio.h: Likewise.
5222         * include/aliases.h: Likewise.
5223         * include/argz.h: Likewise.
5224         * include/arpa/inet.h: Likewise.
5225         * include/assert.h: Likewise.
5226         * include/dirent.h: Likewise.
5227         * include/dlfcn.h: Likewise.
5228         * include/execinfo.h: Likewise.
5229         * include/fcntl.h: Likewise.
5230         * include/fenv.h: Likewise.
5231         * include/glob.h: Likewise.
5232         * include/grp.h: Likewise.
5233         * include/libintl.h: Likewise.
5234         * include/mntent.h: Likewise.
5235         * include/netdb.h: Likewise.
5236         * include/pwd.h: Likewise.
5237         * include/rpc/netdb.h: Likewise.
5238         * include/sched.h: Likewise.
5239         * include/search.h: Likewise.
5240         * include/shadow.h: Likewise.
5241         * include/signal.h: Likewise.
5242         * include/stdio.h: Likewise.
5243         * include/stdlib.h: Likewise.
5244         * include/string.h: Likewise.
5245         * include/sys/socket.h: Likewise.
5246         * include/sys/stat.h: Likewise.
5247         * include/sys/statfs.h: Likewise.
5248         * include/sys/statvfs.h: Likewise.
5249         * include/sys/syslog.h: Likewise.
5250         * include/sys/time.h: Likewise.
5251         * include/sys/uio.h: Likewise.
5252         * include/time.h: Likewise.
5253         * include/unistd.h: Likewise.
5254         * include/utmp.h: Likewise.
5255         * include/wchar.h: Likewise.
5256         * include/wctype.h: Likewise.
5257         * inet/aliases.h: Likewise.
5258         * inet/arpa/inet.h: Likewise.
5259         * inet/netinet/ether.h: Likewise.
5260         * inet/netinet/in.h: Likewise.
5261         * intl/libintl.h: Likewise.
5262         * io/bits/fcntl2.h: Likewise.
5263         * io/fcntl.h: Likewise.
5264         * io/ftw.h: Likewise.
5265         * io/sys/poll.h: Likewise.
5266         * io/sys/stat.h: Likewise.
5267         * io/sys/statfs.h: Likewise.
5268         * io/sys/statvfs.h: Likewise.
5269         * io/utime.h: Likewise.
5270         * libio/bits/stdio.h: Likewise.
5271         * libio/bits/stdio2.h: Likewise.
5272         * libio/libio.h: Likewise.
5273         * libio/libioP.h: Likewise.
5274         * libio/stdio.h: Likewise.
5275         * locale/lc-ctype.c: Likewise.
5276         * locale/locale.h: Likewise.
5277         * login/utmp.h: Likewise.
5278         * malloc/arena.c: Likewise.
5279         * malloc/malloc.c: Likewise.
5280         * malloc/malloc.h: Likewise.
5281         * malloc/mcheck.c: Likewise.
5282         * malloc/mtrace.c: Likewise.
5283         * math/bits/mathcalls.h: Likewise.
5284         * math/fenv.h: Likewise.
5285         * math/math_private.h: Likewise.
5286         * misc/bits/error.h: Likewise.
5287         * misc/bits/syslog.h: Likewise.
5288         * misc/err.h: Likewise.
5289         * misc/error.h: Likewise.
5290         * misc/fstab.h: Likewise.
5291         * misc/mntent.h: Likewise.
5292         * misc/regexp.h: Likewise.
5293         * misc/search.h: Likewise.
5294         * misc/sgtty.h: Likewise.
5295         * misc/sys/mman.h: Likewise.
5296         * misc/sys/syslog.h: Likewise.
5297         * misc/sys/uio.h: Likewise.
5298         * misc/sys/xattr.h: Likewise.
5299         * misc/ttyent.h: Likewise.
5300         * nis/rpcsvc/ypclnt.h: Likewise.
5301         * nss/nss.h: Likewise.
5302         * posix/bits/unistd.h: Likewise.
5303         * posix/fnmatch.h: Likewise.
5304         * posix/glob.h: Likewise.
5305         * posix/sched.h: Likewise.
5306         * posix/spawn.h: Likewise.
5307         * posix/sys/wait.h: Likewise.
5308         * posix/unistd.h: Likewise.
5309         * posix/wordexp.h: Likewise.
5310         * pwd/pwd.h: Likewise.
5311         * resolv/netdb.h: Likewise.
5312         * resource/sys/resource.h: Likewise.
5313         * rt/aio.h: Likewise.
5314         * rt/bits/mqueue2.h: Likewise.
5315         * rt/mqueue.h: Likewise.
5316         * shadow/shadow.h: Likewise.
5317         * signal/signal.h: Likewise.
5318         * socket/send.c: Likewise.
5319         * socket/sendto.c: Likewise.
5320         * socket/sys/socket.h: Likewise.
5321         * stdio-common/printf.h: Likewise.
5322         * stdlib/bits/stdlib.h: Likewise.
5323         * stdlib/fmtmsg.h: Likewise.
5324         * stdlib/monetary.h: Likewise.
5325         * stdlib/stdlib.h: Likewise.
5326         * stdlib/ucontext.h: Likewise.
5327         * streams/stropts.h: Likewise.
5328         * string/argz.h: Likewise.
5329         * string/bits/string2.h: Likewise.
5330         * string/string.h: Likewise.
5331         * string/strings.h: Likewise.
5332         * sunrpc/rpc/auth.h: Likewise.
5333         * sunrpc/rpc/auth_des.h: Likewise.
5334         * sunrpc/rpc/clnt.h: Likewise.
5335         * sunrpc/rpc/netdb.h: Likewise.
5336         * sunrpc/rpc/pmap_clnt.h: Likewise.
5337         * sunrpc/rpc/xdr.h: Likewise.
5338         * sysdeps/generic/inttypes.h: Likewise.
5339         * sysdeps/generic/net/if.h: Likewise.
5340         * sysdeps/generic/sys/swap.h: Likewise.
5341         * sysdeps/gnu/net/if.h: Likewise.
5342         * sysdeps/gnu/utmpx.h: Likewise.
5343         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5344         * sysdeps/i386/i486/bits/string.h: Likewise.
5345         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5346         * sysdeps/s390/bits/string.h: Likewise.
5347         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5348         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5349         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5350         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5351         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5352         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5353         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5354         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5355         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5356         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5357         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5358         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5359         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5360         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5361         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5362         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5363         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5364         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5365         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5367         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5368         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5369         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5370         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5371         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5372         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5373         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5374         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5375         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5376         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5377         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5378         * sysvipc/sys/ipc.h: Likewise.
5379         * sysvipc/sys/msg.h: Likewise.
5380         * sysvipc/sys/sem.h: Likewise.
5381         * sysvipc/sys/shm.h: Likewise.
5382         * termios/termios.h: Likewise.
5383         * time/sys/time.h: Likewise.
5384         * time/time.h: Likewise.
5385         * wcsmbs/bits/wchar2.h: Likewise.
5386         * wcsmbs/uchar.h: Likewise.
5387         * wcsmbs/wchar.h: Likewise.
5388         * wctype/wctype.h: Likewise.
5389
5390         [BZ #13551]
5391         * Makeconfig: Remove all but ELF support including AIX support.
5392         * Makerules: Likewise.
5393         * config.h.in: Likewise.
5394         * config.make.in: Likewise.
5395         * configure: Likewise.
5396         * configure.in: Likewise.
5397         * csu/Makefile: Likewise.
5398         * csu/version.c: Likewise.
5399         * debug/Makefile: Likewise.
5400         * dlfcn/Makefile: Likewise.
5401         * elf/Makefile: Likewise.
5402         * extra-lib.mk: Likewise.
5403         * iconv/Makefile: Likewise.
5404         * include/libc-symbols.h: Likewise.
5405         * include/shlib-compat.h: Likewise.
5406         * resolv/Makefile: Likewise.
5407         * resolv/res_libc.c: Likewise.
5408         * rt/Makefile: Likewise.
5409         * sysdeps/i386/asm-syntax.h: Likewise.
5410         * sysdeps/i386/sysdep.h: Likewise.
5411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5412         * sysdeps/mach/sysdep.h: Likewise.
5413         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5414         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5415         * sysdeps/s390/asm-syntax.h: Likewise.
5416         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5417         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5418         * sysdeps/sh/sysdep.h: Likewise.
5419         * sysdeps/unix/sparc/sysdep.h: Likewise.
5420         * sysdeps/wordsize-32/divdi3.c: Likewise.
5421         * sysdeps/x86_64/sysdep.h: Likewise.
5422
5423         * argp/Versions: Remove _argp_unlock_xxx.
5424
5425         [BZ #13559]
5426         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5427         * abilist/libBrokenLocale.abilist: Likewise.
5428         * abilist/libanl.abilist: Likewise.
5429         * abilist/libc.abilist: Likewise.
5430         * abilist/libcrypt.abilist: Likewise.
5431         * abilist/libdl.abilist: Likewise.
5432         * abilist/libm.abilist: Likewise.
5433         * abilist/libnsl.abilist: Likewise.
5434         * abilist/libpthread.abilist: Likewise.
5435         * abilist/libresolv.abilist: Likewise.
5436         * abilist/librt.abilist: Likewise.
5437         * abilist/libthread_db.abilist: Likewise.
5438         * abilist/libutil.abilist: Likewise.
5439         * abilist/libnss_db.abilist: New file.
5440
5441         * scripts/abilist.awk: Add support for indirect functions.
5442
5443         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5444
5445         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5446
5447         * shlib-versions: Remove entries for ports architectures.
5448
5449         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5450         files in ports.
5451         * elf/stackguard-macros.h: Remove support for IA-64.
5452         * elf/tst-auditmod1.c: Likewise.
5453         * sysdeps/generic/ldsodefs.h: Likewise.
5454
5455         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5456         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5457         configure files.
5458
5459         [BZ #13552]
5460         * configure.in: Remove --enable-omitfp support.
5461         * FAQ.in: Adjust.
5462         * config.make.in: Likewise.
5463         * Makeconfig: Likewise.
5464         * manual/install.texi: Likewise.
5465
5466         In case anyone cares, the IA-64 architecture could move to ports.
5467         * sysdeps/ia64/*: Removed.
5468         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5469         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5470
5471         [BZ #13555]
5472         * configure.in: Remove entries for unsupported architectures.
5473
5474         [BZ #13533]
5475         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5476         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5477         routines.
5478         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5479         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5480         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5481         fall back to using wcrtomb.
5482         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5483         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5484         renaming.
5485         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5486         * wcsmbs/tst-c16c32-1.c: New file.
5487
5488         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5489         local variable.
5490
5491         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5492
5493         * elf/tst-unique3.cc: Add explicit declaration of gets.
5494         * elf/tst-unique3lib.cc: Likewise.
5495         * elf/tst-unique3lib2.cc: Likewise.
5496         * elf/tst-unique4.cc: Likewise.
5497
5498         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5499
5500 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5501
5502         [BZ #13566]
5503         * assert/assert.h (static_assert): Don't define for C++.
5504         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5505         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5506
5507 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5508
5509         * iconv/loop.c (single loop): Fix assertion in storing of
5510         remaining bytes.
5511
5512         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5513
5514 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5515
5516         * posix/getconf.c: Update copyright year.
5517         * nss/getent.c: Likewise.
5518         * nss/makedb.c: Likewise.
5519         * iconv/iconvconfig.c: Likewise.
5520         * iconv/iconv_prog.c: Likewise.
5521         * elf/ldconfig.c: Likewise.
5522         * elf/pldd.c: Likewise.
5523         * elf/sotruss.ksh: Likewise.
5524         * catgets/gencat.c: Likewise.
5525         * csu/version.c: Likewise.
5526         * elf/ldd.bash.in: Likewise.
5527         * elf/sprof.c (print_version): Likewise.
5528         * locale/programs/locale.c: Likewise.
5529         * locale/programs/localedef.c: Likewise.
5530         * login/programs/pt_chown.c: Likewise.
5531         * nscd/nscd.c (print_version): Likewise.
5532         * debug/xtrace.sh: Likewise.
5533         * malloc/memusage.sh: Likewise.
5534         * malloc/mtrace.pl: Likewise.
5535         * debug/catchsegv.sh: Likewise.
5536
5537 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5538
5539         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5540         pure attribute.
5541
5542 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5543
5544         [BZ #13533]
5545         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5546         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5547         transformations.
5548         * iconv/gconv_int.h: Likewise.
5549         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5550         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5551         from libc for GLIBC_2.16.
5552         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5553         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5554         * wcsmbs/uchar.h: Really define mbstate_t.
5555         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5556         * wcsmbs/c16rtomb.c: New file.
5557         * wcsmbs/mbrtoc16.c: New file.
5558         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5559         for C/POSIX locale.
5560         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5561         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5562
5563         * wcsmbs/wchar.h: Add missing __restrict.
5564
5565 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5566
5567         [BZ #13532]
5568         * time/Makefile (routines): Add timespec_get.
5569         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5570         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5571         timespec for ISO C11.
5572         * time/timespec_get.c: New file.
5573         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5574         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5575
5576         [BZ #13531]
5577         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5578         * stdlib/stdlib.h: Declare aligned_alloc.
5579         * Versions.def: Add GLIBC_2.16 for libc.
5580         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5581
5582         [BZ 13527]
5583         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5584         ISO C11.
5585
5586         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5587         code.
5588
5589         [BZ #13528]
5590         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5591
5592         [BZ #13529]
5593         * assert/assert.h (static_assert): Define.
5594
5595         * version.h: Update for 2.16 development version.
5596
5597         [BZ #13526]
5598         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5599         _ISOC11_SOURCE.
5600
5601         * version.h (RELEASE): Bump for 2.15 release.
5602         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5603
5604         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5605         Patch by Marek Polacek <mpolacek@redhat.com>.
5606
5607         * bits/byteswap.h: Protect long long constants with __extension__.
5608         * sysdeps/i386/bits/byteswap.h: Likewise.
5609         * sysdeps/ia64/bits/byteswap.h: Likewise.
5610         * sysdeps/s390/bits/byteswap.h: Likewise.
5611         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5612
5613 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5614
5615         [BZ #13540]
5616         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5617         destination buffer.
5618         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5619
5620 2011-12-23  Marek Polacek  <polacek@redhat.com>
5621
5622         * elf/dl-addr.c (determine_info): Add inline keyword.
5623         * elf/tst-auditmod4b.c (check_avx): Likewise.
5624         * elf/tst-auditmod6b.c (check_avx): Likewise.
5625         * elf/tst-auditmod6c.c (check_avx): Likewise.
5626         * elf/tst-auditmod7b.c (check_avx): Likewise.
5627
5628 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5629
5630         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5631         !__SSE_MATH__.
5632
5633 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5634
5635         [BZ #13540]
5636         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5637         processing for last bytes.
5638
5639 2011-08-06  Bruno Haible  <bruno@clisp.org>
5640
5641         [BZ #13061]
5642         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5643         U+0385, not to U+1FEE.
5644
5645         [BZ #13062]
5646         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5647         entry for U+00A5 U+0301.
5648
5649 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5650
5651         [BZ #13166]
5652         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5653         buffer for the output is too small.
5654
5655         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5656         optimization.
5657
5658         [BZ #13185]
5659         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5660         SSE flags if possible.
5661
5662 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5663
5664         [BZ #13540]
5665         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5666         processing for last bytes.
5667
5668 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5669
5670         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5671         (syscall-list-default-options, syscall-list-default-condition)
5672         (syscall-list-includes): Define.
5673         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5674         list of ABIs and options and #if conditions for each ABI.  Do not
5675         handle common syscalls between ABIs specially.
5676         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5677         Remove.
5678         (syscall-list-variants, syscall-list-32bit-options)
5679         (syscall-list-32bit-condition, syscall-list-64bit-options)
5680         (syscall-list-64bit-condition): Define.
5681         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5682         (syscall-list-variants, syscall-list-32bit-options)
5683         (syscall-list-32bit-condition, syscall-list-64bit-options)
5684         (syscall-list-64bit-condition): Define.
5685         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5686         Remove.
5687         (syscall-list-variants, syscall-list-32bit-options)
5688         (syscall-list-32bit-condition, syscall-list-64bit-options)
5689         (syscall-list-64bit-condition): Define.
5690         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5691         Remove.
5692         (syscall-list-variants, syscall-list-32bit-options)
5693         (syscall-list-32bit-condition, syscall-list-64bit-options)
5694         (syscall-list-64bit-condition): Define.
5695
5696 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5697
5698         * locale/iso-639.def: Add brx entry.
5699
5700         [BZ #13328]
5701         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5702         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5703
5704         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5705         __feraiseexcept_renamed.
5706
5707 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5708
5709         [BZ #13538]
5710         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5711         EPOLLET with unsigned values.
5712         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5713         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5714
5715         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5716         to large cancellation.
5717         * math/s_cacoshf.c: Likewise.
5718         * math/s_cacoshl.c: Likewise.
5719
5720 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5721
5722         [BZ #13305]
5723         [BZ #12786]
5724         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5725         * math/s_cacoshf.c: Likewise.
5726         * math/s_cacoshl.c: Likewise.
5727
5728 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5729
5730         [BZ #13439]
5731         * iconv/gconv.h: Define __GCONV_SWAP.
5732         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5733         * iconvdata/utf-16.c: Likewise.
5734         * iconvdata/utf-32.c: Likewise.
5735
5736 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5737
5738         [BZ #13524]
5739         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5740         numerator after shifting it by one limb.
5741
5742 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5743
5744         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5745         under [__USE_EXTERN_INLINES].
5746
5747 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5748
5749         [BZ #13446]
5750         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5751
5752 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5753
5754         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5755         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5756         optimized code.
5757         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5758         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5759         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5760         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5761         for strncasecmp/strncasecmp_l compilation.
5762         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5763         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5764
5765 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5766
5767         [BZ #13484]
5768         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5769         of __asm__.
5770
5771 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5772
5773         [BZ #13506]
5774         * time/tzfile.c (__tzfile_read): Check values from file header.
5775
5776 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5777
5778         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5779         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5780         * powerpc/powerpc32/dl-start.S: Likewise.
5781         * powerpc/powerpc32/elf/start.S: Likewise.
5782         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5783         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5784         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5785         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5786         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5787         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5788         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5789         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5790         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5791         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5792         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5793         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5794         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5795         * powerpc/powerpc32/memset.S: Likewise.
5796         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5797         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5798         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5799         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5800         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5801         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5802         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5803         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5804         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5805         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5806         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5807         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5808         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5809
5810 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5811
5812         * math/libm-test.inc: Added more nearbyint tests.
5813         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5815         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5817
5818 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5819
5820         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5821         FD_CLOEXEC.
5822
5823 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5824
5825         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5826         Add wcscpy-ssse3 wcscpy-c.
5827         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5828         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5829         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5830         * sysdeps/x86_64/wcschr.S: New file.
5831         * sysdeps/x86_64/wcsrchr.S: New file.
5832         * string/test-strcmp.c: Remove checking of wcscmp function for
5833         wrong alignments.
5834         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5835         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5836         wcsrchr-sse2 wcsrchr-c.
5837         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5838         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5839         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5840         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5841         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5842         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5843         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5844         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5845         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5846         * wcsmbc/wcschr.c (WCSCHR): New macro.
5847
5848 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5849
5850         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5851         * wcsmbs/test-wcsrchr.c: New file.
5852         * string/test-strrchr.c: Add wcsrchr support.
5853         (WIDE): New macro.
5854         * wcsmbs/test-wcscpy.c: New file.
5855         * string/test-strcpy.c: Add wcscpy support.
5856         (WIDE): New macro.
5857
5858 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5859
5860         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5861         the inner loop.
5862
5863 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5864
5865         [BZ #13472]
5866         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5867
5868 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5869
5870         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5871         Minor optimizations.
5872
5873         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5874         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5875         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5876
5877 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5878
5879         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5880         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5881         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5882         for gcc to avoid warnings.
5883         * inet/Makefile (tests): Add tst-checks.
5884         * inet/tst-checks.c: New file.
5885
5886         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5887         warning.
5888
5889         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5890         __wmemcmp_sse2.
5891
5892         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5893         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5894
5895         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5896
5897 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5898
5899         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5900         problem.
5901
5902         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5903
5904 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5905
5906         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5907         conditional on GCC version.
5908         (__arch_compare_and_exchange_val_8_acq)
5909         (__arch_compare_and_exchange_val_16_acq)
5910         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5911         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5912         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5913
5914 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5915
5916         * sysdeps/sh/backtrace.c: New file.
5917
5918 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5919
5920         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5921         parenthesis.
5922
5923 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5924
5925         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5926         falling back to utime.
5927
5928 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5929
5930         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5931         expectations for float.
5932
5933 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5934
5935         * locale/weight.h (findidx): Add parameter len.
5936         * locale/weightwc.h (findidx): Likewise.
5937         * posix/fnmatch_loop.c (FCT): Adjust caller.
5938         * posix/regcomp.c (build_equiv_class): Likewise.
5939         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5940         * posix/regexec.c (check_node_accept_bytes): Likewise.
5941         * string/strcoll_l.c (STRCOLL): Likewise.
5942         * string/strxfrm_l.c (STRXFRM): Likewise.
5943
5944 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5945
5946         * Makefile.in: Remove CVSOPT handling.
5947         * configure.in: Remove use of AC_REVISION.
5948         * iconvdata/Makefile (distribute): No need to filter out CVS.
5949         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5950         handling.
5951
5952 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5953
5954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5955         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5956         [USE_AS_STRNCASECMP_L]: Likewise.
5957         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5958         NO_TLS_DIRECT_SEG_REFS.
5959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5960         Fix argument offsets for non-PIC.
5961         [USE_AS_STRNCASECMP_L]: Likewise.
5962         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5963         NO_TLS_DIRECT_SEG_REFS.
5964
5965 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5966
5967         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5968         O_CLOEXEC.
5969         * locale/loadlocale.c (_nl_load_locale): Likewise.
5970
5971 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5972
5973         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5974         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5975         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5976         (SYSCALL_GETTIME): Set errno on error.
5977
5978         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5979         count references to noai6ai_cached.
5980
5981 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5982
5983         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5984
5985         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5986         FD_CLOEXEC for /proc/self/maps.
5987
5988         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5989         FD_CLOEXEC for /proc/meminfo.
5990
5991         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5992         gai.conf.
5993
5994         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5995         FD_CLOEXEC for given file.
5996
5997         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5998
5999         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6000         FD_CLOEXEC for /etc/hosts.
6001         (_gethtent): Likewise.
6002
6003         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6004
6005         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6006         cancellation and set FD_CLOEXEC for /etc/netgroup.
6007
6008         * nss/nss_files/files-key.c (search): Don't allow cancellation when
6009         reading /etc/publickey.
6010
6011         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6012         allow cancellation when reading /etc/group.
6013
6014         * nss/nss_files/files-alias.c (internal_setent): Don't allow
6015         cancellation.
6016         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
6017
6018         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6019         when using data file.
6020
6021         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6022
6023         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6024         (write_nis_obj): Use "c" and "e" in fopen.
6025
6026         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6027
6028         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6029
6030         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6031
6032         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6033
6034         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6035         locale.alias.
6036
6037         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6038
6039         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6040
6041         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6042
6043         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6044         file parsing and set FD_CLOEXEC.
6045
6046 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6047
6048         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6049
6050 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6051
6052         * malloc/arena.c (arena_get2): Don't call reused_arena when
6053         _int_new_arena failed.
6054
6055 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6056
6057         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6058         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6059         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6061         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6062         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6063         to compile strcasecmp and strncasecmp.
6064         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6065         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6066
6067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6068
6069 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6070
6071         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6072         locale-defines.sym to gen-as-const-headers.
6073         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6074         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6076         to compile strcasecmp and strncasecmp.
6077         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6078         strcasecmp_l and strncasecmp_l.
6079         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6080         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6081         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6082         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6083         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6084         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6085         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6086         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6087         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6088         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6089         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6090
6091 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6092
6093         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6094         result of SYSDEP_GETTIME_CPU to retval.
6095         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6096         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6097
6098         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6099         variable.
6100
6101         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6102         mantissa words.
6103         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6104
6105         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6106         from unused variable.
6107
6108         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6109         DWARF definitions.
6110         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6111         for assembling.
6112
6113         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6114         over namespaces.
6115
6116         * sunrpc/rpc_prot.c (rejected): Fix case value.
6117
6118         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6119         unsigned long long int to avoid warnings in shift.
6120
6121         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6122         of use of trans.
6123         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6124         variable tmp.
6125
6126         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6127         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6128         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6129
6130         * nis/nis_table.c (nis_list): Use variable of correct type for
6131         result of __follow_path call.
6132
6133 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6134
6135         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6136         of math functions ceil, trunc, floor, round, and sqrt, when
6137         avaliable on the platform.
6138         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6139         name clash.
6140         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6141         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6142         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6143
6144 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6145
6146         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6147         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6148
6149 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6150
6151         * include/unistd.h: Fix __readlink return type.
6152         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6153
6154 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6155
6156         * stdlib/ucontext.h: Undo last change for makecontext.
6157
6158 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6159
6160         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6161
6162         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6163         * setjmp/setjmp.h: Mark functions as non-leaf.
6164         * setjmp/bits/setjmp2.h: Likewise.
6165         * stdlib/ucontext.h: Likewise.
6166
6167 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6168
6169         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6170         (reused_arena): Don't check arena limit.
6171         (arena_get2): Atomically check arena limit.
6172
6173 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6174
6175         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6176         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6177
6178         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6179         instructions.
6180
6181 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6182
6183         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6184         handler when locking.
6185
6186         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6187         Fix size of allocated buffer.
6188
6189 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6190
6191         [BZ #10103]
6192         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6193         declarations for long double functions.
6194         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6195
6196         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6197
6198 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6199
6200         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6201         installed.
6202
6203         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6204         is disabled.
6205
6206 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6207
6208         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6209
6210 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6211
6212         * include/alloca.h (stackinfo_alloca_round): Define.
6213         (extend_alloca): Use it.
6214         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6215         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6216         here.
6217
6218         * scripts/check-local-headers.sh: Ignore libaudit.h.
6219
6220         * nscd/Makefile (extra-objs): Make recursively expanded.
6221
6222 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6223
6224         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6225         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6226
6227         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6228         * posix/tst-rfc3484-2.c: Likewise.
6229         * posix/tst-rfc3484-3.c: Likewise.
6230
6231         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6232         process_vm_writev.
6233         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6234         process_vm_writev.
6235         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6236         process_vm_writev from libc using GLIBC_2.15 version.
6237
6238         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6239
6240 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6241
6242         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6243         stack usage.
6244
6245 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6246
6247         [BZ #13367]
6248         * nss/getent.c (initgroups_keys): Show error message in case no group
6249         names are given.
6250
6251         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6252         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6253         __bump_nl_timestamp.
6254         * nscd/connections (nscd_init): When host database is served open
6255         netlink socket and request notification about configuration changes.
6256         (main_loop_poll): Track netlink file descriptor and bump timestamp
6257         in case data becomes available.
6258         (main_loop_epoll): Likewise.
6259         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6260         (database_pers_head): Add extra_data fileds.
6261         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6262         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6263         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6264         Adjust caller.
6265         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6266         in6ai data, call __free_in6ai.
6267         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6268         Add -DHAVE_NETLINK.
6269         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6270         interface information.  Reuse previous data if netlink timestamp
6271         is not changed.
6272         (__bump_nl_timestamp): New function.
6273         (__free_in6ai): New function.
6274
6275 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6276
6277         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6278         close_not_cancel_no_status here.
6279         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6280
6281 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6282
6283         [BZ #13276]
6284         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6285         return value.
6286
6287         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6288         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6289         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6290
6291 2011-07-03  Andreas Jaeger  <aj@suse.de>
6292
6293         [BZ #10709]
6294         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6295         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6296         * math/libm-test.inc (sin_test): Add test case.
6297
6298 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6299
6300         [BZ #13337]
6301         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6302         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6303
6304         * elf/chroot_canon.c (chroot_canon): Cleanups.
6305
6306         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6307
6308         [BZ #13335]
6309         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6310         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6311
6312         * string/test-strchr.c: Make usable for strchrnul testing.
6313         * string/test-strchrnul.c: New file.
6314         * string/Makefile (strop-tests): Add strchrnul.
6315
6316         * po/it.po: Update from translation team.
6317         * po/es.po: Likewise.
6318
6319 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6320
6321         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6322         the three constants needed as parameters.  Drop the others.
6323         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6324         __m128i_strloadu_tolower.
6325         Create and initialize variable zero and use it in all the places
6326         where _mm_setzero_si128 was used.
6327
6328         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6329         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6330         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6331         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6332         anymore.
6333         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6334         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6335         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6336         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6337         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6338         __mpranred, __mptan.
6339         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6340         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6341         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6342         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6343         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6344         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6345         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6346         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6347         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6348
6349 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6350
6351         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6352         redefine if SHARED.
6353         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6354
6355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6356         wide char related routines to wcsmbs subdir.
6357
6358 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6359
6360         [BZ #13344]
6361         * misc/sys/cdefs.h (__THROWNL): Define.
6362         * posix/unistd.h: Use __THREADNL instead of __THREAD
6363         for memory synchronization functions.
6364
6365 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6366
6367         [BZ #13349]
6368         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6369         doesn't exist.
6370         * manual/stdio.texi (Obstack Streams): Node removed.
6371
6372 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6373
6374         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6375         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6376         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6377
6378         * math/math_private.h (math_force_eval): Allow non-addressable
6379         arguments.
6380         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6381
6382 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6383
6384         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6385         file is not needed.
6386
6387         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6388         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6389         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6390         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6391         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6392         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6393         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6394         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6395         Add AVX variants.
6396         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6397         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6398         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6399         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6400         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6401         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6402         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6403         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6404         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6405         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6406         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6407         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6408         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6409         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6410         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6411         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6412         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6413         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6414         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6415
6416         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6417         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6418
6419         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6420         place.  Use VEX encoding when compiling for AVX.
6421
6422 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6423
6424         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6425         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6426
6427         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6428
6429 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6430
6431         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6432         useless if() expression.
6433         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6434         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6435         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6436         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6437         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6438         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6439         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6440         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6441         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6442         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6443         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6444         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6445         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6446         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6447         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6448         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6449         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6450         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6451         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6452
6453         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6454
6455 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6456
6457         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6458         condition.
6459         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6460
6461 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6462
6463         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6464         .text section.  Avoid duplicate constants.
6465         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6466         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6467         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6468         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6469         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6473         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6474         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6475         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6476         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6477         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6478         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6479         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6480         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6481         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6482         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6483         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6484         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6485         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6486         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6487         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6488         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6489         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6490         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6491         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6492         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6493         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6494         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6495         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6496         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6497         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6498         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6499         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6500         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6501         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6502         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6503         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6504         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6505         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6506         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6507         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6508         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6509         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6510
6511 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6512
6513         * sysdeps/x86_64/dla.h: Move to ...
6514         * sysdeps/x86_64/fpu/dla.h: ...here.
6515         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6516         situations.  Use __builtin_fma only for gcc 4.6 and up.
6517
6518         * config.make.in: Add have-mfma4 entry.
6519         * configure.in: Substitute libc_cv_cc_fma4.
6520         * math/Makefile (dbl-only-routines): Add sincostab.
6521         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6522         Use __sincostab not sincos.
6523         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6524         name is a macro.
6525         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6529         using __copysign.
6530         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6531         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6532         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6533         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6534         and __inv.
6535         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6536         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6537         __copysign.
6538         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6539         define aliases when function name is a macro.
6540         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6541         sysdeps/ieee754/dbl-64/sincos.tbl.
6542         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6543         fma4-enabled routines.
6544         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6545         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6546         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6547         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6548         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6549         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6550         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6551         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6552         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6553         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6554         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6555         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6556         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6557         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6558         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6559         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6560         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6561         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6562         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6563         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6564         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6565         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6566         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6567         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6568         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6569         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6570         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6571         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6572         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6573         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6574
6575         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6576         rename.
6577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6579         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6581         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6583         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6585
6586 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6587
6588         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6589
6590 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6591
6592         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6593
6594         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6595         prediction.
6596         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6597
6598         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6599         Remove unused variable magic_bits.
6600         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6601
6602         * string/strnlen.c: Define and use STRNLEN macro.
6603         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6604         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6605         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6606         * wcsmbs/wcslen.c: Define and use WCSLEN.
6607         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6608         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6609         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6610         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6611         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6612         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6613         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6614
6615 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6616
6617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6618         strnlen-sse2-no-bsf.
6619         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6620         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6621         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6622         Add strnlen support.
6623         (USE_AS_STRNLEN): New macro.
6624         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6625         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6626         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6627         * sysdeps/x86_64/wcslen.S: New file.
6628
6629 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6630
6631         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6632         XMM-moves are used for copying on small sizes.
6633
6634 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6635
6636         * wcsmbs/Makefile (strop-tests): Add wcschr.
6637         * wcsmbs/test-wcschr.c: New file.
6638         * string/test-strchr.c: Update.
6639         Add wcschr support.
6640         (WIDE): New macro.
6641
6642 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6643
6644         * wcsmbs/Makefile (strop-tests): Add wcslen.
6645         * wcsmbs/test-wcslen.c: New file.
6646         * string/test-strlen.c: Update.
6647         Add wcslen support.
6648         (WIDE): New macro.
6649
6650 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6651
6652         * po/it.po: Update from translation team.
6653
6654 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6655
6656         * sysdeps/x86_64/wcscmp.S: Update.
6657         Fix wrong comparison semantics.
6658         wcscmp shall use signed comparison not unsigned.
6659         Don't use substraction to avoid overflow bug.
6660         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6661         * wcsmbc/wcscmp.c: Likewise.
6662         * string/test-strcmp.c: Likewise.
6663         Add new tests to check cases with negative values.
6664
6665 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6666
6667         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6668         * sysdeps/x86_64/dla.h: ...here.  New file.
6669         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6672         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6673         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6674         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6676         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6678
6679 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6680
6681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6682         __ynl_finite aliases.
6683
6684 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6685
6686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6687
6688         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6689         define DLA_FMA.
6690         [DLA_FMA] (EMULV): Use DLA_FMA.
6691         [DLA_FMA] (MUL12): Use EMULV.
6692         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6693         that are not needed.
6694         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6696         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6698         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6699         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6700         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6701
6702 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6703
6704         * math/s_nan.c: Undef __nan.
6705         * math/s_nanf.c: Undef __nanf.
6706         * math/s_nanl.c: Undef __nanl.
6707         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6708         "math_private.h".
6709
6710 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6711
6712         * math/s_catan.c: Add branch predictions.
6713         * math/s_catanf.c: Likewise.
6714         * math/s_catanh.c: Likewise.
6715         * math/s_catanhf.c: Likewise.
6716         * math/s_catanhl.c: Likewise.
6717         * math/s_catanl.c: Likewise.
6718         * math/s_cexp.c: Likewise.
6719         * math/s_cexpf.c: Likewise.
6720         * math/s_cexpl.c: Likewise.
6721         * math/s_clog.c: Likewise.
6722         * math/s_clog10.c: Likewise.
6723         * math/s_clog10f.c: Likewise.
6724         * math/s_clog10l.c: Likewise.
6725         * math/s_clogf.c: Likewise.
6726         * math/s_clogl.c: Likewise.
6727         * math/s_csqrt.c: Likewise.
6728         * math/s_csqrtf.c: Likewise.
6729         * math/s_csqrtl.c: Likewise.
6730         * math/s_ctanf.c: Likewise.
6731         * math/s_ctanh.c: Likewise.
6732         * math/s_ctanhf.c: Likewise.
6733         * math/s_ctanhl.c: Likewise.
6734         * math/s_ctanl.c: Likewise.
6735
6736         * math/math_private.h: Define __nan, __nanf, __nanl.
6737         * math/s_cacosh.c: Include <math_private.h>.
6738         * math/s_cacoshl.c: Likewise.
6739         * math/s_casinh.c: Likewise.
6740         * math/s_casinhf.c: Likewise.
6741         * math/s_casinhl.c: Likewise.
6742         * math/s_ccos.c: Rely entire on ccosh.
6743         * math/s_ccosf.c: Rely entire on ccoshf.
6744         * math/s_ccosl.c: Rely entirely on ccoshl.
6745         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6746         Remove tests for FE_INVALID.
6747         * math/s_ccoshf.c: Likewise.
6748         * math/s_ccoshl.c: Likewise.
6749         * math/s_csin.c: Likewise.
6750         * math/s_csinf.c: Likewise.
6751         * math/s_csinh.c Likewise.
6752         * math/s_csinhf.c: Likewise.
6753         * math/s_csinhl.c: Likewise.
6754         * math/s_csinl.c: Likewise.
6755         * math/s_ctan.c: Likewise.
6756         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6757         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6758         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6759
6760 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6761
6762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6763         compilation problems.
6764
6765         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6766         __builtin_expect.
6767
6768 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6769
6770         * sysdeps/i386/configure.in: Test for -mfma4 option.
6771         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6772         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6773         COMMON_CPUID_INDEX_80000001.
6774         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6775         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6776         use it if FMA3 is not supported.
6777         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6778
6779         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6780         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6781
6782 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6783
6784         [BZ #12892]
6785         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6786         it would create a cycle with a link time dependency.
6787
6788 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6789
6790         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6791         instruction.
6792         * string/Makefile (strop-tests): Add rawmemchr.
6793         * string/test-rawmemchr.c: New file.
6794
6795         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6796         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6797         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6798         when compiling str{,n}casecmp and when AVX is available.  Hook up
6799         new optimized code in initializers.
6800
6801 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6802
6803         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6804         __feraiseexcept instead of feraiseexcept.
6805
6806 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6807
6808         * math/math_private.h: Define defaults for libc_fetestexcept and
6809         libc_feupdateenv.
6810         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6811         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6812         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6813         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6814         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6815         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6816         libc_fetestexcept and libc_feupdateenv.
6817
6818         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6819         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6820         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6821         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6822         libc_feholdexcept_setround.
6823
6824         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6825         Add s_nearbyint-c and s_nearbyintf-c.
6826         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6827         nearbyintf inlines.
6828         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6829         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6830         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6831         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6832
6833         * math/math_private.h: Define defaults for libc_fegetround,
6834         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6835         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6836         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6837         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6838         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6839         standard functions.
6840         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6841         Remove comments and hacks for old compiler versions.
6842         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6843         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6844         libc_feholdexceptl.
6845
6846 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6847
6848         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6849         (__feraiseexcept_renamed): Add __NTH.
6850         (feraiseexcept): Add __NTH.  Rename local variables to fix
6851         namespace violations.
6852
6853 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6854
6855         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6856
6857         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6858
6859         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6860         recently added interfaces.
6861         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6862
6863         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6864         about macro parameter expansion.
6865
6866         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6867         __NO_MATH_INLINES is defined.  Cleanups.
6868
6869         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6870         and __floorf is target has SSE4.1.
6871         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6872         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6873         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6874         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6875
6876         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6877         name.
6878         (floorf): Likewise.
6879
6880         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6881
6882 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6883
6884         * misc/sys/cdefs.h: Fix last change.
6885
6886         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6887         database lookup.
6888
6889 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6890
6891         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6892
6893         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6894         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6895         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6896         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6897         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6898         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6899         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6900         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6901         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6902         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6903         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6904         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6905         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6906         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6907         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6908         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6909         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6910         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6911         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6912         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6913         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6914         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6915
6916         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6917         ceil, ceilf, floor, floorf.
6918
6919         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6920         Perform IRELATIVE relocations last.
6921
6922         * elf/do-rel.h: Add another parameter nrelative, replacing the
6923         local variable with the same name.  Change name of the function
6924         to end in Rel or Rela (uppercase).
6925         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6926         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6927         elf_dynamic_do_##reloc function.
6928
6929 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6930
6931         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6932         is sufficient, at least on modern CPUs.
6933
6934         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6935
6936         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6937         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6938
6939         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6940         __expl_finite.
6941         * math/bits/math-finite.h: Add entries for exp.
6942         * math/e_expl.c: Add __*_finite alias.
6943         * sysdeps/i386/fpu/e_exp.S: Likewise.
6944         * sysdeps/i386/fpu/e_expf.S: Likewise.
6945         * sysdeps/i386/fpu/e_expl.c: Likewise.
6946         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6947         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6948         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6950         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6951         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6952         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6953
6954         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6955         is sufficient, at least on modern CPUs.
6956
6957         * ctype/ctype-info.c (__ctype_init): Define.
6958         * include/ctype.h (__ctype_init): Declare.
6959         (__ctype_b_loc): The variable is always initialized.
6960         (__ctype_toupper_loc): Likewise.
6961         (__ctype_tolower_loc): Likewise.
6962         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6963         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6964
6965 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6966
6967         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6968
6969         * configure.in: Also look in $cxxmachine/include for C++ system
6970         headers.
6971
6972 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6973
6974         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6975         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6976         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6977         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6978         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6979         (USE_AS_WMEMCMP): New macro.
6980         Fixing indents.
6981         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6982         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6983         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6984         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6986         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6987         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6988         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6989         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6990         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6991         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6992         (USE_AS_WMEMCMP): New macro.
6993         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6994         * sysdeps/string/test-memcmp.c: Update.
6995         Fix simple_wmemcmp.
6996         Add new tests.
6997         * wcsmbs/wmemcmp.c: Update.
6998         (WMEMCMP): New macro.
6999         Fix overflow bug.
7000
7001 2011-10-12  Andreas Jaeger  <aj@suse.de>
7002
7003         [BZ #13268]
7004         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7005
7006 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7007
7008         * libio/iofwide.c (do_length): Avoid warning.
7009
7010         * ctype/ctype.h (__isctype_f): Add missing __THROW.
7011
7012 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
7013
7014         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7015
7016         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7017         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7018         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7019         * sysdeps/i386/i686/fpu/e_log.S: New file.
7020         * sysdeps/i386/i686/fpu/e_logf.S: New file.
7021         * sysdeps/i386/i686/fpu/e_logl.S: New file.
7022
7023         * ctype/ctype.h: Add support for inlined isXXX functions when
7024         compiling C++ code.
7025
7026 2011-10-14  Andreas Schwab  <schwab@redhat.com>
7027
7028         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7029
7030         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7031
7032 2011-10-13  Roland McGrath  <roland@hack.frob.com>
7033
7034         [BZ #13291]
7035         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7036
7037 2011-10-13  Andreas Schwab  <schwab@redhat.com>
7038
7039         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7040         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7041         feraiseexcept.
7042
7043         * sysdeps/x86_64/memrchr.S: Check for zero size.
7044
7045         * string/stratcliff.c: Add memrchr tests.
7046
7047 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7048
7049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7050         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7051         rawmemchr-sse2 rawmemchr-sse2-bsf.
7052         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7053         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7054         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7055         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7056         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7057         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7058         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7059         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7060         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7061         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7062         * string/memrchr.c (MEMRCHR): New macro.
7063
7064 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7065
7066         Add integration with gcc's -ffinite-math-only and optimize wrapper
7067         functions in libm.
7068         * Versions.def: Define GLIBC_2.15 version for libm.
7069         * math/Makefile (headers): Add bits/math-finite.h.
7070         * math/bits/math-finite.h: New file.
7071         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7072         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7073         * math/e_acoshl.c: Add __*_finite alias.
7074         * math/e_acosl.c: Likewise.
7075         * math/e_asinl.c: Likewise.
7076         * math/e_atan2l.c: Likewise.
7077         * math/e_atanhl.c: Likewise.
7078         * math/e_coshl.c: Likewise.
7079         * math/e_exp10.c: Likewise.
7080         * math/e_exp10f.c: Likewise.
7081         * math/e_exp10l.c: Likewise.
7082         * math/e_exp2l.c: Likewise.
7083         * math/e_fmodl.c: Likewise.
7084         * math/e_gammal_r.c: Likewise.
7085         * math/e_hypotl.c: Likewise.
7086         * math/e_j0l.c: Likewise.
7087         * math/e_j1l.c: Likewise.
7088         * math/e_jnl.c: Likewise.
7089         * math/e_lgammal_r.c: Likewise.
7090         * math/e_log10l.c: Likewise.
7091         * math/e_log2l.c: Likewise.
7092         * math/e_logl.c: Likewise.
7093         * math/e_powl.c: Likewise.
7094         * math/e_sinhl.c: Likewise.
7095         * math/e_sqrtl.c: Likewise.
7096         * math/e_scalb.c: Completely rewritten and optimized.
7097         * math/e_scalbf.c: Likewise.
7098         * math/e_scalbl.c: Likewise.
7099         * math/w_acos.c: Likewise.
7100         * math/w_acosf.c: Likewise.
7101         * math/w_acosl.c: Likewise.
7102         * math/w_acosh.c: Likewise.
7103         * math/w_acoshf.c: Likewise.
7104         * math/w_acoshl.c: Likewise.
7105         * math/w_asin.c: Likewise.
7106         * math/w_asinf.c: Likewise.
7107         * math/w_asinl.c: Likewise.
7108         * math/w_atan2.c: Likewise.
7109         * math/w_atan2f.c: Likewise.
7110         * math/w_atan2l.c: Likewise.
7111         * math/w_atanh.c: Likewise.
7112         * math/w_atanhf.c: Likewise.
7113         * math/w_atanhl.c: Likewise.
7114         * math/w_exp10.c: Likewise.
7115         * math/w_exp10f.c: Likewise.
7116         * math/w_exp10l.c: Likewise.
7117         * math/w_fmod.c: Likewise.
7118         * math/w_fmodf.c: Likewise.
7119         * math/w_fmodl.c: Likewise.
7120         * math/w_j0.c: Likewise.
7121         * math/w_j0f.c: Likewise.
7122         * math/w_j0l.c: Likewise.
7123         * math/w_j1.c: Likewise.
7124         * math/w_j1f.c: Likewise.
7125         * math/w_j1l.c: Likewise.
7126         * math/w_jn.c: Likewise.
7127         * math/w_jnf.c: Likewise.
7128         * math/w_log.c: Likewise.
7129         * math/w_logf.c: Likewise.
7130         * math/w_logl.c: Likewise.
7131         * math/w_log10.c: Likewise.
7132         * math/w_log10f.c: Likewise.
7133         * math/w_log10l.c: Likewise.
7134         * math/w_log2.c: Likewise.
7135         * math/w_log2f.c: Likewise.
7136         * math/w_log2l.c: Likewise.
7137         * math/w_pow.c: Likewise.
7138         * math/w_powf.c: Likewise.
7139         * math/w_powl.c: Likewise.
7140         * math/w_remainder.c: Likewise.
7141         * math/w_remainderf.c: Likewise.
7142         * math/w_remainderl.c: Likewise.
7143         * math/w_scalb.c: Likewise.
7144         * math/w_scalbf.c: Likewise.
7145         * math/w_scalbl.c: Likewise.
7146         * math/w_sqrt.c: Likewise.
7147         * math/w_sqrtf.c: Likewise.
7148         * math/w_sqrtl.c: Likewise.
7149         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7150         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7151         used.
7152         * math/math_private.h: Declare __kernel_standard_f.
7153         * math/w_cosh.c: Remove cruft and optimize a bit.
7154         * math/w_coshf.c: Likewise.
7155         * math/w_coshl.c: Likewise.
7156         * math/w_exp2.c: Likewise.
7157         * math/w_exp2f.c: Likewise.
7158         * math/w_exp2l.c: Likewise.
7159         * math/w_hypot.c: Likewise.
7160         * math/w_hypotf.c: Likewise.
7161         * math/w_hypotl.c: Likewise.
7162         * math/w_lgamma.c: Likewise.
7163         * math/w_lgamma_r.c: Likewise.
7164         * math/w_lgammaf.c: Likewise.
7165         * math/w_lgammaf_r.c: Likewise.
7166         * math/w_lgammal.c: Likewise.
7167         * math/w_lgammal_r.c: Likewise.
7168         * math/w_sinh.c: Likewise.
7169         * math/w_sinhf.c: Likewise.
7170         * math/w_sinhl.c: Likewise.
7171         * math/w_tgamma.c: Likewise.
7172         * math/w_tgammaf.c: Likewise.
7173         * math/w_tgammal.c: Likewise.
7174         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7175         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7176         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7177         Minor optimizations.  Pretty printing.  Remove cruft.
7178         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7179         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7180         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7181         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7182         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7183         * sysdeps/i386/fpu/e_asin.S: Likewise.
7184         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7185         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7186         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7187         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7188         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7189         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7190         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7191         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7192         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7193         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7194         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7195         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7196         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7197         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7198         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7199         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7200         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7201         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7202         * sysdeps/i386/fpu/e_log.S: Likewise.
7203         * sysdeps/i386/fpu/e_log10.S: Likewise.
7204         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7205         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7206         * sysdeps/i386/fpu/e_log2.S: Likewise.
7207         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7208         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7209         * sysdeps/i386/fpu/e_logf.S: Likewise.
7210         * sysdeps/i386/fpu/e_logl.S: Likewise.
7211         * sysdeps/i386/fpu/e_pow.S: Likewise.
7212         * sysdeps/i386/fpu/e_powf.S: Likewise.
7213         * sysdeps/i386/fpu/e_powl.S: Likewise.
7214         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7215         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7216         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7217         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7218         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7219         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7220         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7221         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7222         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7223         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7224         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7225         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7226         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7227         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7228         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7229         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7230         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7231         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7232         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7233         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7234         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7236         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7237         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7239         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7240         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7241         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7242         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7243         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7244         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7245         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7246         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7247         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7248         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7249         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7250         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7251         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7252         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7253         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7254         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7255         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7256         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7257         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7258         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7259         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7260         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7261         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7262         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7263         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7264         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7265         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7266         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7267         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7268         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7269         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7270         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7271         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7272         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7273         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7274         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7275         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7276         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7277         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7278         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7279         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7280         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7281         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7282         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7283         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7284         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7286         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7287         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7288         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7289         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7291         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7292         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7293         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7294         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7295         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7297         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7298         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7299         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7300         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7301         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7302         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7303         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7304         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7305         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7306         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7307         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7308         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7309         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7310         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7311         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7312         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7313         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7314         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7315         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7316         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7317         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7318         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7319         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7320         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7321         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7322         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7323         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7324         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7325         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7326         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7327         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7328         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7329         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7330         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7331         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7332         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7333         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7334         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7335         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7336         (__isnanf): Likewise.
7337         (__isinf_ns): Likewise.
7338         (__isinf_nsf): Likewise.
7339         (__finite): Likewise.
7340         (__finitef): Likewise.
7341         (__ieee754_sqrt): Define as macro.
7342         (__ieee754_sqrtf): Define as macro.
7343         (__ieee754_sqrtl): Define as macro.
7344         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7345         inlined copy.
7346         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7347         __FINITE_MATH_ONLY__ consistent.
7348         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7349
7350 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7351
7352         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7353         of rawmemchr.
7354
7355         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7356
7357 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7358
7359         * po/ja.po: Update from translation team.
7360
7361 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7362
7363         * locale/programs/locarchive.c (prepare_address_space): New function.
7364         (create_archive, enlarge_archive, open_archive): Use it.
7365
7366         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7367         inside [SHARED], where it is used.
7368
7369         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7370
7371         * nss/getent.c (netgroup_keys): Remove unused variable.
7372         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7373
7374 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7375
7376         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7377         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7378         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7379         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7380         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7381         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7382         * math/Makefile (libm-calls): Add s_isinf_ns.
7383         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7384         * math/multc3.c: Likewise.
7385         * math/s_casin.c: Likewise.
7386         * math/s_casinf.c: Likewise.
7387         * math/s_casinl.c: Likewise.
7388         * math/s_ccos.c: Likewise.
7389         * math/s_ccosf.c: Likewise.
7390         * math/s_ccosl.c: Likewise.
7391         * math/s_ctan.c: Likewise.
7392         * math/s_ctanf.c: Likewise.
7393         * math/s_ctanh.c: Likewise.
7394         * math/s_ctanhf.c: Likewise.
7395         * math/s_ctanhl.c: Likewise.
7396         * math/s_ctanl.c: Likewise.
7397         * math/w_fmod.c: Likewise.
7398         * math/w_fmodf.c: Likewise.
7399         * math/w_fmodl.c: Likewise.
7400         * math/w_remainder.c: Likewise.
7401         * math/w_remainderf.c: Likewise.
7402         * math/w_remainderl.c: Likewise.
7403         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7404         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7405         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7406         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7407         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7408         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7409         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7410         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7411
7412         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7413         of the number.
7414         * stdio-common/printf_fphex.c: Likewise.
7415         * stdio-common/printf_size.c: Likewise.
7416
7417         * math/e_exp10.c: Include math_private.h using <...> not "...".
7418         * math/e_exp10f.c: Likewise.
7419         * math/e_exp10l.c: Likewise.
7420         * math/e_exp2l.c: Likewise.
7421         * math/e_j0l.c: Likewise.
7422         * math/e_j1l.c: Likewise.
7423         * math/e_jnl.c: Likewise.
7424         * math/e_lgammal_r.c: Likewise.
7425         * math/e_rem_pio2l.c: Likewise.
7426         * math/e_scalb.c: Likewise.
7427         * math/e_scalbf.c: Likewise.
7428         * math/e_scalbl.c: Likewise.
7429         * math/k_cosl.c: Likewise.
7430         * math/k_sinl.c: Likewise.
7431         * math/k_tanl.c: Likewise.
7432         * math/s_cacoshf.c: Likewise.
7433         * math/s_catan.c: Likewise.
7434         * math/s_catanf.c: Likewise.
7435         * math/s_catanh.c: Likewise.
7436         * math/s_catanhf.c: Likewise.
7437         * math/s_catanhl.c: Likewise.
7438         * math/s_catanl.c: Likewise.
7439         * math/s_ccosh.c: Likewise.
7440         * math/s_ccoshf.c: Likewise.
7441         * math/s_ccoshl.c: Likewise.
7442         * math/s_cexp.c: Likewise.
7443         * math/s_cexpf.c: Likewise.
7444         * math/s_cexpl.c: Likewise.
7445         * math/s_clog.c: Likewise.
7446         * math/s_clog10.c: Likewise.
7447         * math/s_clog10f.c: Likewise.
7448         * math/s_clog10l.c: Likewise.
7449         * math/s_clogf.c: Likewise.
7450         * math/s_clogl.c: Likewise.
7451         * math/s_csin.c: Likewise.
7452         * math/s_csinf.c: Likewise.
7453         * math/s_csinh.c: Likewise.
7454         * math/s_csinhf.c: Likewise.
7455         * math/s_csinhl.c: Likewise.
7456         * math/s_csinl.c: Likewise.
7457         * math/s_csqrt.c: Likewise.
7458         * math/s_csqrtf.c: Likewise.
7459         * math/s_csqrtl.c: Likewise.
7460         * math/s_ctan.c: Likewise.
7461         * math/s_ctanf.c: Likewise.
7462         * math/s_ctanh.c: Likewise.
7463         * math/s_ctanhf.c: Likewise.
7464         * math/s_ctanhl.c: Likewise.
7465         * math/s_ctanl.c: Likewise.
7466         * math/s_ldexp.c: Likewise.
7467         * math/s_ldexpf.c: Likewise.
7468         * math/s_ldexpl.c: Likewise.
7469         * math/s_significand.c: Likewise.
7470         * math/s_significandf.c: Likewise.
7471         * math/s_significandl.c: Likewise.
7472         * math/w_acos.c: Likewise.
7473         * math/w_acosf.c: Likewise.
7474         * math/w_acosh.c: Likewise.
7475         * math/w_acoshf.c: Likewise.
7476         * math/w_acoshl.c: Likewise.
7477         * math/w_acosl.c: Likewise.
7478         * math/w_asin.c: Likewise.
7479         * math/w_asinf.c: Likewise.
7480         * math/w_asinl.c: Likewise.
7481         * math/w_atan2.c: Likewise.
7482         * math/w_atan2f.c: Likewise.
7483         * math/w_atan2l.c: Likewise.
7484         * math/w_atanh.c: Likewise.
7485         * math/w_atanhf.c: Likewise.
7486         * math/w_atanhl.c: Likewise.
7487         * math/w_cosh.c: Likewise.
7488         * math/w_coshf.c: Likewise.
7489         * math/w_coshl.c: Likewise.
7490         * math/w_dremf.c: Likewise.
7491         * math/w_exp10.c: Likewise.
7492         * math/w_exp10f.c: Likewise.
7493         * math/w_exp10l.c: Likewise.
7494         * math/w_exp2.c: Likewise.
7495         * math/w_exp2f.c: Likewise.
7496         * math/w_fmod.c: Likewise.
7497         * math/w_fmodf.c: Likewise.
7498         * math/w_fmodl.c: Likewise.
7499         * math/w_hypot.c: Likewise.
7500         * math/w_hypotf.c: Likewise.
7501         * math/w_hypotl.c: Likewise.
7502         * math/w_j0.c: Likewise.
7503         * math/w_j0f.c: Likewise.
7504         * math/w_j0l.c: Likewise.
7505         * math/w_j1.c: Likewise.
7506         * math/w_j1f.c: Likewise.
7507         * math/w_j1l.c: Likewise.
7508         * math/w_jn.c: Likewise.
7509         * math/w_jnf.c: Likewise.
7510         * math/w_jnl.c: Likewise.
7511         * math/w_lgamma.c: Likewise.
7512         * math/w_lgamma_r.c: Likewise.
7513         * math/w_lgammaf.c: Likewise.
7514         * math/w_lgammaf_r.c: Likewise.
7515         * math/w_lgammal.c: Likewise.
7516         * math/w_lgammal_r.c: Likewise.
7517         * math/w_log.c: Likewise.
7518         * math/w_log10.c: Likewise.
7519         * math/w_log10f.c: Likewise.
7520         * math/w_log10l.c: Likewise.
7521         * math/w_log2.c: Likewise.
7522         * math/w_log2f.c: Likewise.
7523         * math/w_log2l.c: Likewise.
7524         * math/w_logf.c: Likewise.
7525         * math/w_logl.c: Likewise.
7526         * math/w_pow.c: Likewise.
7527         * math/w_powf.c: Likewise.
7528         * math/w_powl.c: Likewise.
7529         * math/w_remainder.c: Likewise.
7530         * math/w_remainderf.c: Likewise.
7531         * math/w_remainderl.c: Likewise.
7532         * math/w_scalb.c: Likewise.
7533         * math/w_scalbf.c: Likewise.
7534         * math/w_scalbl.c: Likewise.
7535         * math/w_sinh.c: Likewise.
7536         * math/w_sinhf.c: Likewise.
7537         * math/w_sinhl.c: Likewise.
7538         * math/w_sqrt.c: Likewise.
7539         * math/w_sqrtf.c: Likewise.
7540         * math/w_sqrtl.c: Likewise.
7541         * math/w_tgamma.c: Likewise.
7542         * math/w_tgammaf.c: Likewise.
7543         * math/w_tgammal.c: Likewise.
7544
7545         * po/ja.po: Update from translation team.
7546
7547 2011-09-29  Andreas Jaeger  <aj@suse.de>
7548
7549         [BZ #13179]
7550         * sunrpc/netname.c (netname2host): Fix logic.
7551
7552         [BZ #6779]
7553         [BZ #6783]
7554         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7555         correctly.
7556         * math/w_remainder.c (__remainder): Likewise.
7557         * math/w_remainderf.c (__remainderf): Likewise.
7558         * math/libm-test.inc (remainder_test): Add test cases.
7559
7560 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7561
7562         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7563         sdiv_qrnnd.
7564
7565 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7566
7567         * string/test-memcmp.c: Avoid unncessary #defines.
7568         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7569
7570 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7571
7572         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7573         Use new sse2 version for core i3 - i7 as it's faster
7574         than sse42 version.
7575         (bit_Prefer_PMINUB_for_stringop): New.
7576         * sysdeps/x86_64/rawmemchr.S: Update.
7577         Replace with faster SSE2 version.
7578         * sysdeps/x86_64/memrchr.S: New file.
7579         * sysdeps/x86_64/memchr.S: Update.
7580         Replace with faster SSE2 version.
7581
7582 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7583
7584         * elf/dl-load.c (lose): Add cast to avoid warning.
7585
7586 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7587
7588         * po/ca.po: Update from translation team.
7589
7590         * inet/getnetgrent_r.c: Hook up nscd.
7591         * nscd/Makefile (routines): Add nscd_netgroup.
7592         (nscd-modules): Add netgroupcache.
7593         (CFLAGS-netgroupcache.c): Define.
7594         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7595         (cache_search): Add const to second parameter.
7596         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7597         INNETGR.
7598         (dbs): Add netgrdb entry.
7599         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7600         (verify_persistent_db): Handle netgrdb.
7601         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7602         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7603         GETFDNETGR.
7604         (netgroup_response_header): Define.
7605         (innetgroup_response_header): Define.
7606         (datahead): Add netgroup_response_header and innetgroup_response_header
7607         elements.
7608         * nscd/nscd.conf: Add entries for netgroup cache.
7609         * nscd/nscd.h (dbtype): Add netgrdb.
7610         (_PATH_NSCD_NETGROUP_DB): Define.
7611         (netgroup_iov_disabled): Declare.
7612         (xmalloc, xcalloc, xrealloc): Move declarations here.
7613         (cache_search): Adjust prototype.
7614         Add netgroup-related prototypes.
7615         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7616         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7617         (__nscd_innetgr): Declare.
7618         * nscd/selinux.c (perms): Use access_vector_t as element type and
7619         add netgroup-related initializers.
7620         * nscd/netgroupcache.c: New file.
7621         * nscd/nscd_netgroup.c: New file.
7622         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7623         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7624         For four parameters use innetgr.
7625         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7626         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7627         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7628         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7629
7630         * nscd/connections.c (register_traced_file): Don't register file
7631         for disabled databases.
7632
7633 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7634
7635         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7636
7637         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7638         from tree and freeing node.
7639
7640 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7641
7642         * nss/nsswitch.c (__nss_database_lookup): Handle
7643         nss_parse_service_list out of memory case.
7644
7645 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7646
7647         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7648         out of memory case.
7649
7650 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7651
7652         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7653         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7654         pass it down.
7655         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7656         elf_machine_rela, elf_machine_lazy_rel.
7657         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7658         (ELF_DYNAMIC_DO_REL): Likewise.
7659         (ELF_DYNAMIC_DO_RELA): Likewise.
7660         (ELF_DYNAMIC_RELOCATE): Likewise.
7661         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7662         to ELF_DYNAMIC_DO_REL.
7663         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7664         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7665         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7666         elf_machine_rela.
7667         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7668         skip_ifunc, don't call ifunc function if non-zero.
7669         (elf_machine_rela): Likewise.
7670         (elf_machine_lazy_rel): Likewise.
7671         (elf_machine_lazy_rela): Likewise.
7672         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7673         (elf_machine_lazy_rel): Likewise.
7674         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7675         Likewise.
7676         (elf_machine_lazy_rel): Likewise.
7677         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7678         Likewise.
7679         (elf_machine_lazy_rel): Likewise.
7680         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7681         (elf_machine_lazy_rel): Likewise.
7682         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7683         (elf_machine_lazy_rel): Likewise.
7684         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7685         (elf_machine_lazy_rel): Likewise.
7686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7687         (elf_machine_lazy_rel): Likewise.
7688         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7689         (elf_machine_lazy_rel): Likewise.
7690         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7691         (elf_machine_lazy_rel): Likewise.
7692
7693 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7694
7695         * nss/nss_files/files-init.c (_nss_files_init): Use static
7696         initialization for all the *_traced_file variables.
7697
7698 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7699
7700         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7701
7702 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7703
7704         [BZ #13226]
7705         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7706
7707 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7708
7709         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7710         Reread the line before reparsing it.
7711
7712 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7713
7714         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7715
7716 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7717             Maxim Kuvyrkov  <maxim@codesourcery.com>
7718             Joseph Myers  <joseph@codesourcery.com>
7719
7720         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7721         if needed for __stack_chk_guard.
7722
7723 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7724
7725         * sysdeps/posix/spawni.c (script_execute): Always define it.
7726         It will be optimized away if unused.
7727         (maybe_script_execute): New function.
7728         (__spawni): Call it.
7729
7730         * Makerules: Don't include tls.make.
7731         (config-tls): Always set to thread.
7732         * tls.make.c: File removed.
7733
7734 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7735
7736         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7737         * config.make.in (CPPFLAGS-config): New substituted variable.
7738
7739 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7740
7741         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7742
7743         [BZ #13192]
7744         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7745         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7746
7747 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7748
7749         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7750         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7752         (CALL_FAIL): Likewise.
7753         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7754         (CALL_FAIL): Macro removed.
7755         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7756
7757 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7758
7759         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7760         for __FINITE_MATH_ONLY__ == 1.
7761
7762 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7763
7764         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7765         __ieee754_sqrt instead of sqrt.
7766         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7767         __ieee754_sqrtf instead of sqrtf.
7768         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7769         __floorf instead of floorf.
7770         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7771         __floorf, __truncf instead of floorf, truncf.
7772
7773 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7774
7775         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7776
7777         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7778         __extern_always_inline.
7779         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7780         32-bit.
7781
7782 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7783
7784         * elf/rtld.c (dl_main): Also relocate in dependency order when
7785         doing symbol dependency testing.
7786
7787 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7788
7789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7790         Always define `refsym'.
7791
7792 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7793
7794         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7795         (__FD_ELT): Renamed from __FDELT.
7796         * misc/bits/select2.h (__FD_ELT): Likewise.
7797         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7798         __FD_MASK instead of __FDELT, __FDMASK.
7799         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7800         Likewise.
7801         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7802         Likewise.
7803
7804         * elf/Makefile (gen-ldd): Fix pattern.
7805
7806         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7807         (init_tls): Likewise.
7808
7809 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7810
7811         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7812
7813 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7814
7815         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7816         `struct cmsghdr *' instead of `void *'.
7817         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7818         Likewise.
7819
7820 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7821
7822         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7823         if non-absolute.
7824         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7825         ldd_rewrite_script.
7826
7827 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7828
7829         * configure.in: Remove --with-tls option.
7830         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7831         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7832         out in case it is missing.
7833         * sysdeps/ia64/elf/configure.in: Likewise.
7834         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7835         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7836         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7837         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7838         * sysdeps/sh/elf/configure.in: Likewise.
7839         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7840         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7841         * sysdeps/x86_64/elf/configure.in: Likewise.
7842         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7843         * sysdeps/mach/hurd/tls.h: Likewise.
7844
7845         [BZ #13067]
7846         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7847
7848         [BZ #13090]
7849         * configure.in: Fix use of AC_INIT.
7850
7851         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7852
7853 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7854
7855         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7856         __set_errno.
7857         * malloc/hooks.c: Likewise.
7858
7859         [BZ #11929]
7860         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7861         variables statically.
7862         (narenas): Initialize.
7863         (list_lock): Initialize.
7864         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7865         initializtion of main_arena and list_lock.  Small cleanups.
7866         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7867         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7868         Add initializers to main_arena and mp_.
7869         (malloc_state): Remove pagesize member.  Change all users to use
7870         GLRO(dl_pagesize).
7871
7872         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7873         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7874         is always initialized.
7875
7876         * malloc/malloc.c: Removed unused configurations and dead code.
7877         * malloc/arena.c: Likewise.
7878         * malloc/hooks.c: Likewise.
7879         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7880
7881         * include/tls.h: Removed.  USE___THREAD must always be defined.
7882         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7883         * elf/dl-libc.c: Likewise.
7884         * elf/dl-tsd.c: Likewise.
7885         * include/errno.h: Likewise.
7886         * include/netdb.h: Likewise.
7887         * include/resolv.h: Likewise.
7888         * inet/herrno-loc.c: Likewise.
7889         * inet/herrno.c: Likewise.
7890         * malloc/arena.c: Likewise.
7891         * malloc/hooks.c: Likewise.
7892         * malloc/malloc.c: Likewise.
7893         * resolv/res-state.c: Likewise.
7894         * resolv/res_libc.c: Likewise.
7895         * sysdeps/i386/dl-machine.h: Likewise.
7896         * sysdeps/ia64/dl-machine.h: Likewise.
7897         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7898         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7899         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7900         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7901         * sysdeps/sh/dl-machine.h: Likewise.
7902         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7903         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7904         * sysdeps/unix/i386/sysdep.S: Likewise.
7905         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7906         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7909         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7910         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7911         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7915         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7916         * sysdeps/x86_64/dl-machine.h: Likewise.
7917         * tls.make.c: Likewise.
7918
7919         * configure.in: Remove --with-__thread option.  Make tests for
7920         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7921         tls_model attribute fail if no support is available.  Remove
7922         USE_IN_LIBIO.
7923         * Makeconfig: Adjust for dropped configure option.  All features are
7924         now mandatory.
7925         * Makerules: Likewise.
7926         * Versions.def: Likewise.
7927         * argp/argp-fmtstream.c: Likewise.
7928         * argp/argp-fmtstream.h: Likewise.
7929         * argp/argp-help.c: Likewise.
7930         * assert/assert.c: Likewise.
7931         * config.h.in: Likewise.
7932         * config.make.in: Likewise.
7933         * configure: Likewise.
7934         * configure.in: Likewise.
7935         * csu/Versions: Likewise.
7936         * csu/init.c: Likewise.
7937         * elf/tst-audit2.c: Likewise.
7938         * elf/tst-tls10.c: Likewise.
7939         * elf/tst-tls10.h: Likewise.
7940         * elf/tst-tls11.c: Likewise.
7941         * elf/tst-tls12.c: Likewise.
7942         * elf/tst-tls14.c: Likewise.
7943         * elf/tst-tlsmod11.c: Likewise.
7944         * elf/tst-tlsmod12.c: Likewise.
7945         * elf/tst-tlsmod13.c: Likewise.
7946         * elf/tst-tlsmod13a.c: Likewise.
7947         * elf/tst-tlsmod14a.c: Likewise.
7948         * elf/tst-tlsmod15b.c: Likewise.
7949         * elf/tst-tlsmod16a.c: Likewise.
7950         * elf/tst-tlsmod16b.c: Likewise.
7951         * elf/tst-tlsmod7.c: Likewise.
7952         * elf/tst-tlsmod8.c: Likewise.
7953         * elf/tst-tlsmod9.c: Likewise.
7954         * gmon/gmon.c: Likewise.
7955         * grp/fgetgrent_r.c: Likewise.
7956         * grp/putgrent.c: Likewise.
7957         * hurd/fopenport.c: Likewise.
7958         * include/libc-symbols.h: Likewise.
7959         * include/tls.h: Likewise.
7960         * intl/gettextP.h: Likewise.
7961         * intl/loadinfo.h: Likewise.
7962         * locale/global-locale.c: Likewise.
7963         * locale/localeinfo.h: Likewise.
7964         * mach/devstream.c: Likewise.
7965         * malloc/arena.c: Likewise.
7966         * malloc/set-freeres.c: Likewise.
7967         * misc/err.c: Likewise.
7968         * misc/getttyent.c: Likewise.
7969         * misc/mntent_r.c: Likewise.
7970         * posix/getopt.c: Likewise.
7971         * posix/wordexp.c: Likewise.
7972         * pwd/fgetpwent_r.c: Likewise.
7973         * resolv/Versions: Likewise.
7974         * resolv/res_hconf.c: Likewise.
7975         * shadow/fgetspent_r.c: Likewise.
7976         * shadow/putspent.c: Likewise.
7977         * stdio-common/printf_fphex.c: Likewise.
7978         * stdio-common/tmpfile.c: Likewise.
7979         * stdlib/abort.c: Likewise.
7980         * stdlib/fmtmsg.c: Likewise.
7981         * sunrpc/auth_unix.c: Likewise.
7982         * sunrpc/clnt_perr.c: Likewise.
7983         * sunrpc/clnt_tcp.c: Likewise.
7984         * sunrpc/clnt_udp.c: Likewise.
7985         * sunrpc/clnt_unix.c: Likewise.
7986         * sunrpc/openchild.c: Likewise.
7987         * sunrpc/svc_simple.c: Likewise.
7988         * sunrpc/svc_tcp.c: Likewise.
7989         * sunrpc/svc_udp.c: Likewise.
7990         * sunrpc/svc_unix.c: Likewise.
7991         * sunrpc/xdr.c: Likewise.
7992         * sunrpc/xdr_array.c: Likewise.
7993         * sunrpc/xdr_rec.c: Likewise.
7994         * sunrpc/xdr_ref.c: Likewise.
7995         * sunrpc/xdr_stdio.c: Likewise.
7996
7997 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7998
7999         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8000
8001 2011-07-03  Andreas Jaeger  <aj@suse.de>
8002
8003         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8004         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8005         regenerate with gen-libm-tests.pl.
8006
8007 2010-05-12  Petr Baudis  <pasky@suse.cz>
8008
8009         [BZ #11589]
8010         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8011         around j0() zero points by switching to j1().
8012         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8013         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8015         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8016
8017 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8018
8019         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8020         instead of 0.
8021         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8022         instead of 0.                              .
8023         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8024         Patch in part by Pavel Roskin <proski@gnu.org>.
8025
8026         [BZ #13138]
8027         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8028         realloc.
8029         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
8030         Free memory block if necessary.
8031
8032         [BZ #12847]
8033         * libio/genops.c (INTDEF): For string streams the _lock pointer can
8034         be NULL.  Don't lock in this case.
8035
8036 2011-09-09  Roland McGrath  <roland@hack.frob.com>
8037
8038         * elf/elf.h (ELFOSABI_GNU): New macro.
8039         (ELFOSABI_LINUX): Define to that.
8040
8041 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
8042
8043         * string/strncat.c (strncat): Undef the symbol in case it has been
8044         defined in bits/string.h.
8045
8046 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8047
8048         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8049
8050         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8051         link map.
8052
8053 2011-08-17  Andreas Jaeger  <aj@suse.de>
8054
8055         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8056
8057 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8058             Ian Lance Taylor  <iant@google.com>
8059
8060         * math/libm-test.inc (lround_test): New testcase.
8061         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8062
8063 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8064
8065         * Makefile: Remove support for automatic cvs check-ins.
8066         * Makerules: Likewise.
8067         * config.make.in: Likewise.
8068         * configure.in: Likewise.
8069         * intl/Makefile: Likewise.
8070         * locale/Makefile: Likewise.
8071         * po/Makefile: Likewise.
8072         * posix/Makefile: Likewise.
8073         * sysdeps/gnu/Makefile: Likewise.
8074         * sysdeps/mach/hurd/Makefile: Likewise.
8075         * sysdeps/sparc/sparc32/Makefile: Likewise.
8076
8077         [BZ #13118]
8078         * posix/Makefile (bug-regex32-ENV): Define.
8079         Patch by John Stanley <jpsinthemix@verizon.net>.
8080
8081         * misc/Makefile (headers): Add bits/select2.h.
8082         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8083         * misc/bits/select2.h: New file.
8084         * include/bits/select2.h: New file.
8085         * debug/Makefile (routines): Add fdelt_chk.
8086         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8087         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8088         FD_ISSET.
8089         * debug/fdelt_chk.c: New file.
8090
8091         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8092         * wcsmbs/test-wmemcmp.c: Likewise.
8093         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8094         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8095
8096 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8097
8098         * string/Makefile (strop-tests): Add memcmp.
8099         * string/test-wmemcmp.c: New file.
8100         * string/test-memcmp.c: Add wmemcmp support.
8101
8102 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8103
8104         [BZ #13153]
8105         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8106         2011-07-19 change.
8107
8108         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8109         garbage value in a __mach_port_mod_refs call in the cases of the
8110         task-self and thread-self ports.
8111
8112 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8113
8114         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8115
8116 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8117
8118         * elf/dl-load.c (lose): Check for non-null L.
8119
8120 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8121
8122         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8123
8124         * elf/dl-libc.c (dlerror_run): Pass back error code from
8125         dl_catch_error.
8126
8127         [BZ #13123]
8128         * elf/dl-load.c (lose): Free l_origin if it is valid.
8129
8130         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8131         names.
8132         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8133         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8134         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8135         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8136         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8137         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8138
8139 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8140
8141         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8142         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8143         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8144         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8145         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8146         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8147         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8148         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8149         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8150         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8151
8152 2011-08-15  Alan Modra  <amodra@gmail.com>
8153
8154         [BZ #13092]
8155         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8156         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8157         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8158         ppc_mcount to static-only-routines.
8159         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8160         __mcount_internal.
8161         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8162         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8163
8164 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8165
8166         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8167         for finite and infinity parameters.
8168
8169 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8170
8171         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8172         and add nop instructions for throughput optimization.
8173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8174
8175 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8176
8177         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8178         aligned copy for power7 with vector-scalar instructions.
8179         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8180
8181 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8182
8183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8184         AVX check.
8185
8186 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8187
8188         [BZ #13144]
8189         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8190         last change.
8191
8192 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8193
8194         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8195         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8196         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8197         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8198         clock_gettime.
8199
8200 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8201
8202         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8203         Forgot to demangle the pointer.
8204
8205         * sysdeps/i386/sysdep.h: Define atom_text_section.
8206         * sysdeps/x86_64/sysdep.h: Likewise.
8207         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8208         section with atom_text_section.
8209         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8210         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8211         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8212         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8213         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8214
8215         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8216         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8217         already be defined.  Change to take two parameters and don't assign
8218         result to variable.  Adjust all users.
8219         Define INTERNAL_GETTIME if not already defined.
8220         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8221         call.
8222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8223         HAVE_CLOCK_GETTIME_VSYSCALL.
8224         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8225
8226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8227         gettimeofday vsyscall, just use time.
8228
8229 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8230
8231         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8232         <errno.h>.
8233
8234 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8235
8236         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8237         syscall on x86-64.
8238         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8239         syscall.
8240         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8241         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8242         syscall if possible.
8243
8244 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8245
8246         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8247         e_ident.  Don't pass to find_mapsXX.
8248         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8249
8250 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8251
8252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8253         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8254         * sysdeps/x86_64/multiarch/strchr.S: Update.
8255         Check bit_slow_BSF bit.
8256         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8257         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8258         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8259
8260 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8261
8262         [BZ #13134]
8263         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8264         before glibc 2.15.
8265         (tryshell): Define.
8266         (__spawni): Change last parameter to be flag.  Test
8267         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8268         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8269         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8270         * posix/spawni.c: Likewise.
8271         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8272         * posix/spawnp.c: Likewise.  Change normal version to use
8273         SPAWN_XFLAGS_USE_PATH.
8274         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8275         SPAWN_XFLAGS_TRY_SHELL.
8276
8277         [BZ #13150]
8278         * posix/glob.h: Remove gcc 1.x support.
8279
8280         [BZ #13068]
8281         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8282
8283 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8284
8285         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8286         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8287         strrchr-sse2-bsf
8288         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8289         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8290         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8291         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8292         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8294
8295 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8296
8297         * sysdeps/x86_64/wcscmp.S: New file.
8298
8299         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8300         wcscmp-c wcscmp-sse2
8301         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8302         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8303         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8304         * wcsmbs/wcscmp.c: Allow renaming.
8305
8306 2011-09-05  David S. Miller  <davem@davemloft.net>
8307
8308         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8309         stack slot, rather than the struct return pointer slot.
8310         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8311         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8313         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8314
8315 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8316
8317         * po/ja.po: Update from translation team.
8318
8319         [BZ #13144]
8320         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8321         kernel in 64-bit binaries.
8322
8323 2011-09-01  David S. Miller  <davem@davemloft.net>
8324
8325         * elf/elf.h (HWCAP_SPARC_*): Move to..
8326         * sysdeps/sparc/sysdep.h: this new file and add new values.
8327         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8328         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8329         _DL_HWCAP_COUNT to 24.
8330         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8331         entries.
8332         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8333         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8334         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8335         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8336         instead of magic constants.
8337         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8338
8339 2011-08-31  David S. Miller  <davem@davemloft.net>
8340
8341         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8343         Reimplement to do errno handling inline.
8344         (SYSCALL_ERROR_HANDLER): New macro.
8345         (__SYSCALL_STRING): Do not do errno handling in asm.
8346         (__CLONE_SYSCALL_STRING): Delete.
8347         (__INTERNAL_SYSCALL_STRING): Delete.
8348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8349         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8350         (PSEUDO): Reimplement to do errno handling inline.
8351         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8352         (SYSCALL_ERROR_HANDLER): New macro.
8353         (__SYSCALL_STRING): Do not do errno handling in asm.
8354         (__CLONE_SYSCALL_STRING): Delete.
8355         (__INTERNAL_SYSCALL_STRING): Delete.
8356         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8357         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8358         i386.
8359         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8360         (inline_syscall*): Add 'err' argument.
8361         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8362         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8363         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8364         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8365
8366         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8367         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8368
8369 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8370
8371         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8372
8373 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8374
8375         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8376         directive.
8377
8378 2011-08-24  David S. Miller  <davem@davemloft.net>
8379
8380         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8381
8382 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8383
8384         * elf/Makefile: Add rules to build and run unload8 test.
8385         * elf/unload8.c: New file.
8386         * elf/unload8mod1.c: New file.
8387         * elf/unload8mod1x.c: New file.
8388         * elf/unload8mod2.c: New file.
8389         * elf/unload8mod3.c: New file.
8390
8391         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8392         it wasn't used.
8393
8394 2011-08-23  David S. Miller  <davem@davemloft.net>
8395
8396         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8397         subtract stack bias.
8398         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8399         %sp not %fp in calculations.
8400         (_JMPBUF_UNWINDS_ADJ): Likewise.
8401
8402         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8403         (aio_suspend): Call it to force an exception region around the
8404         AIO_MISC_WAIT() invocation.
8405
8406 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8407
8408         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8409         backslash.
8410
8411 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8412
8413         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8414         protection macro.
8415         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8416         and <dl-machine.h>.
8417         (Elf64_FuncDesc): Remove.
8418
8419 2011-08-22  David S. Miller  <davem@davemloft.net>
8420
8421         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8422         sigaltstack check, add missing cfi directives.
8423         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8424         missing cfi directives, and sigaltstack handling.
8425
8426 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8427
8428         [BZ #11724]
8429         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8430         object is seen twice.
8431         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8432
8433         * elf/Makefile (distribute): Add tst-initorder2.c.
8434         (tests): Add tst-initorder2.
8435         (modules-names): Add tst-initorder2a tst-initorder2b
8436         tst-initorder2c tst-initorder2d.  Add rules to build them.
8437         ($(objpfx)tst-initorder2.out): New rule.
8438         * elf/tst-initorder2.c: New file.
8439         * elf/tst-initorder2.exp: New file.
8440
8441 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8442
8443         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8444
8445         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8446         dependencies back to end of function.
8447
8448         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8449         $(elfobjdir)/ld.so.
8450
8451 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8452
8453         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8454         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8455         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8456         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8457         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8458         of __vdso_gettimeofday.
8459         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8460         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8461         attribute_hidden.
8462         (_libc_vdso_platform_setup): Remove initialization of
8463         __vdso_gettimeofday and __vdso_time.
8464
8465 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8466
8467         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8468         and fgetc_unlocked.
8469         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8470         getc_unlocked.
8471
8472         * elf/dl-open.c (add_to_global): Report additions to the global scope
8473         for LD_DEBUG=scopes.
8474         (dl_open_worker): Also print scope of newly loaded dependencies.
8475         (_dl_show_scope): Indicate if there is no scope.
8476
8477         [BZ #13114]
8478         * stdio-common/Makefile (tests): Add bug24.
8479         * stdio-common/bug24.c: New file.
8480
8481 2011-08-19  Andreas Jaeger  <aj@suse.de>
8482
8483         [BZ #13114]
8484         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8485         non-existant file when using close-on-exec mode.
8486
8487 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8488
8489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8490         the very first instruction.
8491
8492         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8493         the CFI state in the end.
8494         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8495         inclusion of dl-trampoline.h.
8496         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8497
8498 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8499
8500         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8501         expectations for long double.
8502
8503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8504         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8505
8506 2011-08-14  David S. Miller  <davem@davemloft.net>
8507
8508         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8509         artificual limit depends upon the system page size.
8510
8511 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8512
8513         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8514         * resolv/Makefile: Define CFLAGS-libresolv.
8515
8516 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8517
8518         * nss/makedb.c (compute_tables): Make variables used in nested
8519         function static.
8520
8521 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8522
8523         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8524         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8525         if buffer was too small.
8526
8527         * elf/pldd.c (main): Attach to all threads in the process.
8528         Rewrite /proc handling to use *at functions.
8529
8530 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8531
8532         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8533         specifies first scope to show.
8534         (dl_open_worker): Update callers.  Move printing scope of new
8535         object to before the relocation.
8536         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8537         * sysdeps/generic/ldsodefs.h: Update declaration.
8538
8539         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8540         string for the scope number.
8541
8542 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8543
8544         * nscd/servicescache.c (cache_addserv): Make sure written is always
8545         initialized.
8546
8547 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8548
8549         * sysdeps/i386/i486/bits/atomic.h
8550         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8551         statement expression, so as to suppress "set but not used" warning.
8552         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8553
8554         * string/strncat.c (STRNCAT): Use prototype definition.
8555
8556         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8557         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8558         -Iprograms here.
8559         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8560         (localedef-modules): Add localedef.
8561         (locale-modules): Add locale.
8562
8563         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8564         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8565         to avoid a warning.
8566
8567 2011-08-14  David S. Miller  <davem@davemloft.net>
8568
8569         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8570         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8571
8572 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8573
8574         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8575         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8576         * elf/rtld.c (dl_main): Set l_name of vDSO.
8577         Call _dl_show_scope when DL_DEBUG_SCOPES.
8578         (process_dl_debug): Recognize scopes flag and also set it for all.
8579         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8580         Declare _dl_show_scope.
8581
8582         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8583         (do_dlopen): Pass caller_dlopen to dl_open.
8584         (__libc_dlopen_mode): Initialize caller_dlopen.
8585
8586         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8587         of libc.  Make tolower call locale-independent.  Optimize a bit by
8588         using isdigit instead of isalnum.
8589         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8590
8591 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8592
8593         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8594         was a dependency or dynamically loaded.
8595
8596 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8597
8598         * intl/l10nflist.c: Allow architecture-specific pop function.
8599         * sysdeps/x86_64/l10nflist.c: New file.
8600
8601         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8602         classification.
8603
8604 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8605
8606         * include/dirent.h: Add libc_hidden_proto for scandirat and
8607         scandirat64.  Don't declare __scandirat64.
8608         * dirent/scandirat.c: Add libc_hidden_def.
8609         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8610         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8611
8612 2011-08-10  David S. Miller  <davem@davemloft.net>
8613
8614         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8615         enum.
8616         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8617         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8618         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8619
8620 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8621
8622         * Versions.def [libc]: Add GLIBC_2.15.
8623         * dirent/Makefile (routines): Add scandirat and scandirat64.
8624         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8625         GLIBC_2.15.
8626         * dirent/dirent.h: Declare scandirat and scandirat64.
8627         * dirent/scandirat.c: New file.
8628         * dirent/scandirat64.c: New file.
8629         * sysdeps/wordsize-64/scandirat.c: New file.
8630         * sysdeps/wordsize-64/scandirat64.c: New file.
8631         * dirent/opendir.c: Define opendirat.
8632         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8633         using scandirat.
8634         * dirent/scandir64.c: Adjust for scandir.c change.
8635         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8636         __scandirat64, and __scandir_cancel_handler.
8637         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8638         additional parameter and use openat instead of open (outside of ld.so).
8639         Add new __opendir as wrapper around __opendirat.
8640         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8641         here without requiring old scandirat implementation.
8642
8643 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8644
8645         * dirent/scandir.c (cancel_handler): Renamed to
8646         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8647         defined.  Adjust users.
8648         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8649         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8650
8651 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8652
8653         * string/test-string.h (IMPL): Use __STRING to expand name and then
8654         stringify it.
8655
8656         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8657         of cleanups.
8658
8659 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8660
8661         * string/Makefile: Update.
8662         (strop-tests): Append strncat.
8663         * string/test-wcscmp.c: New file.
8664         New comprehensive test for wcscmp.
8665         * string/test-strcmp.c: Update.
8666         (WIDE): New define.
8667
8668 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8669
8670         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8671         line.
8672
8673 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8674
8675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8676         encoding to ACE if AI_IDN.
8677
8678 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8679
8680         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8681         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8682
8683 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8684
8685         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8686         Fix overflow bug in strncat.
8687         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8688
8689         * string/test-strncat.c: Update.
8690         Add new tests for checking overflow bugs.
8691
8692 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8693
8694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8695         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8696         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8697         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8698         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8699         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8700         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8701         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8702         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8703
8704         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8705         (USE_AS_STRCAT): Define.
8706         Add strcat and strncat support.
8707         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8708
8709 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8710
8711         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8712         __n bigger than INT_MAX+1.
8713         (__strncmp_g): Likewise.
8714
8715 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8716
8717         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8718         * libio/stido.h: Likewise.
8719
8720         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8721         (AF_NFC): Define.
8722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8723         (AF_NFC): Define.
8724
8725         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8727         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8728         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8729         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8730
8731         [BZ #13021]
8732         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8733         installed.
8734
8735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8736         typo.
8737         (_dl_x86_64_save_sse): Likewise.
8738
8739 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8740
8741         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8742         OSXSAVE.
8743         (_dl_x86_64_save_sse): Likewise.
8744
8745         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8746
8747         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8748
8749 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8750
8751         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8752         change.
8753         (_dl_x86_64_save_sse): Use correct AVX check.
8754
8755 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8756
8757         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8758         bug in strncpy/strncat.
8759         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8760
8761 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8762
8763         * string/tester.c (test_strcat): Add tests for different alignments
8764         of source and destination.
8765         (test_strncat): Likewise.
8766
8767 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8768
8769         [BZ #12852]
8770         * posix/glob.c (glob): Check passed in values before using them in
8771         expressions to avoid some overflows.
8772         (glob_in_dir): Likewise.
8773
8774         [BZ #13007]
8775         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8776         check for AVX enablement so that we don't crash with old kernels and
8777         new hardware.
8778         * elf/tst-audit4.c: Add same checks here.
8779         * elf/tst-audit6.c: Likewise.
8780
8781         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8782
8783 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8784
8785         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8786
8787 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8788
8789         * po/cs.po: Update from translation team.
8790         * po/bg.po: Likewise.
8791
8792 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8793
8794         * misc/sys/cdefs.h: Add support for const attribute.
8795         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8796         to gnu_dev_{major,minor,makedev} functions.
8797
8798 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8799
8800         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8801
8802 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8803
8804         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8805         strlen results.
8806
8807 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8808
8809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8810         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8811         register in order to avoid conflicts with the soft frame pointer
8812         being held in r11 when necessary.
8813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8814         (INTERNAL_VSYSCALL_NCS): Likewise.
8815
8816 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8817
8818         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8819         * elf/dl-fini.c (_dl_fini): Adjust caller.
8820         * elf/dl-close.c (_dl_close_worker): Likewise.
8821         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8822
8823 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8824
8825         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8826         "aux_cache->nlibs < 0".
8827
8828         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8829         in the reload-count case.
8830
8831 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8832
8833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8834         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8835         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8836         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8837         * sysdeps/x86_64/multiarch/strcat.S: New file.
8838         * sysdeps/x86_64/multiarch/strncat.S: New file.
8839         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8840         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8841         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8842         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8843         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8844         (USE_AS_STRCAT): Define.
8845         Add strcat and strncat support.
8846         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8847         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8848         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8849         * string/strncat.c: Update.
8850         (USE_AS_STRNCAT): Define.
8851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8852         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8853         and i7.
8854         * sysdeps/x86_64/multiarch/init-arch.h
8855         (bit_Prefer_PMINUB_for_stringop): New.
8856         (index_Prefer_PMINUB_for_stringop): Likewise.
8857         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8858         bit_Prefer_PMINUB_for_stringop.
8859
8860 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8861
8862         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8863         buffer64.
8864         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8865         of casting of buffer.
8866         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8867         buffer32 and buffer64.
8868         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8869         writes instead of casting of buffer.
8870         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8871         buffer32.
8872         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8873         casting of buffer.
8874
8875 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8876
8877         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8878
8879 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8880
8881         * nscd/nscd.c (termination_handler): Don't do anything for a database
8882         if it has not yet been initialized.
8883
8884 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8885
8886         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8887
8888 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8889
8890         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8891
8892 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8893
8894         * po/nl.po: Update from translation team.
8895         * po/sv.po: Likewise.
8896
8897 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8898
8899         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8900         now disallowed by GCC.
8901
8902         * configure.in (use-default-link): Default to yes if a test -shared
8903         link meets our qualifications.
8904         * configure: Regenerated.
8905
8906         * config.make.in (output-format): New variable.
8907         * configure.in: Check for ld --print-output-format support.
8908         * configure: Regenerated.
8909         * Makerules ($(common-objpfx)format.lds)
8910         [$(output-format) != unknown]: Just use $(output-format),
8911         instead of the linker-script munging.
8912
8913 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8914
8915         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8916         of $(common-objpfx)shlib.lds.
8917         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8918
8919         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8920         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8921
8922         * configure.in (-z relro check): Adjust test code to add a large
8923         writable data section after it.
8924         * configure: Regenerated.
8925
8926 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8927
8928         * configure.in (-z relro check): Fix test code to make the variable
8929         truly const.
8930         * configure: Regenerated.
8931
8932 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8933
8934         * nscd/nscd.h (struct traced_file): Define.
8935         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8936         elements.  Add traced_files.
8937         (inotify_fd): Declare.
8938         (register_traced_file): Declare.
8939         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8940         (inotify_fd): Export.
8941         (resolv_conf_descr): Remove.
8942         (nscd_init): Move inotify descriptor creation to main.
8943         Don't register files for notification here.
8944         (register_traced_file): New function.
8945         (invalidate_cache): Don't use reset_res to determine whether to call
8946         res_init, go through the list of registered files.
8947         (main_loop_poll): The inotify descriptors are now stored in the
8948         structures for the traced files.
8949         (main_loop_epoll): Likewise
8950         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8951         to __nss_disable_nscd.
8952         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8953         for a database anymore.  Check the records for all the registered
8954         files instead.
8955         * nss/Makefile (libnss_files-routines): Add files-init.
8956         (libnss_db-routines): Add db-init.
8957         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8958         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8959         * nss/nss_db/db-init.c: New file.
8960         * nss/nss_files/files-init.c: New file.
8961         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8962         __nss_lookup_function.
8963         (__nss_lookup_function): Call nss_load_library.
8964         (nss_load_all_libraries): New function.
8965         (__nss_disable_nscd): Take parameter with callback function for files
8966         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8967         used for the cached services.
8968         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8969         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8970         options for features to all the files in nscd.
8971
8972         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8973
8974 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8975
8976         * csu/elf-init.c (__libc_csu_init): Comment typo.
8977
8978 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8979
8980         * po/pl.po: Update from translation team.
8981         * po/ja.po: Likewise.
8982         * po/ru.po: Likewise.
8983         * po/ko.po: Likewise.
8984         * po/fr.po: Likewise.
8985
8986 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8987
8988         * configure.in (.ctors/.dtors header and trailer check):
8989         Use an empirical test on a built program.
8990         * configure: Regenerated.
8991
8992         * configure.in (-z relro check): Use an empirical test on a built DSO.
8993         Detect, but do not require, on ia64.
8994         * configure: Regenerated.
8995
8996         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8997         Update tests that use readelf to use $READELF instead.
8998         * configure: Regenerated.
8999
9000 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
9001
9002         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9003         if the result is not used.
9004
9005 2011-07-05  Andreas Jaeger  <aj@suse.de>
9006
9007         [BZ#9696]
9008         * stdlib/tst-strtod.c: Add testcase.
9009
9010 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
9011
9012         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9013         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9014         The latter has a higher limit.  Take additional parameter to pass to
9015         the new function.
9016         (__pathconf): Pass file to __statfs_link_max.
9017         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9018         __statfs_link_max.
9019         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9020         __statfs_link_max.
9021
9022         [BZ #12868]
9023         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9024         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9025         Handle Lustre.
9026         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9027         (__statfs_filesize_max): Likewise.
9028         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9029
9030 2011-07-05  Andreas Jaeger  <aj@suse.de>
9031
9032         * resolv/res_comp.c (dn_skipname): Remove unused variable.
9033
9034 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9035
9036         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9037         `status' variable.
9038         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9039         Likewise.
9040
9041 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9042
9043         * Makefile (strop-tests): Add strncat.
9044         * string/test-strncat.c: New file.
9045
9046 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9047
9048         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9049
9050 2011-06-21  Andreas Jaeger  <aj@suse.de>
9051
9052         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9053         Copy rule from iconvdata/Makefile.
9054
9055 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9056
9057         [BZ #12922]
9058         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9059         but no long options are defined, just return 'W'.
9060
9061 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9062
9063         [BZ #9696]
9064         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9065
9066 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9067
9068         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9069         netgroups to read.
9070         (innetgr): Likewise.
9071
9072 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9073
9074         * config.make.in (install_root): Default to $(DESTDIR).
9075
9076 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9077
9078         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9079
9080 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9081
9082         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9083
9084         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9085         containing directory rather than embedding absolute directory names.
9086
9087         * scripts/check-local-headers.sh: Rewritten using awk.
9088         Match by word, not by line.  Print error messages for matches.
9089         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9090
9091         * Makerules [shlib-lds-flags empty]:
9092         ($(common-objpfx)libc_pic.opts): New target.
9093         ($(common-objpfx)libc_pic.os.clean): New target.
9094         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9095
9096         * config.make.in (OBJCOPY): New variable.
9097         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9098         * configure: Regenerated.
9099
9100         * config.make.in (use-default-link): New variable.
9101         * configure.in (use_default_link): Grok --with-default-link to set it.
9102         * configure: Regenerated.
9103         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9104         (shlib-lds, shlib-lds-flags): Define to empty.
9105
9106         * Makerules (shlib-lds): New variable.
9107         (shlib-lds-flags): New variable.
9108         (build-shlib, build-moduile, build-module-asneeded): Use it.
9109         ($(common-objpfx)libc.so): Use $(shlib-lds).
9110         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9111         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9112
9113         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9114         DT_FLAGS/DT_FLAGS_1 with zero flags.
9115
9116         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9117         linker script munging.
9118
9119 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9120
9121         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9122         as 128-bit value.
9123         * crypt/sha512.c (sha512_process_block): Perform total addition using
9124         128-bit if possible.
9125         (__sha512_finish_ctx): Likewise.
9126         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9127         as 64-bit value.
9128         * crypt/sha256.c (SWAP64): Define.
9129         (sha256_process_block): Perform total addition using 64-bit if
9130         possible.
9131         (__sha256_finish_ctx): Likewise.
9132
9133 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9134
9135         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9136         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9137         * nscd/hstcache.c (cache_addhst): Likewise.
9138         * nscd/grpcache.c (cache_addgr): Likewise.
9139         * nscd/aicache.c (addhstaiX): Likewise
9140         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9141
9142 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9143
9144         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9146         * nscd/hstcache.c (cache_addhst): Likewise.
9147         * nscd/grpcache.c (cache_addgr): Likewise.
9148         * nscd/aicache.c (addhstaiX): Likewise
9149
9150 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9151
9152         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9153         domain only when needed.
9154
9155 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9156
9157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9158         is always restored.
9159
9160 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9161
9162         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9163         are re-adding the entry.
9164         * nscd/servicescache.c (cache_addserv): Likewise.
9165
9166 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9167
9168         * sysdeps/generic/dl-irel.h: fix protection against multiple
9169         inclusions.
9170         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9171
9172 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9173
9174         [BZ #12935]
9175         * malloc/memusage.sh: Fix quoting in message.
9176         * debug/xtrace.sh: Likewise.
9177
9178         * configure.in: Remove support for --experimental-malloc option, make
9179         it the default.
9180         * config.make.in: Likewise.
9181         * malloc/Makefile: Likewise.
9182
9183 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9184
9185         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9186         two-byte characters.
9187
9188 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9189
9190         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9191         AC_CACHE_CHECK invocation.
9192         * configure: Regenerated.
9193
9194         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9195
9196 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9197
9198         [BZ #12350]
9199         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9200         bit from old_res_options.
9201
9202         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9203
9204         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9205         value type for setfct.
9206
9207 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9208
9209         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9210         __gettimeofday instead of gettimeofday.
9211
9212 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9213
9214         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9215
9216 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9217
9218         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9219
9220         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9221         info.
9222
9223 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9224
9225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9226         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9227         strcpy-sse2-unaligned strncpy-sse2-unaligned
9228         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9229         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9230         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9231         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9232         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9233         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9234         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9235         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9236         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9237         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9238         (STRCPY): Support SSE2 and SSSE3 versions.
9239
9240 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9241
9242         [BZ #12874]
9243         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9244         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9245         kernels which artificially limit size of requests.
9246
9247 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9248
9249         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9250         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9251         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9252         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9253         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9254         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9255         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9256         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9257         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9259         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9260         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9261         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9262         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9263         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9265         Enable unaligned load optimization for Intel Core i3, i5 and i7
9266         processors.
9267         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9268         Define.
9269         (index_Fast_Unaligned_Load): Define.
9270         (HAS_FAST_UNALIGNED_LOAD): Define.
9271
9272 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9273
9274         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9275
9276 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9277
9278         [BZ #12907]
9279         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9280         until it is clear that the information is realy needed.
9281         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9282
9283 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9284
9285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9286
9287 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9288
9289         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9290         /sys/devices/system/cpu/online if it is usable.
9291
9292         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9293         reading the information from the /proc filesystem to once a second.
9294
9295 2011-06-21  Andreas Jaeger  <aj@suse.de>
9296
9297         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9298         NULL after inclusion of kernel headers.
9299
9300 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9301
9302         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9303         calls to internal_setent.
9304
9305         [BZ #12885]
9306         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9307         addresses using gethostbyname4_r ignore IPv4 addresses.
9308
9309         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9310         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9311
9312         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9313
9314 2011-06-20  David S. Miller  <davem@davemloft.net>
9315
9316         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9317         inclusions.
9318         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9319
9320         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9321         (elf_irel): Use it.
9322         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9323         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9324         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9325         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9326         * sysdeps/x86_64/dl-irel.h: Likewise.
9327
9328         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9329         * elf/dl-sym.c: Likewise.
9330
9331 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9332
9333         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9334         need to dereference resplen2.
9335
9336 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9337
9338         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9339
9340 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9341
9342         * Makeconfig: Define vardbdir and inst_vardbdir.
9343         * nss/Makefile: Add rules to install db-Makefile.
9344
9345         * nss/nss_db/db-XXX.c: Cleanup.
9346
9347         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9348         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9349         GLIBC_PRIVATE.
9350         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9351         * nss/makedb.c: Implement -g option to specify that value strings
9352         are generated and should not be added to table iterated over for
9353         get*ent calls.
9354         * nss/nss_db/db-initgroups.c: New file.
9355
9356         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9357         interface.
9358
9359         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9360         (internal_getgrouplist): Adjust to name change.
9361         Update use_initgroups_entry if this is not the first call.
9362         * nss/databases.def: Add initgroups entry.
9363
9364         * nss/makedb.c (compute_tables): Check result of multiple hash table
9365         sizes to minimize maximum chain length.
9366
9367 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9368
9369         * Versions.def: Add entry for libnss_db.
9370         * shlib-versions: Likewise.
9371         * nss/Makefile: Add rules to build libnss_db.
9372         * nss/Versions: Add libnss_db information.  Organize libnss_files
9373         entries better.
9374         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9375         makedb progra.  Some minor improvements to generate smaller files.
9376         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9377         here from...
9378         * nss/makedb.c: ...here.
9379         Improve database format to be smaller and require less memory at
9380         runtime.
9381         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9382         db anymore.
9383         * nss/nss_db/db-netgrp.c: Likewise.
9384         * nss/nss_db/db-open.c: Likewise.
9385         * nss/nss_files/flies-XXX.x: Adjust comments.
9386         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9387         * nss/nss_files/files-grp.c: Likewise.
9388         * nss/nss_files/files-hosts.c: Likewise.
9389         * nss/nss_files/files-network.c: Likewise.
9390         * nss/nss_files/files-proto.c: Likewise.
9391         * nss/nss_files/files-pwd.c: Likewise.
9392         * nss/nss_files/files-rpc.c: Likewise.
9393         * nss/nss_files/files-service.c: Likewise.
9394         * nss/nss_files/files-sgrp.c: Likewise.
9395         * nss/nss_files/files-spwd.c: Likewise.
9396         * nss/nss_db/db-alias.c: Removed.
9397         * nss/nss_db/dummy-db.h: Removed.
9398
9399 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9400
9401         * nss/makedb.c: Rewritten to not use database library.
9402         * nss/Makefile: Update to build new makedb program.
9403
9404 2011-06-14  Andreas Jaeger  <aj@suse.de>
9405
9406         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9407         memset declaration.
9408
9409 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9410
9411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9412         tmpbuf.
9413
9414 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9415
9416         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9417         * elf/Makefile ($(objpfx)ld.so): Likewise.
9418
9419         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9420         Don't list ld.so twice in dependencies.
9421
9422         * posix/bug-regex31.c: Include <stdlib.h>.
9423
9424         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9425
9426         * nis/nss_compat/compat-spwd.c
9427         (getspent_next_nss_netgr): Remove unused variable.
9428         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9429
9430         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9431         nonmembers" output to use the right array.
9432
9433         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9434
9435         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9436
9437         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9438         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9439         * catgets/gencat.c (read_input_file): Likewise.
9440         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9441
9442         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9443         variable definition inside #if's controlling its use.
9444
9445         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9446
9447         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9448
9449         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9450
9451         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9452         unreachable code.
9453
9454         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9455
9456         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9457         * configure: Regenerated.
9458
9459         * Makerules: Revert last change.
9460         * elf/Makefile: Likewise.
9461
9462 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9463
9464         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9465         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9466         (reloc-link): Likewise.
9467
9468 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9469
9470         * elf/Makefile: Add rules to build pldd.
9471         * elf/pldd.c: New file.
9472         * elf/pldd-xx.c: New file.
9473
9474 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9475
9476         * version.h: Update for 2.15 development version.
9477
9478 2011-06-07  David S. Miller  <davem@davemloft.net>
9479
9480         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9481         ifuncs.
9482         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9483         elf_machine_lazy_rel): Likewise.
9484         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9485         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9486         elf_machine_lazy_rel): Likewise.
9487         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9488         dl_hwcap via passed in argument.
9489         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9490         Likewise.
9491
9492 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9493
9494         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9495
9496 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9497
9498         [BZ #12849]
9499         * manual/fdl-1.1.texi: New file, verbatim from:
9500         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9501         * manual/lgpl-2.1.texi: New file, verbatim from:
9502         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9503         * manual/Makefile (licenses): New variable, list those new file names.
9504         (texis): Use it.
9505         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9506
9507         * manual/fdl.texi: File removed.
9508         * manual/lesser.texi: File removed.
9509         * manual/libc.texinfo (Copying, Documentation License):
9510         Use new @include file names, put @appendix directive before @include.
9511
9512 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9513
9514         [BZ #12841]
9515         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9516         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9517         (mq_open): Add __NTH.
9518
9519 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9520
9521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9522         Assume Intel Core i3/i5/i7 processor if AVX is available.
9523
9524 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9525
9526         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9527         typo.
9528
9529 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9530
9531         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9532         memory.  Use alloca_account.  Fix memory leak when retrying.
9533
9534 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9535
9536         * version.h (RELEASE): Bump for 2.14 release.
9537         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9538
9539         * config.make.in (RANLIB): Remove entry.
9540
9541 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9542
9543         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9544         (libc.pot): Work around missing support for .ksh extension in xgettext.
9545
9546         [BZ #12684]
9547         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9548         if both request failed.
9549         (send_dg): In case of server errors clear resplen or *resplen2.
9550
9551         [BZ #12454]
9552         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9553         when there are multiple maps.
9554         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9555         (_dl_fini): Remove test here.
9556
9557         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9558
9559 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9560
9561         [BZ #12350]
9562         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9563         bit from old_res_options.
9564         (gaih_inet): Likewise.
9565
9566         [BZ #11099]
9567         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9568         as signed.
9569
9570         * resolv/res_init.c (res_setoptions): Make the code more compact.
9571
9572         [BZ #11558]
9573         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9574         set RES_USEVC.
9575
9576         [BZ #11634]
9577         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9578
9579         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9580
9581         [BZ #11781]
9582         * malloc/malloc.h: Declare malloc hook variables as volatile.
9583
9584         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9585         in last patch.
9586
9587         [BZ #11799]
9588         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9589         raise in the comment.
9590         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9591         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9592         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9593
9594 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9595
9596         [BZ #12811]
9597         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9598         grow the buffers more if it already has to be sufficient.
9599         (build_wcs_upper_buffer): Likewise.
9600         * posix/regexec.c (check_matching): Likewise.
9601         (clean_state_log_if_needed): Likewise.
9602         (extend_buffers): Don't enlarge buffers beyond size of the input
9603         buffer.
9604         Patches mostly by Emil Wojak <emil@wojak.eu>.
9605         * posix/bug-regex32.c: New file.
9606         * posix/Makefile (tests): Add bug-regex32.
9607
9608         * locale/findlocale.c (_nl_find_locale): Return right away if
9609         _nl_explode_name failed.
9610         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9611
9612         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9613
9614         * debug/xtrace.sh: Unify messages.
9615         * malloc/memusage.sh: Likewise.
9616
9617         [BZ #12813]
9618         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9619         time symbol from vDSO.  Substitute with vsyscall if not available.
9620         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9621         __vdso_time.
9622
9623         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9624         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9625         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9626         Add sendmmsg and internal_sendmmsg.
9627         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9628         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9629         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9630
9631         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9632         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9633         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9634
9635 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9636
9637         [BZ #12813]
9638         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9639         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9640         available.
9641         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9642         __vdso_getcpu.
9643
9644         [BZ #12814]
9645         * iconvdata/Makefile (tests): Add bug-iconv9.
9646         * iconvdata/bug-iconv9.c: New file.
9647
9648 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9649
9650         [BZ #12814]
9651         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9652
9653 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9654
9655         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9656         (struct user_regs_struct): Change intcs field back to cs.
9657
9658 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9659
9660         * po/ja.po: Update from translation team.
9661
9662 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9663
9664         [BZ #12795]
9665         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9666         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9667
9668 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9669
9670         * stdlib/longlong.h: Update from GCC.
9671
9672 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9673
9674         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9675         parameter name.
9676         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9677         Add parameter name.
9678         (__sysconf): Pass it down.
9679
9680 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9681
9682         [BZ #12671]
9683         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9684         some situations.
9685         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9686         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9687         add in in __libc_use_alloca calls.  Adjust callers.
9688         (glob): Use malloc in some situations.
9689
9690         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9691         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9692         pltexit.
9693
9694 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9695
9696         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9697         and CLOCK_BOOTTIME_ALARM.
9698
9699         [BZ #12782]
9700         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9701         is returned.
9702
9703         * string/_strerror.c (__strerror_r): Print negative errors as signed
9704         numbers.
9705
9706         [BZ #12777]
9707         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9708         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9709         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9710
9711         * configure.in: Fix typo in redirection and correct removal of test
9712         files in two cases.
9713
9714         [BZ #12788]
9715         * locale/setlocale.c (new_composite_name): Fix test to check for
9716         identical name of all categories.
9717
9718         [BZ #12792]
9719         * libio/filedoalloc.c (local_isatty): New function.
9720         (_IO_file_doallocate): Use local_isatty.
9721         * stdio-common/perror.c (perror): In case a new stream is used
9722         forward the stream error.
9723         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9724         error flag.
9725
9726 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9727
9728         [BZ #11869]
9729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9730         alloca.
9731         * include/alloca.h (extend_alloca_account): Define.
9732
9733         [BZ #11857]
9734         * posix/regex.h: Fix comments with documentation of user-accessible
9735         fields after compilation and describe correct free'ing of pattern
9736         after re_compile_pattern.
9737         Patch by Reuben Thomas <rrt@sc3d.org>.
9738
9739 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9740
9741         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9742         and -mno-altivec to prevent the compiler from using Altivec and/or
9743         VSX instructions when the corresponding registers are not available.
9744
9745 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9746
9747         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9748
9749 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9750
9751         * libio/freopen.c (freopen): Use __dup2, not dup2.
9752         * libio/freopen64.c (freopen64): Likewise.
9753
9754 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9755
9756         [BZ #12775]
9757         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9758         * math/Makefile (tests): Add test-powl.
9759         (CFLAGS-test-powl.c): Define.
9760         * math/test-powl.c: New file.
9761
9762 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9763
9764         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9765
9766 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9767
9768         [BZ #11837]
9769         * iconvdata/gb18030.c: Update to GB18020-2005.
9770
9771 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9772
9773         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9774         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9775         Patch by Aharon Robbins <arnold@skeeve.com>.
9776
9777         [BZ #11892]
9778         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9779         on the stack.
9780
9781         [BZ #11895]
9782         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9783         through underflows.
9784
9785         [BZ #12766]
9786         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9787         point to strings before performing equality test for error_one_per_line
9788         mode.
9789
9790         [BZ #11697]
9791         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9792
9793         [BZ #11820]
9794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9795         (struct user_fpregs_struct): Avoid __uint*_t types.
9796
9797         [BZ #6420]
9798         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9799         symbol info.  Use it instead of calling _dl_addr locally.
9800         (lock_and_info): New function.
9801         (tr_freehook): Call lock_and_info and pass symbol info as additional
9802         parameter to tr_where.
9803         (tr_mallochook): Likewise.
9804         (tr_reallochook): Likewise.
9805         (tr_memalignhook): Likewise.
9806
9807         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9808         used and couldn't be at all thread-safe.
9809
9810 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9811
9812         * libio/freopen.c (freopen): Don't close old file descriptor
9813         before the new one is opened.  Instead dup the new file descriptor
9814         to the old one after the new stream is created.
9815         * libio/freopen64.c (freopen64): Likewise.
9816         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9817         * libio/fileops.c (_IO_new_file_close_it): Handle new
9818         _IO_FLAGS2_NOCLOSE flag.
9819         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9820         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9821         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9822         _IO_FLAGS2_NOCLOSE flag.
9823         * include/unistd.h: Add hidden_proto for dup3.
9824         Define __have_dup3.
9825         * io/dup3.c: Define hidden symbol.
9826         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9827
9828         [BZ #7101]
9829         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9830         when an incomplete long option is used.
9831         * posix/tst-getopt_long1.c: New file.
9832         * posix/Makefile (tests): Add tst-getopt_long1.
9833
9834         [BZ #10138]
9835         * scripts/config.guess: Update from autoconf-2.68.
9836         * scripts/config.sub: Likewise.
9837
9838         [BZ #10157]
9839         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9840         tests into ...
9841         (has_cpuclock): ...this.  New function.
9842         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9843         macro here based on has_cpuclock code.
9844
9845         [BZ #10149]
9846         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9847         First byte (not low byte) is now always NUL.
9848         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9849
9850         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9851         Use non-cancelable interfaces.
9852
9853         [BZ #9809]
9854         * locale/iso-639.def: Add entry for Sorani.
9855
9856         [BZ #11901]
9857         * include/stdlib.h: Move include protection to the right place.
9858         Define abort_msg_s.  Declare __abort_msg with it.
9859         * stdlib/abort.c (__abort_msg): Adjust type.
9860         * assert/assert.c (__assert_fail_base): New function.  Majority
9861         of code from __assert_fail.  Allocate memory for __abort_msg with
9862         mmap.
9863         (__assert_fail): Now call __assert_fail_base.
9864         * assert/assert-perr.c: Remove bulk of implementation.  Use
9865         __assert_fail_base.
9866         * include/assert.hL Declare __assert_fail_base.
9867         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9868         mmap.
9869         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9870
9871 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9872
9873         [BZ #11952]
9874         [BZ #12453]
9875         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9876         until all modules are registered in the DTV.
9877         * elf/Makefile: Add rules to build and run tst-tls19.
9878         * elf/tst-tls19.c: New file.
9879         * elf/tst-tls19mod1.c: New file.
9880         * elf/tst-tls19mod2.c: New file.
9881         * elf/tst-tls19mod3.c: New file.
9882         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9883
9884         [BZ #12083]
9885         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9886         correctly.
9887
9888         [BZ #12601]
9889         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9890         two-byte sequence errors.
9891         * iconvdata/Makefile (tests): Add bug-iconv8.
9892         * iconvdata/bug-iconv8.c: New file.
9893
9894         [BZ #12626]
9895         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9896         buf2 definition.
9897
9898         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9899
9900         [BZ #12432]
9901         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9902         (dummy_getcfa): New function.
9903         (init): Get _Unwind_GetCFA address, use dummy if not found.
9904         (backtrace_helper): In recursion check, also check whether CFA changes.
9905         (__backtrace): Completely initialize arg.
9906
9907         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9908         storing incomplete byte sequence in state object.  Avoid testing for
9909         guaranteed too small input if we know there is enough data available.
9910
9911 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9912
9913         * Makeconfig (+link-pie): Indent.
9914         * Rules (binaries-pie): Define if $(have-fpie) and
9915         $(build-shared).
9916         (binaries-shared): Also filter out $(binaries-pie).
9917         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9918         * nscd/Makefile (others-pie): Add nscd.
9919         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9920         ($(objpfx)nscd): Remove command override.
9921         * login/Makefile (others-pie): Add pt_chown.
9922         ($(objpfx)pt_chown): Remove command override.
9923         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9924         remove command overrides.
9925
9926 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9927
9928         * libio/tst_putwc.c: Fix error messages.
9929
9930         [BZ #12724]
9931         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9932         currently writing and seek to current position when not.
9933         * libio/Makefile (tests): Add bug-fclose1.
9934         * libio/bug-fclose1.c: New file.
9935
9936 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9937
9938         [BZ #12511]
9939         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9940         don't set DF_1_NODELETE here.
9941         (do_lookup_x): When entering new entry test for copy relocation
9942         and if necessary set DF_1_NODELETE flag.
9943         * elf/tst-unique4.cc: New file.
9944         * elf/tst-unique4.h: New file.
9945         * elf/tst-unique4lib.cc: New file.
9946         * elf/Makefile: Add rules to build and run tst-unique4.
9947         Patch by Piotr Bury <pbury@goahead.com>.
9948
9949 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9950
9951         [BZ #12052]
9952         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9953
9954         [BZ #12625]
9955         * misc/mntent_r.c (addmntent): Flush the stream after the output
9956
9957         [BZ #12393]
9958         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9959         (is_trusted_path_normalize): Skip initial colon.  Append slash
9960         to empty buffer.  Duplicate is_trusted_path code but allow
9961         constructed patch to be prefix.
9962         (is_dst): Allow $ORIGIN followed by /.
9963         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9964         Correct testing of result of is_trusted_path_normalize
9965         (decompose_rpath): Fix warning.
9966
9967 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9968
9969         [BZ #11257]
9970         * grp/initgroups.c (internal_getgrouplist): When we found the service
9971         list through the initgroups entry in nsswitch.conf do not always
9972         continue on a successful lookup.  Don't always use the
9973         __nss_group_database value if it is set.
9974         * nss/nsswitch.conf (initgroups): Change action for successful db
9975         lookup to continue for compatibility.
9976
9977 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9978
9979         [BZ #11532]
9980         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9981         and CP774 modules.
9982         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9983         and CP774 modules.
9984         * iconvdata/tst-tables.sh: Likewise.
9985         * iconvdata/cp770.c: New file.
9986         * iconvdata/cp771.c: New file.
9987         * iconvdata/cp772.c: New file.
9988         * iconvdata/cp773.c: New file.
9989         * iconvdata/cp774.c: New file.
9990         * iconvdata/testdata/CP770: New file.
9991         * iconvdata/testdata/CP770..UTF8: New file.
9992         * iconvdata/testdata/CP771: New file.
9993         * iconvdata/testdata/CP771..UTF8: New file.
9994         * iconvdata/testdata/CP772: New file.
9995         * iconvdata/testdata/CP772..UTF8: New file.
9996         * iconvdata/testdata/CP773: New file.
9997         * iconvdata/testdata/CP773..UTF8: New file.
9998         * iconvdata/testdata/CP774: New file.
9999         * iconvdata/testdata/CP774..UTF8: New file.
10000
10001         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10002         END CHARMAP line.
10003         * iconvdata/gen-8bit-gap.sh: Likewise.
10004         * iconvdata/gen-8bit.sh: Likewise.
10005
10006         * locale/iso-639.def: Add ary entry.
10007
10008         [BZ #11258]
10009         * locale/C-translit.h.in: Add U20A1 transliteration.
10010
10011         [BZ #12178]
10012         * locale/iso-639.def: Add wae entry.
10013         Patch by Kevin Bortis <bortis@translate-wae.ch>.
10014
10015         [BZ #12545]
10016         * locale/programs/localedef.c (construct_output_path): Use ssize_t
10017         for n.
10018
10019         [BZ #12711]
10020         * locale/C-translit.h.in: Add entry for U20B9.
10021         Patch by pravin.d.s@gmail.com.
10022
10023 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
10024
10025         [BZ #12713]
10026         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10027         ENAMETOOLONG use generic getcwd.
10028         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
10029         in rtld.  Use *stat64.
10030         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10031         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10032         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10033         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10034         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10035         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10036         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10037         __fstatat64 macros.
10038         * include/dirent.h: Add libc_hidden_proto for rewinddir.
10039         * dirent/rewinddir.c: Add libc_hidden_def.
10040         * sysdeps/mach/hurd/rewinddir.c: Likewise.
10041         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
10042
10043         * include/dirent.h (__alloc_dir): Add flags parameter.
10044         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10045         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10046         __alloc_dir.
10047         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10048         from fdopendir if O_CLOEXEC is already set.
10049
10050 2011-03-15  Alan Modra  <amodra@gmail.com>
10051
10052         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10053         l_tls_firstbyte_offset non-zero.  Save padding offset in
10054         l_tls_firstbyte_offset for later use.
10055         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10056         freeing static tls block.
10057
10058 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10059
10060         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10061         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10062         being defined by the kernel headers.
10063
10064 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10065
10066         [BZ #12734]
10067         * resolv/resolv.h: Define RES_NOTLDQUERY.
10068         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10069         no-tld-query and set RES_NOTLDQUERY.
10070         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10071         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10072         modern BIND to search name as TLD unless forbidden.
10073
10074 2011-05-07  Petr Baudis  <pasky@suse.cz>
10075             Ulrich Drepper  <drepper@gmail.com>
10076
10077         [BZ #12393]
10078         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10079         (is_trusted_path): ...to here.
10080         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10081         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10082         using is_trusted_path_normalize() in setuid scripts.
10083
10084 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10085
10086         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10087         __BEGIN/__END_DECLS.
10088
10089 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10090
10091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10092         NSS_STATUS_NOTFOUND if no record was found.
10093
10094 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10095
10096         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10097         (headers-not-in-tirpc): Remove rpc/netdb.h
10098         * resolv/netdb.h: Revert last change.
10099
10100 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10101
10102         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10103         circular dependency between libgcc.a and libc.a.
10104
10105 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10106
10107         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10108         * nis/Makefile: Don't install rpcsvc/*.
10109         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10110         instead of <rpc/types.h>.
10111         (MAXHOSTNAMELEN): Define.
10112
10113 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10114
10115         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10116
10117 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10118
10119         [BZ #12714]
10120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10121         gethostbyname4_r when IPv6 results are possible.
10122
10123 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10124
10125         [BZ #12723]
10126         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10127         _PC_PIPE_BUF handling.
10128
10129 2011-04-30  Bruno Haible  <bruno@clisp.org>
10130
10131         [BZ #12717]
10132         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10133         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10134         to 'int'.
10135         * inet/getnameinfo.c (getnameinfo): Likewise.
10136
10137 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10138
10139         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10140         to groups setting in database lookup.
10141         * nss/nsswitch.conf: Add initgroups entry.
10142
10143 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10144
10145         [BZ #12685]
10146         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10147         mode string.
10148         Patch by Eric Blake <eblake@redhat.com>.
10149
10150 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10151
10152         * sunrpc/Makefile (need-export-routines): Add svc_run.
10153         (routines): Remove svc_run.
10154         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10155         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10156         * sunrpc/svc_run.c (svc_run): Likewise.
10157         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10158
10159 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10160
10161         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10162         problem in reallocation in last patch.
10163
10164 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10165
10166         * sunrpc/Makefile: Move inclusion of Rules.
10167
10168 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10169
10170         * nss/nss_files/files-initgroups.c: New file.
10171         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10172         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10173         _nss_files_initgroups_dyn.
10174
10175 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10176
10177         * elf/elf.h (R_ARM_IRELATIVE): Define.
10178
10179 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10180
10181         * po/ru.po: Update from translation team.
10182
10183 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10184
10185         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10186         dependencies.
10187
10188 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10189
10190         [BZ #12653]
10191         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10192         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10193         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10194         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10195         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10196
10197 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10198
10199         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10200         differing bytes.
10201         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10202         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10203         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10204
10205 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10206
10207         [BZ #12420]
10208         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10209         storing it.
10210         * stdlib/bug-getcontext.c: New file.
10211         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10212
10213 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10214
10215         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10216         instructions into .machine "z9-109".
10217         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10218         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10219
10220 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10221
10222         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10223         between environment variables and auxiliary vector.
10224
10225 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10226
10227         * Makefile: Add rules to build linkobj/libc.so.
10228         * include/libc-symbols.h: Define libc_hidden_nolink.
10229         * include/rpc/auth.h: Mark functions which are to be hidden.
10230         * include/rpc/auth_des.h: Likewise.
10231         * include/rpc/auth_unix.h: Likewise.
10232         * include/rpc/clnt.h: Likewise.
10233         * include/rpc/des_crypt.h: Likewise.
10234         * include/rpc/key_prot.h: Likewise.
10235         * include/rpc/pmap_clnt.h: Likewise.
10236         * include/rpc/pmap_prot.h: Likewise.
10237         * include/rpc/pmap_rmt.h: Likewise.
10238         * include/rpc/rpc_msg.h: Likewise.
10239         * include/rpc/svc.h: Likewise.
10240         * include/rpc/svc_auth.h: Likewise.
10241         * include/rpc/xdr.h: Likewise.
10242         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10243         * nss/Makefile: Likewise.
10244         * sunrpc/Makefile: Don't install headers.  Build library with normal
10245         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10246         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10247         for the compat linking library.  Remove use of INTDEF/INTUSE.
10248         * sunrpc/auth_none.c: Likewise.
10249         * sunrpc/auth_unix.c: Likewise.
10250         * sunrpc/authdes_prot.c: Likewise.
10251         * sunrpc/authuxprot.c: Likewise.
10252         * sunrpc/clnt_gen.c: Likewise.
10253         * sunrpc/clnt_perr.c: Likewise.
10254         * sunrpc/clnt_raw.c: Likewise.
10255         * sunrpc/clnt_simp.c: Likewise.
10256         * sunrpc/clnt_tcp.c: Likewise.
10257         * sunrpc/clnt_udp.c: Likewise.
10258         * sunrpc/clnt_unix.c: Likewise.
10259         * sunrpc/des_crypt.c: Likewise.
10260         * sunrpc/des_soft.c: Likewise.
10261         * sunrpc/get_myaddr.c: Likewise.
10262         * sunrpc/key_call.c: Likewise.
10263         * sunrpc/key_prot.c: Likewise.
10264         * sunrpc/netname.c: Likewise.
10265         * sunrpc/pm_getmaps.c: Likewise.
10266         * sunrpc/pm_getport.c: Likewise.
10267         * sunrpc/pmap_clnt.c: Likewise.
10268         * sunrpc/pmap_prot.c: Likewise.
10269         * sunrpc/pmap_prot2.c: Likewise.
10270         * sunrpc/pmap_rmt.c: Likewise.
10271         * sunrpc/publickey.c: Likewise.
10272         * sunrpc/rpc_cmsg.c: Likewise.
10273         * sunrpc/rpc_common.c: Likewise.
10274         * sunrpc/rpc_dtable.c: Likewise.
10275         * sunrpc/rpc_prot.c: Likewise.
10276         * sunrpc/rpc_thread.c: Likewise.
10277         * sunrpc/rtime.c: Likewise.
10278         * sunrpc/svc.c: Likewise.
10279         * sunrpc/svc_auth.c: Likewise.
10280         * sunrpc/svc_authux.c: Likewise.
10281         * sunrpc/svc_raw.c: Likewise.
10282         * sunrpc/svc_run.c: Likewise.
10283         * sunrpc/svc_simple.c: Likewise.
10284         * sunrpc/svc_tcp.c: Likewise.
10285         * sunrpc/svc_udp.c: Likewise.
10286         * sunrpc/svc_unix.c: Likewise.
10287         * sunrpc/svcauth_des.c: Likewise.
10288         * sunrpc/xcrypt.c: Likewise.
10289         * sunrpc/xdr.c: Likewise.
10290         * sunrpc/xdr_array.c: Likewise.
10291         * sunrpc/xdr_float.c: Likewise.
10292         * sunrpc/xdr_intXX_t.c: Likewise.
10293         * sunrpc/xdr_mem.c: Likewise.
10294         * sunrpc/xdr_rec.c: Likewise.
10295         * sunrpc/xdr_ref.c: Likewise.
10296         * sunrpc/xdr_sizeof.c: Likewise.
10297         * sunrpc/xdr_stdio.c: Likewise.
10298
10299 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10300
10301         [BZ #12650]
10302         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10303         * sysdeps/ia64/dl-tls.h: Likewise.
10304         * sysdeps/powerpc/dl-tls.h: Likewise.
10305         * sysdeps/s390/dl-tls.h: Likewise.
10306         * sysdeps/sh/dl-tls.h: Likewise.
10307         * sysdeps/sparc/dl-tls.h: Likewise.
10308         * sysdeps/x86_64/dl-tls.h: Likewise.
10309         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10310
10311 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10312
10313         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10314         rpath element also skip the following colon.
10315         (expand_dynamic_string_token): Add is_path parameter and pass
10316         down to DL_DST_REQUIRED and _dl_dst_substitute.
10317         (decompose_rpath): Call expand_dynamic_string_token with
10318         non-zero is_path.  Ignore empty rpaths.
10319         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10320         with zero is_path.
10321
10322 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10323
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10325         Make cancelable.
10326
10327 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10328
10329         [BZ #12655]
10330         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10331         Patch by Filipe David Manana <fdmanana@apache.org>.
10332
10333 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10334
10335         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10336         Maintain aligned stack.
10337         (CHECK_RSP): Remove unused macro.
10338
10339 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10340
10341         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10342         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10343
10344 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10345
10346         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10347
10348         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10349
10350 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10351
10352         [BZ #12518]
10353         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10354         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10355         * sysdeps/x86_64/memmove.c: New file.
10356         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10357         (memcpy): Renamed to ...
10358         (__new_memcpy): This.
10359         (memcpy): Provide GLIBC_2_14 memcpy.
10360         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10361         (memcpy): Provide GLIBC_2_2_5 memcpy.
10362
10363 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10364
10365         [BZ #12631]
10366         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10367
10368 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10369
10370         * misc/syncfs.c: New file.
10371         * misc/Makefile (routines): Add syncfs.
10372         * posix/unistd.h: Declare syncfs.
10373         * sysdeps/unix/syscalls.list: Add syncfs.
10374
10375 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10376
10377         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10378         open_by_handle_at.
10379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10380         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10382         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10384         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10385         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10386
10387 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10388
10389         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10390         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10391         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10392         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10393         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10395         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10396
10397         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10398         sync_file_range.c with -fexceptions.
10399         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10400         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10401         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10402         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10403         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10404         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10406         sync_file_range as cancellation point
10407         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10408         now a wrapper around __call_sync_file_range with cancellation handling.
10409         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10410         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10411         function name to __call_sync_file_range.
10412         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10413         Add call_sync_file_range.
10414
10415 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10416
10417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10418         bits/timex.h.
10419
10420 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10421
10422         * iconv/iconv.h: Fix typo in comment.
10423         * io/fcntl.h: Likewise.
10424         * libio/stdio.h: Likewise.
10425         * posix/spawn.h: Likewise.
10426         * posix/unistd.h: Likewise.
10427         * stdlib/stdlib.h: Likewise.
10428         * time/time.h: Likewise.
10429         * wcsmbs/wchar.h: Likewise.
10430
10431         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10432         open_by_handle): Add.
10433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10434         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10435         Augment a few comments.
10436         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10438         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10440         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10441         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10442         open_by_handle.
10443
10444         * io/fcntl.h (AT_EMPTY_PATH): Define.
10445
10446 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10447
10448         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10449         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10450         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10451         to...
10452         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10453         * Versions.def: Add GLIBC_2.14.
10454         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10455         Export.
10456
10457 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10458
10459         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10460         round counter.
10461         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10462
10463 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10464
10465         [BZ #12597]
10466         * string/test-strncmp.c (do_page_test): New function.
10467         (check2): Likewise.
10468         (test_main): Call check2.
10469         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10470
10471 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10472
10473         [BZ #12587]
10474         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10475         Handle cache information in CPU leaf 4.
10476         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10477
10478 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10479
10480         [BZ #12583]
10481         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10482         character representation.
10483         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10484
10485 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10486
10487         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10488         END(__isnan) to END(__isnanf) to match function entry point/label
10489         EALIGN(__isnanf,...).
10490
10491 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10492
10493         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10494
10495 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10496
10497         [BZ #12510]
10498         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10499         copy from the symbol referenced in the relocation to initialize the
10500         used variable.
10501         Patch by Piotr Bury <pbury@goahead.com>.
10502         * elf/Makefile: Add rules to build and tst-unique3.
10503         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10504         * elf/tst-unique3.cc: New file.
10505         * elf/tst-unique3.h: New file.
10506         * elf/tst-unique3lib.cc: New file.
10507         * elf/tst-unique3lib2.cc: New file.
10508
10509         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10510
10511 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10512
10513         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10514         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10515         to _start.
10516
10517 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10518
10519         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10520         to-be-loaded object along a path to loader is ld.so.
10521
10522 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10523             Ulrich Drepper  <drepper@gmail.com>
10524
10525         * sysdeps/x86_64/memset.S: After aligning destination, code
10526         branches to different locations depending on the value of
10527         misalignment, when multiarch is enabled. Fix this.
10528
10529 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10530
10531         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10532         Set _x86_64_preferred_memory_instruction for AMD processsors.
10533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10534         Set bit_Prefer_SSE_for_memop for AMD processors.
10535
10536 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10537
10538         * libio/fmemopen.c (fmemopen): Optimize a bit.
10539
10540 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10541
10542         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10543
10544 2011-03-03  Roland McGrath  <roland@redhat.com>
10545
10546         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10547
10548 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10549
10550         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10551         __bzero_ultra1 instead of __memset_ultra1.
10552
10553 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10554             Ulrich Drepper  <drepper@gmail.com>
10555
10556         [BZ #12509]
10557         * include/link.h (struct link_map): Add l_orig_initfini.
10558         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10559         returning unsuccessfully.
10560         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10561         close of a file loaded at startup, restore the original l_initfini
10562         list.
10563         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10564         list, store the pointer.
10565         * elf/Makefile ($(objpfx)noload-mem): New rule.
10566         (noload-ENV): Define.
10567         (tests): Add $(objpfx)noload-mem.
10568         * elf/noload.c: Include <memcheck.h>.
10569         (main): Call mtrace.  Close all opened handles.
10570
10571 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10572
10573         [BZ #12454]
10574         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10575         dependencies are missing.
10576
10577 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10578
10579         Fix __if_freereq crash: Unlike the generic version which uses free,
10580         Hurd needs munmap.
10581         * sysdeps/mach/hurd/ifreq.h: New file.
10582
10583 2011-01-27  Petr Baudis  <pasky@suse.cz>
10584             Ulrich Drepper  <drepper@gmail.com>
10585
10586         [BZ 12445]#
10587         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10588         to extend_alloca().
10589         * stdio-common/bug23.c: New file.
10590         * stdio-common/Makefile (tests): Add bug23.
10591
10592 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10593             Ulrich Drepper  <drepper@gmail.com>
10594
10595         [BZ #12489]
10596         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10597         before performing relro protection.  At old place add assertion
10598         to make sure nothing changed.
10599
10600 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10601             Glauber de Oliveira Costa  <glommer@gmail.com>
10602
10603         * elf/elf.h: Add new ARM TLS relocs.
10604
10605 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10606
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10608         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10609         cast from r3.
10610         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10611         'tests' variable.
10612         * sysdeps/wordsize-64/tst-writev.c: New file.
10613
10614 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10615
10616         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10617         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10618         insns in _dl_start to prevent a TOC reference before relocs are
10619         resolved.
10620
10621 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10622
10623         [BZ #12469]
10624         * Makeconfig: Remove RANLIB definition.
10625         * Makerules: Don't use RANLIB.
10626         * aclocal.m4: Remove ranlib test.
10627         * configure.in: No need to check for ranlib.
10628         * elf/rtld-Rules: Don't use RANLIB.
10629
10630 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10631
10632         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10633         protection macro.
10634         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10635         inclusion protection macro.
10636
10637         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10638         SIGRTMIN and SIGRTMAX and print information in that case only when
10639         SIGRTMIN is defined.
10640
10641 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10642
10643         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10644         arginfo fn returning -1.
10645
10646         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10647         and thousands string is zero terminated.
10648
10649 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10650
10651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10652         sysdeps/unix/sysv/linux/bits/socket.h.
10653
10654 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10655
10656         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10657         (__CPU_COUNT): Remove old macros.
10658         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10659         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10660         (__CPU_ALLOC, __CPU_FREE): Add macros.
10661         (__sched_cpualloc, __sched_cpufree): Add declarations.
10662
10663 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10664
10665         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10666         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10667         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10668         (readdhstai): Return value of addhstaiX call.
10669         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10670         (addgrbyX): Return value returned by cache_addgr.
10671         (readdgrbyname): Return value returned by addgrbyX.
10672         (readdgrbygid): Likewise.
10673         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10674         (addpwbyX): Return value returned by cache_addpw.
10675         (readdpwbyname): Return value returned by addhstbyX.
10676         (readdpwbyuid): Likewise.
10677         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10678         (addservbyX): Return value returned by cache_addserv.
10679         (readdservbyname): Return value returned by addservbyX:
10680         (readdservbyport): Likewise.
10681         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10682         (addhstbyX): Return value returned by cache_addhst.
10683         (readdhstbyname): Return value returned by addhstbyX.
10684         (readdhstbyaddr): Likewise.
10685         (readdhstbynamev6): Likewise.
10686         (readdhstbyaddrv6): Likewise.
10687         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10688         (readdinitgroups): Return value returned by addinitgroupsX.
10689         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10690         (prune_cache): Keep track of timeout value of re-added entries.
10691         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10692         * nscd/nscd.h: Adjust prototypes of readd* functions.
10693
10694 2011-02-04  Roland McGrath  <roland@redhat.com>
10695
10696         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10697         (nis_stats): Likewise.
10698         * nis/nis_modify.c (nis_modify): Likewise.
10699         * nis/nis_remove.c (nis_remove): Likewise.
10700         * nis/nis_add.c (nis_add): Likewise.
10701
10702         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10703
10704         * posix/fnmatch_loop.c: Add some consts.
10705
10706         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10707
10708 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10709
10710         [BZ #12460]
10711         * config.make.in (config-cflags-novzeroupper): Define.
10712         * configure.in: Substitute libc_cv_cc_novzeroupper.
10713         * elf/Makefile (AVX-CFLAGS): Define.
10714         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10715         (CFLAGS-tst-auditmod4a.c): Likewise.
10716         (CFLAGS-tst-auditmod4b.c): Likewise.
10717         (CFLAGS-tst-auditmod6b.c): Likewise.
10718         (CFLAGS-tst-auditmod6c.c): Likewise.
10719         (CFLAGS-tst-auditmod7b.c): Likewise.
10720         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10721
10722 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10723
10724         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10725         function to the callback.
10726         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10727
10728 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10729
10730         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10731         of errno.
10732
10733 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10734
10735         [BZ #11724]
10736         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10737         of constructors.
10738         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10739         of destructors.
10740         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10741
10742         [BZ #11724]
10743         * elf/Makefile: Add rules to build and run new test.
10744         * elf/tst-initorder.c: New file.
10745         * elf/tst-initorder.exp: New file.
10746         * elf/tst-initordera1.c: New file.
10747         * elf/tst-initordera2.c: New file.
10748         * elf/tst-initordera3.c: New file.
10749         * elf/tst-initordera4.c: New file.
10750         * elf/tst-initorderb1.c: New file.
10751         * elf/tst-initorderb2.c: New file.
10752         * elf/tst-order-a1.c: New file.
10753         * elf/tst-order-a2.c: New file.
10754         * elf/tst-order-a3.c: New file.
10755         * elf/tst-order-a4.c: New file.
10756         * elf/tst-order-b1.c: New file.
10757         * elf/tst-order-b2.c: New file.
10758         * elf/tst-order-main.c: New file.
10759         New test case by George Gensure <werkt0@gmail.com>.
10760
10761 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10762
10763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10764         decoding ACE if AI_CANONIDN.
10765
10766 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10767
10768         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10769
10770 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10771
10772         * version.h (RELEASE): Bump for 2.13 release.
10773         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10774
10775         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10776
10777         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10778         MADV_NOHUGEPAGE.
10779         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10781         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10782         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10783         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10784         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10785
10786         * posix/getconf.c: Update copyright year.
10787         * catgets/gencat.c: Likewise.
10788         * csu/version.c: Likewise.
10789         * debug/catchsegv.sh: Likewise.
10790         * debug/xtrace.sh: Likewise.
10791         * elf/ldconfig.c: Likewise.
10792         * elf/ldd.bash.in: Likewise.
10793         * elf/sprof.c (print_version): Likewise.
10794         * iconv/iconv_prog.c: Likewise.
10795         * iconv/iconvconfig.c: Likewise.
10796         * locale/programs/locale.c: Likewise.
10797         * locale/programs/localedef.c: Likewise.
10798         * malloc/memusage.sh: Likewise.
10799         * malloc/mtrace.pl: Likewise.
10800         * nscd/nscd.c (print_version): Likewise.
10801         * nss/getent.c: Likewise.
10802
10803         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10804         PF_CAIF, and PF_ALG.
10805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10806
10807 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10808
10809         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10810         (modules-names): Use them.
10811         (ifunc-test-modules, ifunc-pie-tests): Define.
10812         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10813         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10814         (test-extras): Likewise.
10815         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10816         $(compile-command.c).
10817         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10818         (all-built-dso): Define.
10819         (check-textrel.out, check-execstack.out): Depend on it.
10820
10821         * configure.in: Don't override --enable-multi-arch.
10822
10823 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10824
10825         [BZ #6812]
10826         * nscd/hstcache.c (tryagain): Define.
10827         (cache_addhst): Return tryagain not notfound for temporary errors.
10828         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10829         failed.
10830
10831 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10832
10833         [BZ #10563]
10834         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10835         to make the syscall.
10836         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10837
10838         [BZ #12378]
10839         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10840         and fall back to matching as normal character if the string ends before
10841         the matching ']' is found.  This is what POSIX requires.
10842         * posix/testfnm.c: Adjust test result.
10843         * posix/globtest.sh: Adjust test result.  Add new test.
10844         * posix/tst-fnmatch.input: Likewise.
10845         * posix/tst-fnmatch2.c: Add new test.
10846
10847 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10848
10849         * elf/Makefile (check-execstack): Revert last change.  Depend on
10850         check-execstack.h.
10851         (check-execstack.h): New target.
10852         (generated): Add check-execstack.h.
10853         * elf/check-execstack.c: Include "check-execstack.h".
10854         (main): Revert last change.
10855         (handle_file): Return zero if GNU_STACK is absent and
10856         DEFAULT_STACK_PERMS doesn't include PF_X.
10857
10858 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10859
10860         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10861         in child fails because the descriptor is already closed.
10862         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10863         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10864         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10865
10866         [BZ #12397]
10867         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10868         syscall.
10869
10870         [BZ #10484]
10871         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10872         temporary buffer used to handle multi lookups locally.
10873         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10874
10875 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10876
10877         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10878         loader is ld.so.
10879
10880 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10881
10882         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10883         alignment for SSE2.
10884
10885 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10886
10887         [BZ #12394]
10888         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10889         characters.  When rounding increased number of integer digits recompute
10890         number of groups.
10891         * stdio-common/tst-grouping.c: New file.
10892         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10893
10894 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10895
10896         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10897         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10898
10899         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10900         void.
10901         * bits/select.h: Likewise.
10902
10903 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10904
10905         * po/ja.po: Update from translation team.
10906
10907 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10908
10909         [BZ #11155]
10910         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10911         implementation just like for lxstat, fxstatat, et al.
10912
10913 2010-12-27  Jim Meyering  <meyering@redhat.com>
10914
10915         [BZ #12348]
10916         * posix/regexec.c (build_trtable): Return failure indication upon
10917         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10918
10919 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10920
10921         [BZ #12201]
10922         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10923         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10924         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10925         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10926
10927         [BZ #12207]
10928         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10929
10930         [BZ #12204]
10931         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10932         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10933
10934 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10935
10936         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10937         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10938         script has SORT_BY_INIT_PRIORITY.
10939         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10940         NO_CTORS_DTORS_SECTIONS is defined.
10941         * elf/soinit.c: Likewise.
10942         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10943         NO_CTORS_DTORS_SECTIONS is defined.
10944         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10945         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10946         * sysdeps/sh/init-first.c: Likewise.
10947         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10948
10949 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10950
10951         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10952         always use the slow path.
10953
10954 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10955
10956         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10957         similar rule which adds the sysdep directories to the header search in
10958         order to pick up the correct platform stackinfo.h.
10959         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10960         perform test if it is, otherwise return successfully without testing.
10961         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10962         DEFAULT_STACK_PERMS define in stackinfo.h.
10963         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10964         defined in stackinfo.h.
10965         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10966         DEFAULT_STACK_PERMS defined in stackinfo.h.
10967         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10968         * sysdeps/ia64/stackinfo.h: Likewise.
10969         * sysdeps/s390/stackinfo.h: Likewise.
10970         * sysdeps/sh/stackinfo.h: Likewise.
10971         * sysdeps/sparc/stackinfo.h: Likewise.
10972         * sysdeps/x86_64/stackinfo.h: Likewise.
10973         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10974         PF_X for powerpc64.  Retain PF_X for powerpc32.
10975
10976 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10977
10978         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10979         accurately.
10980         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10981         GETDENTS_64BIT_ALIGNED.
10982
10983 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10984
10985         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10986
10987 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10988
10989         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10990         _GNU_SOURCE.
10991
10992         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10993         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10994         Remove __restrict.
10995         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10996         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10997
10998 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10999
11000         [BZ #11655]
11001         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11002         are initialized.
11003
11004 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
11005
11006         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11007
11008 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
11009
11010         * po/it.po: Update from translation team.
11011
11012 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11013
11014         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11015         unused codes.
11016
11017 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
11018
11019         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11020
11021 2010-11-24  Andreas Schwab  <schwab@redhat.com>
11022
11023         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11024         specially.
11025         (gaih_getanswer_slice): Likewise.
11026
11027 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
11028
11029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11030
11031 2010-05-31  Petr Baudis  <pasky@suse.cz>
11032
11033         [BZ #11149]
11034         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11035         silently even in the chroot mode.
11036
11037 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
11038
11039         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11040         last patch a bit.  Pretty printing
11041
11042 2010-05-31  Petr Baudis <pasky@suse.cz>
11043
11044         [BZ #10085]
11045         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11046         initialization of skip_initgroups_dyn.
11047
11048 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11049
11050         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11051         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11052
11053 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11054
11055         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11056
11057 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11058
11059         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11060         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11061         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11062         ($(objpfx)tst-fnmatch-mem): New rule.
11063         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11064         * posix/tst-fnmatch.c (main): Call mtrace.
11065
11066 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11067
11068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11069         Support Intel processor model 6 and model 0x2c.
11070
11071 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11072
11073         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11074           signed comparison.
11075
11076 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11077
11078         [BZ #12205]
11079         * string/test-strncasecmp.c (check_result): New function.
11080         (do_one_test): Use it.
11081         (check1): New function.
11082         (test_main): Use it.
11083         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11084         Support strcasecmp and strncasecmp.
11085
11086 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11087
11088         [BZ #12194]
11089         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11090         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11091
11092 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11093
11094         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11095         IFUNC support.
11096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11097         memset-x86-64.
11098         * sysdeps/x86_64/multiarch/bzero.S: New file.
11099         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11100         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11101         * sysdeps/x86_64/multiarch/memset.S: New file.
11102         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11104         Set bit_Prefer_SSE_for_memop for Intel processors.
11105         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11106         Define.
11107         (index_Prefer_SSE_for_memop): Define.
11108         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11109
11110 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11111
11112         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11113         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11114
11115 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11116
11117         [BZ #12191]
11118         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11119         (__x86_64_raw_data_cache_size_half): Likewise.
11120         (__x86_64_raw_shared_cache_size): Likewise.
11121         (__x86_64_raw_shared_cache_size_half): Likewise.
11122
11123         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11124         (__x86_64_raw_data_cache_size_half): Likewise.
11125         (__x86_64_raw_shared_cache_size): Likewise.
11126         (__x86_64_raw_shared_cache_size_half): Likewise.
11127         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11128         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11129         and __x86_64_raw_shared_cache_size_half.  Round
11130         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11131         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11132         to multiple of 256 bytes.
11133
11134 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11135
11136         [BZ #12167]
11137         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11138         of inacessible symlinks.  Verify result of symlink before returning it.
11139         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11140         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11141
11142 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11143
11144         * math/math.h (isinf): Fix typo in comment.
11145
11146 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11147
11148         * po/da.po: Update from translation team.
11149
11150 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11151
11152         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11153         is added to the list.
11154
11155 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11156             Ulrich Drepper  <drepper@gmail.com>
11157
11158         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11159         the global list here.  Move code to...
11160         (_dl_add_to_namespace_list): ...here.  New function.
11161         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11162         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11163         * elf/dl-load.c (lose): Don't remove the element from the list.
11164         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11165         (_dl_map_object): Likewise.
11166
11167 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11168
11169         [BZ #12159]
11170         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11171         into all bytes of SSE register.
11172         Patch by Richard Li <richardpku@gmail.com>.
11173
11174 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11175
11176         [BZ #12140]
11177         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11178         perturbing.
11179
11180 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11181
11182         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11183         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11184         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11185         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11187         submachine.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11189
11190 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11191
11192         * include/dlfcn.h (__RTLD_SECURE): Define.
11193         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11194         mode & __RTLD_SECURE instead.
11195         (open_path): Rename preloaded parameter to secure.
11196         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11197         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11198         * elf/dl-deps.c (openaux): Likewise.
11199         * elf/rtld.c (struct map_args): Remove is_preloaded.
11200         (map_doit): Don't use it.
11201         (dl_main): Likewise.
11202         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11203         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11204
11205 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11206
11207         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11208         (sysd-rules-targets): Remove duplicates.
11209         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11210         rtld-%.$o dependency.
11211
11212 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11213
11214         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11215         _dl_map_object do it.
11216
11217 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11218
11219         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11220         fast fma builtins, define the macros in the C99 standard.
11221         (FP_FAST_FMAF): Likewise.
11222         (FP_FAST_FMAL): Likewise.
11223         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11224
11225         * bits/mathdef.h: Update copyright year.
11226         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11227
11228 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11229
11230         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11231         builtins, define the macros in the C99 standard.
11232         (FP_FAST_FMAF): Likewise.
11233         (FP_FAST_FMAL): Likewise.
11234         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11235         multiply/add.
11236         (FP_FAST_FMAF): Likewise.
11237
11238 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11239
11240         [BZ #3268]
11241         * math/libm-test.inc (fma_test): Some new testcases.
11242         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11243         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11244         y and infinite z.  Do multiplication by C already in long double.
11245         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11247         y and infinite z.  Do bitwise or of inexact bit into u.d.
11248         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11249         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11250         * sysdeps/i386/fpu/s_fma.S: Removed.
11251         * sysdeps/i386/fpu/s_fmal.S: Removed.
11252
11253 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11254
11255         [BZ #3268]
11256         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11257         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11258         computation is not scheduled after fetestexcept.  Fix value
11259         of minimum denormal long double.
11260
11261 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11262
11263         [BZ #3268]
11264         * math/libm-test.inc (fma_test): Add some more tests.
11265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11266         correctly.
11267
11268 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11269
11270         * scripts/data/localplt-s390-linux-gnu.data: New file.
11271         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11272
11273 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11274
11275         [BZ #3268]
11276         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11277         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11278         instead of dbl-64.
11279         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11280         inlines.
11281         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11283         if one of x and y is very large and the other is subnormal.
11284         * sysdeps/s390/fpu/s_fmaf.c: New file.
11285         * sysdeps/s390/fpu/s_fma.c: New file.
11286         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11287         * sysdeps/powerpc/fpu/s_fma.S: New file.
11288         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11289         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11290         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11291
11292 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11293
11294         [BZ #3268]
11295         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11296         fma tests.
11297         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11298         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11299         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11300         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11301         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11302         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11303         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11304
11305 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11306
11307         [BZ #12078]
11308         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11309         * posix/bug-regex31.input: Add test case.
11310
11311 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11312
11313         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11314         * posix/bug-regex31.input: New file.
11315
11316         [BZ #12078]
11317         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11318         (parse_sub_exp): Fix last change, use postorder.
11319
11320         * posix/bug-regex31.c: New file.
11321         * posix/Makefile: Add rules to build and run bug-regex31.
11322
11323         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11324
11325         [BZ #12078]
11326         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11327
11328         [BZ #12108]
11329         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11330         to have entries in sys_siglist.
11331
11332         [BZ #12093]
11333         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11334         be NULL.
11335
11336 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11337
11338         [BZ #3268]
11339         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11340         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11341         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11342         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11343         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11344         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11345         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11346         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11347         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11348         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11349         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11350         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11351         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11352         * math/ftestexcept.c (fetestexcept): Likewise.
11353         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11354         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11355         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11356         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11357         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11358         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11359         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11360
11361 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11362
11363         [BZ #12107]
11364         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11365         newline.
11366
11367 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11368
11369         * string/bug-strstr1.c: New file.
11370         * string/Makefile: Add rules to build and run bug-strstr1.
11371
11372 2010-10-05  Eric Blake  <eblake@redhat.com>
11373
11374         [BZ #12092]
11375         * string/str-two-way.h (two_way_long_needle): Always clear memory
11376         when skipping input due to the shift table.
11377
11378 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11379
11380         [BZ #12005]
11381         * malloc/mcheck.c: Handle large requests.
11382
11383         [BZ #12077]
11384         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11385         for strncmp and strncasecmp.
11386         * string/stratcliff.c: Add tests for strcmp and strncmp.
11387         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11388
11389 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11390
11391         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11392         __set_fpscr.
11393
11394 2010-09-30  Andreas Jaeger  <aj@suse.de>
11395
11396         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11397         (CGROUP_SUPER_MAGIC): Define.
11398         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11399         Handle btrfs and cgroup file systems.
11400         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11401         Likewise.
11402
11403 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11404
11405         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11406         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11407
11408 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11409
11410         [BZ #12067]
11411         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11412         trying to locate the ELF header.
11413
11414 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11415
11416         [BZ #11611]
11417         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11418         Mask out sign-bit copies when constructing f_fsid.
11419
11420 2010-09-24  Petr Baudis <pasky@suse.cz>
11421
11422         * debug/stack_chk_fail_local.c: Add missing licence exception.
11423         * debug/warning-nop.c: Likewise.
11424
11425 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11426
11427         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11428         implementing getdents64 using getdents syscall, set d_type if
11429         __ASSUME_GETDENTS32_D_TYPE.
11430
11431 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11432
11433         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11434         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11435
11436 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11437
11438         [BZ #12037]
11439         * posix/unistd.h: Undo change of feature selection for ftruncate from
11440         2010-01-11.
11441
11442 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11443
11444         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11445         detection.
11446
11447 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11448
11449         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11450         fanotify_mark.
11451         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11452
11453 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11454
11455         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11456         variables after CHECK_SP call.
11457         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11458
11459 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11460             Ulrich Drepper  <drepper@redhat.com>
11461
11462         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11463         re-relocationg ld.so.
11464         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11465         _dl_init_paths call.
11466         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11467         here anymore.
11468
11469 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11470
11471         * resolv/res_init.c (__res_vinit): Count the default server we added.
11472
11473 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11474             Ulrich Drepper  <drepper@redhat.com>
11475
11476         [BZ #11968]
11477         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11478         (____longjmp_chk): Use %ebx for saving value across system call.
11479         Add unwind info.
11480
11481 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11482
11483         * manual/Makefile: Don't mix pattern rules with normal rules.
11484
11485 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11486
11487         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11488         operation.
11489         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11490         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11491         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11492         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11494         Likewise.
11495
11496 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11497
11498         [BZ #11979]
11499         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11500         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11501
11502 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11503
11504         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11505         * sysdeps/x86_64/addmul_1.S: Likewise.
11506         * sysdeps/x86_64/lshift.S: Likewise.
11507         * sysdeps/x86_64/mul_1.S: Likewise.
11508         * sysdeps/x86_64/rshift.S: Likewise.
11509         * sysdeps/x86_64/sub_n.S: Likewise.
11510         * sysdeps/x86_64/submul_1.S: Likewise.
11511
11512 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11513
11514         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11515         Define __sched_param instead of SCHED_* and sched_param when
11516         <bits/sched.h> is included with __need_schedparam defined.
11517         * bits/sched.h [__need_schedparam]
11518         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11519         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11520         (__defined_schedparam): Define to 1.
11521         (__sched_param): New structure, identical to sched_param.
11522         (__need_schedparam): Undefine.
11523
11524 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11525
11526         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11527         (epoll_create1): Declare.
11528
11529         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11530
11531 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11532
11533         [BZ #7066]
11534         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11535         shifting retval into place.
11536
11537 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11538
11539         * nis/rpcsvc/nis.h: Update copyright notice.
11540         * nis/rpcsvc/nis.x: Likewise.
11541         * nis/rpcsvc/nis_callback.h: Likewise.
11542         * nis/rpcsvc/nis_callback.x: Likewise.
11543         * nis/rpcsvc/nis_object.x: Likewise.
11544         * nis/rpcsvc/nis_tags.h: Likewise.
11545         * nis/rpcsvc/yp.h: Likewise.
11546         * nis/rpcsvc/yp.x: Likewise.
11547         * nis/rpcsvc/ypupd.h: Likewise.
11548         * nis/yp_xdr.c: Likewise.
11549         * nis/ypupdate_xdr.c: Likewise.
11550
11551         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11552         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11553         (pmap_getport): Use __libc_rpc_getport.
11554         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11555         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11556         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11557
11558 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11559
11560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11561         fanotify_mark.
11562
11563 2010-08-27  Roland McGrath  <roland@redhat.com>
11564
11565         * sysdeps/i386/i686/multiarch/Makefile
11566         (CFLAGS-varshift.c): New variable.
11567
11568 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11569
11570         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11571         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11572
11573         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11574
11575         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11576
11577 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11578
11579         * sysdeps/x86_64/strlen.S: Unroll the loop.
11580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11581         strlen-sse2 strlen-sse2-bsf.
11582         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11583         __strlen_no_bsf if bit_Slow_BSF is set.
11584         (__strlen_sse42): Removed.
11585         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11586         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11587
11588 2010-08-25  Roland McGrath  <roland@redhat.com>
11589
11590         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11591         * sysdeps/x86_64/multiarch/varshift.c: New file.
11592         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11593         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11594         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11595         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11596
11597 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11598
11599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11600         strlen-sse2 strlen-sse2-bsf.
11601         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11602         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11603         (__strlen_sse2): Removed.
11604         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11605         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11607         bit_Slow_BSF for Atom.
11608         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11609         (index_Slow_BSF): Define.
11610         (HAS_SLOW_BSF): Define.
11611
11612 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11613
11614         [BZ #10851]
11615         * resolv/res_init.c (__res_vinit): When no server address at all
11616         is given default to loopback.
11617
11618 2010-08-24  Roland McGrath  <roland@redhat.com>
11619
11620         * configure.in: Remove config-name.h generation.
11621         * configure: Regenerated.
11622         * config-name.in: File removed.
11623         * scripts/config-uname.sh: New file.
11624         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11625         ($(objdir)config-name.h): New target.
11626
11627         * sunrpc/rpc_parse.h: Avoid nested comment.
11628
11629 2010-08-24  Richard Henderson  <rth@redhat.com>
11630             Ulrich Drepper  <drepper@redhat.com>
11631             H.J. Lu  <hongjiu.lu@intel.com>
11632
11633         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11635         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11636         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11637         _mm_alignr_epi8 with _mm_loadu_si128.
11638         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11639         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11640         (__m128i_shift_right): Removed.
11641         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11642         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11643         * sysdeps/x86_64/multiarch/varshift.h: New file.
11644         * sysdeps/x86_64/multiarch/varshift.S: New file.
11645
11646 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11647
11648         * configure.in: Move assembler checks to before sysdep dir checking.
11649
11650 2010-08-20  Petr Baudis  <pasky@suse.cz>
11651
11652         * LICENSES: Sync the sunrpc license.
11653
11654 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11655
11656         * sunrpc/auth_des.c: Update copyright notice once again.
11657         * sunrpc/auth_none.c: Likewise.
11658         * sunrpc/auth_unix.c: Likewise.
11659         * sunrpc/authdes_prot.c: Likewise.
11660         * sunrpc/authuxprot.c: Likewise.
11661         * sunrpc/bindrsvprt.c: Likewise.
11662         * sunrpc/clnt_gen.c: Likewise.
11663         * sunrpc/clnt_perr.c: Likewise.
11664         * sunrpc/clnt_raw.c: Likewise.
11665         * sunrpc/clnt_simp.c: Likewise.
11666         * sunrpc/clnt_tcp.c: Likewise.
11667         * sunrpc/clnt_udp.c: Likewise.
11668         * sunrpc/clnt_unix.c: Likewise.
11669         * sunrpc/des_crypt.c: Likewise.
11670         * sunrpc/des_soft.c: Likewise.
11671         * sunrpc/get_myaddr.c: Likewise.
11672         * sunrpc/getrpcport.c: Likewise.
11673         * sunrpc/key_call.c: Likewise.
11674         * sunrpc/key_prot.c: Likewise.
11675         * sunrpc/openchild.c: Likewise.
11676         * sunrpc/pm_getmaps.c: Likewise.
11677         * sunrpc/pm_getport.c: Likewise.
11678         * sunrpc/pmap_clnt.c: Likewise.
11679         * sunrpc/pmap_prot.c: Likewise.
11680         * sunrpc/pmap_prot2.c: Likewise.
11681         * sunrpc/pmap_rmt.c: Likewise.
11682         * sunrpc/rpc/auth.h: Likewise.
11683         * sunrpc/rpc/auth_unix.h: Likewise.
11684         * sunrpc/rpc/clnt.h: Likewise.
11685         * sunrpc/rpc/des_crypt.h: Likewise.
11686         * sunrpc/rpc/key_prot.h: Likewise.
11687         * sunrpc/rpc/netdb.h: Likewise.
11688         * sunrpc/rpc/pmap_clnt.h: Likewise.
11689         * sunrpc/rpc/pmap_prot.h: Likewise.
11690         * sunrpc/rpc/pmap_rmt.h: Likewise.
11691         * sunrpc/rpc/rpc.h: Likewise.
11692         * sunrpc/rpc/rpc_des.h: Likewise.
11693         * sunrpc/rpc/rpc_msg.h: Likewise.
11694         * sunrpc/rpc/svc.h: Likewise.
11695         * sunrpc/rpc/svc_auth.h: Likewise.
11696         * sunrpc/rpc/types.h: Likewise.
11697         * sunrpc/rpc/xdr.h: Likewise.
11698         * sunrpc/rpc_clntout.c: Likewise.
11699         * sunrpc/rpc_cmsg.c: Likewise.
11700         * sunrpc/rpc_common.c: Likewise.
11701         * sunrpc/rpc_cout.c: Likewise.
11702         * sunrpc/rpc_dtable.c: Likewise.
11703         * sunrpc/rpc_hout.c: Likewise.
11704         * sunrpc/rpc_main.c: Likewise.
11705         * sunrpc/rpc_parse.c: Likewise.
11706         * sunrpc/rpc_parse.h: Likewise.
11707         * sunrpc/rpc_prot.c: Likewise.
11708         * sunrpc/rpc_sample.c: Likewise.
11709         * sunrpc/rpc_scan.c: Likewise.
11710         * sunrpc/rpc_scan.h: Likewise.
11711         * sunrpc/rpc_svcout.c: Likewise.
11712         * sunrpc/rpc_tblout.c: Likewise.
11713         * sunrpc/rpc_util.c: Likewise.
11714         * sunrpc/rpc_util.h: Likewise.
11715         * sunrpc/rpcinfo.c: Likewise.
11716         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11717         * sunrpc/rpcsvc/key_prot.x: Likewise.
11718         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11719         * sunrpc/rpcsvc/mount.x: Likewise.
11720         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11721         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11722         * sunrpc/rpcsvc/rex.x: Likewise.
11723         * sunrpc/rpcsvc/rstat.x: Likewise.
11724         * sunrpc/rpcsvc/rusers.x: Likewise.
11725         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11726         * sunrpc/rpcsvc/spray.x: Likewise.
11727         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11728         * sunrpc/rtime.c: Likewise.
11729         * sunrpc/svc.c: Likewise.
11730         * sunrpc/svc_auth.c: Likewise.
11731         * sunrpc/svc_authux.c: Likewise.
11732         * sunrpc/svc_raw.c: Likewise.
11733         * sunrpc/svc_run.c: Likewise.
11734         * sunrpc/svc_simple.c: Likewise.
11735         * sunrpc/svc_tcp.c: Likewise.
11736         * sunrpc/svc_udp.c: Likewise.
11737         * sunrpc/svc_unix.c: Likewise.
11738         * sunrpc/svcauth_des.c: Likewise.
11739         * sunrpc/xcrypt.c: Likewise.
11740         * sunrpc/xdr.c: Likewise.
11741         * sunrpc/xdr_array.c: Likewise.
11742         * sunrpc/xdr_float.c: Likewise.
11743         * sunrpc/xdr_mem.c: Likewise.
11744         * sunrpc/xdr_rec.c: Likewise.
11745         * sunrpc/xdr_ref.c: Likewise.
11746         * sunrpc/xdr_sizeof.c: Likewise.
11747         * sunrpc/xdr_stdio.c: Likewise.
11748
11749         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11750         handling.
11751
11752 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11753
11754         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11755
11756 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11757
11758         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11759         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11760         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11761         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11762         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11763         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11764         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11765         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11766         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11767         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11768         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11769         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11770         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11771         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11772
11773 2010-07-26  Anton Blanchard  <anton@samba.org>
11774
11775         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11776         * malloc/arena.c (heap_trim): Likewise.
11777
11778 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11779
11780         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11781         here.  Not...
11782         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11783         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11784
11785 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11786
11787         * sysdeps/i386/elf/Makefile: New file.
11788
11789 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11790
11791         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11792         from fanotify_init.
11793         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11795
11796 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11797
11798         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11799         of strncasecmp_l.
11800         * sysdeps/multiarch/strcmp.S: Likewise.
11801
11802 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11803
11804         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11805         strncase_l-nonascii.
11806         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11807         Add strncase_l-ssse3.
11808         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11809         * sysdeps/x86_64/strcmp.S: Likewise.
11810         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11811         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11812         * sysdeps/x86_64/strncase.S: New file.
11813         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11814         * sysdeps/x86_64/strncase_l.S: New file.
11815         * string/Makefile (strop-tests): Add strncasecmp.
11816         * string/test-strncasecmp.c: New file.
11817
11818         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11819         warning.
11820
11821         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11822         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11823
11824 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11825
11826         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11827
11828 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11829
11830         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11831         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11832         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11833
11834 2010-05-01  Alan Modra  <amodra@gmail.com>
11835
11836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11837         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11838         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11839         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11840         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11841         tidying.  Don't tail-call __sigjmp_save for static lib.
11842         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11843         save location.
11844         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11845         (CALL_MCOUNT): Add eh info, and nop after bl.
11846         (TAIL_CALL_SYSCALL_ERROR): New macro.
11847         (PSEUDO_RET): Use it.
11848         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11849         Correct save location of integer regs and cr.
11850         (_dl_profile_resolve): Correct cr save location.  Delete nops
11851         after bl when SHARED.  Reduce cfi size a little by better
11852         placement of cfi directives.
11853         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11854         make a stack frame.  Instead use parm save area as a temp.
11855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11856         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11858         Don't make a stack frame for parent, use parm save area.
11859         Increase child stack frame to 112 bytes.  Don't save unused reg,
11860         and adjust reg usage.  Set up cfi on error recovery and
11861         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11863         (__makecontext): Add dummy nop after jump to exit.
11864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11865         Use correct parm save area and cr save, reduce stack frame.
11866         Correct cfi for possible PSEUDO_RET frame setup.
11867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11868         Branch to local label emitted by PSEUDO_RET rather than
11869         __syscall_error.
11870
11871 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11872
11873         [BZ #11904]
11874         * locale/programs/locale.c (print_assignment): New function.
11875         (show_locale_vars): Use it.
11876
11877 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11878
11879         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11880         field.
11881         (struct statfs64): Likewise.
11882         (_STATFS_F_FLAGS): Define.
11883         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11884         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11885         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11886         (ST_VALID): Define locally.
11887         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11888         __statvfs_getflags, use the provided value.
11889         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11890         __ASSUME_STATFS_F_FLAGS.
11891
11892         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11893
11894         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11895         Add sys/fanotify.h.
11896         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11897         fanotify_mask for GLIBC_2.13.
11898         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11899         fanotify_init and fanotify_mark.
11900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11901         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11902
11903         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11904         Add prlimit.
11905         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11906         prlimit64 for GLIBC_2.13.
11907         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11908         prlimit64.
11909         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11910         syscall.
11911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11912         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11913         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11914         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11915         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11916         add prlimit alias.
11917         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11918
11919         [BZ #11903]
11920         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11921         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11922
11923         * nss/Makefile: Add rules to build and run tst-nss-test1.
11924         * shlib-versions: Add entry for libnss_test1.
11925         * nss/nss_test1.c: New file.
11926         * nss/tst-nss-test1.c: New file.
11927
11928         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11929         (__nss_configure_lookup): Set appropriate entry in
11930         __nss_configure_lookup to true.
11931         * nss/nsswitch.h: Define enum with indeces of databases in
11932         databases and __nss_database_custom arrays.  Declare
11933         __nss_database_custom.
11934         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11935         to avoid using nscd when custom rules are installed.
11936         * nss/getXXbyYY_r.c: Likewise.
11937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11938
11939         * nss/nss_files/files-parse.c: Whitespace fixes.
11940
11941 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11942
11943         [BZ #11883]
11944         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11945         * posix/fnmatch_loop.c: Likewise.
11946
11947 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11948
11949         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11950         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11951         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11952         * Versions.def [GLIBC_2.13]: Add.
11953
11954 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11955
11956         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11957         Also fail if tpwd after pwuid call is NULL.
11958
11959 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11960
11961         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11962         when converting to ms.
11963
11964 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11965
11966         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11967         EOPNOTSUPP errors with ENOTTY.
11968         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11969         EOPNOTSUPP errors with ENOTTY.
11970
11971 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11972
11973         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11974         Add strcasecmp_l-ssse3.
11975         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11976         strcasecmp.
11977         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11978         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11979         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11980
11981 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11982
11983         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11984
11985         * string/Makefile (strop-tests): Add strcasecmp.
11986         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11987         strcasecmp_l-nonascii.
11988         (gen-as-const-headers): Add locale-defines.sym.
11989         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11990         * sysdeps/x86_64/strcasecmp.S: New file.
11991         * sysdeps/x86_64/strcasecmp_l.S: New file.
11992         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11993         * sysdeps/x86_64/locale-defines.sym: New file.
11994         * string/test-strcasecmp.c: New file.
11995
11996         * string/test-strcasestr.c: Test both ends of the range of characters.
11997         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11998
11999 2010-07-29  Roland McGrath  <roland@redhat.com>
12000
12001         [BZ #11856]
12002         * manual/locale.texi (Yes-or-No Questions): Fix example code.
12003
12004 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
12005
12006         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12007         for ld.so.
12008
12009 2010-07-27  Andreas Schwab  <schwab@redhat.com>
12010
12011         * manual/memory.texi (Malloc Tunable Parameters): Document
12012         M_PERTURB.
12013
12014 2010-07-26  Roland McGrath  <roland@redhat.com>
12015
12016         [BZ #11840]
12017         * configure.in (-fgnu89-inline check): Set and substitute
12018         gnu89_inline, not libc_cv_gnu89_inline.
12019         * configure: Regenerated.
12020         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12021
12022 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
12023
12024         * string/test-strnlen.c: New file.
12025         * string/Makefile (strop-tests): Add strnlen.
12026         * string/tester.c (test_strnlen): Add a few more test cases.
12027         * string/tst-strlen.c: Better error reporting.
12028
12029         * sysdeps/x86_64/strnlen.S: New file.
12030
12031 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
12032
12033         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12034         lower-latency instructions.
12035
12036 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
12037
12038         * string/test-strcasestr.c: New file.
12039         * string/test-strstr.c: New file.
12040         * string/Makefile (strop-tests): Add strstr and strcasestr.
12041         * string/str-two-way.h: Don't undefine MAX.
12042         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12043
12044 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12045
12046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12047         strcasestr-nonascii.
12048         (CFLAGS-strcasestr-nonascii.c): Define.
12049         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12050         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12051         Remove unused attribute.
12052
12053 2010-07-20  Roland McGrath  <roland@redhat.com>
12054
12055         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12056         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12057         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12058         like LD_HWCAP_MASK can disable hwcaps.
12059
12060 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12061
12062         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12063
12064 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12065
12066         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12067         call in strcasestr.
12068         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12069         __strcasestr_sse42_nonascii.
12070         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12071         strcasestr-nonascii.c.
12072         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12073
12074 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12075
12076         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12077         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12078         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12079         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12080
12081 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12082
12083         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12084         fcntl.
12085
12086 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12087
12088         [BZ #11577]
12089         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12090         dl_signal_cerror.
12091
12092 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12093
12094         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12095         _PC_PIPE_BUF using F_GETPIPE_SZ.
12096
12097 2010-07-05  Roland McGrath  <roland@redhat.com>
12098
12099         * manual/arith.texi (Rounding Functions): Fix rint description
12100         implicit in round description.
12101
12102 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12103
12104         * elf/Makefile: Fix linking for a few tests to make recent linker
12105         happy.
12106
12107 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12108
12109         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12110         $(common-objpfx)libc_nonshared.a.
12111
12112 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12113
12114         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12115         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12116         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12117         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12118         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12119         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12120         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12121         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12136         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12137         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12138         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12139         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12140         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12141         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12142         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12143         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12144         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12145         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12146         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12147         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12162
12163 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12164
12165         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12166         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12167         * string/memmove.c (memmove): Renamed to ...
12168         (MEMMOVE): ...this.  Default to memmove.
12169         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12170         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12171         (END_CHK): Define.
12172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12173         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12174         mempcpy-ssse3-back memmove-ssse3-back.
12175         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12176         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12177         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12178         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12179         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12180         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12181         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12182         * sysdeps/x86_64/multiarch/memmove.c: New file.
12183         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12184         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12185         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12186         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12187         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12189         Define.
12190         (index_Fast_Copy_Backward): Define.
12191         (HAS_ARCH_FEATURE): Define.
12192         (HAS_FAST_REP_STRING): Define.
12193         (HAS_FAST_COPY_BACKWARD): Define.
12194
12195 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12196
12197         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12198         Restore proper fallback handling.
12199
12200 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12201
12202         [BZ #11701]
12203         * posix/group_member.c (__group_member): Correct checking loop.
12204
12205         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12206         OOM in getpwuid_r correctly.  Return error number when the caller
12207         should return, otherwise -1.
12208         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12209         call returning > 0 value.
12210         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12211
12212 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12213
12214         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12215         libc_nonshared.a from targets in modules-names.
12216
12217 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12218
12219         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12220         requires it.
12221
12222 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12223
12224         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12225         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12226         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12227         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12228
12229 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12230
12231         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12232
12233 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12234
12235         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12236         and F_GETPIPE_SZ.
12237         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12238         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12239         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12241         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12242         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12243
12244 2010-06-14  Roland McGrath  <roland@redhat.com>
12245
12246         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12247
12248 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12249
12250         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12251         __REDIRECT followed by __THROW.
12252         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12253         * posix/getopt.h (getopt): Likewise.
12254
12255 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12256
12257         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12258         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12259         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12260         in AT_FLAGS.
12261         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12262         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12263
12264 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12265
12266         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12267
12268 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12269
12270         [BZ #11640]
12271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12272         Properly check family and model.
12273
12274 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12275
12276         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12277
12278 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12279
12280         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12281
12282 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12283
12284         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12285         symbol reference.
12286
12287 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12288
12289         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12290         symbol reference.
12291
12292 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12293
12294         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12295         and internal_recvmmsg.
12296         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12297         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12298         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12299         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12300
12301         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12302         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12303         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12304
12305 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12306
12307         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12308
12309 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12310
12311         POWER7 optimizations.
12312         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12313         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12314
12315 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12316
12317         * version.h: Update for 2.13 development version.
12318
12319 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12320
12321         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12322         exceptions.  Return 0.
12323
12324 2010-05-07  Roland McGrath  <roland@redhat.com>
12325
12326         * elf/ldconfig.c (main): Add a const.
12327
12328 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12329
12330         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12331         (args_options): Add no-idn option.
12332         (ahosts_keys_int): Add idn_flags to ai_flags.
12333         (parse_option): Handle 'i' option to clear idn_flags.
12334
12335         * malloc/malloc.c (_int_free): Possible race in the most recently
12336         added check.  Only act on the data if no current modification
12337         happened.
12338
12339 See ChangeLog.17 for earlier changes.