Note bug 6959 also fixed for 2.16.
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #2550]
4         [BZ #2570]
5         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6         comparisons to determine direction to adjust input.
7         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10         Likewise.
11         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12         Likewise.
13         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14         Likewise.
15         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17         Likewise.
18         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19         Likewise.
20         * math/libm-test.inc (nexttoward_test): Add more tests.
21
22 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23
24         [BZ #14040]
25         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26         in version GLIBC_2.1, not GLIBC_2.0.
27         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28         Likewise.
29
30 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31
32         [BZ #13942]
33         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34         (1 - x) * (1 + x).
35         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37         * math/libm-test.inc (acos_test): Add more tests.
38         (asin_test): Likewise.
39         * sysdeps/i386/fpu/libm-test-ulps: Update.
40         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41
42         [BZ #14034]
43         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44         of square root.
45         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47         * math/libm-test.inc (acos_test_tonearest): New function.
48         (acos_test_towardzero): Likewise.
49         (acos_test_downward): Likewise.
50         (acos_test_upward): Likewise.
51         (asin_test_tonearest): Likewise.
52         (asin_test_towardzero): Likewise.
53         (asin_test_downward): Likewise.
54         (asin_test_upward): Likewise.
55         (main): Call the new functions.
56         * sysdeps/i386/fpu/libm-test-ulps: Update.
57         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58
59         [BZ #13884]
60         [BZ #13924]
61         * math/e_exp10.c: Include <float.h>.
62         (__ieee754_exp10): Handle underflow here rather than multiplying
63         large negative argument by M_LN10.
64         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65         of __ieee754_expf.
66         * math/e_exp10l.c: Include <float.h>.
67         (__ieee754_exp10l): Handle underflow here rather than multiplying
68         large negative argument by M_LN10l.
69         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70         spurious overflow exception on underflow.
71
72 2012-04-29  Marek Polacek  <polacek@redhat.com>
73
74         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75         (__fortify_function): New macro.
76         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78         __extern_always_inline.
79         * libio/bits/stdio2.h: Likewise.
80         * libio/bits/stdio.h: Likewise.
81         * string/string.h: Likewise.
82         * string/bits/string3.h: Likewise.
83         * include/stdio.h: Likewise.
84         * stdlib/bits/stdlib.h: Likewise.
85         * stdlib/stdlib.h: Likewise.
86         * rt/bits/mqueue2.h: Likewise.
87         * rt/mqueue.h: Likewise.
88         * posix/bits/unistd.h: Likewise.
89         * posix/unistd.h: Likewise.
90         * io/bits/poll2.h: Likewise.
91         * io/bits/fcntl2.h: Likewise.
92         * io/fcntl.h: Likewise.
93         * io/sys/poll.h: Likewise.
94         * misc/bits/syslog.h: Likewise.
95         * misc/bits/syslog-ldbl.h: Likewise.
96         * misc/sys/syslog.h: Likewise.
97         * socket/bits/socket2.h: Likewise.
98         * socket/sys/socket.h: Likewise.
99         * debug/tst-chk1.c: Likewise.
100         * wcsmbs/bits/wchar2.h: Likewise.
101         * wcsmbs/bits/wchar-ldbl.h: Likewise.
102         * wcsmbs/wchar.h: Likewise.
103
104 2012-04-29  Andreas Jaeger  <aj@suse.de>
105
106         * Makerules (tests): Remove enable-check-abi protection.
107         (check-abi-warn): Remove.
108         (check-abi-%): Remove check-abi-warn usage.
109
110         * configure.in: Remove check-abi configure option.
111         * configure: Regenerated.
112         * config.make.in (enable-check-abi): Remove.
113
114 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
115
116         [BZ #14033]
117         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
118         double functions to double *_finite functions.
119
120         [BZ #13941]
121         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
122         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
123         LDBL_MIN_EXP.
124         * stdio-common/Makefile (tests): Add tst-sprintf3.
125         * stdio-common/tst-sprintf3.c: New file.
126
127         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
128         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
129
130 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
131
132         * conform/conformtest.pl: Remove duplicate typed-constant
133         handling.
134
135 2012-04-28  David S. Miller  <davem@davemloft.net>
136
137         * Makerules (%.abilist): Add vpath on sysdep_dirs.
138         (check-abi-%): Remove AWK script prerequisite and explicit
139         abilist directory.
140         (check-abi): Rewrite to just diff the symlist with the abilist.
141         (config-tls, config-abi-config): Delete, no longer used.
142         (update-abi-%): Remove AWK script and explicit abilist directory.
143         (update-abi): Rewrite to simply compare and conditionally copy the
144         symlist and the sysdep abilist file.  Remove update-abi-config
145         checks.
146         * abilist/ld.abilist: Remove.
147         * abilist/libBrokenLocale.abilist: Remove.
148         * abilist/libanl.abilist: Remove.
149         * abilist/libcrypt.abilist: Remove.
150         * abilist/libdl.abilist: Remove.
151         * abilist/librt.abilist: Remove.
152         * abilist/libthread_db.abilist: Remove.
153         * abilist/libutil.abilist: Remove.
154         * scripts/extract-abilist.awk: Remove.
155         * scripts/merge-abilist.awk: Remove.
156         * sysdeps/generic/libcidn.abilist: New file.
157         * sysdeps/generic/libnss_compat.abilist: New file.
158         * sysdeps/generic/libnss_db.abilist: New file.
159         * sysdeps/generic/libnss_dns.abilist: New file.
160         * sysdeps/generic/libnss_files.abilist: New file.
161         * sysdeps/generic/libnss_hesiod.abilist: New file.
162         * sysdeps/generic/libnss_nis.abilist: New file.
163         * sysdeps/generic/libnss_nisplus.abilist: New file.
164         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
165         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
166         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
167         file.
168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
169         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
170         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
171         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
172         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
173         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
174         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
175         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
176         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
177         file.
178         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
179         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
180         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
181         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
182         file.
183         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
184         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
185         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
186         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
187         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
188         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
189         file.
190         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
191         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
192         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
193         file.
194         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
196         New file.
197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
198         New file.
199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
200         New file.
201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
202         New file.
203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
204         New file.
205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
206         New file.
207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
208         New file.
209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
210         New file.
211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
212         New file.
213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
214         New file.
215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
216         New file.
217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
218         New file.
219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
220         New file.
221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
222         file.
223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
224         New file.
225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
226         New file.
227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
228         file.
229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
230         New file.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
232         New file.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
234         file.
235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
236         New file.
237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
238         New file.
239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
240         New file.
241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
242         New file.
243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
244         New file.
245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
246         New file.
247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
249         file.
250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
251         New file.
252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
253         file.
254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
255         file.
256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
257         file.
258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
259         file.
260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
261         file.
262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
263         New file.
264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
265         file.
266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
267         file.
268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
269         New file.
270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
271         file.
272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
274         file.
275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
276         New file.
277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
278         file.
279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
280         file.
281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
282         file.
283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
284         file.
285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
286         file.
287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
288         New file.
289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
290         file.
291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
292         file.
293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
294         New file.
295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
296         file.
297         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
298         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
299         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
300         file.
301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
302         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
303         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
304         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
305         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
306         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
307         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
308         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
309         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
310         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
313         file.
314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
315         New file.
316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
317         file.
318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
319         file.
320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
321         file.
322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
323         file.
324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
325         file.
326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
327         New file.
328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
329         New file.
330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
331         file.
332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
333         New file.
334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
335         file.
336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
338         file.
339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
340         New file.
341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
342         file.
343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
344         file.
345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
346         file.
347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
348         file.
349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
350         file.
351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
352         New file.
353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
354         New file.
355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
356         file.
357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
358         New file.
359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
360         file.
361
362 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
363
364         * conform/conformtest.pl: Fix typo in handling typed-constant from
365         allow-header.
366
367 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
368
369         * README: Cut down references to pre-2.6 Linux kernels and
370         Linuxthreads.  Update lists of configurations in libc and ports
371         and sort alphabetically.  Say "or newer" with Linux kernel version
372         requirements.
373
374         * config.h.in [IS_IN_build]: Allow compiling without optimization.
375
376 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
377
378         [BZ #887]
379         * math/libm-test.inc (logb_test_downward): New test to expose
380         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
381         rounding mode.
382
383 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
384
385         [BZ #14027]
386         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
387         to be done.
388         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
389         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
390
391 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
392
393         * sysdeps/unix/i386/brk.S: Remove file.
394         * sysdeps/unix/i386/dl-brk.S: Likewise.
395         * sysdeps/unix/i386/pipe.S: Likewise.
396         * sysdeps/unix/i386/sigreturn.S: Likewise.
397         * sysdeps/unix/i386/syscall.S: Likewise.
398         * sysdeps/unix/i386/vfork.S: Likewise.
399         * sysdeps/unix/i386/wait.S: Likewise.
400
401         * sysdeps/unix/common/tcsendbrk.c: Move to ...
402         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
403
404         * configure.in (arm*-none*): Do not allow without
405         --enable-hacker-mode.
406         (netbsd*): Remove case setting base_os.
407         (386bsd*): Likewise.
408         (freebsd*): Likewise.
409         (bsdi*): Likewise.
410         (osf*): Likewise.
411         (sunos*): Likewise.
412         (ultrix*): Likewise.
413         (newsos*): Likewise.
414         (dynix*): Likewise.
415         (*bsd*): Likewise.
416         (sysv*): Likewise.
417         (isc*): Likewise.
418         (esix*): Likewise.
419         (sco*): Likewise.
420         (minix*): Likewise.
421         (irix4*): Likewise.
422         (irix6*): Likewise.
423         (solaris[2-9]*): Likewise.
424         (none): Likewise.
425         * configure: Regenerated.
426
427 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
428
429         [BZ #11521]
430         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
431         overflow or cancellation in calculating denominator.
432         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
434         down expression to avoid unexpected rounding in newer GCCs.
435         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
436
437 2012-04-26  David S. Miller  <davem@davemloft.net>
438
439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
440         long-double compat symbols.
441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
454
455 2012-04-25  David S. Miller  <davem@davemloft.net>
456
457         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
458         HWCAP_* values only after the memory barriers have been defined.
459         (atomic_full_barrier): Define.
460         (atomic_read_barrier): Define.
461         (atomic_write_barrier): Define.
462
463 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
464
465         * shlib-versions: Add libgcc_s version information.
466         * sysdeps/generic/libgcc_s.h: Remove.
467         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
468         libgcc_s.h.
469         * sysdeps/gnu/unwind-resume.c: Likewise.
470         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
471
472 2012-04-25  David S. Miller  <davem@davemloft.net>
473
474         * sysdeps/unix/sparc/brk.S: Delete.
475         * sysdeps/unix/sparc/dl-brk.S: Delete.
476         * sysdeps/unix/sparc/pipe.S: Delete.
477         * sysdeps/unix/sparc/sysdep.S: Delete.
478         * sysdeps/unix/sparc/sysdep.h: Delete.
479         * sysdeps/unix/sparc/vfork.S: Delete.
480         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
481         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
482         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
483         ret_ERRVAL, r0, r1, MOVE): Define.
484         (JUMPTARGET): Remove.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
486         sysdeps/unix/sparc/sysdep.h
487         (ENTRY, END): Remove.
488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
489
490 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
491
492         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
493         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
494         -DIS_IN_build.
495
496         * timezone/README: Update upstream location and email address for
497         tzcode and tzdata.
498         * timezone/zdump.c: Update from tzcode 2012b.
499         * timezone/zic.c: Likewise.
500
501         * configure.in (libc_cv_as_needed): Remove test.
502         * configure: Regenerated.
503         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
504         conditional definition.
505         [$(have-as-needed) != yes] (no-as-needed): Likewise.
506         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
507         * config.make.in (have-as-needed): Remove variable.
508
509 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
510             Paul Pluzhnikov  <ppluzhnikov@google.com>
511
512         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
513         strings correctly.
514
515 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
516
517         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
518         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
519         * sysdeps/sh/strlen.S: Likewise.
520
521 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
522
523         * sysdeps/unix/fork.S: Remove file.
524         * sysdeps/unix/i386/fork.S: Likewise.
525         * sysdeps/unix/sparc/fork.S: Likewise.
526
527         * sysdeps/unix/system.c: Remove file.
528         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
529
530         * sysdeps/unix/getegid.S: Remove file.
531         * sysdeps/unix/geteuid.S: Likewise.
532
533 2012-04-24  Roland McGrath  <roland@hack.frob.com>
534
535         * scripts/check-localplt.awk: New file.
536         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
537         of diff.
538         * scripts/data/localplt-generic.data: Add a comment.
539
540         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
541         NODE when __dir_mkfile failed.
542         * sysdeps/mach/hurd/symlinkat.c: Likewise.
543         Reported by Ludovic Courtès <ludo@gnu.org>.
544
545 2012-04-24  Andreas Jaeger  <aj@suse.de>
546
547         * Makerules (common-clean): Also remove gen-as-const-headers
548         files.
549
550 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
551
552         * Makerules (native-compile): Do not change working directory for
553         build.  Use $(OUTPUT_OPTION) in command.
554         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
555
556 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
557
558         [BZ #13886]
559         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
560         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
561         * math/libm-test.inc (floor_test): Add more tests.
562         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
563
564 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
565
566         * sysdeps/unix/getdents.c: Remove file.
567         * sysdeps/unix/sysv/getdents.c: Likewise.
568         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
569
570         * sysdeps/unix/syscalls.list (madvise): Add syscall from
571         sysdeps/unix/mman/syscalls.list.
572         (mmap): Likewise.
573         (mprotect): Likewise.
574         (msync): Likewise.
575         (munmap): Likewise.
576         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
577         * sysdeps/unix/mman/syscalls.list: Remove.
578         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
579
580         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
581         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
582         * configure: Regenerated.
583         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
584         $(libgcc_s_suffix).
585         * config.make.in (libgcc_s_suffix): Remove variable.
586
587 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
588
589         * sysdeps/unix/sysv/gethostname.c: Move to ...
590         * sysdeps/posix/gethostname.c: ... here.
591
592         * sysdeps/unix/execve.S: Remove file.
593
594         * sysdeps/unix/_exit.S: Remove file.
595
596 2012-04-23  Andreas Jaeger  <aj@suse.de>
597
598         [BZ #13739]
599         * manual/Makefile: Remove make dist support, there's no
600         need for a stand-alone documentation tar ball.
601         (TEXI2DVI): Define always, it's not in Makeconfig.
602         (dist): Removed.
603         (tar-it): Removed.
604         (edition): Removed.
605         (glibc-doc-$(edition).tar): Removed
606         (%.Z): Removed.
607         (%.gz): Removed.
608         (%.uu): Removed.
609         (ETAGS): Remove, it's in Makeconfig.
610         (move-if-change): Remove, it's in Makeconfig.
611
612 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
613
614         [BZ #13970]
615         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
616         (strtod, strtof, strtold, strtol, strtoul, strtoq)
617         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
618         (strtod_l, strtof_l, strtold_l): Remove __wur.
619         It is not necessarily an error to ignore strtol's return value.
620         One can reliably look at the stored endptr to decide whether
621         the number had valid syntax.
622
623 2012-04-21  Andreas Jaeger  <aj@suse.de>
624
625         [BZ #13739]
626         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
627
628 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
629
630         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
631         * sysdeps/unix/sysv/Versions: Remove file.
632
633 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
634
635         [BZ #13927]
636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
637
638 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
639
640         [BZ #7064]
641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
642         version from __vm86.
643
644 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
645
646         * sysdeps/unix/common/lxstat.c: Remove file.
647         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
648
649         * sysdeps/unix/sysv/Makefile: Remove file.
650
651         * sysdeps/unix/sysv/direct.h: Remove file.
652
653         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
654         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
655         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
656         * sysdeps/unix/sysv/bits/signum.h: Likewise.
657         * sysdeps/unix/sysv/bits/stat.h: Likewise.
658         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
659         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
660
661         * sysdeps/unix/sysv/setrlimit.c: Remove file.
662
663         * sysdeps/unix/xmknod.c: Remove file.
664         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
665
666         * sysdeps/unix/sysv/settimeofday.c: Remove file.
667
668         * sysdeps/unix/sysv/i386/time.S: Remove file.
669
670         * sysdeps/unix/fxstat.c: Remove file.
671         * sysdeps/unix/xstat.c: Likewise.
672         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
673
674         * sysdeps/unix/sysv/sigaction.c: Remove file.
675
676         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
677         (sysdep_headers): Remove variable.
678         [termio.h not in sysdep_headers] (generated): Likewise.
679         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
680         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
681         * sysdeps/unix/sysv/tcdrain.c: Likewise.
682         * sysdeps/unix/sysv/tcflow.c: Likewise.
683         * sysdeps/unix/sysv/tcflush.c: Likewise.
684         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
685         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
686         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
687         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
688         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
689
690         * sysdeps/unix/siglist.c: Remove file.
691
692         * sysdeps/unix/getppid.S: Remove file.
693
694         * sysdeps/unix/mkdir.c: Remove file.
695         * sysdeps/unix/rmdir.c: Likewise.
696
697 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
698
699         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
700         ERR_MAX value.
701         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
702         errlist-compat value.
703
704 2012-04-18  David S. Miller  <davem@davemloft.net>
705
706         * sysdeps/generic/memcopy.h (reg_char): Delete.
707         * debug/strcat_chk.c: Use char, not reg_char.
708         * debug/strcpy_chk.c: Likewise.
709         * debug/strncat_chk.c: Likewise.
710         * debug/strncpy_chk.c: Likewise.
711         * string/memchr.c: Likewise.
712         * string/memrchr.c: Likewise.
713         * string/rawmemchr.c: Likewise.
714         * string/strcat.c: Likewise.
715         * string/strchr.c: Likewise.
716         * string/strchrnul.c: Likewise.
717         * string/strcmp.c: Likewise.
718         * string/strcpy.c: Likewise.
719         * string/strncat.c: Likewise.
720         * string/strncmp.c: Likewise.
721         * string/strncpy.c: Likewise.
722
723 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
724
725         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
726         __builtin_memcopy is called when src and dest ranges are known to not
727         overlap.
728
729 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
730
731         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
732         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
733         fwd_align_merge macro call.
734         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
735         bwd_align_merge macro call.
736         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
737
738 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
739
740         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
741         bwd_align_merge macros.
742         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
743         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
745
746 2012-04-18  David S. Miller  <davem@davemloft.net>
747
748         * sysdeps/sparc/sparc64/memcopy.h: Delete.
749
750 2012-04-18  Andreas Jaeger  <aj@suse.de>
751
752         [BZ# 6794]
753         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
754         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
755         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
756
757         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
758         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
759         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
760
761         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
762         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
763         Adjust for changed ldbl-128 files.
764
765         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
766         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
768
769 2012-04-17  David S. Miller  <davem@davemloft.net>
770
771         * sysdeps/sparc/sparc32/memcopy.h: Delete.
772
773 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
774
775         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
776         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
777         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
778         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
779         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
780         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
781
782 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
783
784         [BZ #6794]
785         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
786         * math/libm-test.inc: Add ilogb errno and exception tests.
787         * math/w_ilogb.c: New file: ilogb wrapper.
788         * math/w_ilogbf.c: New file: ilogbf wrapper.
789         * math/w_ilogbl.c: New file: ilogbl wrapper.
790         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
791         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
792         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
793         exception being thrown with 0.0 as argument.
794         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
795         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
796         exception being thrown with 0.0 as argument.
797         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
798         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
799         exception being thrown with 0.0 as argument.
800         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
801         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
802         exception being thrown with 0.0 as argument.
803         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
804         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
805         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
806         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
807         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
808         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
809         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
810         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
811         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
812
813 2012-04-17  Petr Baudis  <pasky@ucw.cz>
814
815         * include/sys/uio.h: Change __vector to __iovec to avoid clash
816         with altivec.
817
818 2012-04-16  Marek Polacek  <polacek@redhat.com>
819
820         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
821
822 2012-04-16  Marek Polacek  <polacek@redhat.com>
823
824         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
825         operands of fdivp instruction.
826
827 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
828
829         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
830         * elf/tst-auditmod3b.c: Likewise.
831         * elf/tst-auditmod4b.c: Likewise.
832         * elf/tst-auditmod5b.c: Likewise.
833         * elf/tst-auditmod6b.c: Likewise.
834         * elf/tst-auditmod6c.c: Likewise.
835         * elf/tst-auditmod7b.c: Likewise.
836         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
837         * sysdeps/x86_64/preconfigure.in: Likewise.
838         * sysdeps/x86_64/preconfigure: Regenerated.
839
840 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
841
842         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
843         __ILP32__.
844
845 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
846
847         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
848         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
849
850 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
851
852         [BZ #13973]
853         * locale/iso-639.def: Fix gl language name. Spotted by
854         Yaron Shahrabani.
855
856 2012-04-12  Roland McGrath  <roland@hack.frob.com>
857
858         [BZ #2074]
859         * libio/libio.h (__io_write_fn): Update comment.
860
861 2012-04-12  Petr Baudis  <pasky@ucw.cz>
862
863         [BZ #2074]
864         * stdio.texi (Hook Functions): The user provided writer function
865         is not allowed to return -1.
866
867 2012-04-11  David S. Miller  <davem@davemloft.net>
868
869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
870
871 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
872
873         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
874         Add a leading slash to rtkaio.
875
876 2012-04-11  Jim Meyering  <meyering@redhat.com>
877
878         [BZ #11959]
879         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
880         It is not necessarily an error to ignore fwrite's return
881         value.  One can reliably use ferror to test for errors after
882         the fact.
883
884 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
885
886         * bits/types.h (__snseconds_t): New type.
887         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
888
889         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
891         (__SNSECONDS_T_TYPE): Likewise.
892         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
893         (__SNSECONDS_T_TYPE): Likewise.
894         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
895         (__SNSECONDS_T_TYPE): Likewise.
896
897 2012-04-10  Andreas Jaeger  <aj@suse.de>
898
899         [BZ #2636]
900         * manual/time.texi (Processor Time): Return type of times is
901         elapsed real time since an arbitrary point in the past.
902         (CPU Time): Move CLK_TCK from here...
903         (Processor Time): ...to here.  Correct description.
904         * manual/conf.texi (Constants for Sysconf): Correct description of
905         _SC_CLK_TCK.
906
907 2012-04-10  David S. Miller  <davem@davemloft.net>
908
909         [BZ #13967]
910         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
911         where the is a gap between DT_REL(A) and DT_JMPREL.
912
913 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
914
915         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
916         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
917         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
918
919 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
920
921         * elf/dl-support.c (_dl_inhibit_cache): New variable.
922         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
923         (dl_main): Handle --inhibit-cache.
924         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
925         _dl_inhibit_cache.
926         * elf/dl-load.c (_dl_map_object): Use it.
927         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
928
929 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
930
931         [BZ #13872]
932         * sysdeps/i386/fpu/e_powl.S (p78): New object.
933         (__ieee754_powl): Saturate large exponents rather than testing for
934         overflow of y*log2(x).
935         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
936         * math/libm-test.inc (pow_test): Do not permit spurious overflow
937         exceptions.
938
939         [BZ #11521]
940         * math/s_ctan.c: Include <float.h>.
941         (__ctan): Avoid internal overflow or cancellation in calculating
942         denominator.
943         * math/s_ctanf.c: Likewise.
944         * math/s_ctanl.c: Likewise.
945         * math/s_ctanh.c: Likewise.
946         * math/s_ctanhf.c: Likewise.
947         * math/s_ctanhl.c: Likewise.
948         * math/libm-test.inc (ctan_test): Add more tests.
949         (ctanh_test): Likewise.
950         * sysdeps/i386/fpu/libm-test-ulps: Update.
951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
952
953 2012-04-09  Andreas Jaeger  <aj@suse.de>
954
955         [BZ #6894]
956         * manual/filesys.texi (Directory Entries): Mention that d_namlen
957         is an optional BSD extension.
958
959         [BZ #10254]
960         * manual/stdio.texi (Opening Streams): Document additional fopen
961         parameters.
962
963 2012-04-09  Roland McGrath  <roland@hack.frob.com>
964
965         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
966         %eax without telling the compiler.
967
968 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
969
970         [BZ # 13963]
971         * manual/install.texi: Use sourceware.org.
972
973 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
974
975         [BZ #13873]
976         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
977         (__ieee754_pow): Generate overflow and underflow using huge*huge
978         and tiny*tiny rather than just returning constant infinity or zero
979         for large exponents.
980         * math/libm-test.inc (pow_test): Require overflow exceptions for
981         applicable cases of large exponents.
982
983         [BZ #706]
984         * sysdeps/i386/fpu/e_pow.S (p10): New object.
985         (__ieee754_pow): Use iterative multiplication algorithm only for
986         integer exponents with absolute value below 1024.  Check for odd
987         integer exponents when using algorithm for real exponents.
988         * math/libm-test.inc (pow_test): Add more tests.
989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
990
991 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
992
993         [BZ #13705]
994         * math/libm-test.inc (exp_test): Do not allow overflow exception
995         on underflow test.
996
997 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
998
999         [BZ #13705]
1000         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1001         instead of __kernel_standard_f.
1002
1003 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
1004
1005         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1006         * sysdeps/x86_64/memset_chk.S: Likewise.
1007
1008 2012-04-08  Andreas Jaeger  <aj@suse.de>
1009
1010         [BZ #10153]
1011         * manual/startup.texi (Environment Access): Describe return value
1012         for putenv and setenv.
1013
1014         [BZ #6895]
1015         * manual/filesys.texi (Directory Entries): Add description for
1016         DT_LNK.
1017
1018         [BZ #6890]
1019         * manual/filesys.texi (Directory Entries): Clarify that it's file
1020         system not operating system in the description of DT_UNKNOWN.
1021
1022         [BZ #6578]
1023         * manual/syslog.texi (closelog): Fix reference, it's openlog.
1024
1025 2012-04-08  Stephen Compall  <s11@member.fsf.org>
1026
1027         [BZ #6649]
1028         * manual/llio.texi (Opening and Closing Files): Add cross
1029         reference to explain mode argument.
1030
1031 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
1032
1033         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1034         * sysdeps/x86_64/memset_chk.S: Likewise.
1035
1036 2012-04-07  David S. Miller  <davem@davemloft.net>
1037
1038         * elf/elf.h (R_SPARC_WDISP10): Define.
1039         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1040         R_SPARC_SIZE32.
1041         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1042         R_SPARC_SIZE64 and R_SPARC_H34.
1043
1044 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
1045
1046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1047         conditions and remove no longer applicable assertion.
1048
1049 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1050
1051         * bits/byteswap.h: Include <features.h>.
1052         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1053         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1054
1055 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1056
1057         * bits/byteswap.h (__bswap_16): Removed.
1058         Include <bits/byteswap-16.h> to get __bswap_16.
1059         * sysdeps/i386/bits/byteswap.h: Likewise.
1060         * sysdeps/s390/bits/byteswap.h: Likewise.
1061         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1062         * bits/byteswap-16.h: New file.
1063         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1064         * sysdeps/s390/bits/byteswap-16.h: Likewise.
1065         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1066         * string/Makefile (headers): Add bits/byteswap-16.h.
1067
1068 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1069
1070         [BZ #13895]
1071         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1072         extra indirection.
1073         * nss/Makefile (tests-static, tests): Add tst-nss-static.
1074         * nss/tst-nss-static.c: New.
1075
1076 2012-04-06  Robert Millan  <rmh@gnu.org>
1077
1078         [BZ #6486]
1079         * manual/llio.texi (File Position Primitive): lseek
1080         refers to WHENCE when it really means OFFSET.
1081
1082 2012-04-06  Andreas Jaeger  <aj@suse.de>
1083
1084         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1085         strncmp declarations.
1086
1087         * abilist/libc.abilist: Add __poll and __ppoll.
1088
1089 2012-04-05  David S. Miller  <davem@davemloft.net>
1090
1091         * scripts/check-local-headers.sh: Accept a host triplet in the
1092         path matched by the exclude regexp.
1093
1094         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1095         definition.
1096         * sysdeps/powerpc/powerpc32/dl-machine.h
1097         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1098         * sysdeps/s390/s390-32/dl-machine.h
1099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1100         * sysdeps/sparc/sparc32/dl-machine.h
1101         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1102         * sysdeps/sparc/sparc64/dl-machine.h
1103         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1104
1105         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1106         lazy binding.
1107         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1108         undefined symbol errors.
1109
1110         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1111         DT_NEEDED entries.
1112
1113 2012-04-05  Michael Matz  <matz@suse.de>
1114
1115         [BZ #13592]
1116         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1117
1118 2012-04-05  Andreas Jaeger  <aj@suse.de>
1119
1120         [BZ #13908]
1121         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1122         comment.
1123
1124 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1125
1126         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1127         which ROUND is no valid rounding mode.
1128
1129 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1130
1131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1132         read again.
1133         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1134
1135 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1136
1137         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1138         an exception using FPU order intentionally.
1139
1140 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1141
1142         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1143         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1144         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1145         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1146
1147 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1148
1149         [BZ #12340]
1150         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1151         EINVAL when BUFLEN is too smal.
1152
1153 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1154
1155         [BZ #13553]
1156         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1157         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1158
1159 2012-04-03  Andreas Jaeger  <aj@suse.de>
1160
1161         [BZ #13938]
1162         * manual/setjmp.texi (System V contexts): Fix sentence.
1163
1164         [BZ #13926]
1165         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1166         New macro for this case.
1167         [!__GNUC__] (__bswap_64): New inline function for this case.
1168         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1169         * bits/byteswap.h: Likewise.
1170         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1171         ull, guard with __GLIBC_HAVE_LONG_LONG.
1172
1173         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1174         __GLIBC_HAVE_LONG_LONG.
1175
1176         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1177         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1178
1179 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1180
1181         [BZ #13691]
1182         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1183         inptr and inend, rather than using last_ch.
1184
1185 2012-04-02  David S. Miller  <davem@davemloft.net>
1186
1187         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1188         * stdio-common/printf-parse.h (read_int): Change return type to
1189         'int', return -1 on INT_MAX overflow.
1190         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1191         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1192         overflows INT_MAX.  Check for overflow of in-format-string precision
1193         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1194         SIZE_MAX not INT_MAX for integer overflow test.
1195         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1196         skip the construct in the format string but do not record anything.
1197         * stdio-common/bug22.c: Adjust to test both width/prevision
1198         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1199         explicitly for proper errno values.
1200
1201 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1202
1203         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1204         CHAR_MAX.
1205         * string/test-strcmp.c [! WIDE]: Likewise.
1206         * time/tst-mktime2.c: Likewise for INT_MAX.
1207         * string/test-string.h: #include <sys/param.h> for MIN.
1208
1209         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1210         * sysdeps/i386/init-first.c (init): Likewise.
1211         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1212         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1213         * sysdeps/sh/init-first.c (init): Likewise.
1214
1215 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1216
1217         * po/ru.po: Update from translation team.
1218         * po/vi.po: Likewise.
1219
1220 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1221
1222         * resolv/nss_dns/dns-host.c: Merge copyright years.
1223
1224 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1225
1226         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1227         Optimize memcpy with prefetch if
1228         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1229         src, dst pointers have unequal 16 byte alignments.
1230
1231 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1232
1233         [BZ #13928]
1234         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1235         from a CNAME entry and return the minimum ttl for the query.
1236         (gaih_getanswer_slice): Likewise.
1237
1238 2012-03-30  Jeff Law  <law@redhat.com>
1239
1240         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1241         due to long keys.
1242         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1243         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1244
1245         * resolv/nss_dns/dns-host.c: Update copyright year.
1246
1247 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1248
1249         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1250         requests to save a system call.  Fix check that all bytes are sent.
1251
1252         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1253         comments for sendmmsg.
1254
1255 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1256
1257         [BZ #13691]
1258         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1259         with only 1 character between 0x0041 and 0x01b0.
1260         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1261         * wcsmbs/tst-mbsnrtowcs.c: New file.
1262
1263 2012-03-29  David S. Miller  <davem@davemloft.net>
1264
1265         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1266         small copies by hand.
1267
1268 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1269
1270         [BZ #13761]
1271         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1272         _nss_compat_initgroups_dyn): Fall back to malloc/free
1273         for large group memberships.
1274
1275 2012-03-28  David S. Miller  <davem@davemloft.net>
1276
1277         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1278         that branches into memcpy.
1279         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1281         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1282         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1283         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1284         bits.
1285         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1286         implementation too.
1287         * sysdeps/sparc/mempcpy.S: New file.
1288
1289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1290         the IFUNC routine in the libc case.
1291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1292
1293         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1294         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1295         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1296         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1297         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1298         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1299         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1300         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1301
1302         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1303         loop to 256 bytes instead of 64 bytes and fix test signedness.
1304
1305         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1306         * sysdeps/sparc/sparc32/Makefile: rather than here...
1307         * sysdeps/sparc/sparc64/Makefile: and here.
1308
1309 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1310
1311         * malloc/mallocbug.c: Avoid warnings about unused variables.
1312
1313 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1314
1315         [BZ #13760]
1316         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1317         in the right place. Discard and retry query if response is
1318         larger than input buffer size.
1319
1320 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1321
1322         [BZ #369]
1323         [BZ #2678]
1324         [BZ #3866]
1325         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1326         x for large integer exponent.
1327         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1328         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1329         sign of result as needed afterwards.
1330         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1331         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1332         result for underflowing pow the same as for overflow.
1333         (__kernel_standard_l): Handle powl overflow and underflow here
1334         rather than calling __kernel_standard.
1335         * math/libm-test.inc (pow_test): Add more tests.
1336
1337         [BZ #3868]
1338         [BZ #13879]
1339         [BZ #13910]
1340         [BZ #13911]
1341         [BZ #13912]
1342         [BZ #13913]
1343         [BZ #13915]
1344         [BZ #13916]
1345         [BZ #13917]
1346         [BZ #13918]
1347         [BZ #13919]
1348         [BZ #13920]
1349         [BZ #13921]
1350         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1351         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1352         (__kernel_standard_l): New function.
1353         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1354         __kernel_standard.
1355         * math/w_acosl.c (__acosl): Likewise.
1356         * math/w_asinl.c (__asinl): Likewise.
1357         * math/w_atan2l.c (__atan2l): Likewise.
1358         * math/w_atanhl.c (__atanhl): Likewise.
1359         * math/w_coshl.c (__coshl): Likewise.
1360         * math/w_exp10l.c (__exp10l): Likewise.
1361         * math/w_exp2l.c (__exp2l): Likewise.
1362         * math/w_fmodl.c (__fmodl): Likewise.
1363         * math/w_hypotl.c (__hypotl): Likewise.
1364         * math/w_j0l.c (__j0l, __y0l): Likewise.
1365         * math/w_j1l.c (__j1l, __y1l): Likewise.
1366         * math/w_jnl.c (__jnl, __ynl): Likewise.
1367         * math/w_lgammal.c (__lgammal): Likewise.
1368         * math/w_log10l.c (__log10l): Likewise.
1369         * math/w_log2l.c (__log2l): Likewise.
1370         * math/w_logl.c (__logl): Likewise.
1371         * math/w_powl.c (__powl): Likewise.
1372         * math/w_remainderl.c (__remainderl): Likewise.
1373         * math/w_scalbl.c (sysv_scalbl): Likewise.
1374         * math/w_sinhl.c (__sinhl): Likewise.
1375         * math/w_sqrtl.c (__sqrtl): Likewise.
1376         * math/w_tgammal.c (__tgammal): Likewise.
1377         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1378         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1379         * math/libm-test.inc (acos_test): Add more tests.
1380         (acosh_test): Likewise.
1381         (asin_test): Likewise.
1382         (atanh_test): Likewise.
1383         (exp_test): Likewise.
1384         (exp10_test): Likewise.
1385         (exp2_test): Likewise.
1386         (expm1_test): Likewise.
1387         (lgamma_test): Likewise.
1388         (log_test): Likewise.
1389         (log10_test): Likewise.
1390         (log1p_test): Likewise.
1391         (log2_test): Likewise.
1392         (pow_test): Do not allow some spurious overflow exceptions.
1393         (sqrt_test): Add more tests.
1394         (tgamma_test): Likewise.
1395         (y0_test): Likewise.
1396         (y1_test): Likewise.
1397         (yn_test): Likewise.
1398
1399 2012-03-27  Anton Blanchard  <anton@samba.org>
1400
1401         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1402         MAP_HUGETLB.
1403         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1404         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1405         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1406
1407 2012-03-27  David S. Miller  <davem@davemloft.net>
1408
1409         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1410
1411         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1412         have-as-vis3 check.
1413
1414 2012-03-27  Andreas Jaeger  <aj@suse.de>
1415
1416         * sysdeps/x86_64/elf/configure.in: Moved to ...
1417         * sysdeps/x86_64/configure.in: ... here.
1418         * sysdeps/x86_64/elf/start.S: Moved to ...
1419         * sysdeps/x86_64/start.S: ... here.
1420         * sysdeps/x86_64/elf/configure: Delete.
1421
1422         * sysdeps/x86_64/configure.in: Merge contents from
1423         sysdeps/i386/configure.in (without i686 check).
1424
1425         * sysdeps/i386/elf/Versions: Merge into ...
1426         * sysdeps/i386/Versions: ... this.
1427         * sysdeps/i386/elf/Versions: Delete file.
1428         * sysdeps/i386/elf/start.S: Moved to ...
1429         * sysdeps/i386/start.S: ...here.
1430         * sysdeps/i386/elf/configure.in: Merge into...
1431         * sysdeps/i386/configure.in: ...here.
1432         * sysdeps/i386/elf/configure.in: Delete file.
1433         * sysdeps/i386/elf/configure: Delete file.
1434
1435         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1436         * debug/backtracesyms.c: ... here.
1437         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1438         * debug/backtracesymsfd.c: ... here.
1439         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1440         * sysdeps/generic/ifunc-sel.h: ... here.
1441
1442         * sysdeps/unix/i386/start.c: Delete file.
1443         * sysdeps/unix/sparc/start.c: Delete file.
1444         * sysdeps/unix/start.c: Delete file.
1445
1446         * sysdeps/sh/elf/configure.in: Moved to ...
1447         * sysdeps/sh/configure.in: ... here.
1448         * sysdeps/sh/elf/start.S: Moved to ...
1449         * sysdeps/sh/start.S: ... here.
1450         * sysdeps/sh/elf/configure: Delete file.
1451
1452         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1453         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1454         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1455         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1456         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1457         * sysdeps/powerpc/powerpc64/start.S: here.
1458         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1459         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1460         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1461         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1462         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1463
1464         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1465         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1466         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1467         * sysdeps/powerpc/powerpc32/start.S: ... here.
1468         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1469         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1470         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1471
1472         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1473         * sysdeps/powerpc/ifunc-sel.h: ... here.
1474         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1475         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1476
1477         * sysdeps/sparc/elf/configure.in: Moved to ...
1478         * sysdeps/sparc/configure.in: ... here.
1479         * sysdeps/sparc/elf/configure: Delete file.
1480         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1481         * sysdeps/sparc/sparc32/start.S: ... here.
1482         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1483         * sysdeps/sparc/sparc64/start.S: ... here.
1484         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1485         * sysdeps/sparc/sparc32/Makefile: ... this.
1486         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1487         * sysdeps/sparc/sparc64/Makefile: ... this.
1488
1489         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1490         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1491         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1492         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1493         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1494         * sysdeps/s390/s390-32/setjmp.S: ... here.
1495         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1496         * sysdeps/s390/s390-32/configure.in: ... here.
1497         * sysdeps/s390/s390-32/elf/configure: Delete file.
1498         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1499         * sysdeps/s390/s390-32/start.S: ... here.
1500
1501         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1502         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1503         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1504         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1505         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1506         * sysdeps/s390/s390-64/setjmp.S: ... here.
1507         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1508         * sysdeps/s390/s390-64/configure.in: ... here
1509         * sysdeps/s390/s390-64/elf/configure: Delete file.
1510         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1511         * sysdeps/s390/s390-64/start.S: ... here.
1512         * sysdeps/s390/s390-64/elf/configure: Delete.
1513
1514         * configure.in: Remove support for elf directories in sysdeps.
1515
1516         * configure: Regenerated.
1517         * sysdeps/i386/configure: Regenerated.
1518         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1519         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1520         * sysdeps/s390/s390-32/configure: Regenerated.
1521         * sysdeps/s390/s390-64/configure: Regenerated.
1522         * sysdeps/sh/configure: Regenerated.
1523         * sysdeps/sparc/configure: Regenerated.
1524         * sysdeps/x86_64/configure: Regenerated.
1525
1526 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1527
1528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1529
1530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1531         denormal result into account.
1532
1533 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1534
1535         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1536         Reported by Allan McRae <allan@archlinux.org>.
1537
1538 2012-03-23  Jeff Law  <law@redhat.com>
1539
1540         * nss/getnssent.c (__nss_getent): Fix typo.
1541
1542 2012-03-23  David S. Miller  <davem@davemloft.net>
1543
1544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1545
1546 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1547
1548         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1549         to pad to uint64_t for each field.
1550         (dl_tls_index): Replace unsigned long with uint64_t.
1551
1552 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1553         Paul Pluzhnikov  <ppluzhnikov@google.com>
1554
1555         [BZ #6528]
1556         * grp/Makefile (otherlibs): Don't set it.
1557         * inet/Makefile (otherlibs): Likewise.
1558         * login/Makefile (otherlibs): Likewise.
1559         * nscd/Makefile (otherlibs): Likewise.
1560         * posix/Makefile (otherlibs): Likewise.
1561         * pwd/Makefile (otherlibs): Likewise.
1562         * rt/Makefile (otherlibs): Likewise.
1563         * sunrpc/Makefile (otherlibs): Likewise.
1564         * nss/Makefile (otherlibs): Likewise.
1565         Add libnss_files to routines and static-only-routines.
1566         ($(objpfx)getent): Remove rule.
1567         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1568         static-only-routines.
1569
1570 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1571
1572         [BZ #13892]
1573         * math/s_cexp.c: Include <float.h>.
1574         (__cexp): Handle exp result overflowing not necessarily
1575         overflowing both real and imaginary parts of result.
1576         * math/s_cexpf.c: Likewise.
1577         * math/s_cexpl.c: Likewise.
1578         * math/libm-test.inc (cexp_test): Add more tests.
1579         * sysdeps/i386/fpu/libm-test-ulps: Update.
1580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1581
1582 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1583
1584         * include/link.h (ELFW): New macro.
1585         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1586         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1587
1588 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1589
1590         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1591         with uint64_t.
1592
1593 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1594
1595         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1596         declaration.
1597         (struct La_x32_retval): Likewise.
1598
1599 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1600
1601         * sysdeps/x86_64/preconfigure.in: New file.
1602         * sysdeps/x86_64/preconfigure: New generated file.
1603
1604 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1605
1606         [BZ #13824]
1607         * math/e_exp2l.c: Include <float.h>.
1608         (__ieee754_exp2l): Handle overflow and underflow cases
1609         separately.  Only pass fractional part of argument to
1610         __ieee754_expl.
1611         * math/libm-test.inc (exp2_test): Add more tests.
1612
1613         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1614         negating x to take absolute value.
1615         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1616         Likewise.
1617         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1618         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1619         Likewise.
1620         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1621         computing low part if x was negated.
1622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1623
1624 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1625
1626         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1627         la_x32_gnu_pltexit.
1628         (pltexit): Cast int_retval to ptrdiff_t.
1629         * elf/tst-auditmod3b.c: Likewise.
1630         * elf/tst-auditmod4b.c: Likewise.
1631         * elf/tst-auditmod5b.c: Likewise.
1632         * elf/tst-auditmod6b.c: Likewise.
1633         * elf/tst-auditmod6c.c: Likewise.
1634         * elf/tst-auditmod7b.c: Likewise.
1635
1636         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1637         and x32_gnu_pltexit.
1638
1639         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1640         __ELF_NATIVE_CLASS.
1641         (La_x32_regs): New macro.
1642         (La_x32_retval): Likewise.
1643         (la_x32_gnu_pltenter): New function prototype.
1644         (la_x32_gnu_pltexit): Likewise.
1645
1646 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1647
1648         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1649         exponent.
1650
1651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1652
1653         * configure.in (libc_cv_cc_nofma): Check for option to disable
1654         generation of FMA instructions.
1655         * configure: Regenerate.
1656         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1657         * sysdeps/ieee754/dbl-64/Makefile: New file.
1658         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1659         Remove brandred-fma4.
1660         (CFLAGS-brandred-fma4.c): Remove.
1661         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1662         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1663         define.
1664         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1665         define.
1666
1667 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1668
1669         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1670         LLONG_MAX != LONG_MAX.
1671         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1672         (_fitoa_word): Likewise.
1673         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1674         LLONG_MAX != LONG_MAX.
1675         * stdio-common/_itowa.h: Include <_itoa.h>.
1676         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1677         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1678         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1679         only if not defined.
1680         (_ITOA_WORD_TYPE): Likewise.
1681         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1682         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1683
1684 2012-03-21  David S. Miller  <davem@davemloft.net>
1685
1686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1687
1688 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1689
1690         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1691         of x86_64 when setting libc_cv_slibdir, libdir and
1692         libc_cv_localedir.
1693         * sysdeps/unix/sysv/linux/configure: Regenerated.
1694
1695 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1696
1697         * manual/lang.texi (Old Varargs): Remove section.
1698         (How Variadic): Update menu.
1699         (va_start): Do not mention varargs.h.
1700
1701 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1702             Joseph Myers  <joseph@codesourcery.com>
1703
1704         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1705         link test.
1706         * configure: Regenerated.
1707
1708 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1709
1710         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1711         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1712         conformtest.pl
1713
1714 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1715
1716         * NOTES: Remove.
1717         * Makefile (files-for-dist): Remove NOTES.
1718         (NOTES): Remove rule.
1719         * README: Don't refer to NOTES.
1720         * manual/creature.texi: Don't include macros.texi.
1721         * manual/intro.texi (creature.texi): Remove comment referring to
1722         NOTES.
1723
1724         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1725         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1726         * configure: Regenerated.
1727         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1728         LIBC_TRY_CC_OPTION.
1729         (libc_cv_as_i686): Likewise.
1730         (libc_cv_cc_avx): Likewise.
1731         (libc_cv_cc_sse2avx): Likewise.
1732         (libc_cv_cc_fma4): Likewise.
1733         (libc_cv_cc_novzeroupper): Likewise.
1734         * sysdeps/i386/configure: Regenerated.
1735
1736         [BZ #13883]
1737         * sysdeps/i386/fpu/s_cexp.S: Remove.
1738         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1739         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1740         * math/libm-test.inc (cexp_test): Add more tests.
1741         * sysdeps/i386/fpu/libm-test-ulps: Update.
1742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1743
1744 2012-03-21  Allan McRae  <allan@archlinux.org>
1745
1746         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1747
1748 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1749
1750         [BZ #13871]
1751         * math/w_exp2.c: Do not include <float.h>.
1752         (o_threshold, u_threshold): Remove.
1753         (__exp2): Calculate result before checking finiteness and calling
1754         __kernel_standard.
1755         * math/w_exp2f.c: Likewise.
1756         * math/w_exp2l.c: Likewise.
1757         * math/libm-test.inc (exp2_test): Require overflow exception for
1758         1e6 input.
1759
1760         [BZ #3866]
1761         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1762         range of signed 64-bit integers before using fistpll.  Remove
1763         checks for whether integers fit in mantissa bits.
1764         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1765         the range of signed 32-bit integers before using fistpl.  Remove
1766         checks for whether integers fit in mantissa bits.
1767         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1768         (__ieee754_powl): Test for y outside the range of signed 64-bit
1769         integers before using fistpll.  Reduce 64-bit values to 63-bit
1770         ones as needed.
1771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1772         divide-by-zero is raised for zero to large negative powers.
1773         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1774         (__ieee754_powl): Test for y outside the range of signed 64-bit
1775         integers before using fistpll.  Reduce 64-bit values to 63-bit
1776         ones as needed.
1777         * math/libm-test.inc (pow_test): Add more tests.
1778
1779 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1780
1781         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1782         <stdio-common/_itoa.h>.
1783         * debug/segfault.c: Likewise.
1784         * elf/dl-cache.c: Likewise.
1785         * elf/dl-minimal.c: Likewise.
1786         * elf/dl-misc.c: Likewise.
1787         * elf/dl-sysdep.c: Likewise.
1788         * elf/dl-version.c: Likewise.
1789         * elf/rtld.c: Likewise.
1790         * hurd/hurdsock.c: Likewise.
1791         * hurd/lookup-retry.c: Likewise.
1792         * malloc/malloc.c: Likewise.
1793         * malloc/mtrace.c: Likewise.
1794         * nscd/nscd_getgr_r.c: Likewise.
1795         * nscd/nscd_getpw_r.c: Likewise.
1796         * nscd/nscd_getserv_r.c: Likewise.
1797         * posix/getopt_init.c: Likewise.
1798         * posix/wordexp.c: Likewise.
1799         * stdio-common/_itoa.c: Likewise.
1800         * stdio-common/printf_fphex.c: Likewise.
1801         * stdio-common/vfprintf.c: Likewise.
1802         * string/_strerror.c: Likewise.
1803         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1804         * sysdeps/i386/i686/hp-timing.h: Likewise.
1805         * sysdeps/mach/_strerror.c: Likewise.
1806         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1807         * sysdeps/mach/hurd/sethostid.c: Likewise.
1808         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1809         * sysdeps/mach/xpg-strerror.c: Likewise.
1810         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1812         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1813         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1814         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1815         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1816         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1817         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1818         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1819         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1820         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1821         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1822         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1823         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1824         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1825         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1826         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1828         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1829         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1830         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1831
1832         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1833
1834         * stdio-common/_itoa.h: Moved to ...
1835         * sysdeps/generic/_itoa.h: Here.
1836
1837         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1838
1839         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1840         instead of "_itoa.h" and "_itowa.h".
1841         * stdio-common/vfprintf.: Likewise.
1842
1843 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1844
1845         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1846         <bits/wordsize.h>.
1847         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1848         (__signbit): Likwise.
1849         (llrintf): Likwise.
1850         (llrint): Likwise.
1851
1852 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1853
1854         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1855         __WORDSIZE != 64.
1856
1857 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1858
1859         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1860         OVERFLOW_EXCEPTION_OK.
1861         * math/libm-test.inc ("Philosophy"): Update comment about
1862         exception testing.
1863         (OVERFLOW_EXCEPTION): Define.
1864         (OVERFLOW_EXCEPTION_OK): Likewise.
1865         (INVALID_EXCEPTION_OK): Renumber.
1866         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1867         (IGNORE_ZERO_INF_SIGN): Likewise.
1868         (test_exceptions): Handle FE_OVERFLOW.
1869         (exp10_test): Expect overflow exceptions.
1870         (exp2_test): Likewise.
1871         (expm1_test): Likewise.
1872         (nextafter_test): Likewise.
1873         (pow_test): Likewise.
1874         (scalbn_test): Likewise.
1875         (scalbln_test): Likewise.
1876
1877 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1878
1879         * sysdeps/x86_64/bits/atomic.h
1880         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1881         64bit integer.
1882         (atomic_exchange_acq): Likewise.
1883         (__arch_exchange_and_add_body): Likewise.
1884         (__arch_add_body): Likewise.
1885         (atomic_add_negative): Likewise.
1886         (atomic_add_zero): Likewise.
1887
1888 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1889
1890         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1891         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1892
1893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1894
1895         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1896         Check __x86_64__ instead of __WORDSIZE.
1897
1898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1899
1900         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1901
1902 2012-03-19  David S. Miller  <davem@davemloft.net>
1903
1904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1905
1906         * sysdeps/sparc/fpu/fenv_private.h: New file.
1907         * sysdeps/sparc/fpu/math_private.h: Use it.
1908         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1909         Remove.
1910         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1911         (libc_feholdexcept_setroundl): Remove.
1912         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1913         Remove.
1914         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1915         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1916
1917 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1918
1919         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1920         int64_t instead of long int.
1921         (INSERT_WORDS64): Likwise.
1922
1923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1924
1925         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1926         _Unwind_GetCFA return to _Unwind_Ptr first.
1927
1928 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1929
1930         [BZ #13629]
1931         * math/s_clog.c: Include <float.h>.
1932         (__clog): Scale large or subnormal inputs.
1933         * math/s_clogf.c: Likewise.
1934         * math/s_clogl.c: Likewise.
1935         * math/s_clog10.c: Include <float.h>.
1936         (M_LOG10_2): Define.
1937         (__clog10): Scale large or subnormal inputs.
1938         * math/s_clog10f.c: Likewise.
1939         * math/s_clog10l.c: Likewise.
1940         * math/libm-test.inc (clog_test): Add more tests.
1941         (clog10_test): Likewise.
1942         * sysdeps/i386/fpu/libm-test-ulps: Update.
1943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944
1945         [BZ #11451]
1946         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1947         x and y.
1948         * math/libm-test.inc (atan2_test): Add another test.
1949
1950         * Makerules (common-objdir-compile): Remove.
1951         * sysdeps/unix/Makefile (config-generated): Do not add
1952         $(unix-generated) to variable.
1953         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1954         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1955         Remove rule.
1956         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1957         Likewise.
1958         [generic bits/local_lim.h] (before-compile): Do not append to
1959         variable.
1960         [generic bits/local_lim.h] (common-generated): Likewise.
1961         [generic sys/param.h] (before-compile): Do not append to variable.
1962         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1963         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1964         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1965         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1966         include.
1967         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1968         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1969         [generic sys/param.h] ($(addprefix
1970         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1971         [generic sys/param.h] (common-generated): Do not append to
1972         variable.
1973         [generic sys/param.h] (sysdep_headers): Likewise.
1974         [generic bits/errno.h] (before-compile): Do not append to
1975         variable.
1976         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1977         rule.
1978         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1979         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1980         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1981         [generic bits/errno.h] (common-generated): Do not append to
1982         variable.
1983         [generic bits/ioctls.h] (before-compile): Do not append to
1984         variable.
1985         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1986         rule.
1987         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1988         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1989         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1990         rule.
1991         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1992         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1993         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1994         [generic bits/ioctls.h] (common-generated): Do not append to
1995         variable.
1996         [generic sys/syscall.h] (syscall.h): Remove variable.
1997         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1998         rule.
1999         [generic sys/syscall.h] (before-compile): Do not append to
2000         variable.
2001         [generic sys/syscall.h] (common-generated): Likewise.
2002         * sysdeps/unix/errnos-tmpl.c: Remove file.
2003         * sysdeps/unix/errnos.awk: Likewise.
2004         * sysdeps/unix/ioctls-tmpl.c: Likewise.
2005         * sysdeps/unix/ioctls.awk: Likewise.
2006         * sysdeps/unix/mk-local_lim.c: Likewise.
2007         * sysdeps/unix/snarf-ioctls: Likewise.
2008
2009 2012-03-19  Richard Henderson  <rth@twiddle.net>
2010
2011         * sysdeps/i386/fpu/fenv_private.h: New file.
2012         * sysdeps/i386/fpu/math_private.h: Use it.
2013         (math_opt_barrier, math_force_eval): Remove.
2014         (libc_feholdexcept_setround_53bit): Remove.
2015         (libc_feupdateenv_53bit): Remove.
2016         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2017         (math_opt_barrier, math_force_eval): Remove.
2018         (libc_feholdexcept): Remove.
2019         (libc_feholdexcept_setround): Remove.
2020         (libc_fetestexcept, libc_fesetenv): Remove.
2021         (libc_feupdateenv_test): Remove.
2022         (libc_feupdateenv, libc_feholdsetround): Remove.
2023         (libc_feresetround): Remove.
2024
2025         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2026         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2027
2028         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2029         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2030         (libc_feupdateenv_testl): New.
2031         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2032         (libc_feupdateenv_testf): New.
2033         (libc_feupdateenv): Use libc_feupdateenv_test.
2034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2035         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2036
2037         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2038         (libc_feholdsetroundf, libc_feholdsetroundl): New.
2039         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2040         (libc_feresetround_noex): New.
2041         (libc_feresetround_noexf): New.
2042         (libc_feresetround_noexl): New.
2043         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2044         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2045         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2046         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2047         SET_RESTORE_ROUND.
2048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2049         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2050         (__cos): Likewise.
2051         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2052         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2053         SET_RESTORE_ROUND_NOEX.
2054         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2055         SET_RESTORE_ROUND_NOEXF.
2056         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2057         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2058         (libc_feholdsetroundf): New.
2059         (libc_feresetround, libc_feresetroundf): New.
2060
2061         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2062         (libc_feholdexcept_setround_53bit): Convert from macro to function.
2063         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
2064
2065         * sysdeps/generic/math_private.h: Include <fenv.h>.
2066         (default_libc_feholdexcept): New.
2067         (default_libc_feholdexcept_setround): New.
2068         (default_libc_fesetenv, default_libc_feupdateenv): New.
2069         (libc_feholdexcept): Only define if undefined.
2070         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2071         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2072         (libc_feholdexcept_setroundl): Likewise.
2073         (libc_feholdexcept_setround_53bit): Likewise.
2074         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2075         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2076         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2077         (libc_feupdateenv_53bit): Likewise.
2078         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2079         (libc_feholdexcept): Convert from macro to inline function.
2080         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2081         (libc_fesetenv, libc_feupdateenv): Likewise.
2082
2083         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2084         not previously defined.
2085         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2086         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2087         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2088         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2089         * sysdeps/ieee754/flt-32/math_private.h: New file.
2090         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2091         math_private.h below SET_FLOAT_WORD.
2092         (__isnan, __isinf_ns, __finite): Remove.
2093         (__isnanf, __isinf_nsf, __finitef): Remove.
2094
2095 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
2096
2097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2098
2099 2012-03-17  David S. Miller  <davem@davemloft.net>
2100
2101         [BZ #6471]
2102         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2103         for 2.16.
2104
2105 2012-03-16  David S. Miller  <davem@davemloft.net>
2106
2107         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2108         warnings.
2109
2110         [BZ #6471]
2111         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2112         properly.
2113         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2114         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2115         sysdep_routines when subdir is sysvipc.
2116         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2117         __getshmlba helper.
2118
2119         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2120
2121 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2122
2123         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2124         [__LP64__].
2125
2126 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2127
2128         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2129         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2130         (__lround): Renamed to ...
2131         (__llround): This.  Replace long int with long long int.
2132         Define lround functions as aliases of llround functions.
2133         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2134
2135 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2136
2137         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2138         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2139         adresses to uintptr_t.  Replace "long int" and "unsigned long
2140         int" with "greg_t" on va_arg.
2141
2142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2143
2144         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2145         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2146
2147         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2148         Move e_machine check before EI_CLASS check.  Handle x32
2149         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2150         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2151         SKIP_EM_IA_64 and include
2152         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2153
2154         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2155         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2156         (add_system_dir): New macro.
2157
2158         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2159         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2160
2161 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2162
2163         [BZ #2551]
2164         [BZ #2552]
2165         [BZ #2553]
2166         [BZ #2554]
2167         [BZ #2562]
2168         [BZ #2563]
2169         [BZ #2565]
2170         [BZ #2566]
2171         [BZ #2576]
2172         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2173         (y0): Likewise.
2174         * math/w_j0f.c (j0f): Likewise.
2175         (y0f): Likewise.
2176         * math/w_j0l.c (__j0l): Likewise.
2177         (__y0l): Likewise.
2178         * math/w_j1.c (j1): Likewise.
2179         (y1): Likewise.
2180         * math/w_j1f.c (j1f): Likewise.
2181         (y1f): Likewise.
2182         * math/w_j1l.c (__j1l): Likewise.
2183         (__y1l): Likewise.
2184         * math/w_jn.c (jn): Likewise.
2185         (yn): Likewise.
2186         * math/w_jnf.c (jnf): Likewise.
2187         (ynf): Likewise.
2188         * math/w_jnl.c (__jnl): Likewise.
2189         (__ynl): Likewise.
2190         * math/libm-test.inc (j0_test): Add more tests.
2191         (j1_test): Likewise.
2192         (jn_test): Likewise.  Add trailing semicolon to existing test.
2193         (y0_test): Likewise.
2194         (y1_test): Likewise.
2195         * sysdeps/i386/fpu/libm-test-ulps: Update.
2196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197
2198         [BZ #13851]
2199         [BZ #13854]
2200         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2201         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2202         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2203         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2204         (__tanl): Set errno for infinite argument.
2205         * sysdeps/i386/fpu/mptan.c: Remove.
2206         * sysdeps/i386/fpu/s_tan.S: Likewise.
2207         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2208         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2209         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2210         * math/libm-test.inc (tan_test): Add more tests and enable more
2211         tests for double and long double.
2212         * sysdeps/i386/fpu/libm-test-ulps: Update.
2213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2214
2215 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2216
2217         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2218         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2219
2220 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2221
2222         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2223         * configure.in: Use it for both main tree and add-ons.
2224         * configure: Regenerated.
2225
2226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2227
2228         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2229
2230 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2231
2232         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2233         in comment.
2234
2235         [BZ #13851]
2236         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2237         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2238         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2239         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2240         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2241         infinite argument.
2242         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2243         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2244         != 0 for prec == 2.
2245         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2246         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2247         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2248         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2249         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2250         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2251         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2252         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2253         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2254         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2255         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2256         * math/libm-test.inc (cos_test): Add more tests and enable more
2257         tests for long double.
2258         (sin_test): Likewise.
2259         (sincos_test): Likewise.
2260         * sysdeps/i386/fpu/libm-test-ulps: Update.
2261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2262
2263 2012-03-16  David S. Miller  <davem@davemloft.net>
2264
2265         * sysdeps/sparc/fpu/math_private.h: New file.
2266
2267 2012-03-15  David S. Miller  <davem@davemloft.net>
2268
2269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2270         file.
2271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2273         file.
2274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2279         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2280         sysdep routines.
2281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2282
2283         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2284         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2285
2286         * sysdeps/sparc/sparc-ifunc.h: New file.
2287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2288         sparc-ifunc.h
2289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2291         Likewise.
2292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2293         Likewise.
2294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2298         Likewise.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2304         Likewise.
2305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2306         Likewise.
2307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2311         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2314         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2326         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2327         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2328         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2331
2332 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2333
2334         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2335         scaling.
2336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2337
2338 2012-03-15  Andreas Jaeger  <aj@suse.de>
2339
2340         [BZ #13852]
2341         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2342         ieee754/flt-32 implementation for sin, cos and sincos.
2343         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2344         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2345         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2346         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2347         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2348         ieee754/flt-32 implementation for tan.
2349
2350         * math/libm-test.inc (cos_test): Enable some large input tests for
2351         float as well
2352         (sin_test): Likewise.
2353         (sincos_test): Likewise.
2354         (tan_test): Add tests for large input.
2355
2356         * sysdeps/i386/fpu/libm-test-ulps: Update.
2357
2358 2012-03-15  Andreas Jaeger  <aj@suse.de>
2359
2360         [BZ #13658]
2361         * math/libm-test.inc (cos_test): Add more test cases.
2362         (sin_test): Likewise.
2363         (sincos_test): Likewise.
2364
2365 2012-03-15  Andreas Jaeger  <aj@suse.de>
2366
2367         [BZ #13837]
2368         * math/libm-test.inc (cos_test): Add a test case for large input
2369         value.
2370         (sin_test): Likewise.
2371         (sincos_test): Likewise.
2372
2373 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2374         Joseph Myers  <joseph@codesourcery.com>
2375
2376         [BZ #13658]
2377         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2378         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2379         * sysdeps/i386/fpu/branred.c: Likewise.
2380         * sysdeps/i386/fpu/dosincos.c: Likewise.
2381         * sysdeps/i386/fpu/mpa.c: Likewise.
2382         * sysdeps/i386/fpu/s_cos.S: Likewise.
2383         * sysdeps/i386/fpu/s_sin.S: Likewise.
2384         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2385         * sysdeps/i386/fpu/sincos32.c: Likewise.
2386
2387         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2388         Define.
2389         (libc_feupdateenv_53bit): Define.
2390         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2391         Define.
2392         (libc_feupdateenv_53bit): Define.
2393
2394         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2395         53 bit (without extend i386 double precision).
2396
2397         * math/libm-test.inc (sincos_test): Add tests for large input.
2398         (sin): Likewise.
2399         (cos): Likewise.
2400
2401         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2402
2403 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2404
2405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2406
2407 2012-03-15  David S. Miller  <davem@davemloft.net>
2408
2409         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2410         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2411         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2412         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2425         file.
2426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2428         file.
2429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2431         file.
2432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2434         file.
2435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2436         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2437         fmin/fmax sysdep routines.
2438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2439
2440 2012-03-14  David S. Miller  <davem@davemloft.net>
2441
2442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2448         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2449         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2464         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2465         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2468         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2469         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2470         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2471         routines.
2472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2473         file.
2474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2476         file.
2477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2479         file.
2480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2482         file.
2483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2485         file.
2486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2488         file.
2489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2490         file.
2491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2492         file.
2493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2494         file.
2495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2496         New file.
2497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2498         file.
2499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2500         file.
2501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2503         file.
2504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2506         file.
2507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2509         file.
2510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2512         VIS3 routines.
2513
2514         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2515         New file.
2516
2517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2518
2519         * sysdeps/sparc/configure.in: New file.
2520         * sysdeps/sparc/configure: Generate.
2521         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2522         * configure: Regenerate.
2523         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2524         * config.make.in (have-as-vis3): New.
2525         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2526         available use -Av9d instead of -Av9a.
2527         * sysdeps/sparc/sparc64/Makefile: Likewise.
2528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2530         New file.
2531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2532         file.
2533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2534         New file.
2535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2536         file.
2537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2540         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2541         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2542
2543         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2544         fzeros/fnegs to load 0x80000000 into a float register instead of
2545         using the stack.
2546         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2547
2548 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2549
2550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2551         bits/syscall.h.
2552         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2553         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2554         ($(inst_includedir)/bits/syscall.h): Remove rule.
2555         ($(objpfx)bits/syscall.d): Include instead of
2556         $(objpfx)syscall-list.d.
2557         (generated): Change syscall-list.h and syscall-list.d to
2558         bits/syscall.h and bits/syscall.d.
2559
2560 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2561
2562         [BZ #13846]
2563         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2564
2565 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2566
2567         [BZ #13841]
2568         * math/s_csqrt.c: Include <float.h>.
2569         (__csqrt): Scale large or subnormal inputs.
2570         * math/s_csqrtf.c: Likewise.
2571         * math/s_csqrtl.c: Likewise.
2572         * math/libm-test.inc (csqrt_test): Add more tests.
2573         * sysdeps/i386/fpu/libm-test-ulps: Update.
2574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2575
2576         [BZ #13840]
2577         * math/libm-test.inc (hypot_test): Add more tests.
2578
2579 2012-03-13  David S. Miller  <davem@davemloft.net>
2580
2581         [BZ #13840]
2582         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2583         double-precision for the calculation instead of scaling.
2584
2585 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2586
2587         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2588         manipulate bits before adding and subtracting TWO52[sx].
2589         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2590         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2591         Likewise.
2592         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2593
2594 2012-03-13  David S. Miller  <davem@davemloft.net>
2595
2596         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2597         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2598         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2599         rtld-global-offsets.h
2600         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2601
2602         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2603         large parameters.
2604
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2606
2607         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2608         'err' in the ifdef scope in which it is actually used.
2609
2610         * nss/nss_db/db-init.c: Include string.h
2611
2612 2012-03-12  David S. Miller  <davem@davemloft.net>
2613
2614         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2615         masking out of the most significant byte of random value used.
2616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2617         Fix coding style in previous change.
2618
2619         * sysdeps/unix/sysv/linux/kernel-features.h
2620         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2621         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2622         expression.
2623         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2624         later.
2625
2626 2012-03-11  David S. Miller  <davem@davemloft.net>
2627
2628         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2629         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2630         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2631         for 'resultvar' otherwise things get truncated on 64-bit.
2632
2633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2634         Fix masking out of the most significant byte of random value used.
2635
2636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2637
2638 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2639
2640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2641
2642 2012-03-09  David S. Miller  <davem@davemloft.net>
2643
2644         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2645         variables with appropriate CPP guards.
2646         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2647         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2648         on resulting framesize and the management of the outregs buffer for pltexit.
2649         Preserve floating point return values across _dl_call_pltexit call.
2650         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2651         framesize and the management of the outregs buffer for pltexit.
2652         Preserve floating point return values across _dl_call_pltexit
2653         call.
2654         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2655         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2656         (print_exit): Fix format string for return register value.
2657
2658 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2659
2660         * sunrpc/Makefile (others): Add rpcgen.
2661         ($(objpfx)rpcgen): Remove special build rule and dependency on
2662         libc.
2663         * sunrpc/rpcgen.c: New file.
2664
2665 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2666
2667         [BZ #13673]
2668         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2669         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2670         * sysdeps/i386/crti.S: Likewise.
2671         * sysdeps/i386/crtn.S: Likewise.
2672         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2673         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2674         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2676         * sysdeps/sh/crti.S: Likewise.
2677         * sysdeps/sh/crtn.S: Likewise.
2678         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2679
2680         [BZ #13673]
2681         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2682         with URL.
2683         * locale/programs/locfile-kw.gperf: Likewise.
2684         * locale/programs/charmap-kw.h: Regenerated.
2685         * locale/programs/locfile-kw.h: Likewise.
2686
2687         [BZ #13673]
2688         * intl/plural.y: Replace FSF snail mail address with URL.
2689         * intl/plural.c: Regenerated.
2690
2691 2012-03-09  Richard Henderson  <rth@twiddle.net>
2692
2693         * include/math_private.h: Remove file.
2694         * math/math_private.h: Move file ...
2695         * sysdeps/generic/math_private.h: ... here.
2696
2697         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2698         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2699         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2700
2701         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2702         and <math_private.h>.
2703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2708         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2709         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2711         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2712         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2715         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2717         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2719         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2722         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2724         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2725         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2729         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2733         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2735         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2737         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2740         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2741         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2743         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2746         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2747         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2749         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2750         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2752         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2753         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2754         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2759         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2762         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2767         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2775         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2781         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2783         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2784         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2786         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2790         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2791         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2792         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2793         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2794         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2795         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2796         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2797         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2798         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2799         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2800         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2801         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2803         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2804         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2805         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2806         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2807         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2808         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2809         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2810         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2815         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2816         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2817         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2819         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2820         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2821         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2822         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2823         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2824         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2826         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2830         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2831         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2832         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2833         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2834         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2835         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2836         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2837         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2838         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2839         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2840         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2841         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2842         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2845         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2846         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2847         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2848         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2849         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2850         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2851         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2852         * sysdeps/ieee754/k_standard.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2904         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2905         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2909         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2911         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2912         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2913         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2915         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2916         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2921         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2923         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2925         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2946         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2950         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2951         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2957         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2961         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2971         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2975         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2980         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2984         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2985         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2986         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2989         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2992         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2993         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2996         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2997         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3002         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3006         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3007         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3008         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3012         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3013         * sysdeps/ieee754/s_lib_version.c: Likewise.
3014         * sysdeps/ieee754/s_matherr.c: Likewise.
3015         * sysdeps/ieee754/s_signgam.c: Likewise.
3016         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3017         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3018         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3019         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3020         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3022         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3023         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3024         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3025         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3027         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3028         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3030         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3034         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3037
3038 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3039
3040         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3041         * sunrpc/rpc_main.c: Likewise.
3042         * sunrpc/rpc_svcout.c: Likewise.
3043
3044 2012-03-09  David S. Miller  <davem@davemloft.net>
3045
3046         * include/math_private.h: New file.
3047
3048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3049
3050         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3051         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3052         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3053         from <bits/socket_type.h>.
3054         (enum __socket_type): Don't define here.
3055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3057         bits/socket_type.h.
3058
3059         [BZ #13566]
3060         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3061         checking __USE_GNU.
3062
3063         * Makerules ($(inst_includedir)/%.h): New rule.
3064         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3065         (install-others): Remove variable setting.
3066         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3067
3068 2012-03-08  Richard Henderson  <rth@twiddle.net>
3069
3070         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3071         from macro to inline function; merge with the
3072         !__LIBC_INTERNAL_MATH_INLINES version.
3073         (__ieee754_sqrtf): Likewise.
3074
3075         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3076         to inline function.
3077         (__rintf, __floor, __floorf): Likewise.
3078
3079         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3080         macro to inline function.
3081         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3082
3083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3084         not <math/math_private.h>.
3085
3086 2012-03-08  David S. Miller  <davem@davemloft.net>
3087
3088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3089         copyright year.
3090         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3091
3092 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
3093
3094         * resolv/gai_misc.c (handle_requests): Fix struct timespec
3095         normalization.
3096         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3097         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3098
3099 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
3100
3101         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
3102         be defined individually, they must be defined as a block.  Define
3103         S for printing a string instead of hidint the different by using a
3104         macro for adding the 'l'.
3105         * stdio-common/tst-fphex-wide.c: Adjust.
3106
3107 2012-03-07  Marek Polacek  <polacek@redhat.com>
3108
3109         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3110
3111 2012-03-08  Marek Polacek  <polacek@redhat.com>
3112
3113         [BZ #13806]
3114         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3115         * stdio-common/tst-fphex.c: Define a few macros to make the
3116         test reusable.  Use them.
3117         * stdio-common/tst-fphex-wide.c: New file.
3118
3119 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3120
3121         [BZ #6911]
3122         * manual/macros.texi (gnusystems): New macro.
3123         (nongnusystems): Likewise.
3124         (gnulinuxhurdsystems): Likewise.
3125         (gnuhurdsystems): Likewise..
3126         (gnulinuxsystems): Likewise.
3127         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3128         variants of the GNU system, not "GNU system".
3129         * manual/conf.texi: Likewise.
3130         * manual/errno.texi: Likewise.  Update example of errno macro
3131         expansion.
3132         * manual/filesys.texi: Likewise.
3133         (getumask): Document as specific to GNU/Hurd.
3134         * manual/install.texi: Likewise.  Reword some references to
3135         GNU/Linux.
3136         * manual/intro.texi: Likewise.
3137         * manual/io.texi: Likewise.
3138         (File Name Portability): Detail which constraints are inapplicable
3139         to all GNU systems and which are only inapplicable to GNU/Hurd.
3140         * manual/job.texi: Likewise.
3141         * manual/llio.texi: Likewise.
3142         (O_NOCTTY): Document as present on GNU/Linux.
3143         * manual/maint.texi: Likewise.
3144         * manual/memory.texi: Likewise.
3145         * manual/pattern.texi: Likewise.
3146         * manual/pipe.texi: Likewise.
3147         * manual/process.texi: Likewise.
3148         * manual/resource.texi: Likewise.
3149         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3150         child on GNU/Hurd.
3151         * manual/setjmp.texi: Likewise.
3152         * manual/signal.texi: Likewise.
3153         * manual/startup.texi: Likewise.
3154         * manual/stdio.texi: Likewise.
3155         * manual/terminal.texi: Likewise.
3156         (ONLCR): Document as POSIX.
3157         (OXTABS): Document availability on GNU/Linux as XTABS.
3158         (ONOEOT): Document availability separately from other bits.
3159         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3160         * manual/time.texi: Likewise.
3161         * manual/users.texi: Likewise.
3162         * INSTALL: Regenerated.
3163         * sysdeps/gnu/errlist.c: Regenerated.
3164
3165         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3166         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3167         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3168         puts.
3169         * configure: Regenerated.
3170
3171 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3172
3173         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3174         default includes instead of AC_HEADER_CHECK.
3175         * sysdeps/i386/configure: Regenerated.
3176
3177         [BZ #10716]
3178         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3179         * math/s_cacoshf.c (__cacoshf): Likewise.
3180         * math/s_cacoshl.c (__cacoshl): Likewise.
3181         * math/s_casinh.c (__casinh): Set signs of result from argument.
3182         * math/s_casinhf.c (__casinhf): Likewise.
3183         * math/s_casinhl.c (__casinhl): Likewise.
3184         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3185         (casinh_test): Add more tests.
3186         * sysdeps/i386/fpu/libm-test-ulps: Update.
3187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188
3189 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3190
3191         * po/zh_TW.po: Update from translation team.
3192
3193         * login/Makefile (distribute): Remove variable.
3194         * catgets/Makefile: Likewise.
3195         * mach/Makefile: Likewise.
3196         * malloc/Makefile: Likewise.
3197         * misc/Makefile: Likewise.
3198         * iconv/Makefile: Likewise.
3199         * nscd/Makefile: Likewise.
3200         * hurd/Makefile: Likewise.
3201         * manual/Makefile: Likewise.
3202         * locale/Makefile: Likewise.
3203         * intl/Makefile: Likewise.
3204         * conform/Makefile: Likewise.
3205         * nss/Makefile: Likewise.
3206         * time/Makefile: Likewise.
3207         * soft-fp/Makefile: Likewise.
3208         * dirent/Makefile: Likewise.
3209         * gmon/Makefile: Likewise.
3210         * po/Makefile: Likewise.
3211         * rt/Makefile: Likewise.
3212         * socket/Makefile: Likewise.
3213         * math/Makefile: Likewise.
3214         * signal/Makefile: Likewise.
3215         * debug/Makefile: Likewise.
3216         * elf/Makefile: Likewise.
3217         * timezone/Makefile: Likewise.
3218         * stdlib/Makefile: Likewise.
3219         * iconvdata/Makefile: Likewise.
3220         * sunrpc/Makefile: Likewise.
3221         * io/Makefile: Likewise.
3222         * argp/Makefile: Likewise.
3223         * inet/Makefile: Likewise.
3224         * hesiod/Makefile: Likewise.
3225         * grp/Makefile: Likewise.
3226         * csu/Makefile: Likewise.
3227         * wctype/Makefile: Likewise.
3228         * crypt/Makefile: Likewise.
3229         * libio/Makefile: Likewise.
3230         * string/Makefile: Likewise.
3231         * nis/Makefile: Likewise.
3232         * resolv/Makefile: Likewise.
3233         * stdio-common/Makefile: Likewise.
3234         * wcsmbs/Makefile: Likewise.
3235         * dlfcn/Makefile: Likewise.
3236         * posix/Makefile: Likewise.
3237
3238         [BZ #6959]
3239         * timezone/Makefile: Don't install timezone files, just the programs
3240         and scripts.
3241
3242 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3243
3244         * nss/databases.def: Add missing gshadow entry.
3245
3246         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3247
3248 2012-03-06  Marek Polacek  <polacek@redhat.com>
3249
3250         [BZ #13726]
3251         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3252         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3253         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3254         * stdio-common/tst-long-dbl-fphex.c: New file.
3255
3256 2012-03-06  David S. Miller  <davem@davemloft.net>
3257
3258         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3259         (set_obp_int): New function.
3260         (get_obp_int): New function.
3261         (__get_clockfreq_via_dev_openprom): Likewise.
3262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3263         Avoid unused variable warnings on 'val' and use builtin_expect.
3264         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3265         __builtin_expect.
3266         (INLINE_CLONE_SYSCALL): Likewise.
3267
3268 2012-03-05  David S. Miller  <davem@davemloft.net>
3269
3270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3271
3272 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3273
3274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3275
3276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3277         only for |x| >= 40.
3278         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3279
3280 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3281
3282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3283         Replace gettimeofday with __vdso_gettimeofday.
3284
3285         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3286         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3287         __vdso_clock_gettime and __vdso_getcpu.
3288
3289         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3290         time with __vdso_time.
3291
3292 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3293
3294         * manual/lang.texi (size_t): Note types to which size_t may be
3295         equivalent with the GNU C Library, but do not describe when
3296         differences between them are significant.
3297
3298 2012-03-05  Andreas Jaeger  <aj@suse.de>
3299
3300         * sysdeps/i386/fpu/libm-test-ulps: Update.
3301
3302 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3303
3304         [BZ #3976]
3305         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3306         (__ieee754_pow): Save and restore rounding mode and use
3307         round-to-nearest for main computations.
3308         * math/libm-test.inc (pow_test_tonearest): New function.
3309         (pow_test_towardzero): Likewise.
3310         (pow_test_downward): Likewise.
3311         (pow_test_upward): Likewise.
3312         (main): Call the new functions.
3313         * sysdeps/i386/fpu/libm-test-ulps: Update.
3314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3315
3316         [BZ #3976]
3317         * math/libm-test.inc (cosh_test_tonearest): New function.
3318         (cosh_test_towardzero): Likewise.
3319         (cosh_test_downward): Likewise.
3320         (cosh_test_upward): Likewise.
3321         (sinh_test_tonearest): Likewise.
3322         (sinh_test_towardzero): Likewise.
3323         (sinh_test_downward): Likewise.
3324         (sinh_test_upward): Likewise.
3325         (main): Call the new functions.
3326         * sysdeps/i386/fpu/libm-test-ulps: Update.
3327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328
3329 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3330
3331         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3332         default stack guard is set in last bytes.
3333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3334
3335 2012-03-05  Kees Cook  <keescook@chromium.org>
3336
3337         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3338
3339         [BZ #13656]
3340         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3341         possibly allocate from heap instead of stack.
3342         * stdio-common/bug-vfprintf-nargs.c: New file.
3343         * stdio-common/Makefile (tests): Add nargs overflow test.
3344
3345 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3346
3347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3348
3349 2012-03-03  Marek Polacek  <polacek@redhat.com>
3350
3351         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3352         * math/math_private.h: Likewise.
3353         * stdlib/tst-strtod.c: Likewise.
3354         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3355         * sysdeps/x86_64/bits/atomic.h: Likewise.
3356
3357 2012-03-02  David S. Miller  <davem@davemloft.net>
3358
3359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3363         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3364         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3365         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3366         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3367
3368 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3369
3370         [BZ #13792]
3371         * manual/examples/README: New file, says the example source files
3372         can be used under GPL>=2.
3373         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3374         line containing just "*/".
3375         * manual/examples/add.c: Add copyright header (GPL>=2).
3376         * manual/examples/argp-ex1.c: Likewise.
3377         * manual/examples/argp-ex2.c: Likewise.
3378         * manual/examples/argp-ex3.c: Likewise.
3379         * manual/examples/argp-ex4.c: Likewise.
3380         * manual/examples/atexit.c: Likewise.
3381         * manual/examples/db.c: Likewise.
3382         * manual/examples/dir.c: Likewise.
3383         * manual/examples/dir2.c: Likewise.
3384         * manual/examples/execinfo.c: Likewise.
3385         * manual/examples/filecli.c: Likewise.
3386         * manual/examples/filesrv.c: Likewise.
3387         * manual/examples/fmtmsgexpl.c: Likewise.
3388         * manual/examples/genpass.c: Likewise.
3389         * manual/examples/inetcli.c: Likewise.
3390         * manual/examples/inetsrv.c: Likewise.
3391         * manual/examples/isockad.c: Likewise.
3392         * manual/examples/longopt.c: Likewise.
3393         * manual/examples/memopen.c: Likewise.
3394         * manual/examples/memstrm.c: Likewise.
3395         * manual/examples/mkfsock.c: Likewise.
3396         * manual/examples/mkisock.c: Likewise.
3397         * manual/examples/mygetpass.c: Likewise.
3398         * manual/examples/pipe.c: Likewise.
3399         * manual/examples/popen.c: Likewise.
3400         * manual/examples/rprintf.c: Likewise.
3401         * manual/examples/search.c: Likewise.
3402         * manual/examples/select.c: Likewise.
3403         * manual/examples/setjmp.c: Likewise.
3404         * manual/examples/sigh1.c: Likewise.
3405         * manual/examples/sigusr.c: Likewise.
3406         * manual/examples/stpcpy.c: Likewise.
3407         * manual/examples/strdupa.c: Likewise.
3408         * manual/examples/strftim.c: Likewise.
3409         * manual/examples/strncat.c: Likewise.
3410         * manual/examples/subopt.c: Likewise.
3411         * manual/examples/swapcontext.c: Likewise.
3412         * manual/examples/termios.c: Likewise.
3413         * manual/examples/testopt.c: Likewise.
3414         * manual/examples/testpass.c: Likewise.
3415         * manual/examples/timeval_subtract.c: Likewise.
3416
3417         [BZ #13792]
3418         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3419         function to ...
3420         * manual/timeval_subtract.c.texi: ... here, new file.
3421
3422 2012-03-02  David S. Miller  <davem@davemloft.net>
3423
3424         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3425
3426 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3427
3428         [BZ #3976]
3429         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3430         (__sin): Save and restore rounding mode and use round-to-nearest
3431         for all computations.
3432         (__cos): Save and restore rounding mode and use round-to-nearest
3433         for all computations.
3434         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3435         <fenv.h>.
3436         (tan): Save and restore rounding mode and use round-to-nearest for
3437         all computations.
3438         * math/libm-test.inc (cos_test_tonearest): New function.
3439         (cos_test_towardzero): Likewise.
3440         (cos_test_downward): Likewise.
3441         (cos_test_upward): Likewise.
3442         (sin_test_tonearest): Likewise.
3443         (sin_test_towardzero): Likewise.
3444         (sin_test_downward): Likewise.
3445         (sin_test_upward): Likewise.
3446         (tan_test_tonearest): Likewise.
3447         (tan_test_towardzero): Likewise.
3448         (tan_test_downward): Likewise.
3449         (tan_test_upward): Likewise.
3450         (main): Call the new functions.
3451         * sysdeps/i386/fpu/libm-test-ulps: Update.
3452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3453
3454         [BZ #10135]
3455         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3456         small n, then large n, before computing and testing k+n.
3457         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3459         Likewise.
3460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3461         Likewise.
3462         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3463         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3467         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3470         * math/libm-test.inc (scalbn_test): Add more tests.
3471         (scalbln_test): Likewise.
3472
3473         * manual/filesys.texi (mode_t): Describe constraints on size and
3474         signedness, not exact equivalence to a particular type.
3475         (ino_t): Likewise.
3476         (ino64_t): Likewise.
3477         (dev_t): Likewise.
3478         (nlink_t): Likewise.
3479         (blkcnt_t): Likewise.
3480         (blkcnt64_t): Likewise.
3481         * manual/llio.texi (off_t): Likewise.
3482
3483         [BZ #3976]
3484         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3485         (__ieee754_exp): Save and restore rounding mode and use
3486         round-to-nearest for all computations.
3487         * math/libm-test.inc (exp_test_tonearest): New function.
3488         (exp_test_towardzero): Likewise.
3489         (exp_test_downward): Likewise.
3490         (exp_test_upward): Likewise.
3491         (main): Call the new functions.
3492         * sysdeps/i386/fpu/libm-test-ulps: Update.
3493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3494
3495 2012-03-01  Chris Demetriou  <cgd@google.com>
3496
3497         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3498         have predictable order.
3499
3500 2012-03-01  David S. Miller  <davem@davemloft.net>
3501
3502         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3503
3504         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3505         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3506         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3507         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3508
3509         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3510         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3511         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3513         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3514         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3515         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3516         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3517         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3518
3519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3520
3521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3522         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3524
3525         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3526         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3527         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3528         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3529         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3531         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3532         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3533         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3534         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3535         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3541         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3542         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3543         * sysdeps/sparc/elf/configure: Regenerated.
3544
3545 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3546
3547         * configure.in (AS, LD): Require binutils 2.20 or later.
3548         * configure: Regenerated.
3549         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3550         as required minimum version.
3551         * INSTALL: Regenerated.
3552
3553         [BZ #2541]
3554         [BZ #4108]
3555         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3556         before squaring exponent.
3557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3558         bottom long double and 27 bits of top long double before squaring
3559         exponent.
3560         * math/libm-test.inc (erfc_test): Add more tests.
3561         * sysdeps/i386/fpu/libm-test-ulps: Update.
3562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3564
3565 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3566
3567         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3568         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3569         containing bit-fields.
3570         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3571         * soft-fp/single.h (_FP_UNION_S): Likewise.
3572         * soft-fp/double.h (_FP_UNION_D): Likewise.
3573
3574 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3575
3576         [BZ #13786]
3577         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3578         not include ../strcmp.S.
3579         [USE_AS_STRNCASECMP_L]: Likewise.
3580         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3581         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3582         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3583         (__strncasecmp_l_ia32): Define as alias to
3584         __strncasecmp_l_nonascii.
3585
3586         [BZ #5794]
3587         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3588         * sysdeps/i386/fpu/libm-test-ulps: Update.
3589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3590
3591         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3593
3594 2012-02-29  Jeff Law  <law@redhat.com>
3595
3596         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3597         out of bounds read.
3598
3599 2012-02-29  Marek Polacek  <polacek@redhat.com>
3600
3601         [BZ #13706]
3602         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3603         * elf/Makefile: Add rules to run tst-unused-dep.out.
3604
3605 2012-02-28  David S. Miller  <davem@davemloft.net>
3606
3607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3611         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3612         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3613
3614 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3615
3616         * math/libm-test.inc (llround_test): Move one test from
3617         lround_test.  Use TEST_f_L in moved test.
3618         (lround_test): Move misplaced test to llround_test.  Add testcase
3619         from bug 2561.
3620
3621 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3622
3623         * sysdeps/x86_64/fpu/e_expf.S: New file.
3624         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3625
3626 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3627
3628         [BZ #13637]
3629         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3630         of remain_len that may cause incomplete multi-byte character and
3631         false match.
3632         * posix/bug-regex33.c: New file.
3633         * posix/Makefile (tests): Add bug-regex33.
3634
3635 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3636
3637         * manual/macros.texi: New file.
3638         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3639         * manual/libc.texinfo: Include macros.texi.
3640         * manual/creatute.texi: Likewise.
3641         * manual/install.texi: Likewise.
3642         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3643         @glibcadj{} in references to the GNU C Library.
3644         * manual/charset.texi: Likewise.
3645         * manual/conf.texi: Likewise.
3646         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3647         when not using those macros.
3648         * manual/creature.texi: Likewise.
3649         * manual/crypt.texi: Likewise.
3650         * manual/errno.texi: Likewise.
3651         * manual/filesys.texi: Likewise.
3652         * manual/header.texi: Likewise.
3653         * manual/install.texi: Likewise.
3654         * manual/intro.texi: Likewise.
3655         * manual/io.texi: Likewise.
3656         * manual/job.texi: Likewise.
3657         * manual/lang.texi: Likewise.
3658         * manual/libc.texiinfo: Likewise.
3659         * manual/llio.texi: Likewise.
3660         * manual/locale.texi: Likewise.
3661         * manual/maint.texi: Likewise.
3662         * manual/math.texi: Likewise.
3663         * manual/memory.texi: Likewise.
3664         * manual/message.texi: Likewise.
3665         * manual/nss.texi: Likewise.
3666         * manual/pattern.texi: Likewise.
3667         * manual/process.texi: Likewise.
3668         * manual/resource.texi: Likewise.
3669         * manual/search.texi: Likewise.
3670         * manual/setjmp.texi: Likewise.
3671         * manual/signal.texi: Likewise.
3672         * manual/socket.texi: Likewise.
3673         * manual/startup.texi: Likewise.
3674         * manual/stdio.texi: Likewise.
3675         * manual/string.texi: Likewise.
3676         * manual/sysinfo.texi: Likewise.
3677         * manual/syslog.texi: Likewise.
3678         * manual/terminal.texi: Likewise.
3679         * manual/time.texi: Likewise.
3680         * manual/users.texi: Likewise.
3681         * INSTALL: Regenerated.
3682         * NOTES: Regenerated.
3683         * sysdeps/gnu/errlist.c: Regenerated.
3684
3685 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3686
3687         * include/dirent.h: Include <dirstream.h> before
3688         <dirent/dirent.h>.
3689
3690 2012-02-28  David S. Miller  <davem@davemloft.net>
3691
3692         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3693         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3694         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3695         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3696
3697 2012-02-27  David S. Miller  <davem@davemloft.net>
3698
3699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3701         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3702         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3703
3704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3705         frame pointer instead of stack pointer relative arg slot.
3706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3707         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3708         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3709
3710 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3711
3712         [BZ #3992]
3713         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3714
3715 2012-02-27  David S. Miller  <davem@davemloft.net>
3716
3717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3721         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3722         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3723         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3724         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3725
3726 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3727
3728         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3729         later.  Allow versions 5-9.
3730         * configure: Regenerated.
3731         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3732         required minimum version and 4.6 as recommended version.  Do not
3733         mention bugs in GCC 2.7 and 2.8.
3734         * INSTALL: Regenerated.
3735
3736 2012-02-27  David S. Miller  <davem@davemloft.net>
3737
3738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3742         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3743         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3744         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3745         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3746
3747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3748         manipulate bits before adding and subtracting TWO112[sx].
3749         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3750
3751 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3752
3753         [BZ #13775]
3754         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3755         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3756         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3757         being in POSIX, because they are in 1003.1-2008.
3758
3759         * rt/tst-aio.c: Include <fcntl.h>.
3760         * rt/tst-aio7.c: Likewise.
3761         * rt/tst-aio64.c: Likewise.
3762
3763         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3764
3765 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3766
3767         * manual/install.texi (--with-headers): Describe headers as
3768         interface headers, not private headers.
3769         (Specific advice for GNU/Linux systems): Describe use of headers
3770         from "make headers_install", not private headers from older
3771         kernels.
3772         * INSTALL: Regenerated.
3773         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3774         Change to 2.6.19.
3775         * sysdeps/unix/sysv/linux/configure: Regenerated.
3776
3777         * manual/llio.texi (fclean): Remove documentation.
3778
3779         * manual/Makefile (libc-texi-generated): New variable.  Include
3780         version.texi.
3781         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3782         $(libc-texi-generated), not duplicated list of files.
3783         (version.texi, stamp-version): New rules.
3784         (realclean): Remove $(libc-texi-generated), not individual files
3785         from that list.  Do not remove dir-add.texinfo.
3786         * manual/libc.texinfo: Comment out uses of edition numbers and
3787         references to printed manual.  Remove last-updated dates.
3788         (EDITION): Comment out.
3789         (ISBN): Likewise.
3790         (VERSION, UPDATED): Remove.
3791         (version.texi): Include.
3792
3793 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3794
3795         * sysdeps/posix/spawni.c: Include <signal.h>.
3796         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3797         * sysdeps/pthread/aio_fsync.c: Likewise.
3798
3799 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3800
3801         * conform/Makefile (tests): Run only when not cross-compiling and
3802         when fast-check is not defined.
3803
3804         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3805         * conform/data/limits.h-data: Fixes for POSIX2008.
3806         * conform/run-conformtest.sh: Run all tests.
3807         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3808         headers.
3809         * include/bits/dlfcn.h: Likewise.
3810         * include/langinfo.h: Likewise.
3811         * include/monetary.h: Likewise.
3812         * include/sys/poll.h: Likewise.
3813
3814         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3815         for __USE_GNU.
3816         * posix/spawn.h: Define __need_sigset_t.
3817         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3818         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3819         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3820         to get sigevent_t only.
3821         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3822         only for __USE_GNU.
3823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3824         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3825         process_vm_writev only for __USE_GNU.
3826         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3827
3828         * conform/Makefile: For now ignore errors from run-conformtest.
3829         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3830         POSIX to avoid namespace pollution.  Don't prepend headers.
3831         * conform/data/aio.h-data: Fixes for POSIX testing.
3832         * conform/data/fcntl.h-data: Likewise.
3833         * conform/data/glob.h-data: Likewise.
3834         * conform/data/grp.h-data: Likewise.
3835         * conform/data/pthread.h-data: Likewise.
3836         * conform/data/pwd.h-data: Likewise.
3837         * conform/data/signal.h-data: Likewise.
3838         * conform/data/spawn.h-data: Likewise.
3839         * conform/data/stdio.h-data: Likewise.
3840         * conform/data/stdlib.h-data: Likewise.
3841         * conform/data/stropts.h-data: Likewise.
3842         * conform/data/sys/mman.h-data: Likewise.
3843         * conform/data/sys/stat.h-data: Likewise.
3844         * conform/data/sys/types.h-data: Likewise.
3845         * conform/data/sys/wait.h-data: Likewise.
3846         * conform/data/time.h-data: Likewise.
3847         * conform/data/unistd.h-data: Likewise.
3848         * conform/data/utime.h-data: Likewise.
3849
3850         * io/sys/stat.h: fchmod was always in POSIX.
3851         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3852         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3853         * rt/aio.h: Define __need_timespec before including <time.h>.
3854         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3855         struct.  Add forward declaration of pthread_attr_t and use it in
3856         sigevent.
3857         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3859         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3860         always remove CLK_TCK definition.
3861
3862 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3863
3864         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3865
3866 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3867
3868         * conform/run-conformtest.sh: New file.
3869         * conform/Makefile: Run run-conformtest for tests.
3870         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3871         support.
3872
3873         * conform/data/uchar.h-data: New file.
3874         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3875         * conform/data/arpa/inet.h-data: Likewise.
3876         * conform/data/assert.h-data: Likewise.
3877         * conform/data/complex.h-data: Likewise.
3878         * conform/data/cpio.h-data: Likewise.
3879         * conform/data/ctype.h-data: Likewise.
3880         * conform/data/dirent.h-data: Likewise.
3881         * conform/data/dlfcn.h-data: Likewise.
3882         * conform/data/errno.h-data: Likewise.
3883         * conform/data/fcntl.h-data: Likewise.
3884         * conform/data/float.h-data: Likewise.
3885         * conform/data/fmtmsg.h-data: Likewise.
3886         * conform/data/fnmatch.h-data: Likewise.
3887         * conform/data/ftw.h-data: Likewise.
3888         * conform/data/glob.h-data: Likewise.
3889         * conform/data/grp.h-data: Likewise.
3890         * conform/data/iconv.h-data: Likewise.
3891         * conform/data/inttypes.h-data: Likewise.
3892         * conform/data/langinfo.h-data: Likewise.
3893         * conform/data/libgen.h-data: Likewise.
3894         * conform/data/limits.h-data: Likewise.
3895         * conform/data/locale.h-data: Likewise.
3896         * conform/data/math.h-data: Likewise.
3897         * conform/data/monetary.h-data: Likewise.
3898         * conform/data/mqueue.h-data: Likewise.
3899         * conform/data/ndbm.h-data: Likewise.
3900         * conform/data/net/if.h-data: Likewise.
3901         * conform/data/netdb.h-data: Likewise.
3902         * conform/data/netinet/in.h-data: Likewise.
3903         * conform/data/nl_types.h-data: Likewise.
3904         * conform/data/poll.h-data: Likewise.
3905         * conform/data/pthread.h-data: Likewise.
3906         * conform/data/pwd.h-data: Likewise.
3907         * conform/data/regex.h-data: Likewise.
3908         * conform/data/sched.h-data: Likewise.
3909         * conform/data/search.h-data: Likewise.
3910         * conform/data/semaphore.h-data: Likewise.
3911         * conform/data/setjmp.h-data: Likewise.
3912         * conform/data/signal.h-data: Likewise.
3913         * conform/data/spawn.h-data: Likewise.
3914         * conform/data/stdarg.h-data: Likewise.
3915         * conform/data/stdio.h-data: Likewise.
3916         * conform/data/stdlib.h-data: Likewise.
3917         * conform/data/string.h-data: Likewise.
3918         * conform/data/strings.h-data: Likewise.
3919         * conform/data/stropts.h-data: Likewise.
3920         * conform/data/sys/ipc.h-data: Likewise.
3921         * conform/data/sys/mman.h-data: Likewise.
3922         * conform/data/sys/msg.h-data: Likewise.
3923         * conform/data/sys/resource.h-data: Likewise.
3924         * conform/data/sys/select.h-data: Likewise.
3925         * conform/data/sys/sem.h-data: Likewise.
3926         * conform/data/sys/shm.h-data: Likewise.
3927         * conform/data/sys/socket.h-data: Likewise.
3928         * conform/data/sys/stat.h-data: Likewise.
3929         * conform/data/sys/statvfs.h-data: Likewise.
3930         * conform/data/sys/time.h-data: Likewise.
3931         * conform/data/sys/timeb.h-data: Likewise.
3932         * conform/data/sys/times.h-data: Likewise.
3933         * conform/data/sys/types.h-data: Likewise.
3934         * conform/data/sys/uio.h-data: Likewise.
3935         * conform/data/sys/un.h-data: Likewise.
3936         * conform/data/sys/utsname.h-data: Likewise.
3937         * conform/data/sys/wait.h-data: Likewise.
3938         * conform/data/syslog.h-data: Likewise.
3939         * conform/data/tar.h-data: Likewise.
3940         * conform/data/termios.h-data: Likewise.
3941         * conform/data/utime.h-data: Likewise.
3942         * conform/data/utmpx.h-data: Likewise.
3943         * conform/data/varargs.h-data: Likewise.
3944         * conform/data/wchar.h-data: Likewise.
3945         * conform/data/wctype.h-data: Likewise.
3946         * conform/data/wordexp.h-data: Likewise.
3947
3948         * include/stropts.h: New file.
3949         * include/uchar.h: New file.
3950         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3951         * include/assert.h: Likewise.
3952         * include/ctype.h: Likewise.
3953         * include/dirent.h: Likewise.
3954         * include/dlfcn.h: Likewise.
3955         * include/fcntl.h: Likewise.
3956         * include/fnmatch.h: Likewise.
3957         * include/glob.h: Likewise.
3958         * include/grp.h: Likewise.
3959         * include/libio.h: Likewise.
3960         * include/locale.h: Likewise.
3961         * include/math.h: Likewise.
3962         * include/net/if.h: Likewise.
3963         * include/netdb.h: Likewise.
3964         * include/netinet/in.h: Likewise.
3965         * include/pthread.h: Likewise.
3966         * include/pwd.h: Likewise.
3967         * include/regex.h: Likewise.
3968         * include/sched.h: Likewise.
3969         * include/search.h: Likewise.
3970         * include/setjmp.h: Likewise.
3971         * include/signal.h: Likewise.
3972         * include/stdio.h: Likewise.
3973         * include/stdlib.h: Likewise.
3974         * include/string.h: Likewise.
3975         * include/sys/cdefs.h: Likewise.
3976         * include/sys/mman.h: Likewise.
3977         * include/sys/msg.h: Likewise.
3978         * include/sys/resource.h: Likewise.
3979         * include/sys/select.h: Likewise.
3980         * include/sys/socket.h: Likewise.
3981         * include/sys/stat.h: Likewise.
3982         * include/sys/statvfs.h: Likewise.
3983         * include/sys/time.h: Likewise.
3984         * include/sys/times.h: Likewise.
3985         * include/sys/uio.h: Likewise.
3986         * include/sys/utsname.h: Likewise.
3987         * include/sys/wait.h: Likewise.
3988         * include/termios.h: Likewise.
3989         * include/time.h: Likewise.
3990         * include/ulimit.h: Likewise.
3991         * include/unistd.h: Likewise.
3992         * include/utime.h: Likewise.
3993         * include/wchar.h: Likewise.
3994         * include/wctype.h: Likewise.
3995         * include/wordexp.h: Likewise.
3996
3997         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3998
3999         * time/time.h: TIME_UTC must be a macro.
4000         Make timespec_get available for ISO C11 only as well.
4001
4002 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
4003
4004         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4005         Reported by Peng Haitao <penght@cn.fujitsu.com>.
4006
4007 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4008
4009         * configure.in: Use -o not -a in test for unsupported multi-arch.
4010
4011 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4012
4013         * manual/texinfo.tex: Update to version 2012-01-19.16.
4014
4015 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4016
4017         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4018
4019 2012-02-24  Roland McGrath  <roland@hack.frob.com>
4020
4021         [BZ #13738]
4022         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4023         * manual/fdl-1.3.texi: New file.
4024         * manual/fdl-1.1.texi: File removed.
4025
4026         [BZ #13738]
4027         * manual/libc.texinfo (FDL_VERSION): New @set.
4028         Use it for mention of FDL in cover text.
4029         (Documentation License): Use it in @include file name.
4030
4031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4032             Roland McGrath  <roland@hack.frob.com>
4033
4034         [BZ #5461]
4035         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4036         not LONG_LONG_MAX and LONG_LONG_MIN.
4037         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4038         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
4039         name.
4040         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4041
4042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4043
4044         [BZ #2547]
4045         [BZ #11365]
4046         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4047         manipulate bits before adding and subtracting TWO23[sx].
4048         * math/libm-test.inc (nearbyint_test): Add more tests.
4049
4050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4051
4052         [BZ #2548]
4053         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4054         bits before adding and subtracting TWO23[sx].
4055         * math/libm-test.inc (rint_test): Add more tests.
4056         (rint_test_tonearest): Likewise.
4057         (rint_test_towardzero): Likewise.
4058         (rint_test_downward): Likewise.
4059         (rint_test_upward: Likewise.
4060
4061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4062
4063         [BZ #10110]
4064         * include/stdc-predef.h: New file.  Extracted from features.h.
4065         * include/features.h: Include stdc-predef.h.
4066         * Makefile (headers): Add stdc-predef.h.
4067         * CONFORMANCE (Compiler limitations): Update.
4068
4069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4070
4071         * manual/libc.texinfo (VERSION, UPDATED): Revert.
4072
4073 2012-02-21  David S. Miller  <davem@davemloft.net>
4074
4075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4076         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4077
4078 2012-02-20  David S. Miller  <davem@davemloft.net>
4079
4080         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4081         using a normal save/restore sequence, rather than allocating a
4082         dummy stack frame just to store a frame pointer and restore.
4083         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4084
4085 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4086
4087         * manual/install.texi: Fix stray word in line-wrapped comment.
4088
4089 2012-02-20  David S. Miller  <davem@davemloft.net>
4090
4091         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4092         both binutils and gcc support GOTDATA.
4093
4094         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4095         "rd %pc" in the PIC register setup sequences.
4096
4097         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4098         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4099         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4100         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4101         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4106         (SYSCALL_ERROR_HANDLER): Likewise.
4107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4110         (SYSCALL_ERROR_HANDLER): Likewise.
4111
4112         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4113         (HAVE_GCC_GOTDATA): New.
4114         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4115         relocation support in both binutils and gcc.
4116         * sysdeps/sparc/elf/configure: Regenerate.
4117
4118         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4119         * sysdeps/sparc/sparc32/elf/configure: Delete.
4120         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4121         * sysdeps/sparc/sparc64/elf/configure: Delete.
4122         * sysdeps/sparc/elf/configure.in: New file.
4123         * sysdeps/sparc/elf/configure: Generate.
4124
4125         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4126         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4127         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4128         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4129         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4130
4131 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4132
4133         * manual/install.texi: Do not mention specific glibc version
4134         numbers.
4135         * manual/libc.texinfo (VERSION, UPDATED): Update.
4136         (@copying): Use @copyright{} and range of years.
4137
4138 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4139
4140         [BZ #13695]
4141         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4142         [crti.S not in sysdirs] (generated): Do not append.
4143         [crti.S not in sysdirs] (omit-deps): Likewise.
4144         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4145         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4146         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4147         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4148         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4149         Likewise.
4150         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4151         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4152         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4153         * csu/defs.awk: Remove file.
4154         * sysdeps/generic/initfini.c: Likewise.
4155         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4156         variable.
4157         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4158         Likewise.
4159
4160 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4161
4162         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4163         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4164         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4165         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4166         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4167         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4168         <bits/epoll.h>.
4169         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4170         (__EPOLL_PACKED): Define to empty if not defined by
4171         <bits/epoll.h>.
4172         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4174         bits/epoll.h.
4175
4176 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4177
4178         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4179         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4180         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4181         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4182         <bits/timerfd.h>.
4183         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4185         bits/timerfd.h.
4186
4187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4188
4189         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4190         in C locale.
4191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4192         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195
4196 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4197
4198         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4199         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4200
4201 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4202
4203         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4204         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4205         defined.
4206         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4207         Likewise.
4208         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4209         entry for 2.16.
4210
4211 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4212
4213         * math/w_acos.c: Use non-signaling floating-point comparisons.
4214         * math/w_acosf.c: Likewise.
4215         * math/w_acosh.c: Likewise.
4216         * math/w_acoshf.c: Likewise.
4217         * math/w_acoshl.c: Likewise.
4218         * math/w_acosl.c: Likewise.
4219         * math/w_asin.c: Likewise.
4220         * math/w_asinf.c: Likewise.
4221         * math/w_asinl.c: Likewise.
4222         * math/w_atanh.c: Likewise.
4223         * math/w_atanhf.c: Likewise.
4224         * math/w_atanhl.c: Likewise.
4225         * math/w_exp2.c: Likewise.
4226         * math/w_exp2f.c: Likewise.
4227         * math/w_exp2l.c: Likewise.
4228         * math/w_j0.c: Likewise.
4229         * math/w_j0f.c: Likewise.
4230         * math/w_j0l.c: Likewise.
4231         * math/w_j1.c: Likewise.
4232         * math/w_j1f.c: Likewise.
4233         * math/w_j1l.c: Likewise.
4234         * math/w_jn.c: Likewise.
4235         * math/w_jnf.c: Likewise.
4236         * math/w_log.c: Likewise.
4237         * math/w_log10.c: Likewise.
4238         * math/w_log10f.c: Likewise.
4239         * math/w_log10l.c: Likewise.
4240         * math/w_log2.c: Likewise.
4241         * math/w_log2f.c: Likewise.
4242         * math/w_log2l.c: Likewise.
4243         * math/w_logf.c: Likewise.
4244         * math/w_logl.c: Likewise.
4245         * math/w_sqrt.c: Likewise.
4246         * math/w_sqrtf.c: Likewise.
4247         * math/w_sqrtl.c: Likewise.
4248         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4249         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4251         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4252         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4253
4254 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4255
4256         [BZ #9739]
4257         * manual/string.texi (strnlen): Use correct parameter name in
4258         equivalent expression.
4259
4260 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4261
4262         [BZ #11174]
4263         * manual/users.texi (seteuid): Consistently use neweuid for
4264         argument name.
4265
4266 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4267
4268         [BZ #13704]
4269         * manual/nss.texi (Services in the NSS configuration): Correct
4270         list of services in example configuration file.
4271
4272 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4273
4274         [BZ #11322]
4275         * manual/arith.texi: Remove statements about negative zero
4276         behaving identically to zero.
4277
4278 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4279
4280         [BZ #5993]
4281         * manual/install.texi: Do not document upgrading from libc5.
4282
4283 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4284
4285         [BZ #4596]
4286         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4287
4288 2012-02-18  David S. Miller  <davem@davemloft.net>
4289
4290         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4291         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4292         %o7 across the call.
4293         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4294         instead.
4295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4296         SETUP_PIC_REG_LEAF.
4297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4298         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4299         * sysdeps/sparc/crtn.S: Likewise.
4300
4301 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4302
4303         * aout/Makefile: Remove.
4304
4305 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4306
4307         [BZ #13058]
4308         * manual/examples/argp-ex1.c (main): Format definition in GNU
4309         style.
4310         * manual/examples/argp-ex2.c (main): Likewise.
4311         * manual/examples/argp-ex3.c (main): Likewise.
4312         * manual/examples/argp-ex4.c (main): Likewise.
4313         * manual/examples/longopt.c (main): Use new-style prototype
4314         definition.
4315         * manual/examples/strncat.c (main): Specify return type and use
4316         (void) for arguments.
4317         * manual/examples/subopt.c (main): Use char **argv argument.
4318
4319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4320
4321         [BZ #5077]
4322         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4323         rounding modes.
4324
4325 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4326
4327         [BZ #6907]
4328         * manual/string.texi (strchr): Change when strchrnul is
4329         recommended.
4330
4331 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4332
4333         [BZ #174]
4334         * manual/locale.texi (setlocale): Document LOCPATH.
4335
4336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4337
4338         [BZ #10210]
4339         * manual/process.texi (execle): Move @dots{} before last argument.
4340
4341 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4342
4343         [BZ #12047]
4344         * manual/charset.texi (Generic Charset Conversion): Fix typo
4345         (LC_TYPE -> LC_CTYPE).
4346
4347 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4348
4349         [BZ #5805]
4350         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4351         (scalbnf): Likewise.
4352         (scalbnl): Likewise.
4353         (scalbln): Likewise.
4354         (scalblnf): Likewise.
4355         (scalblnl): Likewise.
4356         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4357         (vwarnx): Likewise.
4358         (verr): Likewise.
4359         (verrx): Likewise.
4360         * manual/filesys.texi (telldir): Use braces around return type.
4361         * manual/llio.texi (mmap): Add space after comma.
4362         (mmap64): Likewise.
4363         * manual/math.texi (jn): Use @var{} on parameter names.
4364         (jnf): Likewise.
4365         (jnl): Likewise.
4366         (yn): Likewise.
4367         (ynf): Likewise.
4368         (ynl): Likewise.
4369         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4370         line.
4371         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4372         "...".
4373         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4374         (sched_get_priority_max): Likewise.
4375         * manual/signal.texi (sigvec): Add space after comma.
4376         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4377         names.
4378         (if_indextoname): Likewise.
4379         (if_freenameindex): Likewise.
4380         (sendto): Use ',' instead of '.' in prototype.
4381         * manual/startup.texi (syscall): Use @dots{} instead of literal
4382         "...".
4383         * manual/stdio.texi (__fpending): Separate initial words of
4384         paragraph from @deftypefun line.
4385         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4386         "...".
4387         (vsyslog): Use @var{} on parameter names.
4388         * manual/terminal.texi (stty): Use @var{} on parameter names.
4389         * manual/users.texi (getutmp): Use @var{} on parameter names.
4390         (getutmpx): Likewise.
4391
4392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4393
4394         [BZ #6884]
4395         * manual/stdio.texi (fopen): Fix typos in description of
4396         ",ccs=STRING".
4397
4398 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4399
4400         [BZ #4026]
4401         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4402         get clock_id definition.
4403
4404 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4405
4406         [BZ #4822]
4407         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4408         (madvise): Cast every argument to void on its own.
4409
4410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4411
4412         [BZ #9902]
4413         * manual/startup.texi (Exit Status): Fix typo.
4414
4415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4416
4417         [BZ #10140]
4418         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4419         * manual/examples/argp-ex2.c: Likewise.
4420         * manual/examples/argp-ex3.c: Likewise.
4421
4422 2012-02-16  Richard Henderson  <rth@redhat.com>
4423
4424         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4425         * sysdeps/s390/s390-32/initfini.c: Remove.
4426         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4427         * sysdeps/s390/s390-64/initfini.c: Remove.
4428
4429 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4430
4431         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4432         compiler output for sysdeps/generic/initfini.c.
4433         * sysdeps/sh/elf/initfini.c: Remove file.
4434
4435 2012-02-16  David S. Miller  <davem@davemloft.net>
4436
4437         [BZ #11494]
4438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4439
4440         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4441         * sysdeps/sparc/crti.S: New file.
4442         * sysdeps/sparc/crtn.S: New file.
4443         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4444         * sysdeps/sparc/sparc64/Makefile: Likewise.
4445
4446 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4447
4448         [BZ #3335]
4449         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4450
4451 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4452
4453         [BZ #4822]
4454         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4455
4456         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4457         (write, read, close): Likewise.
4458         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4459
4460 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4461
4462         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4463         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4464         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4465         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4466         <bits/signalfd.h>.
4467         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4469         bits/signalfd.h.
4470
4471 2012-02-14  Marek Polacek  <polacek@redhat.com>
4472
4473         * sysdeps/x86_64/crti.S: New file.
4474         * sysdeps/x86_64/crtn.S: New file.
4475         * sysdeps/x86_64/elf/initfini.c: Remove file.
4476
4477 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4478
4479         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4480         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4481         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4482         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4483         <bits/inotify.h>.
4484         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4486         bits/inotify.h.
4487
4488 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4489
4490         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4491         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4492         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4493         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4494         <bits/eventfd.h>.
4495         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4497         bits/eventfd.h.
4498
4499 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4500
4501         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4502         __feraiseexcept instead of feraiseexcept.
4503
4504         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4505         nanosleep invocations.
4506         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4507         strings, and add error checking for a nanosleep invocations.
4508
4509 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4510
4511         Replace FSF snail mail address with URLs, as per GNU coding standards.
4512         Most of the snail mail addresses were wrong anyway, and omitting
4513         them makes the source code easier to maintain.  Almost all of the
4514         changes are to license notices and to locale LC_IDENTIFICATION
4515         addresses, except for this one:
4516         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4517         not its snail mail address.
4518
4519 2012-02-09  Richard Henderson  <rth@twiddle.net>
4520
4521         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4522         of kernel-features.h.
4523
4524         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4525
4526 2012-02-08  Marek Polacek  <polacek@redhat.com>
4527
4528         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4529         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4530         * sysdeps/gnu/_G_config.h: Likewise.
4531         * sysdeps/generic/_G_config.h: Likewise.
4532
4533 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4534
4535         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4536         tests.
4537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4538
4539         * sysdeps/powerpc/powerpc32/crti.S: New file.
4540         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4541         * sysdeps/powerpc/powerpc64/crti.S: New file.
4542         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4543
4544         * Makeconfig (have-initfini): Don't set.
4545         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4546         * configure.in (nopic_initfini): Don't substitute.
4547         * config.h.in (HAVE_INITFINI): Don't #undef.
4548         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4549         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4550
4551 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4552
4553         Support crti.S and crtn.S provided directly by architectures.
4554         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4555         [crti.S in sysdirs] (omit-deps): Likewise.
4556         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4557         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4558         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4559         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4560         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4561         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4562         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4563         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4564         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4565         compiler output for sysdeps/generic/initfini.c.
4566         * sysdeps/i386/elf/Makefile: Remove file.
4567         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4568
4569 2012-02-07  Marek Polacek  <polacek@redhat.com>
4570
4571         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4572         * sysdeps/gnu/_G_config.h: Likewise.
4573         * sysdeps/mach/hurd/_G_config.h: Likewise.
4574
4575 2012-02-07  Marek Polacek  <polacek@redhat.com>
4576
4577         * math/Makefile (tests): Add tst-CMPLX2.
4578         * math/tst-CMPLX2.c: New file.
4579
4580 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4581
4582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4583
4584         * math/libm-test.inc (jn_test): Add missing L suffix.
4585
4586 2012-02-06  Marek Polacek  <polacek@redhat.com>
4587
4588         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4589         * sysdeps/i386/fpu/e_powf.S: Likewise.
4590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4591         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4592         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4593         * sysdeps/i386/fpu/e_pow.S: Likewise.
4594         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4595         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4596         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4597         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4598         * sysdeps/i386/fpu/e_log2.S: Likewise.
4599         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4600         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4601         * sysdeps/i386/fpu/e_powl.S: Likewise.
4602         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4603         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4604         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4605         * sysdeps/i386/fpu/e_logl.S: Likewise.
4606         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4607         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4608         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4609         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4610         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4611         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4612         * sysdeps/i386/fpu/e_log.S: Likewise.
4613         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4615         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4616         * sysdeps/i386/fpu/e_logf.S: Likewise.
4617         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4619         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4620         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4621         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4622         * sysdeps/i386/fpu/e_log10.S: Likewise.
4623         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4625         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4626         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4627         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4628         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4629         * sysdeps/i386/asm-syntax.h: Likewise.
4630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4632         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4633         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4634         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4635         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4636         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4637         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4638         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4639         * sysdeps/powerpc/sysdep.h: Likewise.
4640         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4642
4643 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4644
4645         [BZ #411]
4646         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4647
4648 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4649
4650         * sysdeps/i386/sysdep.h: Include <features.h>.
4651         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4652         version.
4653
4654 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4655
4656         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4657         Define.
4658         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4659         LOAD_PIC_REG_STR.
4660
4661 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4662
4663         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4664         (SETUP_PIC_REG): Use GET_PC_THUNK.
4665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4666         macro.
4667
4668 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4669
4670         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4671         for non-PIC compilation.
4672         (SETUP_PIC_REG): Add .p2align directive.
4673         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4674         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4675         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4676         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4677         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4678         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4679         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4688         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4689         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4690         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4691         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4692         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4695         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4696         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4697         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4699         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4701         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4702         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4703         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4704         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4705         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4706         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4707         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4708         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4709         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4710         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4711         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4712         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4713         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4714
4715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4716
4717         * math/tst-CMPLX.c: Include <stdio.h>.
4718
4719 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4720
4721         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4722         float.
4723         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4724         * sysdeps/sparc/bits/mathdef.h: Likewise.
4725
4726 2012-01-31  Marek Polacek  <polacek@redhat.com>
4727
4728         * libio/libio.h: Don't define _PARAMS.
4729         * locale/programs/config.h: Don't define PARAMS.
4730         * stdlib/strtol_l.c: Likewise.
4731         (__strtol_l): Remove PARAMS from the prototype.
4732
4733 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4734
4735         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4736         names.  Just use the correct names.  Remove unnecessary wrapper
4737         functions.
4738         * malloc/arena.c: Likewise.
4739         * malloc/hooks.c: Likewise.
4740
4741         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4742         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4743         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4744
4745 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4746
4747         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4748         into tail calls.
4749         (update_get_addr): New function.
4750         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4751         GET_ADDR_MODULE parameter.
4752
4753 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4754
4755         * crypt/cert.c: Remove __STDC__ conditionals.
4756         * crypt/crypt-entry.c: Likewise.
4757         * crypt/crypt_util.c: Likewise.
4758         * libio/filedoalloc.c: Likewise.
4759         * libio/fileops.c: Likewise.
4760         * libio/genops.c: Likewise.
4761         * libio/iofclose.c: Likewise.
4762         * libio/iofdopen.c: Likewise.
4763         * libio/iofopen.c: Likewise.
4764         * libio/iofopen64.c: Likewise.
4765         * libio/iogetdelim.c: Likewise.
4766         * libio/iopopen.c: Likewise.
4767         * libio/obprintf.c: Likewise.
4768         * libio/oldfileops.c: Likewise.
4769         * libio/oldiofclose.c: Likewise.
4770         * libio/oldiofdopen.c: Likewise.
4771         * libio/oldiofopen.c: Likewise.
4772         * libio/oldiopopen.c: Likewise.
4773         * libio/wfiledoalloc.c: Likewise.
4774         * libio/wgenops.c: Likewise.
4775         * locale/programs/xmalloc.c: Likewise.
4776         * misc/syslog.c: Likewise.
4777         * stdio-common/xbug.c: Likewise.
4778         * string/memchr.c: Likewise.
4779         * string/memcmp.c: Likewise.
4780         * string/memrchr.c: Likewise.
4781         * string/rawmemchr.c: Likewise.
4782         * sysdeps/posix/getcwd.c: Likewise.
4783         * time/strftime_l.c: Likewise.
4784
4785 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4786
4787         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4788         * config.make.in (config-cflags-sse2avx): Define.
4789         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4790         Fix typo.
4791
4792 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4793
4794         * scripts/config.guess: Update from upstream config git repository.
4795         * scripts/config.sub: Likewise.
4796
4797 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4798
4799         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4800         (EM_NUM): Update.
4801         (R_TILEPRO_*, R_TILEGX_*): New macros.
4802
4803         * scripts/firstversions.awk: Fix bug in version range handling.
4804
4805         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4806
4807         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4808
4809         * include/sys/epoll.h: New file.
4810         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4811         libc_hidden_def.
4812
4813 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4814
4815         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4816         Avoid unnecessary __WORDSIZE == 64 test.
4817         (fmaxf): Use VEX format if possible.
4818         (fmax): Likewise.
4819         (fminf): Likewise.
4820         (fmin): Likewise.
4821
4822         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4823         * math/math_private.h: Remove libc_fegetround* and
4824         libc_fesetround*.
4825         * sysdeps/i386/configure.in: Check for -msse2avx.
4826         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4827         also if SSE2AVX is defined.
4828         Remove libc_fegetround* and libc_fesetround*.
4829         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4830         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4832         of HAS_YMM_USABLE.
4833         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4834         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4835         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4836         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4837         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4838
4839         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4840
4841 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4842
4843         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4844         size is not set.
4845         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4846
4847 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4848
4849         [BZ #13618]
4850         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4851         relocation.
4852         * Makeconfig (libm): Define.
4853         * elf/Makefile: Add rules to build and run tst-relsort1.
4854         * elf/tst-relsort1.c: New file.
4855         * elf/tst-relsort1mod1.c: New file.
4856         * elf/tst-relsort1mod2.c: New file.
4857
4858 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4859
4860         * math/s_ldexp.c: Remove __STDC__ conditionals.
4861         * math/s_ldexpf.c: Likewise.
4862         * math/s_ldexpl.c: Likewise.
4863         * math/s_nextafter.c: Likewise.
4864         * math/s_nexttowardf.c: Likewise.
4865         * math/s_significand.c: Likewise.
4866         * math/s_significandf.c: Likewise.
4867         * math/s_significandl.c: Likewise.
4868         * math/w_jnl.c: Likewise.
4869         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4870         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4871         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4872         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4873         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4875         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4876         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4877         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4878         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4879         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4881         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4882         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4883         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4885         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4886         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4887         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4890         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4891         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4893         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4894         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4896         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4897         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4898         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4899         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4900         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4901         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4902         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4903         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4904         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4906         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4907         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4908         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4909         * sysdeps/ieee754/k_standard.c: Likewise.
4910         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4911         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4912         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4913         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4914         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4915         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4917         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4918         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4919         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4920         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4922         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4923         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4924         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4925         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4926         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4927         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4928         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4929         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4932         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4933         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4934         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4935         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4939         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4940         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4941         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4942         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4943         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4945         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4946         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4949         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4950         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4957         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4958         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4959         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4960         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4961         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4962         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4963         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4966         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4967         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4970         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4971         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4972         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4973         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4974         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4975         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4976         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4977         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4978         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4979         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4981         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4982         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4983         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4984         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4986         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4987         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4988         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4989         * sysdeps/ieee754/s_matherr.c: Likewise.
4990         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4991         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4994
4995 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4996
4997         * crypt/md5.h: Remove __STDC__ conditionals.
4998         * libio/libioP.h: Likewise.
4999         * locale/programs/config.h: Likewise.
5000         * sysdeps/generic/sysdep.h: Likewise.
5001         * sysdeps/i386/asm-syntax.h: Likewise.
5002         * sysdeps/s390/asm-syntax.h: Likewise.
5003         * sysdeps/unix/sysdep.h: Likewise.
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5006
5007 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5008
5009         * libio/libio.h: Remove __STDC__ conditionals.
5010         * malloc/obstack.h: Likewise.
5011         * math/complex.h: Likewise.
5012         * math/math.h: Likewise.
5013         * sysdeps/generic/_G_config.h: Likewise.
5014         * sysdeps/gnu/_G_config.h: Likewise.
5015         * sysdeps/mach/hurd/_G_config.h: Likewise.
5016         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5017         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5018         * sysdeps/sparc/bits/mathdef.h: Likewise.
5019
5020 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
5021
5022         [BZ #13583]
5023         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5024         Clean up HAS_* macros.
5025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5026         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5027         possible.
5028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5029         HAS_AVX.
5030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5031         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5035
5036 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
5037
5038         * elf/tst-unique3.cc (gets): Remove declaration.
5039         * elf/tst-unique3lib.cc (gets): Likewise.
5040         * elf/tst-unique3lib2.cc (gets): Likewise.
5041         * elf/tst-unique4.cc (gets): Likewise.
5042
5043 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
5044
5045         * include/stdio.h: Add C++ protection.  Add gets declarations and
5046         definitions.
5047         * debug/tst-chk1.c: Don't declare gets here.
5048         * stdio-common/tst-gets.c: Likewise.
5049
5050 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5051
5052         * posix/glob: Remove directory.
5053
5054 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5055
5056         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5057
5058 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
5059
5060         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5061         of the non-standard EPFNOSUPPORT.
5062
5063 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5064
5065         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5066         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5067         ANYWHERE set to 1 only on KERN_NO_SPACE error.
5068
5069 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
5070
5071         * wcsmbs/uchar.h: Test __STDC_VERSION__.
5072
5073 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
5074
5075         * nscd/aicache.c (addhstaiX): Do not cache negative results of
5076         transient errors.
5077         * nscd/grpcache.c (cache_addgr): Likewise.
5078         * nscd/hstcache.c (cache_addhst): Likewise.
5079         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5080         * nscd/pwdcache.c (cache_addpw): Likewise.
5081         * nscd/servicescache.c (cache_addserv): Likewise.
5082
5083 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
5084
5085         * malloc/malloc.c: Various cleanups.
5086         * malloc/hooks.c: Likewise.
5087
5088         * stdlib/Makefile (tests): Add bug-fmtmsg1.
5089         * stdlib/bug-fmtmsg1.c: New file.
5090
5091         * stdlib/fmtmsg.c (init): Add missing unlock.
5092         Patch by Peng Haitao <penght@cn.fujitsu.com>.
5093
5094 2012-01-12  Marek Polacek  <polacek@redhat.com>
5095
5096         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5097         and _GNU_SOURCE.
5098
5099 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5100
5101         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5102         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5103         macro to ensure uniqueness of label name.
5104         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5105         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5106
5107 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
5108
5109         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5110
5111         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5112         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5115
5116 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5117
5118         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5119
5120         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5121         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5122         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5123
5124         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5125
5126         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5127         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5130
5131         * math/bits/math-finite.h: Add ldexp support.
5132
5133 2012-01-10  Marek Polacek  <polacek@redhat.com>
5134
5135         * locale/programs/localedef.h (show_archive_content): Add noreturn
5136         attribute.
5137
5138 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5139
5140         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5141
5142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5143
5144         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5145
5146         * io/Makefile (headers): Add bits/poll2.h.
5147
5148 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5149
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5151         typo #include statement.
5152
5153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5154
5155         * include/sys/cdefs.h: Define __attribute_alloc_size.
5156         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5157         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5158         * elf/pldd.c: Likewise.
5159         * iconv/iconv_charmap.c: Likewise.
5160         * iconv/iconvconfig.c: Likewise.
5161         * iconv/strtab.c: Likewise.
5162         * locale/programs/locale.c: Likewise.
5163         * locale/programs/localedef.h: Likewise.
5164         * locale/programs/simple-hash.c: Likewise.
5165         * nscd/nscd.h: Likewise.
5166         * nss/makedb.c: Likewise.
5167         * sysdeps/generic/ldconfig.h: Likewise.
5168         * locale/programs/localedef.c: Remove xmalloc prototype.
5169         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5170
5171 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5172
5173         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5174         appropriate.
5175
5176 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5177
5178         * math/Makefile (tests): Add tst-CMPLX.
5179         * math/tst-CMPLX.c: New file.
5180
5181         * math/complex.h (CMPLXL): Fix typo.
5182
5183         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5184         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5185         GLIBC_2.16.
5186         * debug/tst-chk1.c: Add poll and ppoll tests.
5187         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5188         * include/sys/poll.h: Add hidden proto for ppoll.
5189         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5190         * sysdeps/mach/hurd/ppoll.c: Likewise.
5191         * io/ppoll.c: Likewise.
5192         * debug/poll_chk.c: New file.
5193         * debug/ppoll_chk.c: New file.
5194         * include/bits/poll2.h: New file.
5195         * io/bits/poll2.h: New file.
5196
5197         [BZ #1350]
5198         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5199
5200         * configure.in: static is always set to yes.  Remove.
5201         * config.make.in: Don't set build-static.
5202         * Makeconfig: Remove use of build-static.
5203         * dlfcn/Makefile: Likewise.
5204         * elf/Makefile: Likewise.
5205         * math/Makefile: Likewise.
5206         * misc/Makefile: Likewise.
5207         * nptl/Makefile: Likewise.
5208         * sysdeps/mach/hurd/Makefile: Likewise.
5209
5210         * configure.in: PWD_P is not used anymore.
5211         * config.make.in: Remove PWD_P entry.
5212
5213         * configure.in: Remove last remnants of RANLIB.
5214         No need to check for signed size_t anymore.
5215         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5216         and IA-64.
5217         Remove __builtin_expect test because we require at least gcc 3.4.
5218         * aclocal.m4: Likewise.
5219
5220         * wcsmbs/mbrtoc16.c: Implement using towc function.
5221         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5222         * wcsmbs/wcsmbsload.c: Likewise.
5223         * iconv/gconv_simple.c: Likewise.
5224         * iconv/gconv_int.h: Likewise.
5225         * iconv/gconv_builtin.h: Likewise.
5226         * iconv/iconv_prog.c: Remove CHAR16 handling.
5227
5228         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5229
5230         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5231
5232         * configure.in: Remove --with-elf and --enable-bounded options.
5233         Dont set base_machine for ia64.  More non-ELF conditions removed.
5234         Remove testing and setting of leading underscore information.
5235         * config.make.in (build-bounded): Set to no.
5236         * config.h.in: Remove NO_UNDERSCORES entry.
5237         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5238         them.
5239         * csu/start.c: Remove !NO_UNDERSCORE code.
5240         * locale/localeinfo.h: Likewise.
5241         * sysdeps/generic/machine-gmon.h: Likewise.
5242         * sysdeps/generic/sysdep.h: Likewise.
5243         * sysdeps/i386/sysdep.h: Likewise.
5244         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5245         * sysdeps/mach/sysdep.h: Likewise.
5246         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5247         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5248         * sysdeps/sh/sysdep.h: Likewise.
5249         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5250         * sysdeps/unix/i386/sysdep.S: Likewise.
5251         * sysdeps/unix/sparc/start.c: Likewise.
5252         * sysdeps/unix/sparc/sysdep.S: Likewise.
5253         * sysdeps/unix/sparc/sysdep.h: Likewise.
5254         * sysdeps/unix/start.c: Likewise.
5255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5256         * sysdeps/x86_64/sysdep.h: Likewise.
5257
5258 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5259
5260         [BZ #13553]
5261         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5262         for non-gcc.
5263         * argp/argp-fmtstream.h: Use const instead __const.
5264         * argp/argp.h: Likewise.
5265         * assert/assert.h: Likewise.
5266         * bits/fenv.h: Likewise.
5267         * bits/sched.h: Likewise.
5268         * bits/sigset.h: Likewise.
5269         * bits/sigthread.h: Likewise.
5270         * catgets/nl_types.h: Likewise.
5271         * conform/data/pthread.h-data: Likewise.
5272         * crypt/crypt-private.h: Likewise.
5273         * crypt/crypt.h: Likewise.
5274         * crypt/crypt_util.c: Likewise.
5275         * ctype/ctype.h: Likewise.
5276         * debug/execinfo.h: Likewise.
5277         * debug/mbsnrtowcs_chk.c: Likewise.
5278         * debug/mbsrtowcs_chk.c: Likewise.
5279         * debug/wcsnrtombs_chk.c: Likewise.
5280         * debug/wcsrtombs_chk.c: Likewise.
5281         * debug/wcstombs_chk.c: Likewise.
5282         * dirent/dirent.h: Likewise.
5283         * dlfcn/dlfcn.h: Likewise.
5284         * elf/neededtest4.c: Likewise.
5285         * grp/grp.h: Likewise.
5286         * gshadow/gshadow.h: Likewise.
5287         * iconv/gconv.h: Likewise.
5288         * iconv/gconv_int.h: Likewise.
5289         * iconv/gconv_simple.c: Likewise.
5290         * iconv/iconv.h: Likewise.
5291         * iconv/loop.c: Likewise.
5292         * iconv/skeleton.c: Likewise.
5293         * include/aio.h: Likewise.
5294         * include/aliases.h: Likewise.
5295         * include/argz.h: Likewise.
5296         * include/arpa/inet.h: Likewise.
5297         * include/assert.h: Likewise.
5298         * include/dirent.h: Likewise.
5299         * include/dlfcn.h: Likewise.
5300         * include/execinfo.h: Likewise.
5301         * include/fcntl.h: Likewise.
5302         * include/fenv.h: Likewise.
5303         * include/glob.h: Likewise.
5304         * include/grp.h: Likewise.
5305         * include/libintl.h: Likewise.
5306         * include/mntent.h: Likewise.
5307         * include/netdb.h: Likewise.
5308         * include/pwd.h: Likewise.
5309         * include/rpc/netdb.h: Likewise.
5310         * include/sched.h: Likewise.
5311         * include/search.h: Likewise.
5312         * include/shadow.h: Likewise.
5313         * include/signal.h: Likewise.
5314         * include/stdio.h: Likewise.
5315         * include/stdlib.h: Likewise.
5316         * include/string.h: Likewise.
5317         * include/sys/socket.h: Likewise.
5318         * include/sys/stat.h: Likewise.
5319         * include/sys/statfs.h: Likewise.
5320         * include/sys/statvfs.h: Likewise.
5321         * include/sys/syslog.h: Likewise.
5322         * include/sys/time.h: Likewise.
5323         * include/sys/uio.h: Likewise.
5324         * include/time.h: Likewise.
5325         * include/unistd.h: Likewise.
5326         * include/utmp.h: Likewise.
5327         * include/wchar.h: Likewise.
5328         * include/wctype.h: Likewise.
5329         * inet/aliases.h: Likewise.
5330         * inet/arpa/inet.h: Likewise.
5331         * inet/netinet/ether.h: Likewise.
5332         * inet/netinet/in.h: Likewise.
5333         * intl/libintl.h: Likewise.
5334         * io/bits/fcntl2.h: Likewise.
5335         * io/fcntl.h: Likewise.
5336         * io/ftw.h: Likewise.
5337         * io/sys/poll.h: Likewise.
5338         * io/sys/stat.h: Likewise.
5339         * io/sys/statfs.h: Likewise.
5340         * io/sys/statvfs.h: Likewise.
5341         * io/utime.h: Likewise.
5342         * libio/bits/stdio.h: Likewise.
5343         * libio/bits/stdio2.h: Likewise.
5344         * libio/libio.h: Likewise.
5345         * libio/libioP.h: Likewise.
5346         * libio/stdio.h: Likewise.
5347         * locale/lc-ctype.c: Likewise.
5348         * locale/locale.h: Likewise.
5349         * login/utmp.h: Likewise.
5350         * malloc/arena.c: Likewise.
5351         * malloc/malloc.c: Likewise.
5352         * malloc/malloc.h: Likewise.
5353         * malloc/mcheck.c: Likewise.
5354         * malloc/mtrace.c: Likewise.
5355         * math/bits/mathcalls.h: Likewise.
5356         * math/fenv.h: Likewise.
5357         * math/math_private.h: Likewise.
5358         * misc/bits/error.h: Likewise.
5359         * misc/bits/syslog.h: Likewise.
5360         * misc/err.h: Likewise.
5361         * misc/error.h: Likewise.
5362         * misc/fstab.h: Likewise.
5363         * misc/mntent.h: Likewise.
5364         * misc/regexp.h: Likewise.
5365         * misc/search.h: Likewise.
5366         * misc/sgtty.h: Likewise.
5367         * misc/sys/mman.h: Likewise.
5368         * misc/sys/syslog.h: Likewise.
5369         * misc/sys/uio.h: Likewise.
5370         * misc/sys/xattr.h: Likewise.
5371         * misc/ttyent.h: Likewise.
5372         * nis/rpcsvc/ypclnt.h: Likewise.
5373         * nss/nss.h: Likewise.
5374         * posix/bits/unistd.h: Likewise.
5375         * posix/fnmatch.h: Likewise.
5376         * posix/glob.h: Likewise.
5377         * posix/sched.h: Likewise.
5378         * posix/spawn.h: Likewise.
5379         * posix/sys/wait.h: Likewise.
5380         * posix/unistd.h: Likewise.
5381         * posix/wordexp.h: Likewise.
5382         * pwd/pwd.h: Likewise.
5383         * resolv/netdb.h: Likewise.
5384         * resource/sys/resource.h: Likewise.
5385         * rt/aio.h: Likewise.
5386         * rt/bits/mqueue2.h: Likewise.
5387         * rt/mqueue.h: Likewise.
5388         * shadow/shadow.h: Likewise.
5389         * signal/signal.h: Likewise.
5390         * socket/send.c: Likewise.
5391         * socket/sendto.c: Likewise.
5392         * socket/sys/socket.h: Likewise.
5393         * stdio-common/printf.h: Likewise.
5394         * stdlib/bits/stdlib.h: Likewise.
5395         * stdlib/fmtmsg.h: Likewise.
5396         * stdlib/monetary.h: Likewise.
5397         * stdlib/stdlib.h: Likewise.
5398         * stdlib/ucontext.h: Likewise.
5399         * streams/stropts.h: Likewise.
5400         * string/argz.h: Likewise.
5401         * string/bits/string2.h: Likewise.
5402         * string/string.h: Likewise.
5403         * string/strings.h: Likewise.
5404         * sunrpc/rpc/auth.h: Likewise.
5405         * sunrpc/rpc/auth_des.h: Likewise.
5406         * sunrpc/rpc/clnt.h: Likewise.
5407         * sunrpc/rpc/netdb.h: Likewise.
5408         * sunrpc/rpc/pmap_clnt.h: Likewise.
5409         * sunrpc/rpc/xdr.h: Likewise.
5410         * sysdeps/generic/inttypes.h: Likewise.
5411         * sysdeps/generic/net/if.h: Likewise.
5412         * sysdeps/generic/sys/swap.h: Likewise.
5413         * sysdeps/gnu/net/if.h: Likewise.
5414         * sysdeps/gnu/utmpx.h: Likewise.
5415         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5416         * sysdeps/i386/i486/bits/string.h: Likewise.
5417         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5418         * sysdeps/s390/bits/string.h: Likewise.
5419         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5420         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5421         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5422         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5423         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5424         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5425         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5426         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5427         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5428         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5429         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5430         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5431         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5432         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5433         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5434         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5435         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5438         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5440         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5441         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5442         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5443         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5444         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5445         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5446         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5447         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5448         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5449         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5450         * sysvipc/sys/ipc.h: Likewise.
5451         * sysvipc/sys/msg.h: Likewise.
5452         * sysvipc/sys/sem.h: Likewise.
5453         * sysvipc/sys/shm.h: Likewise.
5454         * termios/termios.h: Likewise.
5455         * time/sys/time.h: Likewise.
5456         * time/time.h: Likewise.
5457         * wcsmbs/bits/wchar2.h: Likewise.
5458         * wcsmbs/uchar.h: Likewise.
5459         * wcsmbs/wchar.h: Likewise.
5460         * wctype/wctype.h: Likewise.
5461
5462         [BZ #13551]
5463         * Makeconfig: Remove all but ELF support including AIX support.
5464         * Makerules: Likewise.
5465         * config.h.in: Likewise.
5466         * config.make.in: Likewise.
5467         * configure: Likewise.
5468         * configure.in: Likewise.
5469         * csu/Makefile: Likewise.
5470         * csu/version.c: Likewise.
5471         * debug/Makefile: Likewise.
5472         * dlfcn/Makefile: Likewise.
5473         * elf/Makefile: Likewise.
5474         * extra-lib.mk: Likewise.
5475         * iconv/Makefile: Likewise.
5476         * include/libc-symbols.h: Likewise.
5477         * include/shlib-compat.h: Likewise.
5478         * resolv/Makefile: Likewise.
5479         * resolv/res_libc.c: Likewise.
5480         * rt/Makefile: Likewise.
5481         * sysdeps/i386/asm-syntax.h: Likewise.
5482         * sysdeps/i386/sysdep.h: Likewise.
5483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5484         * sysdeps/mach/sysdep.h: Likewise.
5485         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5486         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5487         * sysdeps/s390/asm-syntax.h: Likewise.
5488         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5489         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5490         * sysdeps/sh/sysdep.h: Likewise.
5491         * sysdeps/unix/sparc/sysdep.h: Likewise.
5492         * sysdeps/wordsize-32/divdi3.c: Likewise.
5493         * sysdeps/x86_64/sysdep.h: Likewise.
5494
5495         * argp/Versions: Remove _argp_unlock_xxx.
5496
5497         [BZ #13559]
5498         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5499         * abilist/libBrokenLocale.abilist: Likewise.
5500         * abilist/libanl.abilist: Likewise.
5501         * abilist/libc.abilist: Likewise.
5502         * abilist/libcrypt.abilist: Likewise.
5503         * abilist/libdl.abilist: Likewise.
5504         * abilist/libm.abilist: Likewise.
5505         * abilist/libnsl.abilist: Likewise.
5506         * abilist/libpthread.abilist: Likewise.
5507         * abilist/libresolv.abilist: Likewise.
5508         * abilist/librt.abilist: Likewise.
5509         * abilist/libthread_db.abilist: Likewise.
5510         * abilist/libutil.abilist: Likewise.
5511         * abilist/libnss_db.abilist: New file.
5512
5513         * scripts/abilist.awk: Add support for indirect functions.
5514
5515         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5516
5517         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5518
5519         * shlib-versions: Remove entries for ports architectures.
5520
5521         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5522         files in ports.
5523         * elf/stackguard-macros.h: Remove support for IA-64.
5524         * elf/tst-auditmod1.c: Likewise.
5525         * sysdeps/generic/ldsodefs.h: Likewise.
5526
5527         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5528         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5529         configure files.
5530
5531         [BZ #13552]
5532         * configure.in: Remove --enable-omitfp support.
5533         * FAQ.in: Adjust.
5534         * config.make.in: Likewise.
5535         * Makeconfig: Likewise.
5536         * manual/install.texi: Likewise.
5537
5538         In case anyone cares, the IA-64 architecture could move to ports.
5539         * sysdeps/ia64/*: Removed.
5540         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5541         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5542
5543         [BZ #13555]
5544         * configure.in: Remove entries for unsupported architectures.
5545
5546         [BZ #13533]
5547         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5548         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5549         routines.
5550         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5551         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5552         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5553         fall back to using wcrtomb.
5554         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5555         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5556         renaming.
5557         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5558         * wcsmbs/tst-c16c32-1.c: New file.
5559
5560         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5561         local variable.
5562
5563         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5564
5565         * elf/tst-unique3.cc: Add explicit declaration of gets.
5566         * elf/tst-unique3lib.cc: Likewise.
5567         * elf/tst-unique3lib2.cc: Likewise.
5568         * elf/tst-unique4.cc: Likewise.
5569
5570         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5571
5572 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5573
5574         [BZ #13566]
5575         * assert/assert.h (static_assert): Don't define for C++.
5576         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5577         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5578
5579 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5580
5581         * iconv/loop.c (single loop): Fix assertion in storing of
5582         remaining bytes.
5583
5584         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5585
5586 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5587
5588         * posix/getconf.c: Update copyright year.
5589         * nss/getent.c: Likewise.
5590         * nss/makedb.c: Likewise.
5591         * iconv/iconvconfig.c: Likewise.
5592         * iconv/iconv_prog.c: Likewise.
5593         * elf/ldconfig.c: Likewise.
5594         * elf/pldd.c: Likewise.
5595         * elf/sotruss.ksh: Likewise.
5596         * catgets/gencat.c: Likewise.
5597         * csu/version.c: Likewise.
5598         * elf/ldd.bash.in: Likewise.
5599         * elf/sprof.c (print_version): Likewise.
5600         * locale/programs/locale.c: Likewise.
5601         * locale/programs/localedef.c: Likewise.
5602         * login/programs/pt_chown.c: Likewise.
5603         * nscd/nscd.c (print_version): Likewise.
5604         * debug/xtrace.sh: Likewise.
5605         * malloc/memusage.sh: Likewise.
5606         * malloc/mtrace.pl: Likewise.
5607         * debug/catchsegv.sh: Likewise.
5608
5609 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5610
5611         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5612         pure attribute.
5613
5614 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5615
5616         [BZ #13533]
5617         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5618         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5619         transformations.
5620         * iconv/gconv_int.h: Likewise.
5621         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5622         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5623         from libc for GLIBC_2.16.
5624         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5625         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5626         * wcsmbs/uchar.h: Really define mbstate_t.
5627         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5628         * wcsmbs/c16rtomb.c: New file.
5629         * wcsmbs/mbrtoc16.c: New file.
5630         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5631         for C/POSIX locale.
5632         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5633         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5634
5635         * wcsmbs/wchar.h: Add missing __restrict.
5636
5637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5638
5639         [BZ #13532]
5640         * time/Makefile (routines): Add timespec_get.
5641         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5642         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5643         timespec for ISO C11.
5644         * time/timespec_get.c: New file.
5645         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5646         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5647
5648         [BZ #13531]
5649         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5650         * stdlib/stdlib.h: Declare aligned_alloc.
5651         * Versions.def: Add GLIBC_2.16 for libc.
5652         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5653
5654         [BZ 13527]
5655         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5656         ISO C11.
5657
5658         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5659         code.
5660
5661         [BZ #13528]
5662         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5663
5664         [BZ #13529]
5665         * assert/assert.h (static_assert): Define.
5666
5667         * version.h: Update for 2.16 development version.
5668
5669         [BZ #13526]
5670         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5671         _ISOC11_SOURCE.
5672
5673         * version.h (RELEASE): Bump for 2.15 release.
5674         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5675
5676         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5677         Patch by Marek Polacek <mpolacek@redhat.com>.
5678
5679         * bits/byteswap.h: Protect long long constants with __extension__.
5680         * sysdeps/i386/bits/byteswap.h: Likewise.
5681         * sysdeps/ia64/bits/byteswap.h: Likewise.
5682         * sysdeps/s390/bits/byteswap.h: Likewise.
5683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5684
5685 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5686
5687         [BZ #13540]
5688         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5689         destination buffer.
5690         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5691
5692 2011-12-23  Marek Polacek  <polacek@redhat.com>
5693
5694         * elf/dl-addr.c (determine_info): Add inline keyword.
5695         * elf/tst-auditmod4b.c (check_avx): Likewise.
5696         * elf/tst-auditmod6b.c (check_avx): Likewise.
5697         * elf/tst-auditmod6c.c (check_avx): Likewise.
5698         * elf/tst-auditmod7b.c (check_avx): Likewise.
5699
5700 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5701
5702         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5703         !__SSE_MATH__.
5704
5705 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5706
5707         [BZ #13540]
5708         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5709         processing for last bytes.
5710
5711 2011-08-06  Bruno Haible  <bruno@clisp.org>
5712
5713         [BZ #13061]
5714         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5715         U+0385, not to U+1FEE.
5716
5717         [BZ #13062]
5718         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5719         entry for U+00A5 U+0301.
5720
5721 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5722
5723         [BZ #13166]
5724         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5725         buffer for the output is too small.
5726
5727         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5728         optimization.
5729
5730         [BZ #13185]
5731         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5732         SSE flags if possible.
5733
5734 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5735
5736         [BZ #13540]
5737         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5738         processing for last bytes.
5739
5740 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5741
5742         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5743         (syscall-list-default-options, syscall-list-default-condition)
5744         (syscall-list-includes): Define.
5745         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5746         list of ABIs and options and #if conditions for each ABI.  Do not
5747         handle common syscalls between ABIs specially.
5748         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5749         Remove.
5750         (syscall-list-variants, syscall-list-32bit-options)
5751         (syscall-list-32bit-condition, syscall-list-64bit-options)
5752         (syscall-list-64bit-condition): Define.
5753         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5754         (syscall-list-variants, syscall-list-32bit-options)
5755         (syscall-list-32bit-condition, syscall-list-64bit-options)
5756         (syscall-list-64bit-condition): Define.
5757         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5758         Remove.
5759         (syscall-list-variants, syscall-list-32bit-options)
5760         (syscall-list-32bit-condition, syscall-list-64bit-options)
5761         (syscall-list-64bit-condition): Define.
5762         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5763         Remove.
5764         (syscall-list-variants, syscall-list-32bit-options)
5765         (syscall-list-32bit-condition, syscall-list-64bit-options)
5766         (syscall-list-64bit-condition): Define.
5767
5768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5769
5770         * locale/iso-639.def: Add brx entry.
5771
5772         [BZ #13328]
5773         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5774         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5775
5776         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5777         __feraiseexcept_renamed.
5778
5779 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5780
5781         [BZ #13538]
5782         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5783         EPOLLET with unsigned values.
5784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5786
5787         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5788         to large cancellation.
5789         * math/s_cacoshf.c: Likewise.
5790         * math/s_cacoshl.c: Likewise.
5791
5792 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5793
5794         [BZ #13305]
5795         [BZ #12786]
5796         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5797         * math/s_cacoshf.c: Likewise.
5798         * math/s_cacoshl.c: Likewise.
5799
5800 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5801
5802         [BZ #13439]
5803         * iconv/gconv.h: Define __GCONV_SWAP.
5804         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5805         * iconvdata/utf-16.c: Likewise.
5806         * iconvdata/utf-32.c: Likewise.
5807
5808 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5809
5810         [BZ #13524]
5811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5812         numerator after shifting it by one limb.
5813
5814 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5815
5816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5817         under [__USE_EXTERN_INLINES].
5818
5819 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5820
5821         [BZ #13446]
5822         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5823
5824 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5825
5826         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5827         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5828         optimized code.
5829         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5830         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5831         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5832         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5833         for strncasecmp/strncasecmp_l compilation.
5834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5835         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5836
5837 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5838
5839         [BZ #13484]
5840         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5841         of __asm__.
5842
5843 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5844
5845         [BZ #13506]
5846         * time/tzfile.c (__tzfile_read): Check values from file header.
5847
5848 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5849
5850         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5851         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5852         * powerpc/powerpc32/dl-start.S: Likewise.
5853         * powerpc/powerpc32/elf/start.S: Likewise.
5854         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5855         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5856         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5857         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5858         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5859         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5860         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5861         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5862         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5863         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5864         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5865         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5866         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5867         * powerpc/powerpc32/memset.S: Likewise.
5868         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5869         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5870         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5871         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5872         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5873         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5874         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5875         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5876         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5877         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5878         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5879         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5880         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5881
5882 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5883
5884         * math/libm-test.inc: Added more nearbyint tests.
5885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5888         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5889
5890 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5891
5892         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5893         FD_CLOEXEC.
5894
5895 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5896
5897         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5898         Add wcscpy-ssse3 wcscpy-c.
5899         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5900         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5901         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5902         * sysdeps/x86_64/wcschr.S: New file.
5903         * sysdeps/x86_64/wcsrchr.S: New file.
5904         * string/test-strcmp.c: Remove checking of wcscmp function for
5905         wrong alignments.
5906         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5907         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5908         wcsrchr-sse2 wcsrchr-c.
5909         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5910         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5911         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5912         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5913         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5914         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5915         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5916         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5917         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5918         * wcsmbc/wcschr.c (WCSCHR): New macro.
5919
5920 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5921
5922         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5923         * wcsmbs/test-wcsrchr.c: New file.
5924         * string/test-strrchr.c: Add wcsrchr support.
5925         (WIDE): New macro.
5926         * wcsmbs/test-wcscpy.c: New file.
5927         * string/test-strcpy.c: Add wcscpy support.
5928         (WIDE): New macro.
5929
5930 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5931
5932         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5933         the inner loop.
5934
5935 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5936
5937         [BZ #13472]
5938         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5939
5940 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5941
5942         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5943         Minor optimizations.
5944
5945         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5946         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5947         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5948
5949 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5950
5951         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5952         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5953         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5954         for gcc to avoid warnings.
5955         * inet/Makefile (tests): Add tst-checks.
5956         * inet/tst-checks.c: New file.
5957
5958         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5959         warning.
5960
5961         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5962         __wmemcmp_sse2.
5963
5964         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5965         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5966
5967         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5968
5969 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5970
5971         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5972         problem.
5973
5974         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5975
5976 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5977
5978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5979         conditional on GCC version.
5980         (__arch_compare_and_exchange_val_8_acq)
5981         (__arch_compare_and_exchange_val_16_acq)
5982         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5983         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5984         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5985
5986 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5987
5988         * sysdeps/sh/backtrace.c: New file.
5989
5990 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5991
5992         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5993         parenthesis.
5994
5995 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5996
5997         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5998         falling back to utime.
5999
6000 2011-11-30  Andreas Schwab  <schwab@redhat.com>
6001
6002         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6003         expectations for float.
6004
6005 2011-11-29  Andreas Schwab  <schwab@redhat.com>
6006
6007         * locale/weight.h (findidx): Add parameter len.
6008         * locale/weightwc.h (findidx): Likewise.
6009         * posix/fnmatch_loop.c (FCT): Adjust caller.
6010         * posix/regcomp.c (build_equiv_class): Likewise.
6011         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6012         * posix/regexec.c (check_node_accept_bytes): Likewise.
6013         * string/strcoll_l.c (STRCOLL): Likewise.
6014         * string/strxfrm_l.c (STRXFRM): Likewise.
6015
6016 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
6017
6018         * Makefile.in: Remove CVSOPT handling.
6019         * configure.in: Remove use of AC_REVISION.
6020         * iconvdata/Makefile (distribute): No need to filter out CVS.
6021         * scripts/list-sources.sh: Remove CVS, subversion and monotone
6022         handling.
6023
6024 2011-11-16  Andreas Schwab  <schwab@redhat.com>
6025
6026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6027         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6028         [USE_AS_STRNCASECMP_L]: Likewise.
6029         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6030         NO_TLS_DIRECT_SEG_REFS.
6031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6032         Fix argument offsets for non-PIC.
6033         [USE_AS_STRNCASECMP_L]: Likewise.
6034         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6035         NO_TLS_DIRECT_SEG_REFS.
6036
6037 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6038
6039         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6040         O_CLOEXEC.
6041         * locale/loadlocale.c (_nl_load_locale): Likewise.
6042
6043 2011-11-15  Andreas Schwab  <schwab@redhat.com>
6044
6045         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6046         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6047         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6048         (SYSCALL_GETTIME): Set errno on error.
6049
6050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6051         count references to noai6ai_cached.
6052
6053 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6054
6055         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6056
6057         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6058         FD_CLOEXEC for /proc/self/maps.
6059
6060         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6061         FD_CLOEXEC for /proc/meminfo.
6062
6063         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6064         gai.conf.
6065
6066         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
6067         FD_CLOEXEC for given file.
6068
6069         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6070
6071         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6072         FD_CLOEXEC for /etc/hosts.
6073         (_gethtent): Likewise.
6074
6075         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6076
6077         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6078         cancellation and set FD_CLOEXEC for /etc/netgroup.
6079
6080         * nss/nss_files/files-key.c (search): Don't allow cancellation when
6081         reading /etc/publickey.
6082
6083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6084         allow cancellation when reading /etc/group.
6085
6086         * nss/nss_files/files-alias.c (internal_setent): Don't allow
6087         cancellation.
6088         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
6089
6090         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6091         when using data file.
6092
6093         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6094
6095         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6096         (write_nis_obj): Use "c" and "e" in fopen.
6097
6098         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6099
6100         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6101
6102         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6103
6104         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6105
6106         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6107         locale.alias.
6108
6109         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6110
6111         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6112
6113         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6114
6115         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6116         file parsing and set FD_CLOEXEC.
6117
6118 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6119
6120         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6121
6122 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6123
6124         * malloc/arena.c (arena_get2): Don't call reused_arena when
6125         _int_new_arena failed.
6126
6127 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6128
6129         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6130         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6131         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6132         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6133         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6135         to compile strcasecmp and strncasecmp.
6136         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6137         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6138
6139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6140
6141 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6142
6143         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6144         locale-defines.sym to gen-as-const-headers.
6145         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6146         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6148         to compile strcasecmp and strncasecmp.
6149         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6150         strcasecmp_l and strncasecmp_l.
6151         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6152         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6153         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6154         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6155         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6156         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6157         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6158         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6159         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6160         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6161         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6162
6163 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6164
6165         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6166         result of SYSDEP_GETTIME_CPU to retval.
6167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6168         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6169
6170         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6171         variable.
6172
6173         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6174         mantissa words.
6175         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6176
6177         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6178         from unused variable.
6179
6180         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6181         DWARF definitions.
6182         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6183         for assembling.
6184
6185         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6186         over namespaces.
6187
6188         * sunrpc/rpc_prot.c (rejected): Fix case value.
6189
6190         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6191         unsigned long long int to avoid warnings in shift.
6192
6193         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6194         of use of trans.
6195         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6196         variable tmp.
6197
6198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6199         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6200         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6201
6202         * nis/nis_table.c (nis_list): Use variable of correct type for
6203         result of __follow_path call.
6204
6205 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6206
6207         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6208         of math functions ceil, trunc, floor, round, and sqrt, when
6209         avaliable on the platform.
6210         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6211         name clash.
6212         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6213         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6214         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6215
6216 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6217
6218         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6220
6221 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6222
6223         * include/unistd.h: Fix __readlink return type.
6224         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6225
6226 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6227
6228         * stdlib/ucontext.h: Undo last change for makecontext.
6229
6230 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6231
6232         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6233
6234         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6235         * setjmp/setjmp.h: Mark functions as non-leaf.
6236         * setjmp/bits/setjmp2.h: Likewise.
6237         * stdlib/ucontext.h: Likewise.
6238
6239 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6240
6241         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6242         (reused_arena): Don't check arena limit.
6243         (arena_get2): Atomically check arena limit.
6244
6245 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6246
6247         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6248         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6249
6250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6251         instructions.
6252
6253 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6254
6255         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6256         handler when locking.
6257
6258         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6259         Fix size of allocated buffer.
6260
6261 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6262
6263         [BZ #10103]
6264         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6265         declarations for long double functions.
6266         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6267
6268         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6269
6270 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6271
6272         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6273         installed.
6274
6275         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6276         is disabled.
6277
6278 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6279
6280         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6281
6282 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6283
6284         * include/alloca.h (stackinfo_alloca_round): Define.
6285         (extend_alloca): Use it.
6286         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6287         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6288         here.
6289
6290         * scripts/check-local-headers.sh: Ignore libaudit.h.
6291
6292         * nscd/Makefile (extra-objs): Make recursively expanded.
6293
6294 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6295
6296         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6297         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6298
6299         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6300         * posix/tst-rfc3484-2.c: Likewise.
6301         * posix/tst-rfc3484-3.c: Likewise.
6302
6303         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6304         process_vm_writev.
6305         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6306         process_vm_writev.
6307         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6308         process_vm_writev from libc using GLIBC_2.15 version.
6309
6310         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6311
6312 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6313
6314         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6315         stack usage.
6316
6317 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6318
6319         [BZ #13367]
6320         * nss/getent.c (initgroups_keys): Show error message in case no group
6321         names are given.
6322
6323         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6324         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6325         __bump_nl_timestamp.
6326         * nscd/connections (nscd_init): When host database is served open
6327         netlink socket and request notification about configuration changes.
6328         (main_loop_poll): Track netlink file descriptor and bump timestamp
6329         in case data becomes available.
6330         (main_loop_epoll): Likewise.
6331         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6332         (database_pers_head): Add extra_data fileds.
6333         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6334         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6335         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6336         Adjust caller.
6337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6338         in6ai data, call __free_in6ai.
6339         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6340         Add -DHAVE_NETLINK.
6341         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6342         interface information.  Reuse previous data if netlink timestamp
6343         is not changed.
6344         (__bump_nl_timestamp): New function.
6345         (__free_in6ai): New function.
6346
6347 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6348
6349         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6350         close_not_cancel_no_status here.
6351         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6352
6353 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6354
6355         [BZ #13276]
6356         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6357         return value.
6358
6359         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6360         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6361         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6362
6363 2011-07-03  Andreas Jaeger  <aj@suse.de>
6364
6365         [BZ #10709]
6366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6367         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6368         * math/libm-test.inc (sin_test): Add test case.
6369
6370 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6371
6372         [BZ #13337]
6373         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6374         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6375
6376         * elf/chroot_canon.c (chroot_canon): Cleanups.
6377
6378         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6379
6380         [BZ #13335]
6381         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6382         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6383
6384         * string/test-strchr.c: Make usable for strchrnul testing.
6385         * string/test-strchrnul.c: New file.
6386         * string/Makefile (strop-tests): Add strchrnul.
6387
6388         * po/it.po: Update from translation team.
6389         * po/es.po: Likewise.
6390
6391 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6392
6393         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6394         the three constants needed as parameters.  Drop the others.
6395         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6396         __m128i_strloadu_tolower.
6397         Create and initialize variable zero and use it in all the places
6398         where _mm_setzero_si128 was used.
6399
6400         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6401         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6402         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6403         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6404         anymore.
6405         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6406         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6407         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6408         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6409         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6410         __mpranred, __mptan.
6411         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6412         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6413         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6414         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6415         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6416         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6419         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6420
6421 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6422
6423         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6424         redefine if SHARED.
6425         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6426
6427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6428         wide char related routines to wcsmbs subdir.
6429
6430 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6431
6432         [BZ #13344]
6433         * misc/sys/cdefs.h (__THROWNL): Define.
6434         * posix/unistd.h: Use __THREADNL instead of __THREAD
6435         for memory synchronization functions.
6436
6437 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6438
6439         [BZ #13349]
6440         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6441         doesn't exist.
6442         * manual/stdio.texi (Obstack Streams): Node removed.
6443
6444 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6445
6446         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6448         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6449
6450         * math/math_private.h (math_force_eval): Allow non-addressable
6451         arguments.
6452         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6453
6454 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6455
6456         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6457         file is not needed.
6458
6459         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6462         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6466         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6467         Add AVX variants.
6468         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6469         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6470         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6471         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6473         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6474         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6475         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6476         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6477         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6478         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6479         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6480         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6481         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6482         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6483         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6484         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6485         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6486         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6487
6488         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6489         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6490
6491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6492         place.  Use VEX encoding when compiling for AVX.
6493
6494 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6495
6496         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6497         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6498
6499         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6500
6501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6502
6503         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6504         useless if() expression.
6505         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6506         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6507         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6509         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6510         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6511         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6514         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6515         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6516         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6517         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6519         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6520         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6521         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6522         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6523         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6524
6525         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6526
6527 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6528
6529         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6530         condition.
6531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6532
6533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6534
6535         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6536         .text section.  Avoid duplicate constants.
6537         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6545         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6546         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6547         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6548         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6549         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6550         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6551         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6552         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6553         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6554         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6560         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6561         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6562         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6563         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6564         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6565         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6566         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6568         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6570         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6571         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6572         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6573         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6574         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6575         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6576         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6577         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6579         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6580         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6581         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6582
6583 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6584
6585         * sysdeps/x86_64/dla.h: Move to ...
6586         * sysdeps/x86_64/fpu/dla.h: ...here.
6587         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6588         situations.  Use __builtin_fma only for gcc 4.6 and up.
6589
6590         * config.make.in: Add have-mfma4 entry.
6591         * configure.in: Substitute libc_cv_cc_fma4.
6592         * math/Makefile (dbl-only-routines): Add sincostab.
6593         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6594         Use __sincostab not sincos.
6595         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6596         name is a macro.
6597         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6601         using __copysign.
6602         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6603         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6604         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6605         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6606         and __inv.
6607         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6608         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6609         __copysign.
6610         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6611         define aliases when function name is a macro.
6612         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6613         sysdeps/ieee754/dbl-64/sincos.tbl.
6614         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6615         fma4-enabled routines.
6616         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6617         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6618         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6619         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6620         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6621         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6623         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6625         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6626         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6628         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6629         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6630         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6631         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6632         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6633         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6634         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6636         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6637         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6638         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6639         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6641         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6642         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6643         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6644         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6645         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6646
6647         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6648         rename.
6649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6657
6658 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6659
6660         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6661
6662 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6663
6664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6665
6666         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6667         prediction.
6668         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6669
6670         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6671         Remove unused variable magic_bits.
6672         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6673
6674         * string/strnlen.c: Define and use STRNLEN macro.
6675         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6676         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6678         * wcsmbs/wcslen.c: Define and use WCSLEN.
6679         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6680         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6681         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6682         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6683         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6684         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6685         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6686
6687 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6688
6689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6690         strnlen-sse2-no-bsf.
6691         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6693         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6694         Add strnlen support.
6695         (USE_AS_STRNLEN): New macro.
6696         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6698         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6699         * sysdeps/x86_64/wcslen.S: New file.
6700
6701 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6702
6703         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6704         XMM-moves are used for copying on small sizes.
6705
6706 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6707
6708         * wcsmbs/Makefile (strop-tests): Add wcschr.
6709         * wcsmbs/test-wcschr.c: New file.
6710         * string/test-strchr.c: Update.
6711         Add wcschr support.
6712         (WIDE): New macro.
6713
6714 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6715
6716         * wcsmbs/Makefile (strop-tests): Add wcslen.
6717         * wcsmbs/test-wcslen.c: New file.
6718         * string/test-strlen.c: Update.
6719         Add wcslen support.
6720         (WIDE): New macro.
6721
6722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6723
6724         * po/it.po: Update from translation team.
6725
6726 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6727
6728         * sysdeps/x86_64/wcscmp.S: Update.
6729         Fix wrong comparison semantics.
6730         wcscmp shall use signed comparison not unsigned.
6731         Don't use substraction to avoid overflow bug.
6732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6733         * wcsmbc/wcscmp.c: Likewise.
6734         * string/test-strcmp.c: Likewise.
6735         Add new tests to check cases with negative values.
6736
6737 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6738
6739         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6740         * sysdeps/x86_64/dla.h: ...here.  New file.
6741         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6746         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6750
6751 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6752
6753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6754         __ynl_finite aliases.
6755
6756 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6757
6758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6759
6760         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6761         define DLA_FMA.
6762         [DLA_FMA] (EMULV): Use DLA_FMA.
6763         [DLA_FMA] (MUL12): Use EMULV.
6764         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6765         that are not needed.
6766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6773
6774 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6775
6776         * math/s_nan.c: Undef __nan.
6777         * math/s_nanf.c: Undef __nanf.
6778         * math/s_nanl.c: Undef __nanl.
6779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6780         "math_private.h".
6781
6782 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6783
6784         * math/s_catan.c: Add branch predictions.
6785         * math/s_catanf.c: Likewise.
6786         * math/s_catanh.c: Likewise.
6787         * math/s_catanhf.c: Likewise.
6788         * math/s_catanhl.c: Likewise.
6789         * math/s_catanl.c: Likewise.
6790         * math/s_cexp.c: Likewise.
6791         * math/s_cexpf.c: Likewise.
6792         * math/s_cexpl.c: Likewise.
6793         * math/s_clog.c: Likewise.
6794         * math/s_clog10.c: Likewise.
6795         * math/s_clog10f.c: Likewise.
6796         * math/s_clog10l.c: Likewise.
6797         * math/s_clogf.c: Likewise.
6798         * math/s_clogl.c: Likewise.
6799         * math/s_csqrt.c: Likewise.
6800         * math/s_csqrtf.c: Likewise.
6801         * math/s_csqrtl.c: Likewise.
6802         * math/s_ctanf.c: Likewise.
6803         * math/s_ctanh.c: Likewise.
6804         * math/s_ctanhf.c: Likewise.
6805         * math/s_ctanhl.c: Likewise.
6806         * math/s_ctanl.c: Likewise.
6807
6808         * math/math_private.h: Define __nan, __nanf, __nanl.
6809         * math/s_cacosh.c: Include <math_private.h>.
6810         * math/s_cacoshl.c: Likewise.
6811         * math/s_casinh.c: Likewise.
6812         * math/s_casinhf.c: Likewise.
6813         * math/s_casinhl.c: Likewise.
6814         * math/s_ccos.c: Rely entire on ccosh.
6815         * math/s_ccosf.c: Rely entire on ccoshf.
6816         * math/s_ccosl.c: Rely entirely on ccoshl.
6817         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6818         Remove tests for FE_INVALID.
6819         * math/s_ccoshf.c: Likewise.
6820         * math/s_ccoshl.c: Likewise.
6821         * math/s_csin.c: Likewise.
6822         * math/s_csinf.c: Likewise.
6823         * math/s_csinh.c Likewise.
6824         * math/s_csinhf.c: Likewise.
6825         * math/s_csinhl.c: Likewise.
6826         * math/s_csinl.c: Likewise.
6827         * math/s_ctan.c: Likewise.
6828         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6829         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6830         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6831
6832 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6833
6834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6835         compilation problems.
6836
6837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6838         __builtin_expect.
6839
6840 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6841
6842         * sysdeps/i386/configure.in: Test for -mfma4 option.
6843         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6844         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6845         COMMON_CPUID_INDEX_80000001.
6846         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6847         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6848         use it if FMA3 is not supported.
6849         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6850
6851         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6852         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6853
6854 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6855
6856         [BZ #12892]
6857         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6858         it would create a cycle with a link time dependency.
6859
6860 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6861
6862         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6863         instruction.
6864         * string/Makefile (strop-tests): Add rawmemchr.
6865         * string/test-rawmemchr.c: New file.
6866
6867         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6869         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6870         when compiling str{,n}casecmp and when AVX is available.  Hook up
6871         new optimized code in initializers.
6872
6873 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6874
6875         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6876         __feraiseexcept instead of feraiseexcept.
6877
6878 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6879
6880         * math/math_private.h: Define defaults for libc_fetestexcept and
6881         libc_feupdateenv.
6882         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6883         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6884         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6885         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6887         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6888         libc_fetestexcept and libc_feupdateenv.
6889
6890         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6891         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6892         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6893         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6894         libc_feholdexcept_setround.
6895
6896         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6897         Add s_nearbyint-c and s_nearbyintf-c.
6898         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6899         nearbyintf inlines.
6900         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6903         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6904
6905         * math/math_private.h: Define defaults for libc_fegetround,
6906         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6907         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6908         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6910         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6911         standard functions.
6912         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6913         Remove comments and hacks for old compiler versions.
6914         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6915         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6916         libc_feholdexceptl.
6917
6918 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6919
6920         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6921         (__feraiseexcept_renamed): Add __NTH.
6922         (feraiseexcept): Add __NTH.  Rename local variables to fix
6923         namespace violations.
6924
6925 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6926
6927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6928
6929         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6930
6931         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6932         recently added interfaces.
6933         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6934
6935         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6936         about macro parameter expansion.
6937
6938         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6939         __NO_MATH_INLINES is defined.  Cleanups.
6940
6941         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6942         and __floorf is target has SSE4.1.
6943         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6944         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6945         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6946         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6947
6948         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6949         name.
6950         (floorf): Likewise.
6951
6952         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6953
6954 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6955
6956         * misc/sys/cdefs.h: Fix last change.
6957
6958         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6959         database lookup.
6960
6961 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6962
6963         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6964
6965         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6967         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6968         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6969         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6970         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6972         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6973         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6974         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6975         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6976         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6977         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6978         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6979         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6980         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6981         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6982         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6983         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6984         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6985         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6986         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6987
6988         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6989         ceil, ceilf, floor, floorf.
6990
6991         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6992         Perform IRELATIVE relocations last.
6993
6994         * elf/do-rel.h: Add another parameter nrelative, replacing the
6995         local variable with the same name.  Change name of the function
6996         to end in Rel or Rela (uppercase).
6997         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6998         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6999         elf_dynamic_do_##reloc function.
7000
7001 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7002
7003         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7004         is sufficient, at least on modern CPUs.
7005
7006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7007
7008         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7009         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7010
7011         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7012         __expl_finite.
7013         * math/bits/math-finite.h: Add entries for exp.
7014         * math/e_expl.c: Add __*_finite alias.
7015         * sysdeps/i386/fpu/e_exp.S: Likewise.
7016         * sysdeps/i386/fpu/e_expf.S: Likewise.
7017         * sysdeps/i386/fpu/e_expl.c: Likewise.
7018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7019         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7020         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7022         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7023         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7024         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7025
7026         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7027         is sufficient, at least on modern CPUs.
7028
7029         * ctype/ctype-info.c (__ctype_init): Define.
7030         * include/ctype.h (__ctype_init): Declare.
7031         (__ctype_b_loc): The variable is always initialized.
7032         (__ctype_toupper_loc): Likewise.
7033         (__ctype_tolower_loc): Likewise.
7034         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7035         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7036
7037 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
7038
7039         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7040
7041         * configure.in: Also look in $cxxmachine/include for C++ system
7042         headers.
7043
7044 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7045
7046         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7047         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7048         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7049         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
7050         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7051         (USE_AS_WMEMCMP): New macro.
7052         Fixing indents.
7053         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7054         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7055         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7056         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7058         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7059         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7061         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7062         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7063         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7064         (USE_AS_WMEMCMP): New macro.
7065         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7066         * sysdeps/string/test-memcmp.c: Update.
7067         Fix simple_wmemcmp.
7068         Add new tests.
7069         * wcsmbs/wmemcmp.c: Update.
7070         (WMEMCMP): New macro.
7071         Fix overflow bug.
7072
7073 2011-10-12  Andreas Jaeger  <aj@suse.de>
7074
7075         [BZ #13268]
7076         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7077
7078 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7079
7080         * libio/iofwide.c (do_length): Avoid warning.
7081
7082         * ctype/ctype.h (__isctype_f): Add missing __THROW.
7083
7084 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
7085
7086         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7087
7088         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7089         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7090         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7091         * sysdeps/i386/i686/fpu/e_log.S: New file.
7092         * sysdeps/i386/i686/fpu/e_logf.S: New file.
7093         * sysdeps/i386/i686/fpu/e_logl.S: New file.
7094
7095         * ctype/ctype.h: Add support for inlined isXXX functions when
7096         compiling C++ code.
7097
7098 2011-10-14  Andreas Schwab  <schwab@redhat.com>
7099
7100         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7101
7102         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7103
7104 2011-10-13  Roland McGrath  <roland@hack.frob.com>
7105
7106         [BZ #13291]
7107         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7108
7109 2011-10-13  Andreas Schwab  <schwab@redhat.com>
7110
7111         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7112         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7113         feraiseexcept.
7114
7115         * sysdeps/x86_64/memrchr.S: Check for zero size.
7116
7117         * string/stratcliff.c: Add memrchr tests.
7118
7119 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7120
7121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7122         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7123         rawmemchr-sse2 rawmemchr-sse2-bsf.
7124         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7125         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7126         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7127         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7128         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7129         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7130         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7131         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7132         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7133         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7134         * string/memrchr.c (MEMRCHR): New macro.
7135
7136 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7137
7138         Add integration with gcc's -ffinite-math-only and optimize wrapper
7139         functions in libm.
7140         * Versions.def: Define GLIBC_2.15 version for libm.
7141         * math/Makefile (headers): Add bits/math-finite.h.
7142         * math/bits/math-finite.h: New file.
7143         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7144         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7145         * math/e_acoshl.c: Add __*_finite alias.
7146         * math/e_acosl.c: Likewise.
7147         * math/e_asinl.c: Likewise.
7148         * math/e_atan2l.c: Likewise.
7149         * math/e_atanhl.c: Likewise.
7150         * math/e_coshl.c: Likewise.
7151         * math/e_exp10.c: Likewise.
7152         * math/e_exp10f.c: Likewise.
7153         * math/e_exp10l.c: Likewise.
7154         * math/e_exp2l.c: Likewise.
7155         * math/e_fmodl.c: Likewise.
7156         * math/e_gammal_r.c: Likewise.
7157         * math/e_hypotl.c: Likewise.
7158         * math/e_j0l.c: Likewise.
7159         * math/e_j1l.c: Likewise.
7160         * math/e_jnl.c: Likewise.
7161         * math/e_lgammal_r.c: Likewise.
7162         * math/e_log10l.c: Likewise.
7163         * math/e_log2l.c: Likewise.
7164         * math/e_logl.c: Likewise.
7165         * math/e_powl.c: Likewise.
7166         * math/e_sinhl.c: Likewise.
7167         * math/e_sqrtl.c: Likewise.
7168         * math/e_scalb.c: Completely rewritten and optimized.
7169         * math/e_scalbf.c: Likewise.
7170         * math/e_scalbl.c: Likewise.
7171         * math/w_acos.c: Likewise.
7172         * math/w_acosf.c: Likewise.
7173         * math/w_acosl.c: Likewise.
7174         * math/w_acosh.c: Likewise.
7175         * math/w_acoshf.c: Likewise.
7176         * math/w_acoshl.c: Likewise.
7177         * math/w_asin.c: Likewise.
7178         * math/w_asinf.c: Likewise.
7179         * math/w_asinl.c: Likewise.
7180         * math/w_atan2.c: Likewise.
7181         * math/w_atan2f.c: Likewise.
7182         * math/w_atan2l.c: Likewise.
7183         * math/w_atanh.c: Likewise.
7184         * math/w_atanhf.c: Likewise.
7185         * math/w_atanhl.c: Likewise.
7186         * math/w_exp10.c: Likewise.
7187         * math/w_exp10f.c: Likewise.
7188         * math/w_exp10l.c: Likewise.
7189         * math/w_fmod.c: Likewise.
7190         * math/w_fmodf.c: Likewise.
7191         * math/w_fmodl.c: Likewise.
7192         * math/w_j0.c: Likewise.
7193         * math/w_j0f.c: Likewise.
7194         * math/w_j0l.c: Likewise.
7195         * math/w_j1.c: Likewise.
7196         * math/w_j1f.c: Likewise.
7197         * math/w_j1l.c: Likewise.
7198         * math/w_jn.c: Likewise.
7199         * math/w_jnf.c: Likewise.
7200         * math/w_log.c: Likewise.
7201         * math/w_logf.c: Likewise.
7202         * math/w_logl.c: Likewise.
7203         * math/w_log10.c: Likewise.
7204         * math/w_log10f.c: Likewise.
7205         * math/w_log10l.c: Likewise.
7206         * math/w_log2.c: Likewise.
7207         * math/w_log2f.c: Likewise.
7208         * math/w_log2l.c: Likewise.
7209         * math/w_pow.c: Likewise.
7210         * math/w_powf.c: Likewise.
7211         * math/w_powl.c: Likewise.
7212         * math/w_remainder.c: Likewise.
7213         * math/w_remainderf.c: Likewise.
7214         * math/w_remainderl.c: Likewise.
7215         * math/w_scalb.c: Likewise.
7216         * math/w_scalbf.c: Likewise.
7217         * math/w_scalbl.c: Likewise.
7218         * math/w_sqrt.c: Likewise.
7219         * math/w_sqrtf.c: Likewise.
7220         * math/w_sqrtl.c: Likewise.
7221         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7222         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7223         used.
7224         * math/math_private.h: Declare __kernel_standard_f.
7225         * math/w_cosh.c: Remove cruft and optimize a bit.
7226         * math/w_coshf.c: Likewise.
7227         * math/w_coshl.c: Likewise.
7228         * math/w_exp2.c: Likewise.
7229         * math/w_exp2f.c: Likewise.
7230         * math/w_exp2l.c: Likewise.
7231         * math/w_hypot.c: Likewise.
7232         * math/w_hypotf.c: Likewise.
7233         * math/w_hypotl.c: Likewise.
7234         * math/w_lgamma.c: Likewise.
7235         * math/w_lgamma_r.c: Likewise.
7236         * math/w_lgammaf.c: Likewise.
7237         * math/w_lgammaf_r.c: Likewise.
7238         * math/w_lgammal.c: Likewise.
7239         * math/w_lgammal_r.c: Likewise.
7240         * math/w_sinh.c: Likewise.
7241         * math/w_sinhf.c: Likewise.
7242         * math/w_sinhl.c: Likewise.
7243         * math/w_tgamma.c: Likewise.
7244         * math/w_tgammaf.c: Likewise.
7245         * math/w_tgammal.c: Likewise.
7246         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7248         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7249         Minor optimizations.  Pretty printing.  Remove cruft.
7250         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7253         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7254         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7255         * sysdeps/i386/fpu/e_asin.S: Likewise.
7256         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7257         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7258         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7259         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7262         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7263         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7264         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7265         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7266         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7267         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7268         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7269         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7270         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7271         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7272         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7273         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7274         * sysdeps/i386/fpu/e_log.S: Likewise.
7275         * sysdeps/i386/fpu/e_log10.S: Likewise.
7276         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7277         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7278         * sysdeps/i386/fpu/e_log2.S: Likewise.
7279         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7280         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7281         * sysdeps/i386/fpu/e_logf.S: Likewise.
7282         * sysdeps/i386/fpu/e_logl.S: Likewise.
7283         * sysdeps/i386/fpu/e_pow.S: Likewise.
7284         * sysdeps/i386/fpu/e_powf.S: Likewise.
7285         * sysdeps/i386/fpu/e_powl.S: Likewise.
7286         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7287         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7288         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7289         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7290         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7291         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7292         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7293         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7294         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7298         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7299         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7300         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7301         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7302         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7306         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7309         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7312         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7315         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7316         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7317         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7318         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7319         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7320         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7321         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7322         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7323         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7324         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7325         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7326         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7329         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7330         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7331         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7332         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7333         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7334         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7335         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7336         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7337         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7338         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7339         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7340         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7341         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7342         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7343         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7344         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7345         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7346         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7347         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7348         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7350         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7351         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7352         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7353         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7354         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7355         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7359         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7365         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7369         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7373         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7374         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7375         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7376         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7377         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7390         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7391         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7392         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7393         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7394         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7395         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7396         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7397         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7398         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7399         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7400         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7401         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7403         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7404         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7405         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7406         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7407         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7408         (__isnanf): Likewise.
7409         (__isinf_ns): Likewise.
7410         (__isinf_nsf): Likewise.
7411         (__finite): Likewise.
7412         (__finitef): Likewise.
7413         (__ieee754_sqrt): Define as macro.
7414         (__ieee754_sqrtf): Define as macro.
7415         (__ieee754_sqrtl): Define as macro.
7416         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7417         inlined copy.
7418         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7419         __FINITE_MATH_ONLY__ consistent.
7420         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7421
7422 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7423
7424         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7425         of rawmemchr.
7426
7427         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7428
7429 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7430
7431         * po/ja.po: Update from translation team.
7432
7433 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7434
7435         * locale/programs/locarchive.c (prepare_address_space): New function.
7436         (create_archive, enlarge_archive, open_archive): Use it.
7437
7438         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7439         inside [SHARED], where it is used.
7440
7441         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7442
7443         * nss/getent.c (netgroup_keys): Remove unused variable.
7444         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7445
7446 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7447
7448         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7449         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7451         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7452         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7453         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7454         * math/Makefile (libm-calls): Add s_isinf_ns.
7455         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7456         * math/multc3.c: Likewise.
7457         * math/s_casin.c: Likewise.
7458         * math/s_casinf.c: Likewise.
7459         * math/s_casinl.c: Likewise.
7460         * math/s_ccos.c: Likewise.
7461         * math/s_ccosf.c: Likewise.
7462         * math/s_ccosl.c: Likewise.
7463         * math/s_ctan.c: Likewise.
7464         * math/s_ctanf.c: Likewise.
7465         * math/s_ctanh.c: Likewise.
7466         * math/s_ctanhf.c: Likewise.
7467         * math/s_ctanhl.c: Likewise.
7468         * math/s_ctanl.c: Likewise.
7469         * math/w_fmod.c: Likewise.
7470         * math/w_fmodf.c: Likewise.
7471         * math/w_fmodl.c: Likewise.
7472         * math/w_remainder.c: Likewise.
7473         * math/w_remainderf.c: Likewise.
7474         * math/w_remainderl.c: Likewise.
7475         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7476         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7479         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7480         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7481         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7482         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7483
7484         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7485         of the number.
7486         * stdio-common/printf_fphex.c: Likewise.
7487         * stdio-common/printf_size.c: Likewise.
7488
7489         * math/e_exp10.c: Include math_private.h using <...> not "...".
7490         * math/e_exp10f.c: Likewise.
7491         * math/e_exp10l.c: Likewise.
7492         * math/e_exp2l.c: Likewise.
7493         * math/e_j0l.c: Likewise.
7494         * math/e_j1l.c: Likewise.
7495         * math/e_jnl.c: Likewise.
7496         * math/e_lgammal_r.c: Likewise.
7497         * math/e_rem_pio2l.c: Likewise.
7498         * math/e_scalb.c: Likewise.
7499         * math/e_scalbf.c: Likewise.
7500         * math/e_scalbl.c: Likewise.
7501         * math/k_cosl.c: Likewise.
7502         * math/k_sinl.c: Likewise.
7503         * math/k_tanl.c: Likewise.
7504         * math/s_cacoshf.c: Likewise.
7505         * math/s_catan.c: Likewise.
7506         * math/s_catanf.c: Likewise.
7507         * math/s_catanh.c: Likewise.
7508         * math/s_catanhf.c: Likewise.
7509         * math/s_catanhl.c: Likewise.
7510         * math/s_catanl.c: Likewise.
7511         * math/s_ccosh.c: Likewise.
7512         * math/s_ccoshf.c: Likewise.
7513         * math/s_ccoshl.c: Likewise.
7514         * math/s_cexp.c: Likewise.
7515         * math/s_cexpf.c: Likewise.
7516         * math/s_cexpl.c: Likewise.
7517         * math/s_clog.c: Likewise.
7518         * math/s_clog10.c: Likewise.
7519         * math/s_clog10f.c: Likewise.
7520         * math/s_clog10l.c: Likewise.
7521         * math/s_clogf.c: Likewise.
7522         * math/s_clogl.c: Likewise.
7523         * math/s_csin.c: Likewise.
7524         * math/s_csinf.c: Likewise.
7525         * math/s_csinh.c: Likewise.
7526         * math/s_csinhf.c: Likewise.
7527         * math/s_csinhl.c: Likewise.
7528         * math/s_csinl.c: Likewise.
7529         * math/s_csqrt.c: Likewise.
7530         * math/s_csqrtf.c: Likewise.
7531         * math/s_csqrtl.c: Likewise.
7532         * math/s_ctan.c: Likewise.
7533         * math/s_ctanf.c: Likewise.
7534         * math/s_ctanh.c: Likewise.
7535         * math/s_ctanhf.c: Likewise.
7536         * math/s_ctanhl.c: Likewise.
7537         * math/s_ctanl.c: Likewise.
7538         * math/s_ldexp.c: Likewise.
7539         * math/s_ldexpf.c: Likewise.
7540         * math/s_ldexpl.c: Likewise.
7541         * math/s_significand.c: Likewise.
7542         * math/s_significandf.c: Likewise.
7543         * math/s_significandl.c: Likewise.
7544         * math/w_acos.c: Likewise.
7545         * math/w_acosf.c: Likewise.
7546         * math/w_acosh.c: Likewise.
7547         * math/w_acoshf.c: Likewise.
7548         * math/w_acoshl.c: Likewise.
7549         * math/w_acosl.c: Likewise.
7550         * math/w_asin.c: Likewise.
7551         * math/w_asinf.c: Likewise.
7552         * math/w_asinl.c: Likewise.
7553         * math/w_atan2.c: Likewise.
7554         * math/w_atan2f.c: Likewise.
7555         * math/w_atan2l.c: Likewise.
7556         * math/w_atanh.c: Likewise.
7557         * math/w_atanhf.c: Likewise.
7558         * math/w_atanhl.c: Likewise.
7559         * math/w_cosh.c: Likewise.
7560         * math/w_coshf.c: Likewise.
7561         * math/w_coshl.c: Likewise.
7562         * math/w_dremf.c: Likewise.
7563         * math/w_exp10.c: Likewise.
7564         * math/w_exp10f.c: Likewise.
7565         * math/w_exp10l.c: Likewise.
7566         * math/w_exp2.c: Likewise.
7567         * math/w_exp2f.c: Likewise.
7568         * math/w_fmod.c: Likewise.
7569         * math/w_fmodf.c: Likewise.
7570         * math/w_fmodl.c: Likewise.
7571         * math/w_hypot.c: Likewise.
7572         * math/w_hypotf.c: Likewise.
7573         * math/w_hypotl.c: Likewise.
7574         * math/w_j0.c: Likewise.
7575         * math/w_j0f.c: Likewise.
7576         * math/w_j0l.c: Likewise.
7577         * math/w_j1.c: Likewise.
7578         * math/w_j1f.c: Likewise.
7579         * math/w_j1l.c: Likewise.
7580         * math/w_jn.c: Likewise.
7581         * math/w_jnf.c: Likewise.
7582         * math/w_jnl.c: Likewise.
7583         * math/w_lgamma.c: Likewise.
7584         * math/w_lgamma_r.c: Likewise.
7585         * math/w_lgammaf.c: Likewise.
7586         * math/w_lgammaf_r.c: Likewise.
7587         * math/w_lgammal.c: Likewise.
7588         * math/w_lgammal_r.c: Likewise.
7589         * math/w_log.c: Likewise.
7590         * math/w_log10.c: Likewise.
7591         * math/w_log10f.c: Likewise.
7592         * math/w_log10l.c: Likewise.
7593         * math/w_log2.c: Likewise.
7594         * math/w_log2f.c: Likewise.
7595         * math/w_log2l.c: Likewise.
7596         * math/w_logf.c: Likewise.
7597         * math/w_logl.c: Likewise.
7598         * math/w_pow.c: Likewise.
7599         * math/w_powf.c: Likewise.
7600         * math/w_powl.c: Likewise.
7601         * math/w_remainder.c: Likewise.
7602         * math/w_remainderf.c: Likewise.
7603         * math/w_remainderl.c: Likewise.
7604         * math/w_scalb.c: Likewise.
7605         * math/w_scalbf.c: Likewise.
7606         * math/w_scalbl.c: Likewise.
7607         * math/w_sinh.c: Likewise.
7608         * math/w_sinhf.c: Likewise.
7609         * math/w_sinhl.c: Likewise.
7610         * math/w_sqrt.c: Likewise.
7611         * math/w_sqrtf.c: Likewise.
7612         * math/w_sqrtl.c: Likewise.
7613         * math/w_tgamma.c: Likewise.
7614         * math/w_tgammaf.c: Likewise.
7615         * math/w_tgammal.c: Likewise.
7616
7617         * po/ja.po: Update from translation team.
7618
7619 2011-09-29  Andreas Jaeger  <aj@suse.de>
7620
7621         [BZ #13179]
7622         * sunrpc/netname.c (netname2host): Fix logic.
7623
7624         [BZ #6779]
7625         [BZ #6783]
7626         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7627         correctly.
7628         * math/w_remainder.c (__remainder): Likewise.
7629         * math/w_remainderf.c (__remainderf): Likewise.
7630         * math/libm-test.inc (remainder_test): Add test cases.
7631
7632 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7633
7634         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7635         sdiv_qrnnd.
7636
7637 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7638
7639         * string/test-memcmp.c: Avoid unncessary #defines.
7640         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7641
7642 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7643
7644         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7645         Use new sse2 version for core i3 - i7 as it's faster
7646         than sse42 version.
7647         (bit_Prefer_PMINUB_for_stringop): New.
7648         * sysdeps/x86_64/rawmemchr.S: Update.
7649         Replace with faster SSE2 version.
7650         * sysdeps/x86_64/memrchr.S: New file.
7651         * sysdeps/x86_64/memchr.S: Update.
7652         Replace with faster SSE2 version.
7653
7654 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7655
7656         * elf/dl-load.c (lose): Add cast to avoid warning.
7657
7658 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7659
7660         * po/ca.po: Update from translation team.
7661
7662         * inet/getnetgrent_r.c: Hook up nscd.
7663         * nscd/Makefile (routines): Add nscd_netgroup.
7664         (nscd-modules): Add netgroupcache.
7665         (CFLAGS-netgroupcache.c): Define.
7666         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7667         (cache_search): Add const to second parameter.
7668         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7669         INNETGR.
7670         (dbs): Add netgrdb entry.
7671         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7672         (verify_persistent_db): Handle netgrdb.
7673         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7674         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7675         GETFDNETGR.
7676         (netgroup_response_header): Define.
7677         (innetgroup_response_header): Define.
7678         (datahead): Add netgroup_response_header and innetgroup_response_header
7679         elements.
7680         * nscd/nscd.conf: Add entries for netgroup cache.
7681         * nscd/nscd.h (dbtype): Add netgrdb.
7682         (_PATH_NSCD_NETGROUP_DB): Define.
7683         (netgroup_iov_disabled): Declare.
7684         (xmalloc, xcalloc, xrealloc): Move declarations here.
7685         (cache_search): Adjust prototype.
7686         Add netgroup-related prototypes.
7687         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7688         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7689         (__nscd_innetgr): Declare.
7690         * nscd/selinux.c (perms): Use access_vector_t as element type and
7691         add netgroup-related initializers.
7692         * nscd/netgroupcache.c: New file.
7693         * nscd/nscd_netgroup.c: New file.
7694         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7695         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7696         For four parameters use innetgr.
7697         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7698         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7699         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7700         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7701
7702         * nscd/connections.c (register_traced_file): Don't register file
7703         for disabled databases.
7704
7705 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7706
7707         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7708
7709         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7710         from tree and freeing node.
7711
7712 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7713
7714         * nss/nsswitch.c (__nss_database_lookup): Handle
7715         nss_parse_service_list out of memory case.
7716
7717 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7718
7719         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7720         out of memory case.
7721
7722 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7723
7724         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7725         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7726         pass it down.
7727         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7728         elf_machine_rela, elf_machine_lazy_rel.
7729         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7730         (ELF_DYNAMIC_DO_REL): Likewise.
7731         (ELF_DYNAMIC_DO_RELA): Likewise.
7732         (ELF_DYNAMIC_RELOCATE): Likewise.
7733         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7734         to ELF_DYNAMIC_DO_REL.
7735         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7736         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7737         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7738         elf_machine_rela.
7739         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7740         skip_ifunc, don't call ifunc function if non-zero.
7741         (elf_machine_rela): Likewise.
7742         (elf_machine_lazy_rel): Likewise.
7743         (elf_machine_lazy_rela): Likewise.
7744         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7745         (elf_machine_lazy_rel): Likewise.
7746         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7747         Likewise.
7748         (elf_machine_lazy_rel): Likewise.
7749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7750         Likewise.
7751         (elf_machine_lazy_rel): Likewise.
7752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7753         (elf_machine_lazy_rel): Likewise.
7754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7755         (elf_machine_lazy_rel): Likewise.
7756         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7757         (elf_machine_lazy_rel): Likewise.
7758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7759         (elf_machine_lazy_rel): Likewise.
7760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7761         (elf_machine_lazy_rel): Likewise.
7762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7763         (elf_machine_lazy_rel): Likewise.
7764
7765 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7766
7767         * nss/nss_files/files-init.c (_nss_files_init): Use static
7768         initialization for all the *_traced_file variables.
7769
7770 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7771
7772         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7773
7774 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7775
7776         [BZ #13226]
7777         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7778
7779 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7780
7781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7782         Reread the line before reparsing it.
7783
7784 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7785
7786         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7787
7788 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7789             Maxim Kuvyrkov  <maxim@codesourcery.com>
7790             Joseph Myers  <joseph@codesourcery.com>
7791
7792         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7793         if needed for __stack_chk_guard.
7794
7795 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7796
7797         * sysdeps/posix/spawni.c (script_execute): Always define it.
7798         It will be optimized away if unused.
7799         (maybe_script_execute): New function.
7800         (__spawni): Call it.
7801
7802         * Makerules: Don't include tls.make.
7803         (config-tls): Always set to thread.
7804         * tls.make.c: File removed.
7805
7806 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7807
7808         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7809         * config.make.in (CPPFLAGS-config): New substituted variable.
7810
7811 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7812
7813         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7814
7815         [BZ #13192]
7816         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7817         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7818
7819 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7820
7821         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7822         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7823         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7824         (CALL_FAIL): Likewise.
7825         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7826         (CALL_FAIL): Macro removed.
7827         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7828
7829 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7830
7831         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7832         for __FINITE_MATH_ONLY__ == 1.
7833
7834 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7835
7836         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7837         __ieee754_sqrt instead of sqrt.
7838         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7839         __ieee754_sqrtf instead of sqrtf.
7840         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7841         __floorf instead of floorf.
7842         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7843         __floorf, __truncf instead of floorf, truncf.
7844
7845 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7846
7847         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7848
7849         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7850         __extern_always_inline.
7851         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7852         32-bit.
7853
7854 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7855
7856         * elf/rtld.c (dl_main): Also relocate in dependency order when
7857         doing symbol dependency testing.
7858
7859 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7860
7861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7862         Always define `refsym'.
7863
7864 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7865
7866         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7867         (__FD_ELT): Renamed from __FDELT.
7868         * misc/bits/select2.h (__FD_ELT): Likewise.
7869         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7870         __FD_MASK instead of __FDELT, __FDMASK.
7871         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7872         Likewise.
7873         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7874         Likewise.
7875
7876         * elf/Makefile (gen-ldd): Fix pattern.
7877
7878         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7879         (init_tls): Likewise.
7880
7881 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7882
7883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7884
7885 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7886
7887         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7888         `struct cmsghdr *' instead of `void *'.
7889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7890         Likewise.
7891
7892 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7893
7894         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7895         if non-absolute.
7896         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7897         ldd_rewrite_script.
7898
7899 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7900
7901         * configure.in: Remove --with-tls option.
7902         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7903         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7904         out in case it is missing.
7905         * sysdeps/ia64/elf/configure.in: Likewise.
7906         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7907         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7908         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7909         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7910         * sysdeps/sh/elf/configure.in: Likewise.
7911         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7912         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7913         * sysdeps/x86_64/elf/configure.in: Likewise.
7914         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7915         * sysdeps/mach/hurd/tls.h: Likewise.
7916
7917         [BZ #13067]
7918         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7919
7920         [BZ #13090]
7921         * configure.in: Fix use of AC_INIT.
7922
7923         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7924
7925 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7926
7927         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7928         __set_errno.
7929         * malloc/hooks.c: Likewise.
7930
7931         [BZ #11929]
7932         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7933         variables statically.
7934         (narenas): Initialize.
7935         (list_lock): Initialize.
7936         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7937         initializtion of main_arena and list_lock.  Small cleanups.
7938         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7939         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7940         Add initializers to main_arena and mp_.
7941         (malloc_state): Remove pagesize member.  Change all users to use
7942         GLRO(dl_pagesize).
7943
7944         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7945         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7946         is always initialized.
7947
7948         * malloc/malloc.c: Removed unused configurations and dead code.
7949         * malloc/arena.c: Likewise.
7950         * malloc/hooks.c: Likewise.
7951         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7952
7953         * include/tls.h: Removed.  USE___THREAD must always be defined.
7954         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7955         * elf/dl-libc.c: Likewise.
7956         * elf/dl-tsd.c: Likewise.
7957         * include/errno.h: Likewise.
7958         * include/netdb.h: Likewise.
7959         * include/resolv.h: Likewise.
7960         * inet/herrno-loc.c: Likewise.
7961         * inet/herrno.c: Likewise.
7962         * malloc/arena.c: Likewise.
7963         * malloc/hooks.c: Likewise.
7964         * malloc/malloc.c: Likewise.
7965         * resolv/res-state.c: Likewise.
7966         * resolv/res_libc.c: Likewise.
7967         * sysdeps/i386/dl-machine.h: Likewise.
7968         * sysdeps/ia64/dl-machine.h: Likewise.
7969         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7970         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7971         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7972         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7973         * sysdeps/sh/dl-machine.h: Likewise.
7974         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7975         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7976         * sysdeps/unix/i386/sysdep.S: Likewise.
7977         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7978         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7987         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7988         * sysdeps/x86_64/dl-machine.h: Likewise.
7989         * tls.make.c: Likewise.
7990
7991         * configure.in: Remove --with-__thread option.  Make tests for
7992         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7993         tls_model attribute fail if no support is available.  Remove
7994         USE_IN_LIBIO.
7995         * Makeconfig: Adjust for dropped configure option.  All features are
7996         now mandatory.
7997         * Makerules: Likewise.
7998         * Versions.def: Likewise.
7999         * argp/argp-fmtstream.c: Likewise.
8000         * argp/argp-fmtstream.h: Likewise.
8001         * argp/argp-help.c: Likewise.
8002         * assert/assert.c: Likewise.
8003         * config.h.in: Likewise.
8004         * config.make.in: Likewise.
8005         * configure: Likewise.
8006         * configure.in: Likewise.
8007         * csu/Versions: Likewise.
8008         * csu/init.c: Likewise.
8009         * elf/tst-audit2.c: Likewise.
8010         * elf/tst-tls10.c: Likewise.
8011         * elf/tst-tls10.h: Likewise.
8012         * elf/tst-tls11.c: Likewise.
8013         * elf/tst-tls12.c: Likewise.
8014         * elf/tst-tls14.c: Likewise.
8015         * elf/tst-tlsmod11.c: Likewise.
8016         * elf/tst-tlsmod12.c: Likewise.
8017         * elf/tst-tlsmod13.c: Likewise.
8018         * elf/tst-tlsmod13a.c: Likewise.
8019         * elf/tst-tlsmod14a.c: Likewise.
8020         * elf/tst-tlsmod15b.c: Likewise.
8021         * elf/tst-tlsmod16a.c: Likewise.
8022         * elf/tst-tlsmod16b.c: Likewise.
8023         * elf/tst-tlsmod7.c: Likewise.
8024         * elf/tst-tlsmod8.c: Likewise.
8025         * elf/tst-tlsmod9.c: Likewise.
8026         * gmon/gmon.c: Likewise.
8027         * grp/fgetgrent_r.c: Likewise.
8028         * grp/putgrent.c: Likewise.
8029         * hurd/fopenport.c: Likewise.
8030         * include/libc-symbols.h: Likewise.
8031         * include/tls.h: Likewise.
8032         * intl/gettextP.h: Likewise.
8033         * intl/loadinfo.h: Likewise.
8034         * locale/global-locale.c: Likewise.
8035         * locale/localeinfo.h: Likewise.
8036         * mach/devstream.c: Likewise.
8037         * malloc/arena.c: Likewise.
8038         * malloc/set-freeres.c: Likewise.
8039         * misc/err.c: Likewise.
8040         * misc/getttyent.c: Likewise.
8041         * misc/mntent_r.c: Likewise.
8042         * posix/getopt.c: Likewise.
8043         * posix/wordexp.c: Likewise.
8044         * pwd/fgetpwent_r.c: Likewise.
8045         * resolv/Versions: Likewise.
8046         * resolv/res_hconf.c: Likewise.
8047         * shadow/fgetspent_r.c: Likewise.
8048         * shadow/putspent.c: Likewise.
8049         * stdio-common/printf_fphex.c: Likewise.
8050         * stdio-common/tmpfile.c: Likewise.
8051         * stdlib/abort.c: Likewise.
8052         * stdlib/fmtmsg.c: Likewise.
8053         * sunrpc/auth_unix.c: Likewise.
8054         * sunrpc/clnt_perr.c: Likewise.
8055         * sunrpc/clnt_tcp.c: Likewise.
8056         * sunrpc/clnt_udp.c: Likewise.
8057         * sunrpc/clnt_unix.c: Likewise.
8058         * sunrpc/openchild.c: Likewise.
8059         * sunrpc/svc_simple.c: Likewise.
8060         * sunrpc/svc_tcp.c: Likewise.
8061         * sunrpc/svc_udp.c: Likewise.
8062         * sunrpc/svc_unix.c: Likewise.
8063         * sunrpc/xdr.c: Likewise.
8064         * sunrpc/xdr_array.c: Likewise.
8065         * sunrpc/xdr_rec.c: Likewise.
8066         * sunrpc/xdr_ref.c: Likewise.
8067         * sunrpc/xdr_stdio.c: Likewise.
8068
8069 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8070
8071         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8072
8073 2011-07-03  Andreas Jaeger  <aj@suse.de>
8074
8075         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8076         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8077         regenerate with gen-libm-tests.pl.
8078
8079 2010-05-12  Petr Baudis  <pasky@suse.cz>
8080
8081         [BZ #11589]
8082         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8083         around j0() zero points by switching to j1().
8084         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8087         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8088
8089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8090
8091         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8092         instead of 0.
8093         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8094         instead of 0.                              .
8095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8096         Patch in part by Pavel Roskin <proski@gnu.org>.
8097
8098         [BZ #13138]
8099         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8100         realloc.
8101         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
8102         Free memory block if necessary.
8103
8104         [BZ #12847]
8105         * libio/genops.c (INTDEF): For string streams the _lock pointer can
8106         be NULL.  Don't lock in this case.
8107
8108 2011-09-09  Roland McGrath  <roland@hack.frob.com>
8109
8110         * elf/elf.h (ELFOSABI_GNU): New macro.
8111         (ELFOSABI_LINUX): Define to that.
8112
8113 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
8114
8115         * string/strncat.c (strncat): Undef the symbol in case it has been
8116         defined in bits/string.h.
8117
8118 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8119
8120         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8121
8122         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8123         link map.
8124
8125 2011-08-17  Andreas Jaeger  <aj@suse.de>
8126
8127         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8128
8129 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8130             Ian Lance Taylor  <iant@google.com>
8131
8132         * math/libm-test.inc (lround_test): New testcase.
8133         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8134
8135 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8136
8137         * Makefile: Remove support for automatic cvs check-ins.
8138         * Makerules: Likewise.
8139         * config.make.in: Likewise.
8140         * configure.in: Likewise.
8141         * intl/Makefile: Likewise.
8142         * locale/Makefile: Likewise.
8143         * po/Makefile: Likewise.
8144         * posix/Makefile: Likewise.
8145         * sysdeps/gnu/Makefile: Likewise.
8146         * sysdeps/mach/hurd/Makefile: Likewise.
8147         * sysdeps/sparc/sparc32/Makefile: Likewise.
8148
8149         [BZ #13118]
8150         * posix/Makefile (bug-regex32-ENV): Define.
8151         Patch by John Stanley <jpsinthemix@verizon.net>.
8152
8153         * misc/Makefile (headers): Add bits/select2.h.
8154         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8155         * misc/bits/select2.h: New file.
8156         * include/bits/select2.h: New file.
8157         * debug/Makefile (routines): Add fdelt_chk.
8158         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8159         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8160         FD_ISSET.
8161         * debug/fdelt_chk.c: New file.
8162
8163         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8164         * wcsmbs/test-wmemcmp.c: Likewise.
8165         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8166         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8167
8168 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8169
8170         * string/Makefile (strop-tests): Add memcmp.
8171         * string/test-wmemcmp.c: New file.
8172         * string/test-memcmp.c: Add wmemcmp support.
8173
8174 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8175
8176         [BZ #13153]
8177         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8178         2011-07-19 change.
8179
8180         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8181         garbage value in a __mach_port_mod_refs call in the cases of the
8182         task-self and thread-self ports.
8183
8184 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8185
8186         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8187
8188 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8189
8190         * elf/dl-load.c (lose): Check for non-null L.
8191
8192 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8193
8194         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8195
8196         * elf/dl-libc.c (dlerror_run): Pass back error code from
8197         dl_catch_error.
8198
8199         [BZ #13123]
8200         * elf/dl-load.c (lose): Free l_origin if it is valid.
8201
8202         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8203         names.
8204         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8205         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8206         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8208         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8209         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8210
8211 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8212
8213         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8214         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8215         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8216         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8217         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8218         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8219         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8220         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8221         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8222         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8223
8224 2011-08-15  Alan Modra  <amodra@gmail.com>
8225
8226         [BZ #13092]
8227         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8228         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8229         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8230         ppc_mcount to static-only-routines.
8231         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8232         __mcount_internal.
8233         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8234         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8235
8236 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8237
8238         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8239         for finite and infinity parameters.
8240
8241 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8242
8243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8244         and add nop instructions for throughput optimization.
8245         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8246
8247 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8248
8249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8250         aligned copy for power7 with vector-scalar instructions.
8251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8252
8253 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8254
8255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8256         AVX check.
8257
8258 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8259
8260         [BZ #13144]
8261         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8262         last change.
8263
8264 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8265
8266         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8267         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8268         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8270         clock_gettime.
8271
8272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8273
8274         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8275         Forgot to demangle the pointer.
8276
8277         * sysdeps/i386/sysdep.h: Define atom_text_section.
8278         * sysdeps/x86_64/sysdep.h: Likewise.
8279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8280         section with atom_text_section.
8281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8282         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8286
8287         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8288         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8289         already be defined.  Change to take two parameters and don't assign
8290         result to variable.  Adjust all users.
8291         Define INTERNAL_GETTIME if not already defined.
8292         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8293         call.
8294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8295         HAVE_CLOCK_GETTIME_VSYSCALL.
8296         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8297
8298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8299         gettimeofday vsyscall, just use time.
8300
8301 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8302
8303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8304         <errno.h>.
8305
8306 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8307
8308         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8309         syscall on x86-64.
8310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8311         syscall.
8312         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8313         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8314         syscall if possible.
8315
8316 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8317
8318         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8319         e_ident.  Don't pass to find_mapsXX.
8320         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8321
8322 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8323
8324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8325         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8326         * sysdeps/x86_64/multiarch/strchr.S: Update.
8327         Check bit_slow_BSF bit.
8328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8329         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8330         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8331
8332 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8333
8334         [BZ #13134]
8335         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8336         before glibc 2.15.
8337         (tryshell): Define.
8338         (__spawni): Change last parameter to be flag.  Test
8339         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8340         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8341         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8342         * posix/spawni.c: Likewise.
8343         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8344         * posix/spawnp.c: Likewise.  Change normal version to use
8345         SPAWN_XFLAGS_USE_PATH.
8346         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8347         SPAWN_XFLAGS_TRY_SHELL.
8348
8349         [BZ #13150]
8350         * posix/glob.h: Remove gcc 1.x support.
8351
8352         [BZ #13068]
8353         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8354
8355 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8356
8357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8358         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8359         strrchr-sse2-bsf
8360         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8361         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8362         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8363         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8364         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8365         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8366
8367 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8368
8369         * sysdeps/x86_64/wcscmp.S: New file.
8370
8371         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8372         wcscmp-c wcscmp-sse2
8373         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8374         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8375         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8376         * wcsmbs/wcscmp.c: Allow renaming.
8377
8378 2011-09-05  David S. Miller  <davem@davemloft.net>
8379
8380         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8381         stack slot, rather than the struct return pointer slot.
8382         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8383         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8385         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8386
8387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8388
8389         * po/ja.po: Update from translation team.
8390
8391         [BZ #13144]
8392         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8393         kernel in 64-bit binaries.
8394
8395 2011-09-01  David S. Miller  <davem@davemloft.net>
8396
8397         * elf/elf.h (HWCAP_SPARC_*): Move to..
8398         * sysdeps/sparc/sysdep.h: this new file and add new values.
8399         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8400         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8401         _DL_HWCAP_COUNT to 24.
8402         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8403         entries.
8404         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8405         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8406         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8408         instead of magic constants.
8409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8410
8411 2011-08-31  David S. Miller  <davem@davemloft.net>
8412
8413         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8415         Reimplement to do errno handling inline.
8416         (SYSCALL_ERROR_HANDLER): New macro.
8417         (__SYSCALL_STRING): Do not do errno handling in asm.
8418         (__CLONE_SYSCALL_STRING): Delete.
8419         (__INTERNAL_SYSCALL_STRING): Delete.
8420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8421         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8422         (PSEUDO): Reimplement to do errno handling inline.
8423         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8424         (SYSCALL_ERROR_HANDLER): New macro.
8425         (__SYSCALL_STRING): Do not do errno handling in asm.
8426         (__CLONE_SYSCALL_STRING): Delete.
8427         (__INTERNAL_SYSCALL_STRING): Delete.
8428         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8429         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8430         i386.
8431         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8432         (inline_syscall*): Add 'err' argument.
8433         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8434         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8435         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8436         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8437
8438         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8439         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8440
8441 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8442
8443         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8444
8445 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8446
8447         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8448         directive.
8449
8450 2011-08-24  David S. Miller  <davem@davemloft.net>
8451
8452         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8453
8454 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8455
8456         * elf/Makefile: Add rules to build and run unload8 test.
8457         * elf/unload8.c: New file.
8458         * elf/unload8mod1.c: New file.
8459         * elf/unload8mod1x.c: New file.
8460         * elf/unload8mod2.c: New file.
8461         * elf/unload8mod3.c: New file.
8462
8463         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8464         it wasn't used.
8465
8466 2011-08-23  David S. Miller  <davem@davemloft.net>
8467
8468         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8469         subtract stack bias.
8470         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8471         %sp not %fp in calculations.
8472         (_JMPBUF_UNWINDS_ADJ): Likewise.
8473
8474         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8475         (aio_suspend): Call it to force an exception region around the
8476         AIO_MISC_WAIT() invocation.
8477
8478 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8479
8480         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8481         backslash.
8482
8483 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8484
8485         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8486         protection macro.
8487         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8488         and <dl-machine.h>.
8489         (Elf64_FuncDesc): Remove.
8490
8491 2011-08-22  David S. Miller  <davem@davemloft.net>
8492
8493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8494         sigaltstack check, add missing cfi directives.
8495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8496         missing cfi directives, and sigaltstack handling.
8497
8498 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8499
8500         [BZ #11724]
8501         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8502         object is seen twice.
8503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8504
8505         * elf/Makefile (distribute): Add tst-initorder2.c.
8506         (tests): Add tst-initorder2.
8507         (modules-names): Add tst-initorder2a tst-initorder2b
8508         tst-initorder2c tst-initorder2d.  Add rules to build them.
8509         ($(objpfx)tst-initorder2.out): New rule.
8510         * elf/tst-initorder2.c: New file.
8511         * elf/tst-initorder2.exp: New file.
8512
8513 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8514
8515         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8516
8517         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8518         dependencies back to end of function.
8519
8520         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8521         $(elfobjdir)/ld.so.
8522
8523 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8524
8525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8526         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8528         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8529         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8530         of __vdso_gettimeofday.
8531         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8532         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8533         attribute_hidden.
8534         (_libc_vdso_platform_setup): Remove initialization of
8535         __vdso_gettimeofday and __vdso_time.
8536
8537 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8538
8539         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8540         and fgetc_unlocked.
8541         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8542         getc_unlocked.
8543
8544         * elf/dl-open.c (add_to_global): Report additions to the global scope
8545         for LD_DEBUG=scopes.
8546         (dl_open_worker): Also print scope of newly loaded dependencies.
8547         (_dl_show_scope): Indicate if there is no scope.
8548
8549         [BZ #13114]
8550         * stdio-common/Makefile (tests): Add bug24.
8551         * stdio-common/bug24.c: New file.
8552
8553 2011-08-19  Andreas Jaeger  <aj@suse.de>
8554
8555         [BZ #13114]
8556         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8557         non-existant file when using close-on-exec mode.
8558
8559 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8560
8561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8562         the very first instruction.
8563
8564         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8565         the CFI state in the end.
8566         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8567         inclusion of dl-trampoline.h.
8568         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8569
8570 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8571
8572         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8573         expectations for long double.
8574
8575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8576         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8577
8578 2011-08-14  David S. Miller  <davem@davemloft.net>
8579
8580         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8581         artificual limit depends upon the system page size.
8582
8583 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8584
8585         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8586         * resolv/Makefile: Define CFLAGS-libresolv.
8587
8588 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8589
8590         * nss/makedb.c (compute_tables): Make variables used in nested
8591         function static.
8592
8593 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8594
8595         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8596         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8597         if buffer was too small.
8598
8599         * elf/pldd.c (main): Attach to all threads in the process.
8600         Rewrite /proc handling to use *at functions.
8601
8602 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8603
8604         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8605         specifies first scope to show.
8606         (dl_open_worker): Update callers.  Move printing scope of new
8607         object to before the relocation.
8608         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8609         * sysdeps/generic/ldsodefs.h: Update declaration.
8610
8611         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8612         string for the scope number.
8613
8614 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8615
8616         * nscd/servicescache.c (cache_addserv): Make sure written is always
8617         initialized.
8618
8619 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8620
8621         * sysdeps/i386/i486/bits/atomic.h
8622         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8623         statement expression, so as to suppress "set but not used" warning.
8624         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8625
8626         * string/strncat.c (STRNCAT): Use prototype definition.
8627
8628         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8629         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8630         -Iprograms here.
8631         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8632         (localedef-modules): Add localedef.
8633         (locale-modules): Add locale.
8634
8635         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8636         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8637         to avoid a warning.
8638
8639 2011-08-14  David S. Miller  <davem@davemloft.net>
8640
8641         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8642         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8643
8644 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8645
8646         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8647         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8648         * elf/rtld.c (dl_main): Set l_name of vDSO.
8649         Call _dl_show_scope when DL_DEBUG_SCOPES.
8650         (process_dl_debug): Recognize scopes flag and also set it for all.
8651         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8652         Declare _dl_show_scope.
8653
8654         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8655         (do_dlopen): Pass caller_dlopen to dl_open.
8656         (__libc_dlopen_mode): Initialize caller_dlopen.
8657
8658         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8659         of libc.  Make tolower call locale-independent.  Optimize a bit by
8660         using isdigit instead of isalnum.
8661         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8662
8663 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8664
8665         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8666         was a dependency or dynamically loaded.
8667
8668 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8669
8670         * intl/l10nflist.c: Allow architecture-specific pop function.
8671         * sysdeps/x86_64/l10nflist.c: New file.
8672
8673         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8674         classification.
8675
8676 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8677
8678         * include/dirent.h: Add libc_hidden_proto for scandirat and
8679         scandirat64.  Don't declare __scandirat64.
8680         * dirent/scandirat.c: Add libc_hidden_def.
8681         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8682         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8683
8684 2011-08-10  David S. Miller  <davem@davemloft.net>
8685
8686         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8687         enum.
8688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8690         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8691
8692 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8693
8694         * Versions.def [libc]: Add GLIBC_2.15.
8695         * dirent/Makefile (routines): Add scandirat and scandirat64.
8696         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8697         GLIBC_2.15.
8698         * dirent/dirent.h: Declare scandirat and scandirat64.
8699         * dirent/scandirat.c: New file.
8700         * dirent/scandirat64.c: New file.
8701         * sysdeps/wordsize-64/scandirat.c: New file.
8702         * sysdeps/wordsize-64/scandirat64.c: New file.
8703         * dirent/opendir.c: Define opendirat.
8704         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8705         using scandirat.
8706         * dirent/scandir64.c: Adjust for scandir.c change.
8707         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8708         __scandirat64, and __scandir_cancel_handler.
8709         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8710         additional parameter and use openat instead of open (outside of ld.so).
8711         Add new __opendir as wrapper around __opendirat.
8712         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8713         here without requiring old scandirat implementation.
8714
8715 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8716
8717         * dirent/scandir.c (cancel_handler): Renamed to
8718         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8719         defined.  Adjust users.
8720         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8721         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8722
8723 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8724
8725         * string/test-string.h (IMPL): Use __STRING to expand name and then
8726         stringify it.
8727
8728         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8729         of cleanups.
8730
8731 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8732
8733         * string/Makefile: Update.
8734         (strop-tests): Append strncat.
8735         * string/test-wcscmp.c: New file.
8736         New comprehensive test for wcscmp.
8737         * string/test-strcmp.c: Update.
8738         (WIDE): New define.
8739
8740 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8741
8742         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8743         line.
8744
8745 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8746
8747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8748         encoding to ACE if AI_IDN.
8749
8750 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8751
8752         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8753         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8754
8755 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8756
8757         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8758         Fix overflow bug in strncat.
8759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8760
8761         * string/test-strncat.c: Update.
8762         Add new tests for checking overflow bugs.
8763
8764 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8765
8766         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8767         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8768         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8769         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8770         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8771         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8772         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8773         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8774         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8775
8776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8777         (USE_AS_STRCAT): Define.
8778         Add strcat and strncat support.
8779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8780
8781 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8782
8783         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8784         __n bigger than INT_MAX+1.
8785         (__strncmp_g): Likewise.
8786
8787 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8788
8789         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8790         * libio/stido.h: Likewise.
8791
8792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8793         (AF_NFC): Define.
8794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8795         (AF_NFC): Define.
8796
8797         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8798         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8800         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8802
8803         [BZ #13021]
8804         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8805         installed.
8806
8807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8808         typo.
8809         (_dl_x86_64_save_sse): Likewise.
8810
8811 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8812
8813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8814         OSXSAVE.
8815         (_dl_x86_64_save_sse): Likewise.
8816
8817         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8818
8819         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8820
8821 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8822
8823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8824         change.
8825         (_dl_x86_64_save_sse): Use correct AVX check.
8826
8827 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8828
8829         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8830         bug in strncpy/strncat.
8831         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8832
8833 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8834
8835         * string/tester.c (test_strcat): Add tests for different alignments
8836         of source and destination.
8837         (test_strncat): Likewise.
8838
8839 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8840
8841         [BZ #12852]
8842         * posix/glob.c (glob): Check passed in values before using them in
8843         expressions to avoid some overflows.
8844         (glob_in_dir): Likewise.
8845
8846         [BZ #13007]
8847         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8848         check for AVX enablement so that we don't crash with old kernels and
8849         new hardware.
8850         * elf/tst-audit4.c: Add same checks here.
8851         * elf/tst-audit6.c: Likewise.
8852
8853         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8854
8855 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8856
8857         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8858
8859 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8860
8861         * po/cs.po: Update from translation team.
8862         * po/bg.po: Likewise.
8863
8864 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8865
8866         * misc/sys/cdefs.h: Add support for const attribute.
8867         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8868         to gnu_dev_{major,minor,makedev} functions.
8869
8870 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8871
8872         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8873
8874 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8875
8876         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8877         strlen results.
8878
8879 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8880
8881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8882         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8883         register in order to avoid conflicts with the soft frame pointer
8884         being held in r11 when necessary.
8885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8886         (INTERNAL_VSYSCALL_NCS): Likewise.
8887
8888 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8889
8890         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8891         * elf/dl-fini.c (_dl_fini): Adjust caller.
8892         * elf/dl-close.c (_dl_close_worker): Likewise.
8893         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8894
8895 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8896
8897         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8898         "aux_cache->nlibs < 0".
8899
8900         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8901         in the reload-count case.
8902
8903 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8904
8905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8906         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8907         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8908         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8909         * sysdeps/x86_64/multiarch/strcat.S: New file.
8910         * sysdeps/x86_64/multiarch/strncat.S: New file.
8911         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8912         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8913         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8914         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8916         (USE_AS_STRCAT): Define.
8917         Add strcat and strncat support.
8918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8919         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8920         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8921         * string/strncat.c: Update.
8922         (USE_AS_STRNCAT): Define.
8923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8924         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8925         and i7.
8926         * sysdeps/x86_64/multiarch/init-arch.h
8927         (bit_Prefer_PMINUB_for_stringop): New.
8928         (index_Prefer_PMINUB_for_stringop): Likewise.
8929         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8930         bit_Prefer_PMINUB_for_stringop.
8931
8932 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8933
8934         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8935         buffer64.
8936         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8937         of casting of buffer.
8938         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8939         buffer32 and buffer64.
8940         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8941         writes instead of casting of buffer.
8942         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8943         buffer32.
8944         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8945         casting of buffer.
8946
8947 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8948
8949         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8950
8951 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8952
8953         * nscd/nscd.c (termination_handler): Don't do anything for a database
8954         if it has not yet been initialized.
8955
8956 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8957
8958         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8959
8960 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8961
8962         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8963
8964 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8965
8966         * po/nl.po: Update from translation team.
8967         * po/sv.po: Likewise.
8968
8969 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8970
8971         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8972         now disallowed by GCC.
8973
8974         * configure.in (use-default-link): Default to yes if a test -shared
8975         link meets our qualifications.
8976         * configure: Regenerated.
8977
8978         * config.make.in (output-format): New variable.
8979         * configure.in: Check for ld --print-output-format support.
8980         * configure: Regenerated.
8981         * Makerules ($(common-objpfx)format.lds)
8982         [$(output-format) != unknown]: Just use $(output-format),
8983         instead of the linker-script munging.
8984
8985 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8986
8987         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8988         of $(common-objpfx)shlib.lds.
8989         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8990
8991         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8992         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8993
8994         * configure.in (-z relro check): Adjust test code to add a large
8995         writable data section after it.
8996         * configure: Regenerated.
8997
8998 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8999
9000         * configure.in (-z relro check): Fix test code to make the variable
9001         truly const.
9002         * configure: Regenerated.
9003
9004 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
9005
9006         * nscd/nscd.h (struct traced_file): Define.
9007         (struct database_dyn): Remove inotify_descr, reset_res, and filename
9008         elements.  Add traced_files.
9009         (inotify_fd): Declare.
9010         (register_traced_file): Declare.
9011         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9012         (inotify_fd): Export.
9013         (resolv_conf_descr): Remove.
9014         (nscd_init): Move inotify descriptor creation to main.
9015         Don't register files for notification here.
9016         (register_traced_file): New function.
9017         (invalidate_cache): Don't use reset_res to determine whether to call
9018         res_init, go through the list of registered files.
9019         (main_loop_poll): The inotify descriptors are now stored in the
9020         structures for the traced files.
9021         (main_loop_epoll): Likewise
9022         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
9023         to __nss_disable_nscd.
9024         * nscd/cache.c (prune_cache): There is no single inotify descriptor
9025         for a database anymore.  Check the records for all the registered
9026         files instead.
9027         * nss/Makefile (libnss_files-routines): Add files-init.
9028         (libnss_db-routines): Add db-init.
9029         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9030         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9031         * nss/nss_db/db-init.c: New file.
9032         * nss/nss_files/files-init.c: New file.
9033         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
9034         __nss_lookup_function.
9035         (__nss_lookup_function): Call nss_load_library.
9036         (nss_load_all_libraries): New function.
9037         (__nss_disable_nscd): Take parameter with callback function for files
9038         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
9039         used for the cached services.
9040         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9041         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9042         options for features to all the files in nscd.
9043
9044         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9045
9046 2011-07-10  Roland McGrath  <roland@hack.frob.com>
9047
9048         * csu/elf-init.c (__libc_csu_init): Comment typo.
9049
9050 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
9051
9052         * po/pl.po: Update from translation team.
9053         * po/ja.po: Likewise.
9054         * po/ru.po: Likewise.
9055         * po/ko.po: Likewise.
9056         * po/fr.po: Likewise.
9057
9058 2011-07-09  Roland McGrath  <roland@hack.frob.com>
9059
9060         * configure.in (.ctors/.dtors header and trailer check):
9061         Use an empirical test on a built program.
9062         * configure: Regenerated.
9063
9064         * configure.in (-z relro check): Use an empirical test on a built DSO.
9065         Detect, but do not require, on ia64.
9066         * configure: Regenerated.
9067
9068         * configure.in (READELF): Find it with AC_CHECK_TOOL.
9069         Update tests that use readelf to use $READELF instead.
9070         * configure: Regenerated.
9071
9072 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
9073
9074         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9075         if the result is not used.
9076
9077 2011-07-05  Andreas Jaeger  <aj@suse.de>
9078
9079         [BZ#9696]
9080         * stdlib/tst-strtod.c: Add testcase.
9081
9082 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
9083
9084         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9085         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9086         The latter has a higher limit.  Take additional parameter to pass to
9087         the new function.
9088         (__pathconf): Pass file to __statfs_link_max.
9089         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9090         __statfs_link_max.
9091         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9092         __statfs_link_max.
9093
9094         [BZ #12868]
9095         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9097         Handle Lustre.
9098         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9099         (__statfs_filesize_max): Likewise.
9100         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9101
9102 2011-07-05  Andreas Jaeger  <aj@suse.de>
9103
9104         * resolv/res_comp.c (dn_skipname): Remove unused variable.
9105
9106 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9107
9108         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9109         `status' variable.
9110         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9111         Likewise.
9112
9113 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9114
9115         * Makefile (strop-tests): Add strncat.
9116         * string/test-strncat.c: New file.
9117
9118 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9119
9120         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9121
9122 2011-06-21  Andreas Jaeger  <aj@suse.de>
9123
9124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9125         Copy rule from iconvdata/Makefile.
9126
9127 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9128
9129         [BZ #12922]
9130         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9131         but no long options are defined, just return 'W'.
9132
9133 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9134
9135         [BZ #9696]
9136         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9137
9138 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9139
9140         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9141         netgroups to read.
9142         (innetgr): Likewise.
9143
9144 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9145
9146         * config.make.in (install_root): Default to $(DESTDIR).
9147
9148 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9149
9150         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9151
9152 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9153
9154         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9155
9156         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9157         containing directory rather than embedding absolute directory names.
9158
9159         * scripts/check-local-headers.sh: Rewritten using awk.
9160         Match by word, not by line.  Print error messages for matches.
9161         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9162
9163         * Makerules [shlib-lds-flags empty]:
9164         ($(common-objpfx)libc_pic.opts): New target.
9165         ($(common-objpfx)libc_pic.os.clean): New target.
9166         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9167
9168         * config.make.in (OBJCOPY): New variable.
9169         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9170         * configure: Regenerated.
9171
9172         * config.make.in (use-default-link): New variable.
9173         * configure.in (use_default_link): Grok --with-default-link to set it.
9174         * configure: Regenerated.
9175         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9176         (shlib-lds, shlib-lds-flags): Define to empty.
9177
9178         * Makerules (shlib-lds): New variable.
9179         (shlib-lds-flags): New variable.
9180         (build-shlib, build-moduile, build-module-asneeded): Use it.
9181         ($(common-objpfx)libc.so): Use $(shlib-lds).
9182         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9183         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9184
9185         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9186         DT_FLAGS/DT_FLAGS_1 with zero flags.
9187
9188         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9189         linker script munging.
9190
9191 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9192
9193         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9194         as 128-bit value.
9195         * crypt/sha512.c (sha512_process_block): Perform total addition using
9196         128-bit if possible.
9197         (__sha512_finish_ctx): Likewise.
9198         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9199         as 64-bit value.
9200         * crypt/sha256.c (SWAP64): Define.
9201         (sha256_process_block): Perform total addition using 64-bit if
9202         possible.
9203         (__sha256_finish_ctx): Likewise.
9204
9205 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9206
9207         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9208         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9209         * nscd/hstcache.c (cache_addhst): Likewise.
9210         * nscd/grpcache.c (cache_addgr): Likewise.
9211         * nscd/aicache.c (addhstaiX): Likewise
9212         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9213
9214 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9215
9216         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9218         * nscd/hstcache.c (cache_addhst): Likewise.
9219         * nscd/grpcache.c (cache_addgr): Likewise.
9220         * nscd/aicache.c (addhstaiX): Likewise
9221
9222 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9223
9224         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9225         domain only when needed.
9226
9227 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9228
9229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9230         is always restored.
9231
9232 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9233
9234         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9235         are re-adding the entry.
9236         * nscd/servicescache.c (cache_addserv): Likewise.
9237
9238 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9239
9240         * sysdeps/generic/dl-irel.h: fix protection against multiple
9241         inclusions.
9242         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9243
9244 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9245
9246         [BZ #12935]
9247         * malloc/memusage.sh: Fix quoting in message.
9248         * debug/xtrace.sh: Likewise.
9249
9250         * configure.in: Remove support for --experimental-malloc option, make
9251         it the default.
9252         * config.make.in: Likewise.
9253         * malloc/Makefile: Likewise.
9254
9255 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9256
9257         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9258         two-byte characters.
9259
9260 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9261
9262         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9263         AC_CACHE_CHECK invocation.
9264         * configure: Regenerated.
9265
9266         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9267
9268 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9269
9270         [BZ #12350]
9271         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9272         bit from old_res_options.
9273
9274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9275
9276         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9277         value type for setfct.
9278
9279 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9280
9281         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9282         __gettimeofday instead of gettimeofday.
9283
9284 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9285
9286         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9287
9288 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9289
9290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9291
9292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9293         info.
9294
9295 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9296
9297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9298         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9299         strcpy-sse2-unaligned strncpy-sse2-unaligned
9300         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9301         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9302         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9303         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9304         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9307         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9308         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9309         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9310         (STRCPY): Support SSE2 and SSSE3 versions.
9311
9312 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9313
9314         [BZ #12874]
9315         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9316         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9317         kernels which artificially limit size of requests.
9318
9319 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9320
9321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9322         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9323         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9324         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9325         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9326         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9327         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9328         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9329         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9331         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9332         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9333         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9334         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9335         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9337         Enable unaligned load optimization for Intel Core i3, i5 and i7
9338         processors.
9339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9340         Define.
9341         (index_Fast_Unaligned_Load): Define.
9342         (HAS_FAST_UNALIGNED_LOAD): Define.
9343
9344 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9345
9346         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9347
9348 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9349
9350         [BZ #12907]
9351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9352         until it is clear that the information is realy needed.
9353         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9354
9355 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9356
9357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9358
9359 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9360
9361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9362         /sys/devices/system/cpu/online if it is usable.
9363
9364         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9365         reading the information from the /proc filesystem to once a second.
9366
9367 2011-06-21  Andreas Jaeger  <aj@suse.de>
9368
9369         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9370         NULL after inclusion of kernel headers.
9371
9372 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9373
9374         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9375         calls to internal_setent.
9376
9377         [BZ #12885]
9378         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9379         addresses using gethostbyname4_r ignore IPv4 addresses.
9380
9381         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9382         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9383
9384         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9385
9386 2011-06-20  David S. Miller  <davem@davemloft.net>
9387
9388         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9389         inclusions.
9390         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9391
9392         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9393         (elf_irel): Use it.
9394         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9395         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9396         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9397         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9398         * sysdeps/x86_64/dl-irel.h: Likewise.
9399
9400         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9401         * elf/dl-sym.c: Likewise.
9402
9403 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9404
9405         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9406         need to dereference resplen2.
9407
9408 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9409
9410         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9411
9412 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9413
9414         * Makeconfig: Define vardbdir and inst_vardbdir.
9415         * nss/Makefile: Add rules to install db-Makefile.
9416
9417         * nss/nss_db/db-XXX.c: Cleanup.
9418
9419         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9420         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9421         GLIBC_PRIVATE.
9422         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9423         * nss/makedb.c: Implement -g option to specify that value strings
9424         are generated and should not be added to table iterated over for
9425         get*ent calls.
9426         * nss/nss_db/db-initgroups.c: New file.
9427
9428         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9429         interface.
9430
9431         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9432         (internal_getgrouplist): Adjust to name change.
9433         Update use_initgroups_entry if this is not the first call.
9434         * nss/databases.def: Add initgroups entry.
9435
9436         * nss/makedb.c (compute_tables): Check result of multiple hash table
9437         sizes to minimize maximum chain length.
9438
9439 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9440
9441         * Versions.def: Add entry for libnss_db.
9442         * shlib-versions: Likewise.
9443         * nss/Makefile: Add rules to build libnss_db.
9444         * nss/Versions: Add libnss_db information.  Organize libnss_files
9445         entries better.
9446         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9447         makedb progra.  Some minor improvements to generate smaller files.
9448         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9449         here from...
9450         * nss/makedb.c: ...here.
9451         Improve database format to be smaller and require less memory at
9452         runtime.
9453         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9454         db anymore.
9455         * nss/nss_db/db-netgrp.c: Likewise.
9456         * nss/nss_db/db-open.c: Likewise.
9457         * nss/nss_files/flies-XXX.x: Adjust comments.
9458         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9459         * nss/nss_files/files-grp.c: Likewise.
9460         * nss/nss_files/files-hosts.c: Likewise.
9461         * nss/nss_files/files-network.c: Likewise.
9462         * nss/nss_files/files-proto.c: Likewise.
9463         * nss/nss_files/files-pwd.c: Likewise.
9464         * nss/nss_files/files-rpc.c: Likewise.
9465         * nss/nss_files/files-service.c: Likewise.
9466         * nss/nss_files/files-sgrp.c: Likewise.
9467         * nss/nss_files/files-spwd.c: Likewise.
9468         * nss/nss_db/db-alias.c: Removed.
9469         * nss/nss_db/dummy-db.h: Removed.
9470
9471 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9472
9473         * nss/makedb.c: Rewritten to not use database library.
9474         * nss/Makefile: Update to build new makedb program.
9475
9476 2011-06-14  Andreas Jaeger  <aj@suse.de>
9477
9478         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9479         memset declaration.
9480
9481 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9482
9483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9484         tmpbuf.
9485
9486 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9487
9488         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9489         * elf/Makefile ($(objpfx)ld.so): Likewise.
9490
9491         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9492         Don't list ld.so twice in dependencies.
9493
9494         * posix/bug-regex31.c: Include <stdlib.h>.
9495
9496         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9497
9498         * nis/nss_compat/compat-spwd.c
9499         (getspent_next_nss_netgr): Remove unused variable.
9500         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9501
9502         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9503         nonmembers" output to use the right array.
9504
9505         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9506
9507         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9508
9509         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9510         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9511         * catgets/gencat.c (read_input_file): Likewise.
9512         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9513
9514         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9515         variable definition inside #if's controlling its use.
9516
9517         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9518
9519         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9520
9521         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9522
9523         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9524         unreachable code.
9525
9526         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9527
9528         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9529         * configure: Regenerated.
9530
9531         * Makerules: Revert last change.
9532         * elf/Makefile: Likewise.
9533
9534 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9535
9536         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9537         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9538         (reloc-link): Likewise.
9539
9540 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9541
9542         * elf/Makefile: Add rules to build pldd.
9543         * elf/pldd.c: New file.
9544         * elf/pldd-xx.c: New file.
9545
9546 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9547
9548         * version.h: Update for 2.15 development version.
9549
9550 2011-06-07  David S. Miller  <davem@davemloft.net>
9551
9552         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9553         ifuncs.
9554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9555         elf_machine_lazy_rel): Likewise.
9556         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9558         elf_machine_lazy_rel): Likewise.
9559         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9560         dl_hwcap via passed in argument.
9561         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9562         Likewise.
9563
9564 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9565
9566         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9567
9568 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9569
9570         [BZ #12849]
9571         * manual/fdl-1.1.texi: New file, verbatim from:
9572         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9573         * manual/lgpl-2.1.texi: New file, verbatim from:
9574         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9575         * manual/Makefile (licenses): New variable, list those new file names.
9576         (texis): Use it.
9577         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9578
9579         * manual/fdl.texi: File removed.
9580         * manual/lesser.texi: File removed.
9581         * manual/libc.texinfo (Copying, Documentation License):
9582         Use new @include file names, put @appendix directive before @include.
9583
9584 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9585
9586         [BZ #12841]
9587         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9588         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9589         (mq_open): Add __NTH.
9590
9591 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9592
9593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9594         Assume Intel Core i3/i5/i7 processor if AVX is available.
9595
9596 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9597
9598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9599         typo.
9600
9601 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9602
9603         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9604         memory.  Use alloca_account.  Fix memory leak when retrying.
9605
9606 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9607
9608         * version.h (RELEASE): Bump for 2.14 release.
9609         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9610
9611         * config.make.in (RANLIB): Remove entry.
9612
9613 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9614
9615         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9616         (libc.pot): Work around missing support for .ksh extension in xgettext.
9617
9618         [BZ #12684]
9619         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9620         if both request failed.
9621         (send_dg): In case of server errors clear resplen or *resplen2.
9622
9623         [BZ #12454]
9624         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9625         when there are multiple maps.
9626         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9627         (_dl_fini): Remove test here.
9628
9629         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9630
9631 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9632
9633         [BZ #12350]
9634         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9635         bit from old_res_options.
9636         (gaih_inet): Likewise.
9637
9638         [BZ #11099]
9639         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9640         as signed.
9641
9642         * resolv/res_init.c (res_setoptions): Make the code more compact.
9643
9644         [BZ #11558]
9645         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9646         set RES_USEVC.
9647
9648         [BZ #11634]
9649         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9650
9651         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9652
9653         [BZ #11781]
9654         * malloc/malloc.h: Declare malloc hook variables as volatile.
9655
9656         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9657         in last patch.
9658
9659         [BZ #11799]
9660         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9661         raise in the comment.
9662         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9664         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9665
9666 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9667
9668         [BZ #12811]
9669         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9670         grow the buffers more if it already has to be sufficient.
9671         (build_wcs_upper_buffer): Likewise.
9672         * posix/regexec.c (check_matching): Likewise.
9673         (clean_state_log_if_needed): Likewise.
9674         (extend_buffers): Don't enlarge buffers beyond size of the input
9675         buffer.
9676         Patches mostly by Emil Wojak <emil@wojak.eu>.
9677         * posix/bug-regex32.c: New file.
9678         * posix/Makefile (tests): Add bug-regex32.
9679
9680         * locale/findlocale.c (_nl_find_locale): Return right away if
9681         _nl_explode_name failed.
9682         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9683
9684         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9685
9686         * debug/xtrace.sh: Unify messages.
9687         * malloc/memusage.sh: Likewise.
9688
9689         [BZ #12813]
9690         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9691         time symbol from vDSO.  Substitute with vsyscall if not available.
9692         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9693         __vdso_time.
9694
9695         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9696         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9698         Add sendmmsg and internal_sendmmsg.
9699         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9700         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9701         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9702
9703         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9704         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9705         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9706
9707 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9708
9709         [BZ #12813]
9710         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9711         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9712         available.
9713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9714         __vdso_getcpu.
9715
9716         [BZ #12814]
9717         * iconvdata/Makefile (tests): Add bug-iconv9.
9718         * iconvdata/bug-iconv9.c: New file.
9719
9720 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9721
9722         [BZ #12814]
9723         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9724
9725 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9726
9727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9728         (struct user_regs_struct): Change intcs field back to cs.
9729
9730 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9731
9732         * po/ja.po: Update from translation team.
9733
9734 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9735
9736         [BZ #12795]
9737         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9738         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9739
9740 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9741
9742         * stdlib/longlong.h: Update from GCC.
9743
9744 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9745
9746         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9747         parameter name.
9748         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9749         Add parameter name.
9750         (__sysconf): Pass it down.
9751
9752 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9753
9754         [BZ #12671]
9755         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9756         some situations.
9757         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9758         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9759         add in in __libc_use_alloca calls.  Adjust callers.
9760         (glob): Use malloc in some situations.
9761
9762         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9763         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9764         pltexit.
9765
9766 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9767
9768         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9769         and CLOCK_BOOTTIME_ALARM.
9770
9771         [BZ #12782]
9772         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9773         is returned.
9774
9775         * string/_strerror.c (__strerror_r): Print negative errors as signed
9776         numbers.
9777
9778         [BZ #12777]
9779         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9780         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9781         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9782
9783         * configure.in: Fix typo in redirection and correct removal of test
9784         files in two cases.
9785
9786         [BZ #12788]
9787         * locale/setlocale.c (new_composite_name): Fix test to check for
9788         identical name of all categories.
9789
9790         [BZ #12792]
9791         * libio/filedoalloc.c (local_isatty): New function.
9792         (_IO_file_doallocate): Use local_isatty.
9793         * stdio-common/perror.c (perror): In case a new stream is used
9794         forward the stream error.
9795         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9796         error flag.
9797
9798 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9799
9800         [BZ #11869]
9801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9802         alloca.
9803         * include/alloca.h (extend_alloca_account): Define.
9804
9805         [BZ #11857]
9806         * posix/regex.h: Fix comments with documentation of user-accessible
9807         fields after compilation and describe correct free'ing of pattern
9808         after re_compile_pattern.
9809         Patch by Reuben Thomas <rrt@sc3d.org>.
9810
9811 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9812
9813         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9814         and -mno-altivec to prevent the compiler from using Altivec and/or
9815         VSX instructions when the corresponding registers are not available.
9816
9817 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9818
9819         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9820
9821 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9822
9823         * libio/freopen.c (freopen): Use __dup2, not dup2.
9824         * libio/freopen64.c (freopen64): Likewise.
9825
9826 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9827
9828         [BZ #12775]
9829         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9830         * math/Makefile (tests): Add test-powl.
9831         (CFLAGS-test-powl.c): Define.
9832         * math/test-powl.c: New file.
9833
9834 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9835
9836         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9837
9838 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9839
9840         [BZ #11837]
9841         * iconvdata/gb18030.c: Update to GB18020-2005.
9842
9843 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9844
9845         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9846         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9847         Patch by Aharon Robbins <arnold@skeeve.com>.
9848
9849         [BZ #11892]
9850         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9851         on the stack.
9852
9853         [BZ #11895]
9854         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9855         through underflows.
9856
9857         [BZ #12766]
9858         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9859         point to strings before performing equality test for error_one_per_line
9860         mode.
9861
9862         [BZ #11697]
9863         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9864
9865         [BZ #11820]
9866         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9867         (struct user_fpregs_struct): Avoid __uint*_t types.
9868
9869         [BZ #6420]
9870         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9871         symbol info.  Use it instead of calling _dl_addr locally.
9872         (lock_and_info): New function.
9873         (tr_freehook): Call lock_and_info and pass symbol info as additional
9874         parameter to tr_where.
9875         (tr_mallochook): Likewise.
9876         (tr_reallochook): Likewise.
9877         (tr_memalignhook): Likewise.
9878
9879         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9880         used and couldn't be at all thread-safe.
9881
9882 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9883
9884         * libio/freopen.c (freopen): Don't close old file descriptor
9885         before the new one is opened.  Instead dup the new file descriptor
9886         to the old one after the new stream is created.
9887         * libio/freopen64.c (freopen64): Likewise.
9888         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9889         * libio/fileops.c (_IO_new_file_close_it): Handle new
9890         _IO_FLAGS2_NOCLOSE flag.
9891         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9892         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9893         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9894         _IO_FLAGS2_NOCLOSE flag.
9895         * include/unistd.h: Add hidden_proto for dup3.
9896         Define __have_dup3.
9897         * io/dup3.c: Define hidden symbol.
9898         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9899
9900         [BZ #7101]
9901         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9902         when an incomplete long option is used.
9903         * posix/tst-getopt_long1.c: New file.
9904         * posix/Makefile (tests): Add tst-getopt_long1.
9905
9906         [BZ #10138]
9907         * scripts/config.guess: Update from autoconf-2.68.
9908         * scripts/config.sub: Likewise.
9909
9910         [BZ #10157]
9911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9912         tests into ...
9913         (has_cpuclock): ...this.  New function.
9914         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9915         macro here based on has_cpuclock code.
9916
9917         [BZ #10149]
9918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9919         First byte (not low byte) is now always NUL.
9920         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9921
9922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9923         Use non-cancelable interfaces.
9924
9925         [BZ #9809]
9926         * locale/iso-639.def: Add entry for Sorani.
9927
9928         [BZ #11901]
9929         * include/stdlib.h: Move include protection to the right place.
9930         Define abort_msg_s.  Declare __abort_msg with it.
9931         * stdlib/abort.c (__abort_msg): Adjust type.
9932         * assert/assert.c (__assert_fail_base): New function.  Majority
9933         of code from __assert_fail.  Allocate memory for __abort_msg with
9934         mmap.
9935         (__assert_fail): Now call __assert_fail_base.
9936         * assert/assert-perr.c: Remove bulk of implementation.  Use
9937         __assert_fail_base.
9938         * include/assert.hL Declare __assert_fail_base.
9939         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9940         mmap.
9941         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9942
9943 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9944
9945         [BZ #11952]
9946         [BZ #12453]
9947         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9948         until all modules are registered in the DTV.
9949         * elf/Makefile: Add rules to build and run tst-tls19.
9950         * elf/tst-tls19.c: New file.
9951         * elf/tst-tls19mod1.c: New file.
9952         * elf/tst-tls19mod2.c: New file.
9953         * elf/tst-tls19mod3.c: New file.
9954         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9955
9956         [BZ #12083]
9957         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9958         correctly.
9959
9960         [BZ #12601]
9961         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9962         two-byte sequence errors.
9963         * iconvdata/Makefile (tests): Add bug-iconv8.
9964         * iconvdata/bug-iconv8.c: New file.
9965
9966         [BZ #12626]
9967         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9968         buf2 definition.
9969
9970         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9971
9972         [BZ #12432]
9973         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9974         (dummy_getcfa): New function.
9975         (init): Get _Unwind_GetCFA address, use dummy if not found.
9976         (backtrace_helper): In recursion check, also check whether CFA changes.
9977         (__backtrace): Completely initialize arg.
9978
9979         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9980         storing incomplete byte sequence in state object.  Avoid testing for
9981         guaranteed too small input if we know there is enough data available.
9982
9983 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9984
9985         * Makeconfig (+link-pie): Indent.
9986         * Rules (binaries-pie): Define if $(have-fpie) and
9987         $(build-shared).
9988         (binaries-shared): Also filter out $(binaries-pie).
9989         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9990         * nscd/Makefile (others-pie): Add nscd.
9991         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9992         ($(objpfx)nscd): Remove command override.
9993         * login/Makefile (others-pie): Add pt_chown.
9994         ($(objpfx)pt_chown): Remove command override.
9995         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9996         remove command overrides.
9997
9998 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9999
10000         * libio/tst_putwc.c: Fix error messages.
10001
10002         [BZ #12724]
10003         * libio/fileops.c (_IO_new_file_close_it): Always flush when
10004         currently writing and seek to current position when not.
10005         * libio/Makefile (tests): Add bug-fclose1.
10006         * libio/bug-fclose1.c: New file.
10007
10008 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
10009
10010         [BZ #12511]
10011         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10012         don't set DF_1_NODELETE here.
10013         (do_lookup_x): When entering new entry test for copy relocation
10014         and if necessary set DF_1_NODELETE flag.
10015         * elf/tst-unique4.cc: New file.
10016         * elf/tst-unique4.h: New file.
10017         * elf/tst-unique4lib.cc: New file.
10018         * elf/Makefile: Add rules to build and run tst-unique4.
10019         Patch by Piotr Bury <pbury@goahead.com>.
10020
10021 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
10022
10023         [BZ #12052]
10024         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10025
10026         [BZ #12625]
10027         * misc/mntent_r.c (addmntent): Flush the stream after the output
10028
10029         [BZ #12393]
10030         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10031         (is_trusted_path_normalize): Skip initial colon.  Append slash
10032         to empty buffer.  Duplicate is_trusted_path code but allow
10033         constructed patch to be prefix.
10034         (is_dst): Allow $ORIGIN followed by /.
10035         (_dl_dst_substitute): Correct clearing of check_for_trusted.
10036         Correct testing of result of is_trusted_path_normalize
10037         (decompose_rpath): Fix warning.
10038
10039 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
10040
10041         [BZ #11257]
10042         * grp/initgroups.c (internal_getgrouplist): When we found the service
10043         list through the initgroups entry in nsswitch.conf do not always
10044         continue on a successful lookup.  Don't always use the
10045         __nss_group_database value if it is set.
10046         * nss/nsswitch.conf (initgroups): Change action for successful db
10047         lookup to continue for compatibility.
10048
10049 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
10050
10051         [BZ #11532]
10052         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10053         and CP774 modules.
10054         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10055         and CP774 modules.
10056         * iconvdata/tst-tables.sh: Likewise.
10057         * iconvdata/cp770.c: New file.
10058         * iconvdata/cp771.c: New file.
10059         * iconvdata/cp772.c: New file.
10060         * iconvdata/cp773.c: New file.
10061         * iconvdata/cp774.c: New file.
10062         * iconvdata/testdata/CP770: New file.
10063         * iconvdata/testdata/CP770..UTF8: New file.
10064         * iconvdata/testdata/CP771: New file.
10065         * iconvdata/testdata/CP771..UTF8: New file.
10066         * iconvdata/testdata/CP772: New file.
10067         * iconvdata/testdata/CP772..UTF8: New file.
10068         * iconvdata/testdata/CP773: New file.
10069         * iconvdata/testdata/CP773..UTF8: New file.
10070         * iconvdata/testdata/CP774: New file.
10071         * iconvdata/testdata/CP774..UTF8: New file.
10072
10073         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10074         END CHARMAP line.
10075         * iconvdata/gen-8bit-gap.sh: Likewise.
10076         * iconvdata/gen-8bit.sh: Likewise.
10077
10078         * locale/iso-639.def: Add ary entry.
10079
10080         [BZ #11258]
10081         * locale/C-translit.h.in: Add U20A1 transliteration.
10082
10083         [BZ #12178]
10084         * locale/iso-639.def: Add wae entry.
10085         Patch by Kevin Bortis <bortis@translate-wae.ch>.
10086
10087         [BZ #12545]
10088         * locale/programs/localedef.c (construct_output_path): Use ssize_t
10089         for n.
10090
10091         [BZ #12711]
10092         * locale/C-translit.h.in: Add entry for U20B9.
10093         Patch by pravin.d.s@gmail.com.
10094
10095 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
10096
10097         [BZ #12713]
10098         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10099         ENAMETOOLONG use generic getcwd.
10100         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
10101         in rtld.  Use *stat64.
10102         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10103         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10104         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10105         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10106         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10107         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10108         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10109         __fstatat64 macros.
10110         * include/dirent.h: Add libc_hidden_proto for rewinddir.
10111         * dirent/rewinddir.c: Add libc_hidden_def.
10112         * sysdeps/mach/hurd/rewinddir.c: Likewise.
10113         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
10114
10115         * include/dirent.h (__alloc_dir): Add flags parameter.
10116         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10117         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10118         __alloc_dir.
10119         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10120         from fdopendir if O_CLOEXEC is already set.
10121
10122 2011-03-15  Alan Modra  <amodra@gmail.com>
10123
10124         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10125         l_tls_firstbyte_offset non-zero.  Save padding offset in
10126         l_tls_firstbyte_offset for later use.
10127         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10128         freeing static tls block.
10129
10130 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10131
10132         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10133         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10134         being defined by the kernel headers.
10135
10136 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10137
10138         [BZ #12734]
10139         * resolv/resolv.h: Define RES_NOTLDQUERY.
10140         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10141         no-tld-query and set RES_NOTLDQUERY.
10142         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10143         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10144         modern BIND to search name as TLD unless forbidden.
10145
10146 2011-05-07  Petr Baudis  <pasky@suse.cz>
10147             Ulrich Drepper  <drepper@gmail.com>
10148
10149         [BZ #12393]
10150         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10151         (is_trusted_path): ...to here.
10152         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10153         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10154         using is_trusted_path_normalize() in setuid scripts.
10155
10156 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10157
10158         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10159         __BEGIN/__END_DECLS.
10160
10161 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10162
10163         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10164         NSS_STATUS_NOTFOUND if no record was found.
10165
10166 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10167
10168         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10169         (headers-not-in-tirpc): Remove rpc/netdb.h
10170         * resolv/netdb.h: Revert last change.
10171
10172 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10173
10174         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10175         circular dependency between libgcc.a and libc.a.
10176
10177 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10178
10179         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10180         * nis/Makefile: Don't install rpcsvc/*.
10181         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10182         instead of <rpc/types.h>.
10183         (MAXHOSTNAMELEN): Define.
10184
10185 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10186
10187         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10188
10189 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10190
10191         [BZ #12714]
10192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10193         gethostbyname4_r when IPv6 results are possible.
10194
10195 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10196
10197         [BZ #12723]
10198         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10199         _PC_PIPE_BUF handling.
10200
10201 2011-04-30  Bruno Haible  <bruno@clisp.org>
10202
10203         [BZ #12717]
10204         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10205         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10206         to 'int'.
10207         * inet/getnameinfo.c (getnameinfo): Likewise.
10208
10209 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10210
10211         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10212         to groups setting in database lookup.
10213         * nss/nsswitch.conf: Add initgroups entry.
10214
10215 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10216
10217         [BZ #12685]
10218         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10219         mode string.
10220         Patch by Eric Blake <eblake@redhat.com>.
10221
10222 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10223
10224         * sunrpc/Makefile (need-export-routines): Add svc_run.
10225         (routines): Remove svc_run.
10226         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10227         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10228         * sunrpc/svc_run.c (svc_run): Likewise.
10229         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10230
10231 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10232
10233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10234         problem in reallocation in last patch.
10235
10236 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10237
10238         * sunrpc/Makefile: Move inclusion of Rules.
10239
10240 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10241
10242         * nss/nss_files/files-initgroups.c: New file.
10243         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10244         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10245         _nss_files_initgroups_dyn.
10246
10247 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10248
10249         * elf/elf.h (R_ARM_IRELATIVE): Define.
10250
10251 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10252
10253         * po/ru.po: Update from translation team.
10254
10255 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10256
10257         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10258         dependencies.
10259
10260 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10261
10262         [BZ #12653]
10263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10264         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10268
10269 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10270
10271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10272         differing bytes.
10273         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10274         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10275         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10276
10277 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10278
10279         [BZ #12420]
10280         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10281         storing it.
10282         * stdlib/bug-getcontext.c: New file.
10283         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10284
10285 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10286
10287         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10288         instructions into .machine "z9-109".
10289         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10290         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10291
10292 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10293
10294         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10295         between environment variables and auxiliary vector.
10296
10297 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10298
10299         * Makefile: Add rules to build linkobj/libc.so.
10300         * include/libc-symbols.h: Define libc_hidden_nolink.
10301         * include/rpc/auth.h: Mark functions which are to be hidden.
10302         * include/rpc/auth_des.h: Likewise.
10303         * include/rpc/auth_unix.h: Likewise.
10304         * include/rpc/clnt.h: Likewise.
10305         * include/rpc/des_crypt.h: Likewise.
10306         * include/rpc/key_prot.h: Likewise.
10307         * include/rpc/pmap_clnt.h: Likewise.
10308         * include/rpc/pmap_prot.h: Likewise.
10309         * include/rpc/pmap_rmt.h: Likewise.
10310         * include/rpc/rpc_msg.h: Likewise.
10311         * include/rpc/svc.h: Likewise.
10312         * include/rpc/svc_auth.h: Likewise.
10313         * include/rpc/xdr.h: Likewise.
10314         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10315         * nss/Makefile: Likewise.
10316         * sunrpc/Makefile: Don't install headers.  Build library with normal
10317         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10318         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10319         for the compat linking library.  Remove use of INTDEF/INTUSE.
10320         * sunrpc/auth_none.c: Likewise.
10321         * sunrpc/auth_unix.c: Likewise.
10322         * sunrpc/authdes_prot.c: Likewise.
10323         * sunrpc/authuxprot.c: Likewise.
10324         * sunrpc/clnt_gen.c: Likewise.
10325         * sunrpc/clnt_perr.c: Likewise.
10326         * sunrpc/clnt_raw.c: Likewise.
10327         * sunrpc/clnt_simp.c: Likewise.
10328         * sunrpc/clnt_tcp.c: Likewise.
10329         * sunrpc/clnt_udp.c: Likewise.
10330         * sunrpc/clnt_unix.c: Likewise.
10331         * sunrpc/des_crypt.c: Likewise.
10332         * sunrpc/des_soft.c: Likewise.
10333         * sunrpc/get_myaddr.c: Likewise.
10334         * sunrpc/key_call.c: Likewise.
10335         * sunrpc/key_prot.c: Likewise.
10336         * sunrpc/netname.c: Likewise.
10337         * sunrpc/pm_getmaps.c: Likewise.
10338         * sunrpc/pm_getport.c: Likewise.
10339         * sunrpc/pmap_clnt.c: Likewise.
10340         * sunrpc/pmap_prot.c: Likewise.
10341         * sunrpc/pmap_prot2.c: Likewise.
10342         * sunrpc/pmap_rmt.c: Likewise.
10343         * sunrpc/publickey.c: Likewise.
10344         * sunrpc/rpc_cmsg.c: Likewise.
10345         * sunrpc/rpc_common.c: Likewise.
10346         * sunrpc/rpc_dtable.c: Likewise.
10347         * sunrpc/rpc_prot.c: Likewise.
10348         * sunrpc/rpc_thread.c: Likewise.
10349         * sunrpc/rtime.c: Likewise.
10350         * sunrpc/svc.c: Likewise.
10351         * sunrpc/svc_auth.c: Likewise.
10352         * sunrpc/svc_authux.c: Likewise.
10353         * sunrpc/svc_raw.c: Likewise.
10354         * sunrpc/svc_run.c: Likewise.
10355         * sunrpc/svc_simple.c: Likewise.
10356         * sunrpc/svc_tcp.c: Likewise.
10357         * sunrpc/svc_udp.c: Likewise.
10358         * sunrpc/svc_unix.c: Likewise.
10359         * sunrpc/svcauth_des.c: Likewise.
10360         * sunrpc/xcrypt.c: Likewise.
10361         * sunrpc/xdr.c: Likewise.
10362         * sunrpc/xdr_array.c: Likewise.
10363         * sunrpc/xdr_float.c: Likewise.
10364         * sunrpc/xdr_intXX_t.c: Likewise.
10365         * sunrpc/xdr_mem.c: Likewise.
10366         * sunrpc/xdr_rec.c: Likewise.
10367         * sunrpc/xdr_ref.c: Likewise.
10368         * sunrpc/xdr_sizeof.c: Likewise.
10369         * sunrpc/xdr_stdio.c: Likewise.
10370
10371 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10372
10373         [BZ #12650]
10374         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10375         * sysdeps/ia64/dl-tls.h: Likewise.
10376         * sysdeps/powerpc/dl-tls.h: Likewise.
10377         * sysdeps/s390/dl-tls.h: Likewise.
10378         * sysdeps/sh/dl-tls.h: Likewise.
10379         * sysdeps/sparc/dl-tls.h: Likewise.
10380         * sysdeps/x86_64/dl-tls.h: Likewise.
10381         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10382
10383 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10384
10385         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10386         rpath element also skip the following colon.
10387         (expand_dynamic_string_token): Add is_path parameter and pass
10388         down to DL_DST_REQUIRED and _dl_dst_substitute.
10389         (decompose_rpath): Call expand_dynamic_string_token with
10390         non-zero is_path.  Ignore empty rpaths.
10391         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10392         with zero is_path.
10393
10394 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10395
10396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10397         Make cancelable.
10398
10399 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10400
10401         [BZ #12655]
10402         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10403         Patch by Filipe David Manana <fdmanana@apache.org>.
10404
10405 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10406
10407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10408         Maintain aligned stack.
10409         (CHECK_RSP): Remove unused macro.
10410
10411 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10412
10413         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10414         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10415
10416 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10417
10418         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10419
10420         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10421
10422 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10423
10424         [BZ #12518]
10425         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10426         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10427         * sysdeps/x86_64/memmove.c: New file.
10428         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10429         (memcpy): Renamed to ...
10430         (__new_memcpy): This.
10431         (memcpy): Provide GLIBC_2_14 memcpy.
10432         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10433         (memcpy): Provide GLIBC_2_2_5 memcpy.
10434
10435 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10436
10437         [BZ #12631]
10438         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10439
10440 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10441
10442         * misc/syncfs.c: New file.
10443         * misc/Makefile (routines): Add syncfs.
10444         * posix/unistd.h: Declare syncfs.
10445         * sysdeps/unix/syscalls.list: Add syncfs.
10446
10447 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10448
10449         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10450         open_by_handle_at.
10451         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10452         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10456         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10458
10459 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10460
10461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10463         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10468
10469         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10470         sync_file_range.c with -fexceptions.
10471         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10472         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10473         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10474         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10476         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10478         sync_file_range as cancellation point
10479         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10480         now a wrapper around __call_sync_file_range with cancellation handling.
10481         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10482         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10483         function name to __call_sync_file_range.
10484         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10485         Add call_sync_file_range.
10486
10487 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10488
10489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10490         bits/timex.h.
10491
10492 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10493
10494         * iconv/iconv.h: Fix typo in comment.
10495         * io/fcntl.h: Likewise.
10496         * libio/stdio.h: Likewise.
10497         * posix/spawn.h: Likewise.
10498         * posix/unistd.h: Likewise.
10499         * stdlib/stdlib.h: Likewise.
10500         * time/time.h: Likewise.
10501         * wcsmbs/wchar.h: Likewise.
10502
10503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10504         open_by_handle): Add.
10505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10506         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10507         Augment a few comments.
10508         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10510         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10512         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10513         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10514         open_by_handle.
10515
10516         * io/fcntl.h (AT_EMPTY_PATH): Define.
10517
10518 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10519
10520         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10521         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10522         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10523         to...
10524         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10525         * Versions.def: Add GLIBC_2.14.
10526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10527         Export.
10528
10529 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10530
10531         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10532         round counter.
10533         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10534
10535 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10536
10537         [BZ #12597]
10538         * string/test-strncmp.c (do_page_test): New function.
10539         (check2): Likewise.
10540         (test_main): Call check2.
10541         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10542
10543 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10544
10545         [BZ #12587]
10546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10547         Handle cache information in CPU leaf 4.
10548         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10549
10550 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10551
10552         [BZ #12583]
10553         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10554         character representation.
10555         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10556
10557 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10558
10559         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10560         END(__isnan) to END(__isnanf) to match function entry point/label
10561         EALIGN(__isnanf,...).
10562
10563 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10564
10565         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10566
10567 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10568
10569         [BZ #12510]
10570         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10571         copy from the symbol referenced in the relocation to initialize the
10572         used variable.
10573         Patch by Piotr Bury <pbury@goahead.com>.
10574         * elf/Makefile: Add rules to build and tst-unique3.
10575         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10576         * elf/tst-unique3.cc: New file.
10577         * elf/tst-unique3.h: New file.
10578         * elf/tst-unique3lib.cc: New file.
10579         * elf/tst-unique3lib2.cc: New file.
10580
10581         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10582
10583 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10584
10585         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10586         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10587         to _start.
10588
10589 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10590
10591         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10592         to-be-loaded object along a path to loader is ld.so.
10593
10594 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10595             Ulrich Drepper  <drepper@gmail.com>
10596
10597         * sysdeps/x86_64/memset.S: After aligning destination, code
10598         branches to different locations depending on the value of
10599         misalignment, when multiarch is enabled. Fix this.
10600
10601 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10602
10603         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10604         Set _x86_64_preferred_memory_instruction for AMD processsors.
10605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10606         Set bit_Prefer_SSE_for_memop for AMD processors.
10607
10608 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10609
10610         * libio/fmemopen.c (fmemopen): Optimize a bit.
10611
10612 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10613
10614         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10615
10616 2011-03-03  Roland McGrath  <roland@redhat.com>
10617
10618         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10619
10620 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10621
10622         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10623         __bzero_ultra1 instead of __memset_ultra1.
10624
10625 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10626             Ulrich Drepper  <drepper@gmail.com>
10627
10628         [BZ #12509]
10629         * include/link.h (struct link_map): Add l_orig_initfini.
10630         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10631         returning unsuccessfully.
10632         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10633         close of a file loaded at startup, restore the original l_initfini
10634         list.
10635         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10636         list, store the pointer.
10637         * elf/Makefile ($(objpfx)noload-mem): New rule.
10638         (noload-ENV): Define.
10639         (tests): Add $(objpfx)noload-mem.
10640         * elf/noload.c: Include <memcheck.h>.
10641         (main): Call mtrace.  Close all opened handles.
10642
10643 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10644
10645         [BZ #12454]
10646         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10647         dependencies are missing.
10648
10649 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10650
10651         Fix __if_freereq crash: Unlike the generic version which uses free,
10652         Hurd needs munmap.
10653         * sysdeps/mach/hurd/ifreq.h: New file.
10654
10655 2011-01-27  Petr Baudis  <pasky@suse.cz>
10656             Ulrich Drepper  <drepper@gmail.com>
10657
10658         [BZ 12445]#
10659         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10660         to extend_alloca().
10661         * stdio-common/bug23.c: New file.
10662         * stdio-common/Makefile (tests): Add bug23.
10663
10664 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10665             Ulrich Drepper  <drepper@gmail.com>
10666
10667         [BZ #12489]
10668         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10669         before performing relro protection.  At old place add assertion
10670         to make sure nothing changed.
10671
10672 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10673             Glauber de Oliveira Costa  <glommer@gmail.com>
10674
10675         * elf/elf.h: Add new ARM TLS relocs.
10676
10677 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10678
10679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10680         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10681         cast from r3.
10682         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10683         'tests' variable.
10684         * sysdeps/wordsize-64/tst-writev.c: New file.
10685
10686 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10687
10688         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10689         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10690         insns in _dl_start to prevent a TOC reference before relocs are
10691         resolved.
10692
10693 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10694
10695         [BZ #12469]
10696         * Makeconfig: Remove RANLIB definition.
10697         * Makerules: Don't use RANLIB.
10698         * aclocal.m4: Remove ranlib test.
10699         * configure.in: No need to check for ranlib.
10700         * elf/rtld-Rules: Don't use RANLIB.
10701
10702 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10703
10704         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10705         protection macro.
10706         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10707         inclusion protection macro.
10708
10709         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10710         SIGRTMIN and SIGRTMAX and print information in that case only when
10711         SIGRTMIN is defined.
10712
10713 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10714
10715         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10716         arginfo fn returning -1.
10717
10718         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10719         and thousands string is zero terminated.
10720
10721 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10722
10723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10724         sysdeps/unix/sysv/linux/bits/socket.h.
10725
10726 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10727
10728         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10729         (__CPU_COUNT): Remove old macros.
10730         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10731         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10732         (__CPU_ALLOC, __CPU_FREE): Add macros.
10733         (__sched_cpualloc, __sched_cpufree): Add declarations.
10734
10735 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10736
10737         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10738         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10739         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10740         (readdhstai): Return value of addhstaiX call.
10741         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10742         (addgrbyX): Return value returned by cache_addgr.
10743         (readdgrbyname): Return value returned by addgrbyX.
10744         (readdgrbygid): Likewise.
10745         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10746         (addpwbyX): Return value returned by cache_addpw.
10747         (readdpwbyname): Return value returned by addhstbyX.
10748         (readdpwbyuid): Likewise.
10749         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10750         (addservbyX): Return value returned by cache_addserv.
10751         (readdservbyname): Return value returned by addservbyX:
10752         (readdservbyport): Likewise.
10753         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10754         (addhstbyX): Return value returned by cache_addhst.
10755         (readdhstbyname): Return value returned by addhstbyX.
10756         (readdhstbyaddr): Likewise.
10757         (readdhstbynamev6): Likewise.
10758         (readdhstbyaddrv6): Likewise.
10759         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10760         (readdinitgroups): Return value returned by addinitgroupsX.
10761         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10762         (prune_cache): Keep track of timeout value of re-added entries.
10763         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10764         * nscd/nscd.h: Adjust prototypes of readd* functions.
10765
10766 2011-02-04  Roland McGrath  <roland@redhat.com>
10767
10768         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10769         (nis_stats): Likewise.
10770         * nis/nis_modify.c (nis_modify): Likewise.
10771         * nis/nis_remove.c (nis_remove): Likewise.
10772         * nis/nis_add.c (nis_add): Likewise.
10773
10774         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10775
10776         * posix/fnmatch_loop.c: Add some consts.
10777
10778         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10779
10780 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10781
10782         [BZ #12460]
10783         * config.make.in (config-cflags-novzeroupper): Define.
10784         * configure.in: Substitute libc_cv_cc_novzeroupper.
10785         * elf/Makefile (AVX-CFLAGS): Define.
10786         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10787         (CFLAGS-tst-auditmod4a.c): Likewise.
10788         (CFLAGS-tst-auditmod4b.c): Likewise.
10789         (CFLAGS-tst-auditmod6b.c): Likewise.
10790         (CFLAGS-tst-auditmod6c.c): Likewise.
10791         (CFLAGS-tst-auditmod7b.c): Likewise.
10792         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10793
10794 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10795
10796         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10797         function to the callback.
10798         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10799
10800 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10801
10802         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10803         of errno.
10804
10805 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10806
10807         [BZ #11724]
10808         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10809         of constructors.
10810         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10811         of destructors.
10812         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10813
10814         [BZ #11724]
10815         * elf/Makefile: Add rules to build and run new test.
10816         * elf/tst-initorder.c: New file.
10817         * elf/tst-initorder.exp: New file.
10818         * elf/tst-initordera1.c: New file.
10819         * elf/tst-initordera2.c: New file.
10820         * elf/tst-initordera3.c: New file.
10821         * elf/tst-initordera4.c: New file.
10822         * elf/tst-initorderb1.c: New file.
10823         * elf/tst-initorderb2.c: New file.
10824         * elf/tst-order-a1.c: New file.
10825         * elf/tst-order-a2.c: New file.
10826         * elf/tst-order-a3.c: New file.
10827         * elf/tst-order-a4.c: New file.
10828         * elf/tst-order-b1.c: New file.
10829         * elf/tst-order-b2.c: New file.
10830         * elf/tst-order-main.c: New file.
10831         New test case by George Gensure <werkt0@gmail.com>.
10832
10833 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10834
10835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10836         decoding ACE if AI_CANONIDN.
10837
10838 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10839
10840         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10841
10842 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10843
10844         * version.h (RELEASE): Bump for 2.13 release.
10845         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10846
10847         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10848
10849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10850         MADV_NOHUGEPAGE.
10851         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10852         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10854         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10856         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10857
10858         * posix/getconf.c: Update copyright year.
10859         * catgets/gencat.c: Likewise.
10860         * csu/version.c: Likewise.
10861         * debug/catchsegv.sh: Likewise.
10862         * debug/xtrace.sh: Likewise.
10863         * elf/ldconfig.c: Likewise.
10864         * elf/ldd.bash.in: Likewise.
10865         * elf/sprof.c (print_version): Likewise.
10866         * iconv/iconv_prog.c: Likewise.
10867         * iconv/iconvconfig.c: Likewise.
10868         * locale/programs/locale.c: Likewise.
10869         * locale/programs/localedef.c: Likewise.
10870         * malloc/memusage.sh: Likewise.
10871         * malloc/mtrace.pl: Likewise.
10872         * nscd/nscd.c (print_version): Likewise.
10873         * nss/getent.c: Likewise.
10874
10875         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10876         PF_CAIF, and PF_ALG.
10877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10878
10879 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10880
10881         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10882         (modules-names): Use them.
10883         (ifunc-test-modules, ifunc-pie-tests): Define.
10884         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10885         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10886         (test-extras): Likewise.
10887         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10888         $(compile-command.c).
10889         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10890         (all-built-dso): Define.
10891         (check-textrel.out, check-execstack.out): Depend on it.
10892
10893         * configure.in: Don't override --enable-multi-arch.
10894
10895 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10896
10897         [BZ #6812]
10898         * nscd/hstcache.c (tryagain): Define.
10899         (cache_addhst): Return tryagain not notfound for temporary errors.
10900         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10901         failed.
10902
10903 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10904
10905         [BZ #10563]
10906         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10907         to make the syscall.
10908         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10909
10910         [BZ #12378]
10911         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10912         and fall back to matching as normal character if the string ends before
10913         the matching ']' is found.  This is what POSIX requires.
10914         * posix/testfnm.c: Adjust test result.
10915         * posix/globtest.sh: Adjust test result.  Add new test.
10916         * posix/tst-fnmatch.input: Likewise.
10917         * posix/tst-fnmatch2.c: Add new test.
10918
10919 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10920
10921         * elf/Makefile (check-execstack): Revert last change.  Depend on
10922         check-execstack.h.
10923         (check-execstack.h): New target.
10924         (generated): Add check-execstack.h.
10925         * elf/check-execstack.c: Include "check-execstack.h".
10926         (main): Revert last change.
10927         (handle_file): Return zero if GNU_STACK is absent and
10928         DEFAULT_STACK_PERMS doesn't include PF_X.
10929
10930 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10931
10932         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10933         in child fails because the descriptor is already closed.
10934         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10935         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10936         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10937
10938         [BZ #12397]
10939         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10940         syscall.
10941
10942         [BZ #10484]
10943         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10944         temporary buffer used to handle multi lookups locally.
10945         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10946
10947 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10948
10949         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10950         loader is ld.so.
10951
10952 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10953
10954         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10955         alignment for SSE2.
10956
10957 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10958
10959         [BZ #12394]
10960         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10961         characters.  When rounding increased number of integer digits recompute
10962         number of groups.
10963         * stdio-common/tst-grouping.c: New file.
10964         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10965
10966 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10967
10968         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10969         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10970
10971         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10972         void.
10973         * bits/select.h: Likewise.
10974
10975 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10976
10977         * po/ja.po: Update from translation team.
10978
10979 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10980
10981         [BZ #11155]
10982         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10983         implementation just like for lxstat, fxstatat, et al.
10984
10985 2010-12-27  Jim Meyering  <meyering@redhat.com>
10986
10987         [BZ #12348]
10988         * posix/regexec.c (build_trtable): Return failure indication upon
10989         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10990
10991 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10992
10993         [BZ #12201]
10994         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10995         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10997         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10998
10999         [BZ #12207]
11000         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11001
11002         [BZ #12204]
11003         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11004         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11005
11006 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11007
11008         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11009         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11010         script has SORT_BY_INIT_PRIORITY.
11011         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11012         NO_CTORS_DTORS_SECTIONS is defined.
11013         * elf/soinit.c: Likewise.
11014         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11015         NO_CTORS_DTORS_SECTIONS is defined.
11016         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11017         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11018         * sysdeps/sh/init-first.c: Likewise.
11019         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11020
11021 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
11022
11023         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11024         always use the slow path.
11025
11026 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
11027
11028         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11029         similar rule which adds the sysdep directories to the header search in
11030         order to pick up the correct platform stackinfo.h.
11031         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11032         perform test if it is, otherwise return successfully without testing.
11033         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11034         DEFAULT_STACK_PERMS define in stackinfo.h.
11035         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11036         defined in stackinfo.h.
11037         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11038         DEFAULT_STACK_PERMS defined in stackinfo.h.
11039         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11040         * sysdeps/ia64/stackinfo.h: Likewise.
11041         * sysdeps/s390/stackinfo.h: Likewise.
11042         * sysdeps/sh/stackinfo.h: Likewise.
11043         * sysdeps/sparc/stackinfo.h: Likewise.
11044         * sysdeps/x86_64/stackinfo.h: Likewise.
11045         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11046         PF_X for powerpc64.  Retain PF_X for powerpc32.
11047
11048 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
11049
11050         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11051         accurately.
11052         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11053         GETDENTS_64BIT_ALIGNED.
11054
11055 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
11056
11057         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11058
11059 2010-12-10  Andreas Schwab  <schwab@redhat.com>
11060
11061         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11062         _GNU_SOURCE.
11063
11064         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11065         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11066         Remove __restrict.
11067         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11068         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11069
11070 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
11071
11072         [BZ #11655]
11073         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11074         are initialized.
11075
11076 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
11077
11078         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11079
11080 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
11081
11082         * po/it.po: Update from translation team.
11083
11084 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11085
11086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11087         unused codes.
11088
11089 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
11090
11091         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11092
11093 2010-11-24  Andreas Schwab  <schwab@redhat.com>
11094
11095         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11096         specially.
11097         (gaih_getanswer_slice): Likewise.
11098
11099 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
11100
11101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11102
11103 2010-05-31  Petr Baudis  <pasky@suse.cz>
11104
11105         [BZ #11149]
11106         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11107         silently even in the chroot mode.
11108
11109 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
11110
11111         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11112         last patch a bit.  Pretty printing
11113
11114 2010-05-31  Petr Baudis <pasky@suse.cz>
11115
11116         [BZ #10085]
11117         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11118         initialization of skip_initgroups_dyn.
11119
11120 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11121
11122         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11124
11125 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11126
11127         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11128
11129 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11130
11131         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11132         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11133         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11134         ($(objpfx)tst-fnmatch-mem): New rule.
11135         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11136         * posix/tst-fnmatch.c (main): Call mtrace.
11137
11138 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11139
11140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11141         Support Intel processor model 6 and model 0x2c.
11142
11143 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11144
11145         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11146           signed comparison.
11147
11148 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11149
11150         [BZ #12205]
11151         * string/test-strncasecmp.c (check_result): New function.
11152         (do_one_test): Use it.
11153         (check1): New function.
11154         (test_main): Use it.
11155         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11156         Support strcasecmp and strncasecmp.
11157
11158 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11159
11160         [BZ #12194]
11161         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11162         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11163
11164 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11165
11166         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11167         IFUNC support.
11168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11169         memset-x86-64.
11170         * sysdeps/x86_64/multiarch/bzero.S: New file.
11171         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11172         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11173         * sysdeps/x86_64/multiarch/memset.S: New file.
11174         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11176         Set bit_Prefer_SSE_for_memop for Intel processors.
11177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11178         Define.
11179         (index_Prefer_SSE_for_memop): Define.
11180         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11181
11182 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11183
11184         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11185         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11186
11187 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11188
11189         [BZ #12191]
11190         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11191         (__x86_64_raw_data_cache_size_half): Likewise.
11192         (__x86_64_raw_shared_cache_size): Likewise.
11193         (__x86_64_raw_shared_cache_size_half): Likewise.
11194
11195         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11196         (__x86_64_raw_data_cache_size_half): Likewise.
11197         (__x86_64_raw_shared_cache_size): Likewise.
11198         (__x86_64_raw_shared_cache_size_half): Likewise.
11199         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11200         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11201         and __x86_64_raw_shared_cache_size_half.  Round
11202         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11203         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11204         to multiple of 256 bytes.
11205
11206 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11207
11208         [BZ #12167]
11209         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11210         of inacessible symlinks.  Verify result of symlink before returning it.
11211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11212         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11213
11214 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11215
11216         * math/math.h (isinf): Fix typo in comment.
11217
11218 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11219
11220         * po/da.po: Update from translation team.
11221
11222 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11223
11224         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11225         is added to the list.
11226
11227 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11228             Ulrich Drepper  <drepper@gmail.com>
11229
11230         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11231         the global list here.  Move code to...
11232         (_dl_add_to_namespace_list): ...here.  New function.
11233         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11234         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11235         * elf/dl-load.c (lose): Don't remove the element from the list.
11236         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11237         (_dl_map_object): Likewise.
11238
11239 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11240
11241         [BZ #12159]
11242         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11243         into all bytes of SSE register.
11244         Patch by Richard Li <richardpku@gmail.com>.
11245
11246 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11247
11248         [BZ #12140]
11249         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11250         perturbing.
11251
11252 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11253
11254         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11255         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11256         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11257         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11259         submachine.
11260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11261
11262 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11263
11264         * include/dlfcn.h (__RTLD_SECURE): Define.
11265         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11266         mode & __RTLD_SECURE instead.
11267         (open_path): Rename preloaded parameter to secure.
11268         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11269         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11270         * elf/dl-deps.c (openaux): Likewise.
11271         * elf/rtld.c (struct map_args): Remove is_preloaded.
11272         (map_doit): Don't use it.
11273         (dl_main): Likewise.
11274         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11275         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11276
11277 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11278
11279         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11280         (sysd-rules-targets): Remove duplicates.
11281         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11282         rtld-%.$o dependency.
11283
11284 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11285
11286         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11287         _dl_map_object do it.
11288
11289 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11290
11291         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11292         fast fma builtins, define the macros in the C99 standard.
11293         (FP_FAST_FMAF): Likewise.
11294         (FP_FAST_FMAL): Likewise.
11295         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11296
11297         * bits/mathdef.h: Update copyright year.
11298         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11299
11300 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11301
11302         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11303         builtins, define the macros in the C99 standard.
11304         (FP_FAST_FMAF): Likewise.
11305         (FP_FAST_FMAL): Likewise.
11306         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11307         multiply/add.
11308         (FP_FAST_FMAF): Likewise.
11309
11310 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11311
11312         [BZ #3268]
11313         * math/libm-test.inc (fma_test): Some new testcases.
11314         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11315         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11316         y and infinite z.  Do multiplication by C already in long double.
11317         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11319         y and infinite z.  Do bitwise or of inexact bit into u.d.
11320         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11321         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11322         * sysdeps/i386/fpu/s_fma.S: Removed.
11323         * sysdeps/i386/fpu/s_fmal.S: Removed.
11324
11325 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11326
11327         [BZ #3268]
11328         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11330         computation is not scheduled after fetestexcept.  Fix value
11331         of minimum denormal long double.
11332
11333 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11334
11335         [BZ #3268]
11336         * math/libm-test.inc (fma_test): Add some more tests.
11337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11338         correctly.
11339
11340 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11341
11342         * scripts/data/localplt-s390-linux-gnu.data: New file.
11343         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11344
11345 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11346
11347         [BZ #3268]
11348         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11349         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11350         instead of dbl-64.
11351         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11352         inlines.
11353         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11355         if one of x and y is very large and the other is subnormal.
11356         * sysdeps/s390/fpu/s_fmaf.c: New file.
11357         * sysdeps/s390/fpu/s_fma.c: New file.
11358         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11359         * sysdeps/powerpc/fpu/s_fma.S: New file.
11360         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11361         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11362         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11363
11364 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11365
11366         [BZ #3268]
11367         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11368         fma tests.
11369         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11370         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11371         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11372         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11373         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11374         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11375         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11376
11377 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11378
11379         [BZ #12078]
11380         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11381         * posix/bug-regex31.input: Add test case.
11382
11383 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11384
11385         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11386         * posix/bug-regex31.input: New file.
11387
11388         [BZ #12078]
11389         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11390         (parse_sub_exp): Fix last change, use postorder.
11391
11392         * posix/bug-regex31.c: New file.
11393         * posix/Makefile: Add rules to build and run bug-regex31.
11394
11395         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11396
11397         [BZ #12078]
11398         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11399
11400         [BZ #12108]
11401         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11402         to have entries in sys_siglist.
11403
11404         [BZ #12093]
11405         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11406         be NULL.
11407
11408 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11409
11410         [BZ #3268]
11411         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11412         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11413         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11414         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11415         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11416         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11417         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11418         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11419         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11420         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11421         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11422         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11423         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11424         * math/ftestexcept.c (fetestexcept): Likewise.
11425         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11426         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11427         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11428         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11429         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11430         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11432
11433 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11434
11435         [BZ #12107]
11436         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11437         newline.
11438
11439 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11440
11441         * string/bug-strstr1.c: New file.
11442         * string/Makefile: Add rules to build and run bug-strstr1.
11443
11444 2010-10-05  Eric Blake  <eblake@redhat.com>
11445
11446         [BZ #12092]
11447         * string/str-two-way.h (two_way_long_needle): Always clear memory
11448         when skipping input due to the shift table.
11449
11450 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11451
11452         [BZ #12005]
11453         * malloc/mcheck.c: Handle large requests.
11454
11455         [BZ #12077]
11456         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11457         for strncmp and strncasecmp.
11458         * string/stratcliff.c: Add tests for strcmp and strncmp.
11459         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11460
11461 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11462
11463         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11464         __set_fpscr.
11465
11466 2010-09-30  Andreas Jaeger  <aj@suse.de>
11467
11468         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11469         (CGROUP_SUPER_MAGIC): Define.
11470         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11471         Handle btrfs and cgroup file systems.
11472         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11473         Likewise.
11474
11475 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11476
11477         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11478         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11479
11480 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11481
11482         [BZ #12067]
11483         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11484         trying to locate the ELF header.
11485
11486 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11487
11488         [BZ #11611]
11489         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11490         Mask out sign-bit copies when constructing f_fsid.
11491
11492 2010-09-24  Petr Baudis <pasky@suse.cz>
11493
11494         * debug/stack_chk_fail_local.c: Add missing licence exception.
11495         * debug/warning-nop.c: Likewise.
11496
11497 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11498
11499         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11500         implementing getdents64 using getdents syscall, set d_type if
11501         __ASSUME_GETDENTS32_D_TYPE.
11502
11503 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11504
11505         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11506         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11507
11508 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11509
11510         [BZ #12037]
11511         * posix/unistd.h: Undo change of feature selection for ftruncate from
11512         2010-01-11.
11513
11514 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11515
11516         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11517         detection.
11518
11519 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11520
11521         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11522         fanotify_mark.
11523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11524
11525 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11526
11527         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11528         variables after CHECK_SP call.
11529         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11530
11531 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11532             Ulrich Drepper  <drepper@redhat.com>
11533
11534         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11535         re-relocationg ld.so.
11536         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11537         _dl_init_paths call.
11538         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11539         here anymore.
11540
11541 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11542
11543         * resolv/res_init.c (__res_vinit): Count the default server we added.
11544
11545 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11546             Ulrich Drepper  <drepper@redhat.com>
11547
11548         [BZ #11968]
11549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11550         (____longjmp_chk): Use %ebx for saving value across system call.
11551         Add unwind info.
11552
11553 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11554
11555         * manual/Makefile: Don't mix pattern rules with normal rules.
11556
11557 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11558
11559         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11560         operation.
11561         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11562         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11563         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11564         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11566         Likewise.
11567
11568 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11569
11570         [BZ #11979]
11571         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11572         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11573
11574 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11575
11576         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11577         * sysdeps/x86_64/addmul_1.S: Likewise.
11578         * sysdeps/x86_64/lshift.S: Likewise.
11579         * sysdeps/x86_64/mul_1.S: Likewise.
11580         * sysdeps/x86_64/rshift.S: Likewise.
11581         * sysdeps/x86_64/sub_n.S: Likewise.
11582         * sysdeps/x86_64/submul_1.S: Likewise.
11583
11584 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11585
11586         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11587         Define __sched_param instead of SCHED_* and sched_param when
11588         <bits/sched.h> is included with __need_schedparam defined.
11589         * bits/sched.h [__need_schedparam]
11590         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11591         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11592         (__defined_schedparam): Define to 1.
11593         (__sched_param): New structure, identical to sched_param.
11594         (__need_schedparam): Undefine.
11595
11596 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11597
11598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11599         (epoll_create1): Declare.
11600
11601         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11602
11603 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11604
11605         [BZ #7066]
11606         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11607         shifting retval into place.
11608
11609 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11610
11611         * nis/rpcsvc/nis.h: Update copyright notice.
11612         * nis/rpcsvc/nis.x: Likewise.
11613         * nis/rpcsvc/nis_callback.h: Likewise.
11614         * nis/rpcsvc/nis_callback.x: Likewise.
11615         * nis/rpcsvc/nis_object.x: Likewise.
11616         * nis/rpcsvc/nis_tags.h: Likewise.
11617         * nis/rpcsvc/yp.h: Likewise.
11618         * nis/rpcsvc/yp.x: Likewise.
11619         * nis/rpcsvc/ypupd.h: Likewise.
11620         * nis/yp_xdr.c: Likewise.
11621         * nis/ypupdate_xdr.c: Likewise.
11622
11623         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11624         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11625         (pmap_getport): Use __libc_rpc_getport.
11626         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11627         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11628         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11629
11630 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11631
11632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11633         fanotify_mark.
11634
11635 2010-08-27  Roland McGrath  <roland@redhat.com>
11636
11637         * sysdeps/i386/i686/multiarch/Makefile
11638         (CFLAGS-varshift.c): New variable.
11639
11640 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11641
11642         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11643         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11644
11645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11646
11647         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11648
11649 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11650
11651         * sysdeps/x86_64/strlen.S: Unroll the loop.
11652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11653         strlen-sse2 strlen-sse2-bsf.
11654         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11655         __strlen_no_bsf if bit_Slow_BSF is set.
11656         (__strlen_sse42): Removed.
11657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11658         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11659
11660 2010-08-25  Roland McGrath  <roland@redhat.com>
11661
11662         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11663         * sysdeps/x86_64/multiarch/varshift.c: New file.
11664         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11665         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11666         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11667         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11668
11669 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11670
11671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11672         strlen-sse2 strlen-sse2-bsf.
11673         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11674         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11675         (__strlen_sse2): Removed.
11676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11679         bit_Slow_BSF for Atom.
11680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11681         (index_Slow_BSF): Define.
11682         (HAS_SLOW_BSF): Define.
11683
11684 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11685
11686         [BZ #10851]
11687         * resolv/res_init.c (__res_vinit): When no server address at all
11688         is given default to loopback.
11689
11690 2010-08-24  Roland McGrath  <roland@redhat.com>
11691
11692         * configure.in: Remove config-name.h generation.
11693         * configure: Regenerated.
11694         * config-name.in: File removed.
11695         * scripts/config-uname.sh: New file.
11696         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11697         ($(objdir)config-name.h): New target.
11698
11699         * sunrpc/rpc_parse.h: Avoid nested comment.
11700
11701 2010-08-24  Richard Henderson  <rth@redhat.com>
11702             Ulrich Drepper  <drepper@redhat.com>
11703             H.J. Lu  <hongjiu.lu@intel.com>
11704
11705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11707         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11708         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11709         _mm_alignr_epi8 with _mm_loadu_si128.
11710         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11711         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11712         (__m128i_shift_right): Removed.
11713         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11714         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11715         * sysdeps/x86_64/multiarch/varshift.h: New file.
11716         * sysdeps/x86_64/multiarch/varshift.S: New file.
11717
11718 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11719
11720         * configure.in: Move assembler checks to before sysdep dir checking.
11721
11722 2010-08-20  Petr Baudis  <pasky@suse.cz>
11723
11724         * LICENSES: Sync the sunrpc license.
11725
11726 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11727
11728         * sunrpc/auth_des.c: Update copyright notice once again.
11729         * sunrpc/auth_none.c: Likewise.
11730         * sunrpc/auth_unix.c: Likewise.
11731         * sunrpc/authdes_prot.c: Likewise.
11732         * sunrpc/authuxprot.c: Likewise.
11733         * sunrpc/bindrsvprt.c: Likewise.
11734         * sunrpc/clnt_gen.c: Likewise.
11735         * sunrpc/clnt_perr.c: Likewise.
11736         * sunrpc/clnt_raw.c: Likewise.
11737         * sunrpc/clnt_simp.c: Likewise.
11738         * sunrpc/clnt_tcp.c: Likewise.
11739         * sunrpc/clnt_udp.c: Likewise.
11740         * sunrpc/clnt_unix.c: Likewise.
11741         * sunrpc/des_crypt.c: Likewise.
11742         * sunrpc/des_soft.c: Likewise.
11743         * sunrpc/get_myaddr.c: Likewise.
11744         * sunrpc/getrpcport.c: Likewise.
11745         * sunrpc/key_call.c: Likewise.
11746         * sunrpc/key_prot.c: Likewise.
11747         * sunrpc/openchild.c: Likewise.
11748         * sunrpc/pm_getmaps.c: Likewise.
11749         * sunrpc/pm_getport.c: Likewise.
11750         * sunrpc/pmap_clnt.c: Likewise.
11751         * sunrpc/pmap_prot.c: Likewise.
11752         * sunrpc/pmap_prot2.c: Likewise.
11753         * sunrpc/pmap_rmt.c: Likewise.
11754         * sunrpc/rpc/auth.h: Likewise.
11755         * sunrpc/rpc/auth_unix.h: Likewise.
11756         * sunrpc/rpc/clnt.h: Likewise.
11757         * sunrpc/rpc/des_crypt.h: Likewise.
11758         * sunrpc/rpc/key_prot.h: Likewise.
11759         * sunrpc/rpc/netdb.h: Likewise.
11760         * sunrpc/rpc/pmap_clnt.h: Likewise.
11761         * sunrpc/rpc/pmap_prot.h: Likewise.
11762         * sunrpc/rpc/pmap_rmt.h: Likewise.
11763         * sunrpc/rpc/rpc.h: Likewise.
11764         * sunrpc/rpc/rpc_des.h: Likewise.
11765         * sunrpc/rpc/rpc_msg.h: Likewise.
11766         * sunrpc/rpc/svc.h: Likewise.
11767         * sunrpc/rpc/svc_auth.h: Likewise.
11768         * sunrpc/rpc/types.h: Likewise.
11769         * sunrpc/rpc/xdr.h: Likewise.
11770         * sunrpc/rpc_clntout.c: Likewise.
11771         * sunrpc/rpc_cmsg.c: Likewise.
11772         * sunrpc/rpc_common.c: Likewise.
11773         * sunrpc/rpc_cout.c: Likewise.
11774         * sunrpc/rpc_dtable.c: Likewise.
11775         * sunrpc/rpc_hout.c: Likewise.
11776         * sunrpc/rpc_main.c: Likewise.
11777         * sunrpc/rpc_parse.c: Likewise.
11778         * sunrpc/rpc_parse.h: Likewise.
11779         * sunrpc/rpc_prot.c: Likewise.
11780         * sunrpc/rpc_sample.c: Likewise.
11781         * sunrpc/rpc_scan.c: Likewise.
11782         * sunrpc/rpc_scan.h: Likewise.
11783         * sunrpc/rpc_svcout.c: Likewise.
11784         * sunrpc/rpc_tblout.c: Likewise.
11785         * sunrpc/rpc_util.c: Likewise.
11786         * sunrpc/rpc_util.h: Likewise.
11787         * sunrpc/rpcinfo.c: Likewise.
11788         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11789         * sunrpc/rpcsvc/key_prot.x: Likewise.
11790         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11791         * sunrpc/rpcsvc/mount.x: Likewise.
11792         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11793         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11794         * sunrpc/rpcsvc/rex.x: Likewise.
11795         * sunrpc/rpcsvc/rstat.x: Likewise.
11796         * sunrpc/rpcsvc/rusers.x: Likewise.
11797         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11798         * sunrpc/rpcsvc/spray.x: Likewise.
11799         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11800         * sunrpc/rtime.c: Likewise.
11801         * sunrpc/svc.c: Likewise.
11802         * sunrpc/svc_auth.c: Likewise.
11803         * sunrpc/svc_authux.c: Likewise.
11804         * sunrpc/svc_raw.c: Likewise.
11805         * sunrpc/svc_run.c: Likewise.
11806         * sunrpc/svc_simple.c: Likewise.
11807         * sunrpc/svc_tcp.c: Likewise.
11808         * sunrpc/svc_udp.c: Likewise.
11809         * sunrpc/svc_unix.c: Likewise.
11810         * sunrpc/svcauth_des.c: Likewise.
11811         * sunrpc/xcrypt.c: Likewise.
11812         * sunrpc/xdr.c: Likewise.
11813         * sunrpc/xdr_array.c: Likewise.
11814         * sunrpc/xdr_float.c: Likewise.
11815         * sunrpc/xdr_mem.c: Likewise.
11816         * sunrpc/xdr_rec.c: Likewise.
11817         * sunrpc/xdr_ref.c: Likewise.
11818         * sunrpc/xdr_sizeof.c: Likewise.
11819         * sunrpc/xdr_stdio.c: Likewise.
11820
11821         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11822         handling.
11823
11824 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11825
11826         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11827
11828 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11829
11830         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11831         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11833         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11834         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11835         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11836         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11837         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11839         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11840         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11841         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11842         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11843         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11844
11845 2010-07-26  Anton Blanchard  <anton@samba.org>
11846
11847         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11848         * malloc/arena.c (heap_trim): Likewise.
11849
11850 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11851
11852         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11853         here.  Not...
11854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11855         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11856
11857 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11858
11859         * sysdeps/i386/elf/Makefile: New file.
11860
11861 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11862
11863         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11864         from fanotify_init.
11865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11867
11868 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11869
11870         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11871         of strncasecmp_l.
11872         * sysdeps/multiarch/strcmp.S: Likewise.
11873
11874 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11875
11876         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11877         strncase_l-nonascii.
11878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11879         Add strncase_l-ssse3.
11880         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11881         * sysdeps/x86_64/strcmp.S: Likewise.
11882         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11883         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11884         * sysdeps/x86_64/strncase.S: New file.
11885         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11886         * sysdeps/x86_64/strncase_l.S: New file.
11887         * string/Makefile (strop-tests): Add strncasecmp.
11888         * string/test-strncasecmp.c: New file.
11889
11890         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11891         warning.
11892
11893         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11894         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11895
11896 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11897
11898         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11899
11900 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11901
11902         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11903         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11904         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11905
11906 2010-05-01  Alan Modra  <amodra@gmail.com>
11907
11908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11909         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11910         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11911         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11912         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11913         tidying.  Don't tail-call __sigjmp_save for static lib.
11914         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11915         save location.
11916         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11917         (CALL_MCOUNT): Add eh info, and nop after bl.
11918         (TAIL_CALL_SYSCALL_ERROR): New macro.
11919         (PSEUDO_RET): Use it.
11920         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11921         Correct save location of integer regs and cr.
11922         (_dl_profile_resolve): Correct cr save location.  Delete nops
11923         after bl when SHARED.  Reduce cfi size a little by better
11924         placement of cfi directives.
11925         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11926         make a stack frame.  Instead use parm save area as a temp.
11927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11928         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11930         Don't make a stack frame for parent, use parm save area.
11931         Increase child stack frame to 112 bytes.  Don't save unused reg,
11932         and adjust reg usage.  Set up cfi on error recovery and
11933         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11935         (__makecontext): Add dummy nop after jump to exit.
11936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11937         Use correct parm save area and cr save, reduce stack frame.
11938         Correct cfi for possible PSEUDO_RET frame setup.
11939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11940         Branch to local label emitted by PSEUDO_RET rather than
11941         __syscall_error.
11942
11943 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11944
11945         [BZ #11904]
11946         * locale/programs/locale.c (print_assignment): New function.
11947         (show_locale_vars): Use it.
11948
11949 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11950
11951         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11952         field.
11953         (struct statfs64): Likewise.
11954         (_STATFS_F_FLAGS): Define.
11955         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11956         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11957         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11958         (ST_VALID): Define locally.
11959         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11960         __statvfs_getflags, use the provided value.
11961         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11962         __ASSUME_STATFS_F_FLAGS.
11963
11964         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11965
11966         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11967         Add sys/fanotify.h.
11968         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11969         fanotify_mask for GLIBC_2.13.
11970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11971         fanotify_init and fanotify_mark.
11972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11973         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11974
11975         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11976         Add prlimit.
11977         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11978         prlimit64 for GLIBC_2.13.
11979         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11980         prlimit64.
11981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11982         syscall.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11985         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11986         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11988         add prlimit alias.
11989         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11990
11991         [BZ #11903]
11992         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11993         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11994
11995         * nss/Makefile: Add rules to build and run tst-nss-test1.
11996         * shlib-versions: Add entry for libnss_test1.
11997         * nss/nss_test1.c: New file.
11998         * nss/tst-nss-test1.c: New file.
11999
12000         * nss/nsswitch.c (__nss_database_custom): Define new variable.
12001         (__nss_configure_lookup): Set appropriate entry in
12002         __nss_configure_lookup to true.
12003         * nss/nsswitch.h: Define enum with indeces of databases in
12004         databases and __nss_database_custom arrays.  Declare
12005         __nss_database_custom.
12006         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12007         to avoid using nscd when custom rules are installed.
12008         * nss/getXXbyYY_r.c: Likewise.
12009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12010
12011         * nss/nss_files/files-parse.c: Whitespace fixes.
12012
12013 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
12014
12015         [BZ #11883]
12016         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12017         * posix/fnmatch_loop.c: Likewise.
12018
12019 2010-07-17  Andi Kleen  <ak@linux.intel.com>
12020
12021         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12022         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12023         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12024         * Versions.def [GLIBC_2.13]: Add.
12025
12026 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
12027
12028         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12029         Also fail if tpwd after pwuid call is NULL.
12030
12031 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12032
12033         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12034         when converting to ms.
12035
12036 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12037
12038         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12039         EOPNOTSUPP errors with ENOTTY.
12040         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12041         EOPNOTSUPP errors with ENOTTY.
12042
12043 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
12044
12045         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12046         Add strcasecmp_l-ssse3.
12047         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12048         strcasecmp.
12049         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12050         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12051         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12052
12053 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
12054
12055         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12056
12057         * string/Makefile (strop-tests): Add strcasecmp.
12058         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12059         strcasecmp_l-nonascii.
12060         (gen-as-const-headers): Add locale-defines.sym.
12061         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12062         * sysdeps/x86_64/strcasecmp.S: New file.
12063         * sysdeps/x86_64/strcasecmp_l.S: New file.
12064         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12065         * sysdeps/x86_64/locale-defines.sym: New file.
12066         * string/test-strcasecmp.c: New file.
12067
12068         * string/test-strcasestr.c: Test both ends of the range of characters.
12069         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12070
12071 2010-07-29  Roland McGrath  <roland@redhat.com>
12072
12073         [BZ #11856]
12074         * manual/locale.texi (Yes-or-No Questions): Fix example code.
12075
12076 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
12077
12078         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12079         for ld.so.
12080
12081 2010-07-27  Andreas Schwab  <schwab@redhat.com>
12082
12083         * manual/memory.texi (Malloc Tunable Parameters): Document
12084         M_PERTURB.
12085
12086 2010-07-26  Roland McGrath  <roland@redhat.com>
12087
12088         [BZ #11840]
12089         * configure.in (-fgnu89-inline check): Set and substitute
12090         gnu89_inline, not libc_cv_gnu89_inline.
12091         * configure: Regenerated.
12092         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12093
12094 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
12095
12096         * string/test-strnlen.c: New file.
12097         * string/Makefile (strop-tests): Add strnlen.
12098         * string/tester.c (test_strnlen): Add a few more test cases.
12099         * string/tst-strlen.c: Better error reporting.
12100
12101         * sysdeps/x86_64/strnlen.S: New file.
12102
12103 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
12104
12105         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12106         lower-latency instructions.
12107
12108 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
12109
12110         * string/test-strcasestr.c: New file.
12111         * string/test-strstr.c: New file.
12112         * string/Makefile (strop-tests): Add strstr and strcasestr.
12113         * string/str-two-way.h: Don't undefine MAX.
12114         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12115
12116 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12117
12118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12119         strcasestr-nonascii.
12120         (CFLAGS-strcasestr-nonascii.c): Define.
12121         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12123         Remove unused attribute.
12124
12125 2010-07-20  Roland McGrath  <roland@redhat.com>
12126
12127         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12128         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12129         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12130         like LD_HWCAP_MASK can disable hwcaps.
12131
12132 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12133
12134         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12135
12136 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12137
12138         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12139         call in strcasestr.
12140         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12141         __strcasestr_sse42_nonascii.
12142         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12143         strcasestr-nonascii.c.
12144         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12145
12146 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12147
12148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12149         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12152
12153 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12154
12155         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12156         fcntl.
12157
12158 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12159
12160         [BZ #11577]
12161         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12162         dl_signal_cerror.
12163
12164 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12165
12166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12167         _PC_PIPE_BUF using F_GETPIPE_SZ.
12168
12169 2010-07-05  Roland McGrath  <roland@redhat.com>
12170
12171         * manual/arith.texi (Rounding Functions): Fix rint description
12172         implicit in round description.
12173
12174 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12175
12176         * elf/Makefile: Fix linking for a few tests to make recent linker
12177         happy.
12178
12179 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12180
12181         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12182         $(common-objpfx)libc_nonshared.a.
12183
12184 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12185
12186         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12187         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12188         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12189         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12190         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12191         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12192         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12193         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12208         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12209         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12210         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12211         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12212         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12213         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12214         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12215         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12216         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12217         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12218         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12219         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12234
12235 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12236
12237         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12238         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12239         * string/memmove.c (memmove): Renamed to ...
12240         (MEMMOVE): ...this.  Default to memmove.
12241         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12242         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12243         (END_CHK): Define.
12244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12245         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12246         mempcpy-ssse3-back memmove-ssse3-back.
12247         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12250         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12251         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12252         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12253         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12254         * sysdeps/x86_64/multiarch/memmove.c: New file.
12255         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12256         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12257         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12258         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12259         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12260         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12261         Define.
12262         (index_Fast_Copy_Backward): Define.
12263         (HAS_ARCH_FEATURE): Define.
12264         (HAS_FAST_REP_STRING): Define.
12265         (HAS_FAST_COPY_BACKWARD): Define.
12266
12267 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12268
12269         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12270         Restore proper fallback handling.
12271
12272 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12273
12274         [BZ #11701]
12275         * posix/group_member.c (__group_member): Correct checking loop.
12276
12277         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12278         OOM in getpwuid_r correctly.  Return error number when the caller
12279         should return, otherwise -1.
12280         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12281         call returning > 0 value.
12282         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12283
12284 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12285
12286         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12287         libc_nonshared.a from targets in modules-names.
12288
12289 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12290
12291         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12292         requires it.
12293
12294 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12295
12296         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12297         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12299         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12300
12301 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12302
12303         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12304
12305 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12306
12307         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12308         and F_GETPIPE_SZ.
12309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12315
12316 2010-06-14  Roland McGrath  <roland@redhat.com>
12317
12318         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12319
12320 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12321
12322         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12323         __REDIRECT followed by __THROW.
12324         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12325         * posix/getopt.h (getopt): Likewise.
12326
12327 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12328
12329         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12330         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12331         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12332         in AT_FLAGS.
12333         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12334         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12335
12336 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12337
12338         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12339
12340 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12341
12342         [BZ #11640]
12343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12344         Properly check family and model.
12345
12346 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12347
12348         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12349
12350 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12351
12352         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12353
12354 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12355
12356         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12357         symbol reference.
12358
12359 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12360
12361         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12362         symbol reference.
12363
12364 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12365
12366         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12367         and internal_recvmmsg.
12368         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12369         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12370         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12371         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12372
12373         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12374         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12375         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12376
12377 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12378
12379         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12380
12381 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12382
12383         POWER7 optimizations.
12384         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12385         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12386
12387 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12388
12389         * version.h: Update for 2.13 development version.
12390
12391 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12392
12393         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12394         exceptions.  Return 0.
12395
12396 2010-05-07  Roland McGrath  <roland@redhat.com>
12397
12398         * elf/ldconfig.c (main): Add a const.
12399
12400 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12401
12402         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12403         (args_options): Add no-idn option.
12404         (ahosts_keys_int): Add idn_flags to ai_flags.
12405         (parse_option): Handle 'i' option to clear idn_flags.
12406
12407         * malloc/malloc.c (_int_free): Possible race in the most recently
12408         added check.  Only act on the data if no current modification
12409         happened.
12410
12411 See ChangeLog.17 for earlier changes.