conformtest: Handle "symbol" lines for allow-header.
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2
3         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4
5         * Makeconfig (localtime): Remove variable.
6         (inst_localtime-file): Likewise.
7
8 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9
10         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11         Update.
12         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13         Update.
14         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15         Update.
16         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17         Update.
18         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19         Update.
20         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21         Update.
22         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23         Update.
24         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25         Update.
26         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27         Update.
28
29 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30
31         [BZ #2550]
32         [BZ #2570]
33         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34         comparisons to determine direction to adjust input.
35         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38         Likewise.
39         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40         Likewise.
41         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42         Likewise.
43         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45         Likewise.
46         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47         Likewise.
48         * math/libm-test.inc (nexttoward_test): Add more tests.
49
50 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51
52         [BZ #14040]
53         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54         in version GLIBC_2.1, not GLIBC_2.0.
55         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56         Likewise.
57
58 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59
60         [BZ #13942]
61         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62         (1 - x) * (1 + x).
63         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65         * math/libm-test.inc (acos_test): Add more tests.
66         (asin_test): Likewise.
67         * sysdeps/i386/fpu/libm-test-ulps: Update.
68         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69
70         [BZ #14034]
71         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72         of square root.
73         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
74         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75         * math/libm-test.inc (acos_test_tonearest): New function.
76         (acos_test_towardzero): Likewise.
77         (acos_test_downward): Likewise.
78         (acos_test_upward): Likewise.
79         (asin_test_tonearest): Likewise.
80         (asin_test_towardzero): Likewise.
81         (asin_test_downward): Likewise.
82         (asin_test_upward): Likewise.
83         (main): Call the new functions.
84         * sysdeps/i386/fpu/libm-test-ulps: Update.
85         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86
87         [BZ #13884]
88         [BZ #13924]
89         * math/e_exp10.c: Include <float.h>.
90         (__ieee754_exp10): Handle underflow here rather than multiplying
91         large negative argument by M_LN10.
92         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
93         of __ieee754_expf.
94         * math/e_exp10l.c: Include <float.h>.
95         (__ieee754_exp10l): Handle underflow here rather than multiplying
96         large negative argument by M_LN10l.
97         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
98         spurious overflow exception on underflow.
99
100 2012-04-29  Marek Polacek  <polacek@redhat.com>
101
102         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
103         (__fortify_function): New macro.
104         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
105         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
106         __extern_always_inline.
107         * libio/bits/stdio2.h: Likewise.
108         * libio/bits/stdio.h: Likewise.
109         * string/string.h: Likewise.
110         * string/bits/string3.h: Likewise.
111         * include/stdio.h: Likewise.
112         * stdlib/bits/stdlib.h: Likewise.
113         * stdlib/stdlib.h: Likewise.
114         * rt/bits/mqueue2.h: Likewise.
115         * rt/mqueue.h: Likewise.
116         * posix/bits/unistd.h: Likewise.
117         * posix/unistd.h: Likewise.
118         * io/bits/poll2.h: Likewise.
119         * io/bits/fcntl2.h: Likewise.
120         * io/fcntl.h: Likewise.
121         * io/sys/poll.h: Likewise.
122         * misc/bits/syslog.h: Likewise.
123         * misc/bits/syslog-ldbl.h: Likewise.
124         * misc/sys/syslog.h: Likewise.
125         * socket/bits/socket2.h: Likewise.
126         * socket/sys/socket.h: Likewise.
127         * debug/tst-chk1.c: Likewise.
128         * wcsmbs/bits/wchar2.h: Likewise.
129         * wcsmbs/bits/wchar-ldbl.h: Likewise.
130         * wcsmbs/wchar.h: Likewise.
131
132 2012-04-29  Andreas Jaeger  <aj@suse.de>
133
134         * Makerules (tests): Remove enable-check-abi protection.
135         (check-abi-warn): Remove.
136         (check-abi-%): Remove check-abi-warn usage.
137
138         * configure.in: Remove check-abi configure option.
139         * configure: Regenerated.
140         * config.make.in (enable-check-abi): Remove.
141
142 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
143
144         [BZ #14033]
145         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
146         double functions to double *_finite functions.
147
148         [BZ #13941]
149         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
150         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
151         LDBL_MIN_EXP.
152         * stdio-common/Makefile (tests): Add tst-sprintf3.
153         * stdio-common/tst-sprintf3.c: New file.
154
155         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
156         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
157
158 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
159
160         * conform/conformtest.pl: Remove duplicate typed-constant
161         handling.
162
163 2012-04-28  David S. Miller  <davem@davemloft.net>
164
165         * Makerules (%.abilist): Add vpath on sysdep_dirs.
166         (check-abi-%): Remove AWK script prerequisite and explicit
167         abilist directory.
168         (check-abi): Rewrite to just diff the symlist with the abilist.
169         (config-tls, config-abi-config): Delete, no longer used.
170         (update-abi-%): Remove AWK script and explicit abilist directory.
171         (update-abi): Rewrite to simply compare and conditionally copy the
172         symlist and the sysdep abilist file.  Remove update-abi-config
173         checks.
174         * abilist/ld.abilist: Remove.
175         * abilist/libBrokenLocale.abilist: Remove.
176         * abilist/libanl.abilist: Remove.
177         * abilist/libcrypt.abilist: Remove.
178         * abilist/libdl.abilist: Remove.
179         * abilist/librt.abilist: Remove.
180         * abilist/libthread_db.abilist: Remove.
181         * abilist/libutil.abilist: Remove.
182         * scripts/extract-abilist.awk: Remove.
183         * scripts/merge-abilist.awk: Remove.
184         * sysdeps/generic/libcidn.abilist: New file.
185         * sysdeps/generic/libnss_compat.abilist: New file.
186         * sysdeps/generic/libnss_db.abilist: New file.
187         * sysdeps/generic/libnss_dns.abilist: New file.
188         * sysdeps/generic/libnss_files.abilist: New file.
189         * sysdeps/generic/libnss_hesiod.abilist: New file.
190         * sysdeps/generic/libnss_nis.abilist: New file.
191         * sysdeps/generic/libnss_nisplus.abilist: New file.
192         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
193         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
194         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
195         file.
196         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
197         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
198         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
199         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
200         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
201         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
202         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
203         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
204         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
205         file.
206         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
207         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
208         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
209         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
210         file.
211         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
212         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
213         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
214         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
215         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
216         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
217         file.
218         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
219         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
220         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
221         file.
222         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
224         New file.
225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
226         New file.
227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
228         New file.
229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
230         New file.
231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
232         New file.
233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
234         New file.
235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
236         New file.
237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
238         New file.
239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
240         New file.
241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
242         New file.
243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
244         New file.
245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
246         New file.
247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
248         New file.
249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
250         file.
251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
252         New file.
253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
254         New file.
255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
256         file.
257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
258         New file.
259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
260         New file.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
262         file.
263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
264         New file.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
266         New file.
267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
268         New file.
269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
270         New file.
271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
272         New file.
273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
274         New file.
275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
277         file.
278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
279         New file.
280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
281         file.
282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
283         file.
284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
285         file.
286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
287         file.
288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
289         file.
290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
291         New file.
292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
293         file.
294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
295         file.
296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
297         New file.
298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
299         file.
300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
302         file.
303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
304         New file.
305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
306         file.
307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
308         file.
309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
310         file.
311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
312         file.
313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
314         file.
315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
316         New file.
317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
318         file.
319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
320         file.
321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
322         New file.
323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
324         file.
325         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
326         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
327         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
328         file.
329         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
330         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
331         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
332         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
333         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
334         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
335         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
336         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
337         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
338         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
341         file.
342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
343         New file.
344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
345         file.
346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
347         file.
348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
349         file.
350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
351         file.
352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
353         file.
354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
355         New file.
356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
357         New file.
358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
359         file.
360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
361         New file.
362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
363         file.
364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
366         file.
367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
368         New file.
369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
370         file.
371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
372         file.
373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
374         file.
375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
376         file.
377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
378         file.
379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
380         New file.
381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
382         New file.
383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
384         file.
385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
386         New file.
387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
388         file.
389
390 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
391
392         * conform/conformtest.pl: Fix typo in handling typed-constant from
393         allow-header.
394
395 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
396
397         * README: Cut down references to pre-2.6 Linux kernels and
398         Linuxthreads.  Update lists of configurations in libc and ports
399         and sort alphabetically.  Say "or newer" with Linux kernel version
400         requirements.
401
402         * config.h.in [IS_IN_build]: Allow compiling without optimization.
403
404 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
405
406         [BZ #887]
407         * math/libm-test.inc (logb_test_downward): New test to expose
408         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
409         rounding mode.
410
411 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
412
413         [BZ #14027]
414         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
415         to be done.
416         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
417         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
418
419 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
420
421         * sysdeps/unix/i386/brk.S: Remove file.
422         * sysdeps/unix/i386/dl-brk.S: Likewise.
423         * sysdeps/unix/i386/pipe.S: Likewise.
424         * sysdeps/unix/i386/sigreturn.S: Likewise.
425         * sysdeps/unix/i386/syscall.S: Likewise.
426         * sysdeps/unix/i386/vfork.S: Likewise.
427         * sysdeps/unix/i386/wait.S: Likewise.
428
429         * sysdeps/unix/common/tcsendbrk.c: Move to ...
430         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
431
432         * configure.in (arm*-none*): Do not allow without
433         --enable-hacker-mode.
434         (netbsd*): Remove case setting base_os.
435         (386bsd*): Likewise.
436         (freebsd*): Likewise.
437         (bsdi*): Likewise.
438         (osf*): Likewise.
439         (sunos*): Likewise.
440         (ultrix*): Likewise.
441         (newsos*): Likewise.
442         (dynix*): Likewise.
443         (*bsd*): Likewise.
444         (sysv*): Likewise.
445         (isc*): Likewise.
446         (esix*): Likewise.
447         (sco*): Likewise.
448         (minix*): Likewise.
449         (irix4*): Likewise.
450         (irix6*): Likewise.
451         (solaris[2-9]*): Likewise.
452         (none): Likewise.
453         * configure: Regenerated.
454
455 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
456
457         [BZ #11521]
458         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
459         overflow or cancellation in calculating denominator.
460         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
462         down expression to avoid unexpected rounding in newer GCCs.
463         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
464
465 2012-04-26  David S. Miller  <davem@davemloft.net>
466
467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
468         long-double compat symbols.
469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
482
483 2012-04-25  David S. Miller  <davem@davemloft.net>
484
485         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
486         HWCAP_* values only after the memory barriers have been defined.
487         (atomic_full_barrier): Define.
488         (atomic_read_barrier): Define.
489         (atomic_write_barrier): Define.
490
491 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
492
493         * shlib-versions: Add libgcc_s version information.
494         * sysdeps/generic/libgcc_s.h: Remove.
495         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
496         libgcc_s.h.
497         * sysdeps/gnu/unwind-resume.c: Likewise.
498         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
499
500 2012-04-25  David S. Miller  <davem@davemloft.net>
501
502         * sysdeps/unix/sparc/brk.S: Delete.
503         * sysdeps/unix/sparc/dl-brk.S: Delete.
504         * sysdeps/unix/sparc/pipe.S: Delete.
505         * sysdeps/unix/sparc/sysdep.S: Delete.
506         * sysdeps/unix/sparc/sysdep.h: Delete.
507         * sysdeps/unix/sparc/vfork.S: Delete.
508         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
509         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
511         ret_ERRVAL, r0, r1, MOVE): Define.
512         (JUMPTARGET): Remove.
513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
514         sysdeps/unix/sparc/sysdep.h
515         (ENTRY, END): Remove.
516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
517
518 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
519
520         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
521         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
522         -DIS_IN_build.
523
524         * timezone/README: Update upstream location and email address for
525         tzcode and tzdata.
526         * timezone/zdump.c: Update from tzcode 2012b.
527         * timezone/zic.c: Likewise.
528
529         * configure.in (libc_cv_as_needed): Remove test.
530         * configure: Regenerated.
531         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
532         conditional definition.
533         [$(have-as-needed) != yes] (no-as-needed): Likewise.
534         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
535         * config.make.in (have-as-needed): Remove variable.
536
537 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
538             Paul Pluzhnikov  <ppluzhnikov@google.com>
539
540         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
541         strings correctly.
542
543 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
544
545         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
546         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
547         * sysdeps/sh/strlen.S: Likewise.
548
549 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
550
551         * sysdeps/unix/fork.S: Remove file.
552         * sysdeps/unix/i386/fork.S: Likewise.
553         * sysdeps/unix/sparc/fork.S: Likewise.
554
555         * sysdeps/unix/system.c: Remove file.
556         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
557
558         * sysdeps/unix/getegid.S: Remove file.
559         * sysdeps/unix/geteuid.S: Likewise.
560
561 2012-04-24  Roland McGrath  <roland@hack.frob.com>
562
563         * scripts/check-localplt.awk: New file.
564         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
565         of diff.
566         * scripts/data/localplt-generic.data: Add a comment.
567
568         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
569         NODE when __dir_mkfile failed.
570         * sysdeps/mach/hurd/symlinkat.c: Likewise.
571         Reported by Ludovic Courtès <ludo@gnu.org>.
572
573 2012-04-24  Andreas Jaeger  <aj@suse.de>
574
575         * Makerules (common-clean): Also remove gen-as-const-headers
576         files.
577
578 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
579
580         * Makerules (native-compile): Do not change working directory for
581         build.  Use $(OUTPUT_OPTION) in command.
582         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
583
584 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
585
586         [BZ #13886]
587         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
588         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
589         * math/libm-test.inc (floor_test): Add more tests.
590         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
591
592 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
593
594         * sysdeps/unix/getdents.c: Remove file.
595         * sysdeps/unix/sysv/getdents.c: Likewise.
596         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
597
598         * sysdeps/unix/syscalls.list (madvise): Add syscall from
599         sysdeps/unix/mman/syscalls.list.
600         (mmap): Likewise.
601         (mprotect): Likewise.
602         (msync): Likewise.
603         (munmap): Likewise.
604         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
605         * sysdeps/unix/mman/syscalls.list: Remove.
606         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
607
608         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
609         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
610         * configure: Regenerated.
611         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
612         $(libgcc_s_suffix).
613         * config.make.in (libgcc_s_suffix): Remove variable.
614
615 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
616
617         * sysdeps/unix/sysv/gethostname.c: Move to ...
618         * sysdeps/posix/gethostname.c: ... here.
619
620         * sysdeps/unix/execve.S: Remove file.
621
622         * sysdeps/unix/_exit.S: Remove file.
623
624 2012-04-23  Andreas Jaeger  <aj@suse.de>
625
626         [BZ #13739]
627         * manual/Makefile: Remove make dist support, there's no
628         need for a stand-alone documentation tar ball.
629         (TEXI2DVI): Define always, it's not in Makeconfig.
630         (dist): Removed.
631         (tar-it): Removed.
632         (edition): Removed.
633         (glibc-doc-$(edition).tar): Removed
634         (%.Z): Removed.
635         (%.gz): Removed.
636         (%.uu): Removed.
637         (ETAGS): Remove, it's in Makeconfig.
638         (move-if-change): Remove, it's in Makeconfig.
639
640 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
641
642         [BZ #13970]
643         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
644         (strtod, strtof, strtold, strtol, strtoul, strtoq)
645         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
646         (strtod_l, strtof_l, strtold_l): Remove __wur.
647         It is not necessarily an error to ignore strtol's return value.
648         One can reliably look at the stored endptr to decide whether
649         the number had valid syntax.
650
651 2012-04-21  Andreas Jaeger  <aj@suse.de>
652
653         [BZ #13739]
654         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
655
656 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
657
658         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
659         * sysdeps/unix/sysv/Versions: Remove file.
660
661 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
662
663         [BZ #13927]
664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
665
666 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
667
668         [BZ #7064]
669         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
670         version from __vm86.
671
672 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
673
674         * sysdeps/unix/common/lxstat.c: Remove file.
675         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
676
677         * sysdeps/unix/sysv/Makefile: Remove file.
678
679         * sysdeps/unix/sysv/direct.h: Remove file.
680
681         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
682         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
683         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
684         * sysdeps/unix/sysv/bits/signum.h: Likewise.
685         * sysdeps/unix/sysv/bits/stat.h: Likewise.
686         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
687         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
688
689         * sysdeps/unix/sysv/setrlimit.c: Remove file.
690
691         * sysdeps/unix/xmknod.c: Remove file.
692         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
693
694         * sysdeps/unix/sysv/settimeofday.c: Remove file.
695
696         * sysdeps/unix/sysv/i386/time.S: Remove file.
697
698         * sysdeps/unix/fxstat.c: Remove file.
699         * sysdeps/unix/xstat.c: Likewise.
700         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
701
702         * sysdeps/unix/sysv/sigaction.c: Remove file.
703
704         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
705         (sysdep_headers): Remove variable.
706         [termio.h not in sysdep_headers] (generated): Likewise.
707         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
708         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
709         * sysdeps/unix/sysv/tcdrain.c: Likewise.
710         * sysdeps/unix/sysv/tcflow.c: Likewise.
711         * sysdeps/unix/sysv/tcflush.c: Likewise.
712         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
713         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
714         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
715         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
716         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
717
718         * sysdeps/unix/siglist.c: Remove file.
719
720         * sysdeps/unix/getppid.S: Remove file.
721
722         * sysdeps/unix/mkdir.c: Remove file.
723         * sysdeps/unix/rmdir.c: Likewise.
724
725 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
726
727         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
728         ERR_MAX value.
729         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
730         errlist-compat value.
731
732 2012-04-18  David S. Miller  <davem@davemloft.net>
733
734         * sysdeps/generic/memcopy.h (reg_char): Delete.
735         * debug/strcat_chk.c: Use char, not reg_char.
736         * debug/strcpy_chk.c: Likewise.
737         * debug/strncat_chk.c: Likewise.
738         * debug/strncpy_chk.c: Likewise.
739         * string/memchr.c: Likewise.
740         * string/memrchr.c: Likewise.
741         * string/rawmemchr.c: Likewise.
742         * string/strcat.c: Likewise.
743         * string/strchr.c: Likewise.
744         * string/strchrnul.c: Likewise.
745         * string/strcmp.c: Likewise.
746         * string/strcpy.c: Likewise.
747         * string/strncat.c: Likewise.
748         * string/strncmp.c: Likewise.
749         * string/strncpy.c: Likewise.
750
751 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
752
753         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
754         __builtin_memcopy is called when src and dest ranges are known to not
755         overlap.
756
757 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
758
759         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
760         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
761         fwd_align_merge macro call.
762         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
763         bwd_align_merge macro call.
764         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
765
766 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
767
768         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
769         bwd_align_merge macros.
770         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
771         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
772         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
773
774 2012-04-18  David S. Miller  <davem@davemloft.net>
775
776         * sysdeps/sparc/sparc64/memcopy.h: Delete.
777
778 2012-04-18  Andreas Jaeger  <aj@suse.de>
779
780         [BZ# 6794]
781         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
782         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
783         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
784
785         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
786         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
787         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
788
789         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
790         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
791         Adjust for changed ldbl-128 files.
792
793         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
794         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
795         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
796
797 2012-04-17  David S. Miller  <davem@davemloft.net>
798
799         * sysdeps/sparc/sparc32/memcopy.h: Delete.
800
801 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
802
803         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
804         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
805         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
806         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
807         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
808         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
809
810 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
811
812         [BZ #6794]
813         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
814         * math/libm-test.inc: Add ilogb errno and exception tests.
815         * math/w_ilogb.c: New file: ilogb wrapper.
816         * math/w_ilogbf.c: New file: ilogbf wrapper.
817         * math/w_ilogbl.c: New file: ilogbl wrapper.
818         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
819         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
820         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
821         exception being thrown with 0.0 as argument.
822         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
823         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
824         exception being thrown with 0.0 as argument.
825         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
826         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
827         exception being thrown with 0.0 as argument.
828         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
829         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
830         exception being thrown with 0.0 as argument.
831         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
832         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
833         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
834         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
835         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
836         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
837         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
838         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
839         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
840
841 2012-04-17  Petr Baudis  <pasky@ucw.cz>
842
843         * include/sys/uio.h: Change __vector to __iovec to avoid clash
844         with altivec.
845
846 2012-04-16  Marek Polacek  <polacek@redhat.com>
847
848         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
849
850 2012-04-16  Marek Polacek  <polacek@redhat.com>
851
852         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
853         operands of fdivp instruction.
854
855 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
856
857         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
858         * elf/tst-auditmod3b.c: Likewise.
859         * elf/tst-auditmod4b.c: Likewise.
860         * elf/tst-auditmod5b.c: Likewise.
861         * elf/tst-auditmod6b.c: Likewise.
862         * elf/tst-auditmod6c.c: Likewise.
863         * elf/tst-auditmod7b.c: Likewise.
864         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
865         * sysdeps/x86_64/preconfigure.in: Likewise.
866         * sysdeps/x86_64/preconfigure: Regenerated.
867
868 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
869
870         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
871         __ILP32__.
872
873 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
874
875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
876         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
877
878 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
879
880         [BZ #13973]
881         * locale/iso-639.def: Fix gl language name. Spotted by
882         Yaron Shahrabani.
883
884 2012-04-12  Roland McGrath  <roland@hack.frob.com>
885
886         [BZ #2074]
887         * libio/libio.h (__io_write_fn): Update comment.
888
889 2012-04-12  Petr Baudis  <pasky@ucw.cz>
890
891         [BZ #2074]
892         * stdio.texi (Hook Functions): The user provided writer function
893         is not allowed to return -1.
894
895 2012-04-11  David S. Miller  <davem@davemloft.net>
896
897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
898
899 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
900
901         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
902         Add a leading slash to rtkaio.
903
904 2012-04-11  Jim Meyering  <meyering@redhat.com>
905
906         [BZ #11959]
907         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
908         It is not necessarily an error to ignore fwrite's return
909         value.  One can reliably use ferror to test for errors after
910         the fact.
911
912 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
913
914         * bits/types.h (__snseconds_t): New type.
915         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
916
917         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
919         (__SNSECONDS_T_TYPE): Likewise.
920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
921         (__SNSECONDS_T_TYPE): Likewise.
922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
923         (__SNSECONDS_T_TYPE): Likewise.
924
925 2012-04-10  Andreas Jaeger  <aj@suse.de>
926
927         [BZ #2636]
928         * manual/time.texi (Processor Time): Return type of times is
929         elapsed real time since an arbitrary point in the past.
930         (CPU Time): Move CLK_TCK from here...
931         (Processor Time): ...to here.  Correct description.
932         * manual/conf.texi (Constants for Sysconf): Correct description of
933         _SC_CLK_TCK.
934
935 2012-04-10  David S. Miller  <davem@davemloft.net>
936
937         [BZ #13967]
938         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
939         where the is a gap between DT_REL(A) and DT_JMPREL.
940
941 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
942
943         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
944         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
945         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
946
947 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
948
949         * elf/dl-support.c (_dl_inhibit_cache): New variable.
950         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
951         (dl_main): Handle --inhibit-cache.
952         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
953         _dl_inhibit_cache.
954         * elf/dl-load.c (_dl_map_object): Use it.
955         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
956
957 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
958
959         [BZ #13872]
960         * sysdeps/i386/fpu/e_powl.S (p78): New object.
961         (__ieee754_powl): Saturate large exponents rather than testing for
962         overflow of y*log2(x).
963         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
964         * math/libm-test.inc (pow_test): Do not permit spurious overflow
965         exceptions.
966
967         [BZ #11521]
968         * math/s_ctan.c: Include <float.h>.
969         (__ctan): Avoid internal overflow or cancellation in calculating
970         denominator.
971         * math/s_ctanf.c: Likewise.
972         * math/s_ctanl.c: Likewise.
973         * math/s_ctanh.c: Likewise.
974         * math/s_ctanhf.c: Likewise.
975         * math/s_ctanhl.c: Likewise.
976         * math/libm-test.inc (ctan_test): Add more tests.
977         (ctanh_test): Likewise.
978         * sysdeps/i386/fpu/libm-test-ulps: Update.
979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
980
981 2012-04-09  Andreas Jaeger  <aj@suse.de>
982
983         [BZ #6894]
984         * manual/filesys.texi (Directory Entries): Mention that d_namlen
985         is an optional BSD extension.
986
987         [BZ #10254]
988         * manual/stdio.texi (Opening Streams): Document additional fopen
989         parameters.
990
991 2012-04-09  Roland McGrath  <roland@hack.frob.com>
992
993         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
994         %eax without telling the compiler.
995
996 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
997
998         [BZ # 13963]
999         * manual/install.texi: Use sourceware.org.
1000
1001 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1002
1003         [BZ #13873]
1004         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1005         (__ieee754_pow): Generate overflow and underflow using huge*huge
1006         and tiny*tiny rather than just returning constant infinity or zero
1007         for large exponents.
1008         * math/libm-test.inc (pow_test): Require overflow exceptions for
1009         applicable cases of large exponents.
1010
1011         [BZ #706]
1012         * sysdeps/i386/fpu/e_pow.S (p10): New object.
1013         (__ieee754_pow): Use iterative multiplication algorithm only for
1014         integer exponents with absolute value below 1024.  Check for odd
1015         integer exponents when using algorithm for real exponents.
1016         * math/libm-test.inc (pow_test): Add more tests.
1017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1018
1019 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
1020
1021         [BZ #13705]
1022         * math/libm-test.inc (exp_test): Do not allow overflow exception
1023         on underflow test.
1024
1025 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
1026
1027         [BZ #13705]
1028         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1029         instead of __kernel_standard_f.
1030
1031 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
1032
1033         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1034         * sysdeps/x86_64/memset_chk.S: Likewise.
1035
1036 2012-04-08  Andreas Jaeger  <aj@suse.de>
1037
1038         [BZ #10153]
1039         * manual/startup.texi (Environment Access): Describe return value
1040         for putenv and setenv.
1041
1042         [BZ #6895]
1043         * manual/filesys.texi (Directory Entries): Add description for
1044         DT_LNK.
1045
1046         [BZ #6890]
1047         * manual/filesys.texi (Directory Entries): Clarify that it's file
1048         system not operating system in the description of DT_UNKNOWN.
1049
1050         [BZ #6578]
1051         * manual/syslog.texi (closelog): Fix reference, it's openlog.
1052
1053 2012-04-08  Stephen Compall  <s11@member.fsf.org>
1054
1055         [BZ #6649]
1056         * manual/llio.texi (Opening and Closing Files): Add cross
1057         reference to explain mode argument.
1058
1059 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
1060
1061         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1062         * sysdeps/x86_64/memset_chk.S: Likewise.
1063
1064 2012-04-07  David S. Miller  <davem@davemloft.net>
1065
1066         * elf/elf.h (R_SPARC_WDISP10): Define.
1067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1068         R_SPARC_SIZE32.
1069         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1070         R_SPARC_SIZE64 and R_SPARC_H34.
1071
1072 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
1073
1074         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1075         conditions and remove no longer applicable assertion.
1076
1077 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1078
1079         * bits/byteswap.h: Include <features.h>.
1080         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1081         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1082
1083 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1084
1085         * bits/byteswap.h (__bswap_16): Removed.
1086         Include <bits/byteswap-16.h> to get __bswap_16.
1087         * sysdeps/i386/bits/byteswap.h: Likewise.
1088         * sysdeps/s390/bits/byteswap.h: Likewise.
1089         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1090         * bits/byteswap-16.h: New file.
1091         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1092         * sysdeps/s390/bits/byteswap-16.h: Likewise.
1093         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1094         * string/Makefile (headers): Add bits/byteswap-16.h.
1095
1096 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1097
1098         [BZ #13895]
1099         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1100         extra indirection.
1101         * nss/Makefile (tests-static, tests): Add tst-nss-static.
1102         * nss/tst-nss-static.c: New.
1103
1104 2012-04-06  Robert Millan  <rmh@gnu.org>
1105
1106         [BZ #6486]
1107         * manual/llio.texi (File Position Primitive): lseek
1108         refers to WHENCE when it really means OFFSET.
1109
1110 2012-04-06  Andreas Jaeger  <aj@suse.de>
1111
1112         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1113         strncmp declarations.
1114
1115         * abilist/libc.abilist: Add __poll and __ppoll.
1116
1117 2012-04-05  David S. Miller  <davem@davemloft.net>
1118
1119         * scripts/check-local-headers.sh: Accept a host triplet in the
1120         path matched by the exclude regexp.
1121
1122         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1123         definition.
1124         * sysdeps/powerpc/powerpc32/dl-machine.h
1125         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1126         * sysdeps/s390/s390-32/dl-machine.h
1127         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1128         * sysdeps/sparc/sparc32/dl-machine.h
1129         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1130         * sysdeps/sparc/sparc64/dl-machine.h
1131         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1132
1133         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1134         lazy binding.
1135         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1136         undefined symbol errors.
1137
1138         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1139         DT_NEEDED entries.
1140
1141 2012-04-05  Michael Matz  <matz@suse.de>
1142
1143         [BZ #13592]
1144         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1145
1146 2012-04-05  Andreas Jaeger  <aj@suse.de>
1147
1148         [BZ #13908]
1149         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1150         comment.
1151
1152 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1153
1154         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1155         which ROUND is no valid rounding mode.
1156
1157 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1158
1159         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1160         read again.
1161         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1162
1163 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1164
1165         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1166         an exception using FPU order intentionally.
1167
1168 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1169
1170         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1171         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1172         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1173         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1174
1175 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1176
1177         [BZ #12340]
1178         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1179         EINVAL when BUFLEN is too smal.
1180
1181 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1182
1183         [BZ #13553]
1184         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1185         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1186
1187 2012-04-03  Andreas Jaeger  <aj@suse.de>
1188
1189         [BZ #13938]
1190         * manual/setjmp.texi (System V contexts): Fix sentence.
1191
1192         [BZ #13926]
1193         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1194         New macro for this case.
1195         [!__GNUC__] (__bswap_64): New inline function for this case.
1196         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1197         * bits/byteswap.h: Likewise.
1198         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1199         ull, guard with __GLIBC_HAVE_LONG_LONG.
1200
1201         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1202         __GLIBC_HAVE_LONG_LONG.
1203
1204         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1205         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1206
1207 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1208
1209         [BZ #13691]
1210         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1211         inptr and inend, rather than using last_ch.
1212
1213 2012-04-02  David S. Miller  <davem@davemloft.net>
1214
1215         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1216         * stdio-common/printf-parse.h (read_int): Change return type to
1217         'int', return -1 on INT_MAX overflow.
1218         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1219         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1220         overflows INT_MAX.  Check for overflow of in-format-string precision
1221         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1222         SIZE_MAX not INT_MAX for integer overflow test.
1223         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1224         skip the construct in the format string but do not record anything.
1225         * stdio-common/bug22.c: Adjust to test both width/prevision
1226         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1227         explicitly for proper errno values.
1228
1229 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1230
1231         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1232         CHAR_MAX.
1233         * string/test-strcmp.c [! WIDE]: Likewise.
1234         * time/tst-mktime2.c: Likewise for INT_MAX.
1235         * string/test-string.h: #include <sys/param.h> for MIN.
1236
1237         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1238         * sysdeps/i386/init-first.c (init): Likewise.
1239         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1240         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1241         * sysdeps/sh/init-first.c (init): Likewise.
1242
1243 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1244
1245         * po/ru.po: Update from translation team.
1246         * po/vi.po: Likewise.
1247
1248 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1249
1250         * resolv/nss_dns/dns-host.c: Merge copyright years.
1251
1252 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1253
1254         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1255         Optimize memcpy with prefetch if
1256         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1257         src, dst pointers have unequal 16 byte alignments.
1258
1259 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1260
1261         [BZ #13928]
1262         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1263         from a CNAME entry and return the minimum ttl for the query.
1264         (gaih_getanswer_slice): Likewise.
1265
1266 2012-03-30  Jeff Law  <law@redhat.com>
1267
1268         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1269         due to long keys.
1270         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1271         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1272
1273         * resolv/nss_dns/dns-host.c: Update copyright year.
1274
1275 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1276
1277         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1278         requests to save a system call.  Fix check that all bytes are sent.
1279
1280         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1281         comments for sendmmsg.
1282
1283 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1284
1285         [BZ #13691]
1286         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1287         with only 1 character between 0x0041 and 0x01b0.
1288         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1289         * wcsmbs/tst-mbsnrtowcs.c: New file.
1290
1291 2012-03-29  David S. Miller  <davem@davemloft.net>
1292
1293         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1294         small copies by hand.
1295
1296 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1297
1298         [BZ #13761]
1299         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1300         _nss_compat_initgroups_dyn): Fall back to malloc/free
1301         for large group memberships.
1302
1303 2012-03-28  David S. Miller  <davem@davemloft.net>
1304
1305         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1306         that branches into memcpy.
1307         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1308         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1309         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1310         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1311         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1312         bits.
1313         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1314         implementation too.
1315         * sysdeps/sparc/mempcpy.S: New file.
1316
1317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1318         the IFUNC routine in the libc case.
1319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1320
1321         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1322         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1323         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1324         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1325         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1326         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1327         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1328         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1329
1330         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1331         loop to 256 bytes instead of 64 bytes and fix test signedness.
1332
1333         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1334         * sysdeps/sparc/sparc32/Makefile: rather than here...
1335         * sysdeps/sparc/sparc64/Makefile: and here.
1336
1337 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1338
1339         * malloc/mallocbug.c: Avoid warnings about unused variables.
1340
1341 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1342
1343         [BZ #13760]
1344         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1345         in the right place. Discard and retry query if response is
1346         larger than input buffer size.
1347
1348 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1349
1350         [BZ #369]
1351         [BZ #2678]
1352         [BZ #3866]
1353         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1354         x for large integer exponent.
1355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1356         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1357         sign of result as needed afterwards.
1358         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1359         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1360         result for underflowing pow the same as for overflow.
1361         (__kernel_standard_l): Handle powl overflow and underflow here
1362         rather than calling __kernel_standard.
1363         * math/libm-test.inc (pow_test): Add more tests.
1364
1365         [BZ #3868]
1366         [BZ #13879]
1367         [BZ #13910]
1368         [BZ #13911]
1369         [BZ #13912]
1370         [BZ #13913]
1371         [BZ #13915]
1372         [BZ #13916]
1373         [BZ #13917]
1374         [BZ #13918]
1375         [BZ #13919]
1376         [BZ #13920]
1377         [BZ #13921]
1378         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1379         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1380         (__kernel_standard_l): New function.
1381         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1382         __kernel_standard.
1383         * math/w_acosl.c (__acosl): Likewise.
1384         * math/w_asinl.c (__asinl): Likewise.
1385         * math/w_atan2l.c (__atan2l): Likewise.
1386         * math/w_atanhl.c (__atanhl): Likewise.
1387         * math/w_coshl.c (__coshl): Likewise.
1388         * math/w_exp10l.c (__exp10l): Likewise.
1389         * math/w_exp2l.c (__exp2l): Likewise.
1390         * math/w_fmodl.c (__fmodl): Likewise.
1391         * math/w_hypotl.c (__hypotl): Likewise.
1392         * math/w_j0l.c (__j0l, __y0l): Likewise.
1393         * math/w_j1l.c (__j1l, __y1l): Likewise.
1394         * math/w_jnl.c (__jnl, __ynl): Likewise.
1395         * math/w_lgammal.c (__lgammal): Likewise.
1396         * math/w_log10l.c (__log10l): Likewise.
1397         * math/w_log2l.c (__log2l): Likewise.
1398         * math/w_logl.c (__logl): Likewise.
1399         * math/w_powl.c (__powl): Likewise.
1400         * math/w_remainderl.c (__remainderl): Likewise.
1401         * math/w_scalbl.c (sysv_scalbl): Likewise.
1402         * math/w_sinhl.c (__sinhl): Likewise.
1403         * math/w_sqrtl.c (__sqrtl): Likewise.
1404         * math/w_tgammal.c (__tgammal): Likewise.
1405         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1406         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1407         * math/libm-test.inc (acos_test): Add more tests.
1408         (acosh_test): Likewise.
1409         (asin_test): Likewise.
1410         (atanh_test): Likewise.
1411         (exp_test): Likewise.
1412         (exp10_test): Likewise.
1413         (exp2_test): Likewise.
1414         (expm1_test): Likewise.
1415         (lgamma_test): Likewise.
1416         (log_test): Likewise.
1417         (log10_test): Likewise.
1418         (log1p_test): Likewise.
1419         (log2_test): Likewise.
1420         (pow_test): Do not allow some spurious overflow exceptions.
1421         (sqrt_test): Add more tests.
1422         (tgamma_test): Likewise.
1423         (y0_test): Likewise.
1424         (y1_test): Likewise.
1425         (yn_test): Likewise.
1426
1427 2012-03-27  Anton Blanchard  <anton@samba.org>
1428
1429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1430         MAP_HUGETLB.
1431         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1432         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1433         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1434
1435 2012-03-27  David S. Miller  <davem@davemloft.net>
1436
1437         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1438
1439         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1440         have-as-vis3 check.
1441
1442 2012-03-27  Andreas Jaeger  <aj@suse.de>
1443
1444         * sysdeps/x86_64/elf/configure.in: Moved to ...
1445         * sysdeps/x86_64/configure.in: ... here.
1446         * sysdeps/x86_64/elf/start.S: Moved to ...
1447         * sysdeps/x86_64/start.S: ... here.
1448         * sysdeps/x86_64/elf/configure: Delete.
1449
1450         * sysdeps/x86_64/configure.in: Merge contents from
1451         sysdeps/i386/configure.in (without i686 check).
1452
1453         * sysdeps/i386/elf/Versions: Merge into ...
1454         * sysdeps/i386/Versions: ... this.
1455         * sysdeps/i386/elf/Versions: Delete file.
1456         * sysdeps/i386/elf/start.S: Moved to ...
1457         * sysdeps/i386/start.S: ...here.
1458         * sysdeps/i386/elf/configure.in: Merge into...
1459         * sysdeps/i386/configure.in: ...here.
1460         * sysdeps/i386/elf/configure.in: Delete file.
1461         * sysdeps/i386/elf/configure: Delete file.
1462
1463         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1464         * debug/backtracesyms.c: ... here.
1465         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1466         * debug/backtracesymsfd.c: ... here.
1467         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1468         * sysdeps/generic/ifunc-sel.h: ... here.
1469
1470         * sysdeps/unix/i386/start.c: Delete file.
1471         * sysdeps/unix/sparc/start.c: Delete file.
1472         * sysdeps/unix/start.c: Delete file.
1473
1474         * sysdeps/sh/elf/configure.in: Moved to ...
1475         * sysdeps/sh/configure.in: ... here.
1476         * sysdeps/sh/elf/start.S: Moved to ...
1477         * sysdeps/sh/start.S: ... here.
1478         * sysdeps/sh/elf/configure: Delete file.
1479
1480         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1481         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1482         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1483         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1484         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1485         * sysdeps/powerpc/powerpc64/start.S: here.
1486         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1487         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1488         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1489         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1490         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1491
1492         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1493         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1494         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1495         * sysdeps/powerpc/powerpc32/start.S: ... here.
1496         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1497         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1498         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1499
1500         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1501         * sysdeps/powerpc/ifunc-sel.h: ... here.
1502         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1503         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1504
1505         * sysdeps/sparc/elf/configure.in: Moved to ...
1506         * sysdeps/sparc/configure.in: ... here.
1507         * sysdeps/sparc/elf/configure: Delete file.
1508         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1509         * sysdeps/sparc/sparc32/start.S: ... here.
1510         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1511         * sysdeps/sparc/sparc64/start.S: ... here.
1512         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1513         * sysdeps/sparc/sparc32/Makefile: ... this.
1514         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1515         * sysdeps/sparc/sparc64/Makefile: ... this.
1516
1517         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1518         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1519         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1520         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1521         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1522         * sysdeps/s390/s390-32/setjmp.S: ... here.
1523         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1524         * sysdeps/s390/s390-32/configure.in: ... here.
1525         * sysdeps/s390/s390-32/elf/configure: Delete file.
1526         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1527         * sysdeps/s390/s390-32/start.S: ... here.
1528
1529         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1530         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1531         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1532         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1533         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1534         * sysdeps/s390/s390-64/setjmp.S: ... here.
1535         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1536         * sysdeps/s390/s390-64/configure.in: ... here
1537         * sysdeps/s390/s390-64/elf/configure: Delete file.
1538         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1539         * sysdeps/s390/s390-64/start.S: ... here.
1540         * sysdeps/s390/s390-64/elf/configure: Delete.
1541
1542         * configure.in: Remove support for elf directories in sysdeps.
1543
1544         * configure: Regenerated.
1545         * sysdeps/i386/configure: Regenerated.
1546         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1547         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1548         * sysdeps/s390/s390-32/configure: Regenerated.
1549         * sysdeps/s390/s390-64/configure: Regenerated.
1550         * sysdeps/sh/configure: Regenerated.
1551         * sysdeps/sparc/configure: Regenerated.
1552         * sysdeps/x86_64/configure: Regenerated.
1553
1554 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1555
1556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1557
1558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1559         denormal result into account.
1560
1561 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1562
1563         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1564         Reported by Allan McRae <allan@archlinux.org>.
1565
1566 2012-03-23  Jeff Law  <law@redhat.com>
1567
1568         * nss/getnssent.c (__nss_getent): Fix typo.
1569
1570 2012-03-23  David S. Miller  <davem@davemloft.net>
1571
1572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1573
1574 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1575
1576         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1577         to pad to uint64_t for each field.
1578         (dl_tls_index): Replace unsigned long with uint64_t.
1579
1580 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1581         Paul Pluzhnikov  <ppluzhnikov@google.com>
1582
1583         [BZ #6528]
1584         * grp/Makefile (otherlibs): Don't set it.
1585         * inet/Makefile (otherlibs): Likewise.
1586         * login/Makefile (otherlibs): Likewise.
1587         * nscd/Makefile (otherlibs): Likewise.
1588         * posix/Makefile (otherlibs): Likewise.
1589         * pwd/Makefile (otherlibs): Likewise.
1590         * rt/Makefile (otherlibs): Likewise.
1591         * sunrpc/Makefile (otherlibs): Likewise.
1592         * nss/Makefile (otherlibs): Likewise.
1593         Add libnss_files to routines and static-only-routines.
1594         ($(objpfx)getent): Remove rule.
1595         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1596         static-only-routines.
1597
1598 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1599
1600         [BZ #13892]
1601         * math/s_cexp.c: Include <float.h>.
1602         (__cexp): Handle exp result overflowing not necessarily
1603         overflowing both real and imaginary parts of result.
1604         * math/s_cexpf.c: Likewise.
1605         * math/s_cexpl.c: Likewise.
1606         * math/libm-test.inc (cexp_test): Add more tests.
1607         * sysdeps/i386/fpu/libm-test-ulps: Update.
1608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609
1610 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1611
1612         * include/link.h (ELFW): New macro.
1613         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1614         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1615
1616 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1617
1618         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1619         with uint64_t.
1620
1621 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1622
1623         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1624         declaration.
1625         (struct La_x32_retval): Likewise.
1626
1627 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1628
1629         * sysdeps/x86_64/preconfigure.in: New file.
1630         * sysdeps/x86_64/preconfigure: New generated file.
1631
1632 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1633
1634         [BZ #13824]
1635         * math/e_exp2l.c: Include <float.h>.
1636         (__ieee754_exp2l): Handle overflow and underflow cases
1637         separately.  Only pass fractional part of argument to
1638         __ieee754_expl.
1639         * math/libm-test.inc (exp2_test): Add more tests.
1640
1641         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1642         negating x to take absolute value.
1643         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1644         Likewise.
1645         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1646         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1647         Likewise.
1648         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1649         computing low part if x was negated.
1650         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1651
1652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1653
1654         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1655         la_x32_gnu_pltexit.
1656         (pltexit): Cast int_retval to ptrdiff_t.
1657         * elf/tst-auditmod3b.c: Likewise.
1658         * elf/tst-auditmod4b.c: Likewise.
1659         * elf/tst-auditmod5b.c: Likewise.
1660         * elf/tst-auditmod6b.c: Likewise.
1661         * elf/tst-auditmod6c.c: Likewise.
1662         * elf/tst-auditmod7b.c: Likewise.
1663
1664         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1665         and x32_gnu_pltexit.
1666
1667         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1668         __ELF_NATIVE_CLASS.
1669         (La_x32_regs): New macro.
1670         (La_x32_retval): Likewise.
1671         (la_x32_gnu_pltenter): New function prototype.
1672         (la_x32_gnu_pltexit): Likewise.
1673
1674 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1675
1676         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1677         exponent.
1678
1679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1680
1681         * configure.in (libc_cv_cc_nofma): Check for option to disable
1682         generation of FMA instructions.
1683         * configure: Regenerate.
1684         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1685         * sysdeps/ieee754/dbl-64/Makefile: New file.
1686         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1687         Remove brandred-fma4.
1688         (CFLAGS-brandred-fma4.c): Remove.
1689         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1690         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1691         define.
1692         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1693         define.
1694
1695 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1696
1697         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1698         LLONG_MAX != LONG_MAX.
1699         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1700         (_fitoa_word): Likewise.
1701         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1702         LLONG_MAX != LONG_MAX.
1703         * stdio-common/_itowa.h: Include <_itoa.h>.
1704         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1705         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1706         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1707         only if not defined.
1708         (_ITOA_WORD_TYPE): Likewise.
1709         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1710         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1711
1712 2012-03-21  David S. Miller  <davem@davemloft.net>
1713
1714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1715
1716 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1717
1718         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1719         of x86_64 when setting libc_cv_slibdir, libdir and
1720         libc_cv_localedir.
1721         * sysdeps/unix/sysv/linux/configure: Regenerated.
1722
1723 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1724
1725         * manual/lang.texi (Old Varargs): Remove section.
1726         (How Variadic): Update menu.
1727         (va_start): Do not mention varargs.h.
1728
1729 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1730             Joseph Myers  <joseph@codesourcery.com>
1731
1732         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1733         link test.
1734         * configure: Regenerated.
1735
1736 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1737
1738         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1739         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1740         conformtest.pl
1741
1742 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1743
1744         * NOTES: Remove.
1745         * Makefile (files-for-dist): Remove NOTES.
1746         (NOTES): Remove rule.
1747         * README: Don't refer to NOTES.
1748         * manual/creature.texi: Don't include macros.texi.
1749         * manual/intro.texi (creature.texi): Remove comment referring to
1750         NOTES.
1751
1752         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1753         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1754         * configure: Regenerated.
1755         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1756         LIBC_TRY_CC_OPTION.
1757         (libc_cv_as_i686): Likewise.
1758         (libc_cv_cc_avx): Likewise.
1759         (libc_cv_cc_sse2avx): Likewise.
1760         (libc_cv_cc_fma4): Likewise.
1761         (libc_cv_cc_novzeroupper): Likewise.
1762         * sysdeps/i386/configure: Regenerated.
1763
1764         [BZ #13883]
1765         * sysdeps/i386/fpu/s_cexp.S: Remove.
1766         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1767         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1768         * math/libm-test.inc (cexp_test): Add more tests.
1769         * sysdeps/i386/fpu/libm-test-ulps: Update.
1770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1771
1772 2012-03-21  Allan McRae  <allan@archlinux.org>
1773
1774         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1775
1776 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1777
1778         [BZ #13871]
1779         * math/w_exp2.c: Do not include <float.h>.
1780         (o_threshold, u_threshold): Remove.
1781         (__exp2): Calculate result before checking finiteness and calling
1782         __kernel_standard.
1783         * math/w_exp2f.c: Likewise.
1784         * math/w_exp2l.c: Likewise.
1785         * math/libm-test.inc (exp2_test): Require overflow exception for
1786         1e6 input.
1787
1788         [BZ #3866]
1789         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1790         range of signed 64-bit integers before using fistpll.  Remove
1791         checks for whether integers fit in mantissa bits.
1792         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1793         the range of signed 32-bit integers before using fistpl.  Remove
1794         checks for whether integers fit in mantissa bits.
1795         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1796         (__ieee754_powl): Test for y outside the range of signed 64-bit
1797         integers before using fistpll.  Reduce 64-bit values to 63-bit
1798         ones as needed.
1799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1800         divide-by-zero is raised for zero to large negative powers.
1801         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1802         (__ieee754_powl): Test for y outside the range of signed 64-bit
1803         integers before using fistpll.  Reduce 64-bit values to 63-bit
1804         ones as needed.
1805         * math/libm-test.inc (pow_test): Add more tests.
1806
1807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1808
1809         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1810         <stdio-common/_itoa.h>.
1811         * debug/segfault.c: Likewise.
1812         * elf/dl-cache.c: Likewise.
1813         * elf/dl-minimal.c: Likewise.
1814         * elf/dl-misc.c: Likewise.
1815         * elf/dl-sysdep.c: Likewise.
1816         * elf/dl-version.c: Likewise.
1817         * elf/rtld.c: Likewise.
1818         * hurd/hurdsock.c: Likewise.
1819         * hurd/lookup-retry.c: Likewise.
1820         * malloc/malloc.c: Likewise.
1821         * malloc/mtrace.c: Likewise.
1822         * nscd/nscd_getgr_r.c: Likewise.
1823         * nscd/nscd_getpw_r.c: Likewise.
1824         * nscd/nscd_getserv_r.c: Likewise.
1825         * posix/getopt_init.c: Likewise.
1826         * posix/wordexp.c: Likewise.
1827         * stdio-common/_itoa.c: Likewise.
1828         * stdio-common/printf_fphex.c: Likewise.
1829         * stdio-common/vfprintf.c: Likewise.
1830         * string/_strerror.c: Likewise.
1831         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1832         * sysdeps/i386/i686/hp-timing.h: Likewise.
1833         * sysdeps/mach/_strerror.c: Likewise.
1834         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1835         * sysdeps/mach/hurd/sethostid.c: Likewise.
1836         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1837         * sysdeps/mach/xpg-strerror.c: Likewise.
1838         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1839         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1840         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1841         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1842         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1843         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1844         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1845         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1846         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1847         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1848         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1849         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1850         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1851         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1852         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1853         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1854         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1855         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1856         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1857         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1858         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1859
1860         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1861
1862         * stdio-common/_itoa.h: Moved to ...
1863         * sysdeps/generic/_itoa.h: Here.
1864
1865         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1866
1867         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1868         instead of "_itoa.h" and "_itowa.h".
1869         * stdio-common/vfprintf.: Likewise.
1870
1871 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1872
1873         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1874         <bits/wordsize.h>.
1875         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1876         (__signbit): Likwise.
1877         (llrintf): Likwise.
1878         (llrint): Likwise.
1879
1880 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1881
1882         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1883         __WORDSIZE != 64.
1884
1885 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1886
1887         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1888         OVERFLOW_EXCEPTION_OK.
1889         * math/libm-test.inc ("Philosophy"): Update comment about
1890         exception testing.
1891         (OVERFLOW_EXCEPTION): Define.
1892         (OVERFLOW_EXCEPTION_OK): Likewise.
1893         (INVALID_EXCEPTION_OK): Renumber.
1894         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1895         (IGNORE_ZERO_INF_SIGN): Likewise.
1896         (test_exceptions): Handle FE_OVERFLOW.
1897         (exp10_test): Expect overflow exceptions.
1898         (exp2_test): Likewise.
1899         (expm1_test): Likewise.
1900         (nextafter_test): Likewise.
1901         (pow_test): Likewise.
1902         (scalbn_test): Likewise.
1903         (scalbln_test): Likewise.
1904
1905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1906
1907         * sysdeps/x86_64/bits/atomic.h
1908         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1909         64bit integer.
1910         (atomic_exchange_acq): Likewise.
1911         (__arch_exchange_and_add_body): Likewise.
1912         (__arch_add_body): Likewise.
1913         (atomic_add_negative): Likewise.
1914         (atomic_add_zero): Likewise.
1915
1916 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1917
1918         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1919         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1920
1921 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1922
1923         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1924         Check __x86_64__ instead of __WORDSIZE.
1925
1926 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1927
1928         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1929
1930 2012-03-19  David S. Miller  <davem@davemloft.net>
1931
1932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1933
1934         * sysdeps/sparc/fpu/fenv_private.h: New file.
1935         * sysdeps/sparc/fpu/math_private.h: Use it.
1936         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1937         Remove.
1938         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1939         (libc_feholdexcept_setroundl): Remove.
1940         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1941         Remove.
1942         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1943         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1944
1945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1946
1947         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1948         int64_t instead of long int.
1949         (INSERT_WORDS64): Likwise.
1950
1951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1952
1953         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1954         _Unwind_GetCFA return to _Unwind_Ptr first.
1955
1956 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1957
1958         [BZ #13629]
1959         * math/s_clog.c: Include <float.h>.
1960         (__clog): Scale large or subnormal inputs.
1961         * math/s_clogf.c: Likewise.
1962         * math/s_clogl.c: Likewise.
1963         * math/s_clog10.c: Include <float.h>.
1964         (M_LOG10_2): Define.
1965         (__clog10): Scale large or subnormal inputs.
1966         * math/s_clog10f.c: Likewise.
1967         * math/s_clog10l.c: Likewise.
1968         * math/libm-test.inc (clog_test): Add more tests.
1969         (clog10_test): Likewise.
1970         * sysdeps/i386/fpu/libm-test-ulps: Update.
1971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1972
1973         [BZ #11451]
1974         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1975         x and y.
1976         * math/libm-test.inc (atan2_test): Add another test.
1977
1978         * Makerules (common-objdir-compile): Remove.
1979         * sysdeps/unix/Makefile (config-generated): Do not add
1980         $(unix-generated) to variable.
1981         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1982         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1983         Remove rule.
1984         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1985         Likewise.
1986         [generic bits/local_lim.h] (before-compile): Do not append to
1987         variable.
1988         [generic bits/local_lim.h] (common-generated): Likewise.
1989         [generic sys/param.h] (before-compile): Do not append to variable.
1990         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1991         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1992         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1993         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1994         include.
1995         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1996         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1997         [generic sys/param.h] ($(addprefix
1998         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1999         [generic sys/param.h] (common-generated): Do not append to
2000         variable.
2001         [generic sys/param.h] (sysdep_headers): Likewise.
2002         [generic bits/errno.h] (before-compile): Do not append to
2003         variable.
2004         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2005         rule.
2006         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2007         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2008         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2009         [generic bits/errno.h] (common-generated): Do not append to
2010         variable.
2011         [generic bits/ioctls.h] (before-compile): Do not append to
2012         variable.
2013         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2014         rule.
2015         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2016         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2017         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2018         rule.
2019         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2020         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2021         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2022         [generic bits/ioctls.h] (common-generated): Do not append to
2023         variable.
2024         [generic sys/syscall.h] (syscall.h): Remove variable.
2025         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2026         rule.
2027         [generic sys/syscall.h] (before-compile): Do not append to
2028         variable.
2029         [generic sys/syscall.h] (common-generated): Likewise.
2030         * sysdeps/unix/errnos-tmpl.c: Remove file.
2031         * sysdeps/unix/errnos.awk: Likewise.
2032         * sysdeps/unix/ioctls-tmpl.c: Likewise.
2033         * sysdeps/unix/ioctls.awk: Likewise.
2034         * sysdeps/unix/mk-local_lim.c: Likewise.
2035         * sysdeps/unix/snarf-ioctls: Likewise.
2036
2037 2012-03-19  Richard Henderson  <rth@twiddle.net>
2038
2039         * sysdeps/i386/fpu/fenv_private.h: New file.
2040         * sysdeps/i386/fpu/math_private.h: Use it.
2041         (math_opt_barrier, math_force_eval): Remove.
2042         (libc_feholdexcept_setround_53bit): Remove.
2043         (libc_feupdateenv_53bit): Remove.
2044         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2045         (math_opt_barrier, math_force_eval): Remove.
2046         (libc_feholdexcept): Remove.
2047         (libc_feholdexcept_setround): Remove.
2048         (libc_fetestexcept, libc_fesetenv): Remove.
2049         (libc_feupdateenv_test): Remove.
2050         (libc_feupdateenv, libc_feholdsetround): Remove.
2051         (libc_feresetround): Remove.
2052
2053         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2054         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2055
2056         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2057         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2058         (libc_feupdateenv_testl): New.
2059         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2060         (libc_feupdateenv_testf): New.
2061         (libc_feupdateenv): Use libc_feupdateenv_test.
2062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2063         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2064
2065         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2066         (libc_feholdsetroundf, libc_feholdsetroundl): New.
2067         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2068         (libc_feresetround_noex): New.
2069         (libc_feresetround_noexf): New.
2070         (libc_feresetround_noexl): New.
2071         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2072         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2073         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2074         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2075         SET_RESTORE_ROUND.
2076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2077         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2078         (__cos): Likewise.
2079         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2081         SET_RESTORE_ROUND_NOEX.
2082         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2083         SET_RESTORE_ROUND_NOEXF.
2084         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2085         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2086         (libc_feholdsetroundf): New.
2087         (libc_feresetround, libc_feresetroundf): New.
2088
2089         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2090         (libc_feholdexcept_setround_53bit): Convert from macro to function.
2091         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
2092
2093         * sysdeps/generic/math_private.h: Include <fenv.h>.
2094         (default_libc_feholdexcept): New.
2095         (default_libc_feholdexcept_setround): New.
2096         (default_libc_fesetenv, default_libc_feupdateenv): New.
2097         (libc_feholdexcept): Only define if undefined.
2098         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2099         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2100         (libc_feholdexcept_setroundl): Likewise.
2101         (libc_feholdexcept_setround_53bit): Likewise.
2102         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2103         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2104         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2105         (libc_feupdateenv_53bit): Likewise.
2106         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2107         (libc_feholdexcept): Convert from macro to inline function.
2108         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2109         (libc_fesetenv, libc_feupdateenv): Likewise.
2110
2111         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2112         not previously defined.
2113         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2114         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2115         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2116         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2117         * sysdeps/ieee754/flt-32/math_private.h: New file.
2118         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2119         math_private.h below SET_FLOAT_WORD.
2120         (__isnan, __isinf_ns, __finite): Remove.
2121         (__isnanf, __isinf_nsf, __finitef): Remove.
2122
2123 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
2124
2125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2126
2127 2012-03-17  David S. Miller  <davem@davemloft.net>
2128
2129         [BZ #6471]
2130         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2131         for 2.16.
2132
2133 2012-03-16  David S. Miller  <davem@davemloft.net>
2134
2135         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2136         warnings.
2137
2138         [BZ #6471]
2139         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2140         properly.
2141         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2142         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2143         sysdep_routines when subdir is sysvipc.
2144         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2145         __getshmlba helper.
2146
2147         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2148
2149 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2150
2151         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2152         [__LP64__].
2153
2154 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2155
2156         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2157         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2158         (__lround): Renamed to ...
2159         (__llround): This.  Replace long int with long long int.
2160         Define lround functions as aliases of llround functions.
2161         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2162
2163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2164
2165         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2166         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2167         adresses to uintptr_t.  Replace "long int" and "unsigned long
2168         int" with "greg_t" on va_arg.
2169
2170 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2171
2172         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2173         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2174
2175         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2176         Move e_machine check before EI_CLASS check.  Handle x32
2177         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2178         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2179         SKIP_EM_IA_64 and include
2180         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2181
2182         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2183         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2184         (add_system_dir): New macro.
2185
2186         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2187         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2188
2189 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2190
2191         [BZ #2551]
2192         [BZ #2552]
2193         [BZ #2553]
2194         [BZ #2554]
2195         [BZ #2562]
2196         [BZ #2563]
2197         [BZ #2565]
2198         [BZ #2566]
2199         [BZ #2576]
2200         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2201         (y0): Likewise.
2202         * math/w_j0f.c (j0f): Likewise.
2203         (y0f): Likewise.
2204         * math/w_j0l.c (__j0l): Likewise.
2205         (__y0l): Likewise.
2206         * math/w_j1.c (j1): Likewise.
2207         (y1): Likewise.
2208         * math/w_j1f.c (j1f): Likewise.
2209         (y1f): Likewise.
2210         * math/w_j1l.c (__j1l): Likewise.
2211         (__y1l): Likewise.
2212         * math/w_jn.c (jn): Likewise.
2213         (yn): Likewise.
2214         * math/w_jnf.c (jnf): Likewise.
2215         (ynf): Likewise.
2216         * math/w_jnl.c (__jnl): Likewise.
2217         (__ynl): Likewise.
2218         * math/libm-test.inc (j0_test): Add more tests.
2219         (j1_test): Likewise.
2220         (jn_test): Likewise.  Add trailing semicolon to existing test.
2221         (y0_test): Likewise.
2222         (y1_test): Likewise.
2223         * sysdeps/i386/fpu/libm-test-ulps: Update.
2224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2225
2226         [BZ #13851]
2227         [BZ #13854]
2228         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2229         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2230         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2231         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2232         (__tanl): Set errno for infinite argument.
2233         * sysdeps/i386/fpu/mptan.c: Remove.
2234         * sysdeps/i386/fpu/s_tan.S: Likewise.
2235         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2236         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2237         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2238         * math/libm-test.inc (tan_test): Add more tests and enable more
2239         tests for double and long double.
2240         * sysdeps/i386/fpu/libm-test-ulps: Update.
2241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2242
2243 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2244
2245         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2246         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2247
2248 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2249
2250         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2251         * configure.in: Use it for both main tree and add-ons.
2252         * configure: Regenerated.
2253
2254 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2255
2256         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2257
2258 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2259
2260         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2261         in comment.
2262
2263         [BZ #13851]
2264         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2265         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2266         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2267         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2268         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2269         infinite argument.
2270         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2271         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2272         != 0 for prec == 2.
2273         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2274         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2275         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2276         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2277         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2278         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2279         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2280         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2281         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2282         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2283         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2284         * math/libm-test.inc (cos_test): Add more tests and enable more
2285         tests for long double.
2286         (sin_test): Likewise.
2287         (sincos_test): Likewise.
2288         * sysdeps/i386/fpu/libm-test-ulps: Update.
2289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2290
2291 2012-03-16  David S. Miller  <davem@davemloft.net>
2292
2293         * sysdeps/sparc/fpu/math_private.h: New file.
2294
2295 2012-03-15  David S. Miller  <davem@davemloft.net>
2296
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2298         file.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2301         file.
2302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2308         sysdep routines.
2309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2310
2311         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2312         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2313
2314         * sysdeps/sparc/sparc-ifunc.h: New file.
2315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2316         sparc-ifunc.h
2317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2319         Likewise.
2320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2321         Likewise.
2322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2326         Likewise.
2327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2332         Likewise.
2333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2334         Likewise.
2335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2341         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2343         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2353         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2354         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2355         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2356         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2357         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2358         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2359
2360 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2361
2362         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2363         scaling.
2364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2365
2366 2012-03-15  Andreas Jaeger  <aj@suse.de>
2367
2368         [BZ #13852]
2369         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2370         ieee754/flt-32 implementation for sin, cos and sincos.
2371         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2372         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2373         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2374         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2375         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2376         ieee754/flt-32 implementation for tan.
2377
2378         * math/libm-test.inc (cos_test): Enable some large input tests for
2379         float as well
2380         (sin_test): Likewise.
2381         (sincos_test): Likewise.
2382         (tan_test): Add tests for large input.
2383
2384         * sysdeps/i386/fpu/libm-test-ulps: Update.
2385
2386 2012-03-15  Andreas Jaeger  <aj@suse.de>
2387
2388         [BZ #13658]
2389         * math/libm-test.inc (cos_test): Add more test cases.
2390         (sin_test): Likewise.
2391         (sincos_test): Likewise.
2392
2393 2012-03-15  Andreas Jaeger  <aj@suse.de>
2394
2395         [BZ #13837]
2396         * math/libm-test.inc (cos_test): Add a test case for large input
2397         value.
2398         (sin_test): Likewise.
2399         (sincos_test): Likewise.
2400
2401 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2402         Joseph Myers  <joseph@codesourcery.com>
2403
2404         [BZ #13658]
2405         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2406         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2407         * sysdeps/i386/fpu/branred.c: Likewise.
2408         * sysdeps/i386/fpu/dosincos.c: Likewise.
2409         * sysdeps/i386/fpu/mpa.c: Likewise.
2410         * sysdeps/i386/fpu/s_cos.S: Likewise.
2411         * sysdeps/i386/fpu/s_sin.S: Likewise.
2412         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2413         * sysdeps/i386/fpu/sincos32.c: Likewise.
2414
2415         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2416         Define.
2417         (libc_feupdateenv_53bit): Define.
2418         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2419         Define.
2420         (libc_feupdateenv_53bit): Define.
2421
2422         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2423         53 bit (without extend i386 double precision).
2424
2425         * math/libm-test.inc (sincos_test): Add tests for large input.
2426         (sin): Likewise.
2427         (cos): Likewise.
2428
2429         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2430
2431 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2432
2433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2434
2435 2012-03-15  David S. Miller  <davem@davemloft.net>
2436
2437         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2438         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2439         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2440         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2453         file.
2454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2456         file.
2457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2459         file.
2460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2462         file.
2463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2465         fmin/fmax sysdep routines.
2466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2467
2468 2012-03-14  David S. Miller  <davem@davemloft.net>
2469
2470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2474         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2475         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2476         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2490         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2493         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2495         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2496         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2497         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2498         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2499         routines.
2500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2501         file.
2502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2504         file.
2505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2507         file.
2508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2510         file.
2511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2513         file.
2514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2516         file.
2517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2518         file.
2519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2520         file.
2521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2522         file.
2523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2524         New file.
2525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2526         file.
2527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2528         file.
2529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2531         file.
2532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2534         file.
2535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2537         file.
2538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2540         VIS3 routines.
2541
2542         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2543         New file.
2544
2545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2546
2547         * sysdeps/sparc/configure.in: New file.
2548         * sysdeps/sparc/configure: Generate.
2549         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2550         * configure: Regenerate.
2551         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2552         * config.make.in (have-as-vis3): New.
2553         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2554         available use -Av9d instead of -Av9a.
2555         * sysdeps/sparc/sparc64/Makefile: Likewise.
2556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2558         New file.
2559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2560         file.
2561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2562         New file.
2563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2564         file.
2565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2566         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2567         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2568         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2570
2571         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2572         fzeros/fnegs to load 0x80000000 into a float register instead of
2573         using the stack.
2574         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2575
2576 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2577
2578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2579         bits/syscall.h.
2580         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2581         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2582         ($(inst_includedir)/bits/syscall.h): Remove rule.
2583         ($(objpfx)bits/syscall.d): Include instead of
2584         $(objpfx)syscall-list.d.
2585         (generated): Change syscall-list.h and syscall-list.d to
2586         bits/syscall.h and bits/syscall.d.
2587
2588 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2589
2590         [BZ #13846]
2591         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2592
2593 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2594
2595         [BZ #13841]
2596         * math/s_csqrt.c: Include <float.h>.
2597         (__csqrt): Scale large or subnormal inputs.
2598         * math/s_csqrtf.c: Likewise.
2599         * math/s_csqrtl.c: Likewise.
2600         * math/libm-test.inc (csqrt_test): Add more tests.
2601         * sysdeps/i386/fpu/libm-test-ulps: Update.
2602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603
2604         [BZ #13840]
2605         * math/libm-test.inc (hypot_test): Add more tests.
2606
2607 2012-03-13  David S. Miller  <davem@davemloft.net>
2608
2609         [BZ #13840]
2610         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2611         double-precision for the calculation instead of scaling.
2612
2613 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2614
2615         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2616         manipulate bits before adding and subtracting TWO52[sx].
2617         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2618         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2619         Likewise.
2620         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2621
2622 2012-03-13  David S. Miller  <davem@davemloft.net>
2623
2624         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2625         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2626         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2627         rtld-global-offsets.h
2628         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2629
2630         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2631         large parameters.
2632
2633         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2634
2635         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2636         'err' in the ifdef scope in which it is actually used.
2637
2638         * nss/nss_db/db-init.c: Include string.h
2639
2640 2012-03-12  David S. Miller  <davem@davemloft.net>
2641
2642         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2643         masking out of the most significant byte of random value used.
2644         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2645         Fix coding style in previous change.
2646
2647         * sysdeps/unix/sysv/linux/kernel-features.h
2648         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2649         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2650         expression.
2651         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2652         later.
2653
2654 2012-03-11  David S. Miller  <davem@davemloft.net>
2655
2656         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2657         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2658         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2659         for 'resultvar' otherwise things get truncated on 64-bit.
2660
2661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2662         Fix masking out of the most significant byte of random value used.
2663
2664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2665
2666 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2667
2668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2669
2670 2012-03-09  David S. Miller  <davem@davemloft.net>
2671
2672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2673         variables with appropriate CPP guards.
2674         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2675         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2676         on resulting framesize and the management of the outregs buffer for pltexit.
2677         Preserve floating point return values across _dl_call_pltexit call.
2678         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2679         framesize and the management of the outregs buffer for pltexit.
2680         Preserve floating point return values across _dl_call_pltexit
2681         call.
2682         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2683         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2684         (print_exit): Fix format string for return register value.
2685
2686 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2687
2688         * sunrpc/Makefile (others): Add rpcgen.
2689         ($(objpfx)rpcgen): Remove special build rule and dependency on
2690         libc.
2691         * sunrpc/rpcgen.c: New file.
2692
2693 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2694
2695         [BZ #13673]
2696         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2697         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2698         * sysdeps/i386/crti.S: Likewise.
2699         * sysdeps/i386/crtn.S: Likewise.
2700         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2701         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2702         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2703         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2704         * sysdeps/sh/crti.S: Likewise.
2705         * sysdeps/sh/crtn.S: Likewise.
2706         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2707
2708         [BZ #13673]
2709         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2710         with URL.
2711         * locale/programs/locfile-kw.gperf: Likewise.
2712         * locale/programs/charmap-kw.h: Regenerated.
2713         * locale/programs/locfile-kw.h: Likewise.
2714
2715         [BZ #13673]
2716         * intl/plural.y: Replace FSF snail mail address with URL.
2717         * intl/plural.c: Regenerated.
2718
2719 2012-03-09  Richard Henderson  <rth@twiddle.net>
2720
2721         * include/math_private.h: Remove file.
2722         * math/math_private.h: Move file ...
2723         * sysdeps/generic/math_private.h: ... here.
2724
2725         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2726         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2727         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2728
2729         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2730         and <math_private.h>.
2731         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2732         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2733         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2734         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2735         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2736         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2737         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2738         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2739         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2742         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2743         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2745         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2748         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2749         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2750         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2755         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2756         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2757         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2760         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2761         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2762         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2763         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2766         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2767         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2775         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2776         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2777         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2778         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2780         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2781         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2782         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2783         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2784         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2785         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2786         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2787         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2788         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2789         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2790         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2791         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2792         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2793         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2794         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2795         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2796         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2797         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2798         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2799         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2800         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2801         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2802         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2803         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2804         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2805         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2810         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2811         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2812         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2813         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2814         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2815         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2817         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2818         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2819         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2820         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2821         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2822         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2823         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2824         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2825         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2826         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2827         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2828         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2829         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2830         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2831         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2832         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2833         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2834         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2835         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2836         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2837         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2838         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2839         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2841         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2842         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2843         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2844         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2845         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2846         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2847         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2848         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2849         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2850         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2851         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2852         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2853         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2854         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2855         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2856         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2857         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2858         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2859         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2860         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2861         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2862         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2863         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2864         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2865         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2866         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2867         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2868         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2869         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2870         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2871         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2872         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2873         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2874         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2875         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2876         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2877         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2878         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2879         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2880         * sysdeps/ieee754/k_standard.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2901         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2903         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2904         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2905         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2907         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2908         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2909         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2911         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2912         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2913         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2915         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2916         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2917         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2918         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2919         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2920         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2921         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2922         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2924         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2925         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2942         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2944         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2947         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2951         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2955         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2956         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2957         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2958         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2961         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2962         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2963         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2965         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2966         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2967         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2968         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2973         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2985         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2986         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2987         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2988         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2989         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2991         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2992         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2993         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2994         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2996         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2997         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3000         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3002         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3003         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3006         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3007         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3008         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3009         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3010         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3011         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3012         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3013         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3014         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3015         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3016         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3017         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3018         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3019         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3020         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3021         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3022         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3023         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3024         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3025         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3026         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3027         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3028         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3029         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3030         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3031         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3032         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3033         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3034         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3035         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3036         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3037         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3038         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3039         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3040         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3041         * sysdeps/ieee754/s_lib_version.c: Likewise.
3042         * sysdeps/ieee754/s_matherr.c: Likewise.
3043         * sysdeps/ieee754/s_signgam.c: Likewise.
3044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3046         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3047         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3048         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3049         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3050         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3051         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3052         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3053         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3054         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3055         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3056         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3057         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3058         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3059         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3060         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3061         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3062         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3065
3066 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3067
3068         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3069         * sunrpc/rpc_main.c: Likewise.
3070         * sunrpc/rpc_svcout.c: Likewise.
3071
3072 2012-03-09  David S. Miller  <davem@davemloft.net>
3073
3074         * include/math_private.h: New file.
3075
3076 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3077
3078         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3079         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3080         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3081         from <bits/socket_type.h>.
3082         (enum __socket_type): Don't define here.
3083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3085         bits/socket_type.h.
3086
3087         [BZ #13566]
3088         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3089         checking __USE_GNU.
3090
3091         * Makerules ($(inst_includedir)/%.h): New rule.
3092         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3093         (install-others): Remove variable setting.
3094         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3095
3096 2012-03-08  Richard Henderson  <rth@twiddle.net>
3097
3098         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3099         from macro to inline function; merge with the
3100         !__LIBC_INTERNAL_MATH_INLINES version.
3101         (__ieee754_sqrtf): Likewise.
3102
3103         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3104         to inline function.
3105         (__rintf, __floor, __floorf): Likewise.
3106
3107         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3108         macro to inline function.
3109         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3110
3111         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3112         not <math/math_private.h>.
3113
3114 2012-03-08  David S. Miller  <davem@davemloft.net>
3115
3116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3117         copyright year.
3118         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3119
3120 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
3121
3122         * resolv/gai_misc.c (handle_requests): Fix struct timespec
3123         normalization.
3124         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3125         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3126
3127 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
3128
3129         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
3130         be defined individually, they must be defined as a block.  Define
3131         S for printing a string instead of hidint the different by using a
3132         macro for adding the 'l'.
3133         * stdio-common/tst-fphex-wide.c: Adjust.
3134
3135 2012-03-07  Marek Polacek  <polacek@redhat.com>
3136
3137         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3138
3139 2012-03-08  Marek Polacek  <polacek@redhat.com>
3140
3141         [BZ #13806]
3142         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3143         * stdio-common/tst-fphex.c: Define a few macros to make the
3144         test reusable.  Use them.
3145         * stdio-common/tst-fphex-wide.c: New file.
3146
3147 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3148
3149         [BZ #6911]
3150         * manual/macros.texi (gnusystems): New macro.
3151         (nongnusystems): Likewise.
3152         (gnulinuxhurdsystems): Likewise.
3153         (gnuhurdsystems): Likewise..
3154         (gnulinuxsystems): Likewise.
3155         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3156         variants of the GNU system, not "GNU system".
3157         * manual/conf.texi: Likewise.
3158         * manual/errno.texi: Likewise.  Update example of errno macro
3159         expansion.
3160         * manual/filesys.texi: Likewise.
3161         (getumask): Document as specific to GNU/Hurd.
3162         * manual/install.texi: Likewise.  Reword some references to
3163         GNU/Linux.
3164         * manual/intro.texi: Likewise.
3165         * manual/io.texi: Likewise.
3166         (File Name Portability): Detail which constraints are inapplicable
3167         to all GNU systems and which are only inapplicable to GNU/Hurd.
3168         * manual/job.texi: Likewise.
3169         * manual/llio.texi: Likewise.
3170         (O_NOCTTY): Document as present on GNU/Linux.
3171         * manual/maint.texi: Likewise.
3172         * manual/memory.texi: Likewise.
3173         * manual/pattern.texi: Likewise.
3174         * manual/pipe.texi: Likewise.
3175         * manual/process.texi: Likewise.
3176         * manual/resource.texi: Likewise.
3177         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3178         child on GNU/Hurd.
3179         * manual/setjmp.texi: Likewise.
3180         * manual/signal.texi: Likewise.
3181         * manual/startup.texi: Likewise.
3182         * manual/stdio.texi: Likewise.
3183         * manual/terminal.texi: Likewise.
3184         (ONLCR): Document as POSIX.
3185         (OXTABS): Document availability on GNU/Linux as XTABS.
3186         (ONOEOT): Document availability separately from other bits.
3187         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3188         * manual/time.texi: Likewise.
3189         * manual/users.texi: Likewise.
3190         * INSTALL: Regenerated.
3191         * sysdeps/gnu/errlist.c: Regenerated.
3192
3193         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3194         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3195         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3196         puts.
3197         * configure: Regenerated.
3198
3199 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3200
3201         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3202         default includes instead of AC_HEADER_CHECK.
3203         * sysdeps/i386/configure: Regenerated.
3204
3205         [BZ #10716]
3206         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3207         * math/s_cacoshf.c (__cacoshf): Likewise.
3208         * math/s_cacoshl.c (__cacoshl): Likewise.
3209         * math/s_casinh.c (__casinh): Set signs of result from argument.
3210         * math/s_casinhf.c (__casinhf): Likewise.
3211         * math/s_casinhl.c (__casinhl): Likewise.
3212         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3213         (casinh_test): Add more tests.
3214         * sysdeps/i386/fpu/libm-test-ulps: Update.
3215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3216
3217 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3218
3219         * po/zh_TW.po: Update from translation team.
3220
3221         * login/Makefile (distribute): Remove variable.
3222         * catgets/Makefile: Likewise.
3223         * mach/Makefile: Likewise.
3224         * malloc/Makefile: Likewise.
3225         * misc/Makefile: Likewise.
3226         * iconv/Makefile: Likewise.
3227         * nscd/Makefile: Likewise.
3228         * hurd/Makefile: Likewise.
3229         * manual/Makefile: Likewise.
3230         * locale/Makefile: Likewise.
3231         * intl/Makefile: Likewise.
3232         * conform/Makefile: Likewise.
3233         * nss/Makefile: Likewise.
3234         * time/Makefile: Likewise.
3235         * soft-fp/Makefile: Likewise.
3236         * dirent/Makefile: Likewise.
3237         * gmon/Makefile: Likewise.
3238         * po/Makefile: Likewise.
3239         * rt/Makefile: Likewise.
3240         * socket/Makefile: Likewise.
3241         * math/Makefile: Likewise.
3242         * signal/Makefile: Likewise.
3243         * debug/Makefile: Likewise.
3244         * elf/Makefile: Likewise.
3245         * timezone/Makefile: Likewise.
3246         * stdlib/Makefile: Likewise.
3247         * iconvdata/Makefile: Likewise.
3248         * sunrpc/Makefile: Likewise.
3249         * io/Makefile: Likewise.
3250         * argp/Makefile: Likewise.
3251         * inet/Makefile: Likewise.
3252         * hesiod/Makefile: Likewise.
3253         * grp/Makefile: Likewise.
3254         * csu/Makefile: Likewise.
3255         * wctype/Makefile: Likewise.
3256         * crypt/Makefile: Likewise.
3257         * libio/Makefile: Likewise.
3258         * string/Makefile: Likewise.
3259         * nis/Makefile: Likewise.
3260         * resolv/Makefile: Likewise.
3261         * stdio-common/Makefile: Likewise.
3262         * wcsmbs/Makefile: Likewise.
3263         * dlfcn/Makefile: Likewise.
3264         * posix/Makefile: Likewise.
3265
3266         [BZ #6959]
3267         * timezone/Makefile: Don't install timezone files, just the programs
3268         and scripts.
3269
3270 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3271
3272         * nss/databases.def: Add missing gshadow entry.
3273
3274         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3275
3276 2012-03-06  Marek Polacek  <polacek@redhat.com>
3277
3278         [BZ #13726]
3279         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3280         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3281         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3282         * stdio-common/tst-long-dbl-fphex.c: New file.
3283
3284 2012-03-06  David S. Miller  <davem@davemloft.net>
3285
3286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3287         (set_obp_int): New function.
3288         (get_obp_int): New function.
3289         (__get_clockfreq_via_dev_openprom): Likewise.
3290         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3291         Avoid unused variable warnings on 'val' and use builtin_expect.
3292         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3293         __builtin_expect.
3294         (INLINE_CLONE_SYSCALL): Likewise.
3295
3296 2012-03-05  David S. Miller  <davem@davemloft.net>
3297
3298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299
3300 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3301
3302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3303
3304         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3305         only for |x| >= 40.
3306         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3307
3308 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3309
3310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3311         Replace gettimeofday with __vdso_gettimeofday.
3312
3313         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3314         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3315         __vdso_clock_gettime and __vdso_getcpu.
3316
3317         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3318         time with __vdso_time.
3319
3320 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3321
3322         * manual/lang.texi (size_t): Note types to which size_t may be
3323         equivalent with the GNU C Library, but do not describe when
3324         differences between them are significant.
3325
3326 2012-03-05  Andreas Jaeger  <aj@suse.de>
3327
3328         * sysdeps/i386/fpu/libm-test-ulps: Update.
3329
3330 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3331
3332         [BZ #3976]
3333         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3334         (__ieee754_pow): Save and restore rounding mode and use
3335         round-to-nearest for main computations.
3336         * math/libm-test.inc (pow_test_tonearest): New function.
3337         (pow_test_towardzero): Likewise.
3338         (pow_test_downward): Likewise.
3339         (pow_test_upward): Likewise.
3340         (main): Call the new functions.
3341         * sysdeps/i386/fpu/libm-test-ulps: Update.
3342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3343
3344         [BZ #3976]
3345         * math/libm-test.inc (cosh_test_tonearest): New function.
3346         (cosh_test_towardzero): Likewise.
3347         (cosh_test_downward): Likewise.
3348         (cosh_test_upward): Likewise.
3349         (sinh_test_tonearest): Likewise.
3350         (sinh_test_towardzero): Likewise.
3351         (sinh_test_downward): Likewise.
3352         (sinh_test_upward): Likewise.
3353         (main): Call the new functions.
3354         * sysdeps/i386/fpu/libm-test-ulps: Update.
3355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3356
3357 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3358
3359         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3360         default stack guard is set in last bytes.
3361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3362
3363 2012-03-05  Kees Cook  <keescook@chromium.org>
3364
3365         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3366
3367         [BZ #13656]
3368         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3369         possibly allocate from heap instead of stack.
3370         * stdio-common/bug-vfprintf-nargs.c: New file.
3371         * stdio-common/Makefile (tests): Add nargs overflow test.
3372
3373 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3374
3375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3376
3377 2012-03-03  Marek Polacek  <polacek@redhat.com>
3378
3379         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3380         * math/math_private.h: Likewise.
3381         * stdlib/tst-strtod.c: Likewise.
3382         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3383         * sysdeps/x86_64/bits/atomic.h: Likewise.
3384
3385 2012-03-02  David S. Miller  <davem@davemloft.net>
3386
3387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3391         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3392         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3393         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3394         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3395
3396 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3397
3398         [BZ #13792]
3399         * manual/examples/README: New file, says the example source files
3400         can be used under GPL>=2.
3401         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3402         line containing just "*/".
3403         * manual/examples/add.c: Add copyright header (GPL>=2).
3404         * manual/examples/argp-ex1.c: Likewise.
3405         * manual/examples/argp-ex2.c: Likewise.
3406         * manual/examples/argp-ex3.c: Likewise.
3407         * manual/examples/argp-ex4.c: Likewise.
3408         * manual/examples/atexit.c: Likewise.
3409         * manual/examples/db.c: Likewise.
3410         * manual/examples/dir.c: Likewise.
3411         * manual/examples/dir2.c: Likewise.
3412         * manual/examples/execinfo.c: Likewise.
3413         * manual/examples/filecli.c: Likewise.
3414         * manual/examples/filesrv.c: Likewise.
3415         * manual/examples/fmtmsgexpl.c: Likewise.
3416         * manual/examples/genpass.c: Likewise.
3417         * manual/examples/inetcli.c: Likewise.
3418         * manual/examples/inetsrv.c: Likewise.
3419         * manual/examples/isockad.c: Likewise.
3420         * manual/examples/longopt.c: Likewise.
3421         * manual/examples/memopen.c: Likewise.
3422         * manual/examples/memstrm.c: Likewise.
3423         * manual/examples/mkfsock.c: Likewise.
3424         * manual/examples/mkisock.c: Likewise.
3425         * manual/examples/mygetpass.c: Likewise.
3426         * manual/examples/pipe.c: Likewise.
3427         * manual/examples/popen.c: Likewise.
3428         * manual/examples/rprintf.c: Likewise.
3429         * manual/examples/search.c: Likewise.
3430         * manual/examples/select.c: Likewise.
3431         * manual/examples/setjmp.c: Likewise.
3432         * manual/examples/sigh1.c: Likewise.
3433         * manual/examples/sigusr.c: Likewise.
3434         * manual/examples/stpcpy.c: Likewise.
3435         * manual/examples/strdupa.c: Likewise.
3436         * manual/examples/strftim.c: Likewise.
3437         * manual/examples/strncat.c: Likewise.
3438         * manual/examples/subopt.c: Likewise.
3439         * manual/examples/swapcontext.c: Likewise.
3440         * manual/examples/termios.c: Likewise.
3441         * manual/examples/testopt.c: Likewise.
3442         * manual/examples/testpass.c: Likewise.
3443         * manual/examples/timeval_subtract.c: Likewise.
3444
3445         [BZ #13792]
3446         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3447         function to ...
3448         * manual/timeval_subtract.c.texi: ... here, new file.
3449
3450 2012-03-02  David S. Miller  <davem@davemloft.net>
3451
3452         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3453
3454 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3455
3456         [BZ #3976]
3457         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3458         (__sin): Save and restore rounding mode and use round-to-nearest
3459         for all computations.
3460         (__cos): Save and restore rounding mode and use round-to-nearest
3461         for all computations.
3462         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3463         <fenv.h>.
3464         (tan): Save and restore rounding mode and use round-to-nearest for
3465         all computations.
3466         * math/libm-test.inc (cos_test_tonearest): New function.
3467         (cos_test_towardzero): Likewise.
3468         (cos_test_downward): Likewise.
3469         (cos_test_upward): Likewise.
3470         (sin_test_tonearest): Likewise.
3471         (sin_test_towardzero): Likewise.
3472         (sin_test_downward): Likewise.
3473         (sin_test_upward): Likewise.
3474         (tan_test_tonearest): Likewise.
3475         (tan_test_towardzero): Likewise.
3476         (tan_test_downward): Likewise.
3477         (tan_test_upward): Likewise.
3478         (main): Call the new functions.
3479         * sysdeps/i386/fpu/libm-test-ulps: Update.
3480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481
3482         [BZ #10135]
3483         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3484         small n, then large n, before computing and testing k+n.
3485         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3487         Likewise.
3488         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3489         Likewise.
3490         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3491         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3492         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3493         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3498         * math/libm-test.inc (scalbn_test): Add more tests.
3499         (scalbln_test): Likewise.
3500
3501         * manual/filesys.texi (mode_t): Describe constraints on size and
3502         signedness, not exact equivalence to a particular type.
3503         (ino_t): Likewise.
3504         (ino64_t): Likewise.
3505         (dev_t): Likewise.
3506         (nlink_t): Likewise.
3507         (blkcnt_t): Likewise.
3508         (blkcnt64_t): Likewise.
3509         * manual/llio.texi (off_t): Likewise.
3510
3511         [BZ #3976]
3512         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3513         (__ieee754_exp): Save and restore rounding mode and use
3514         round-to-nearest for all computations.
3515         * math/libm-test.inc (exp_test_tonearest): New function.
3516         (exp_test_towardzero): Likewise.
3517         (exp_test_downward): Likewise.
3518         (exp_test_upward): Likewise.
3519         (main): Call the new functions.
3520         * sysdeps/i386/fpu/libm-test-ulps: Update.
3521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3522
3523 2012-03-01  Chris Demetriou  <cgd@google.com>
3524
3525         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3526         have predictable order.
3527
3528 2012-03-01  David S. Miller  <davem@davemloft.net>
3529
3530         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3531
3532         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3533         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3534         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3535         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3536
3537         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3538         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3539         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3541         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3542         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3543         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3544         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3545         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3546
3547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3548
3549         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3550         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3551         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3552
3553         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3554         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3555         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3556         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3557         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3558         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3559         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3560         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3561         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3562         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3563         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3566         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3567         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3569         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3570         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3571         * sysdeps/sparc/elf/configure: Regenerated.
3572
3573 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3574
3575         * configure.in (AS, LD): Require binutils 2.20 or later.
3576         * configure: Regenerated.
3577         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3578         as required minimum version.
3579         * INSTALL: Regenerated.
3580
3581         [BZ #2541]
3582         [BZ #4108]
3583         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3584         before squaring exponent.
3585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3586         bottom long double and 27 bits of top long double before squaring
3587         exponent.
3588         * math/libm-test.inc (erfc_test): Add more tests.
3589         * sysdeps/i386/fpu/libm-test-ulps: Update.
3590         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3592
3593 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3594
3595         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3596         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3597         containing bit-fields.
3598         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3599         * soft-fp/single.h (_FP_UNION_S): Likewise.
3600         * soft-fp/double.h (_FP_UNION_D): Likewise.
3601
3602 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3603
3604         [BZ #13786]
3605         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3606         not include ../strcmp.S.
3607         [USE_AS_STRNCASECMP_L]: Likewise.
3608         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3609         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3610         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3611         (__strncasecmp_l_ia32): Define as alias to
3612         __strncasecmp_l_nonascii.
3613
3614         [BZ #5794]
3615         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3616         * sysdeps/i386/fpu/libm-test-ulps: Update.
3617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618
3619         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621
3622 2012-02-29  Jeff Law  <law@redhat.com>
3623
3624         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3625         out of bounds read.
3626
3627 2012-02-29  Marek Polacek  <polacek@redhat.com>
3628
3629         [BZ #13706]
3630         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3631         * elf/Makefile: Add rules to run tst-unused-dep.out.
3632
3633 2012-02-28  David S. Miller  <davem@davemloft.net>
3634
3635         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3636         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3638         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3639         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3640         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3641
3642 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3643
3644         * math/libm-test.inc (llround_test): Move one test from
3645         lround_test.  Use TEST_f_L in moved test.
3646         (lround_test): Move misplaced test to llround_test.  Add testcase
3647         from bug 2561.
3648
3649 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3650
3651         * sysdeps/x86_64/fpu/e_expf.S: New file.
3652         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3653
3654 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3655
3656         [BZ #13637]
3657         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3658         of remain_len that may cause incomplete multi-byte character and
3659         false match.
3660         * posix/bug-regex33.c: New file.
3661         * posix/Makefile (tests): Add bug-regex33.
3662
3663 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3664
3665         * manual/macros.texi: New file.
3666         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3667         * manual/libc.texinfo: Include macros.texi.
3668         * manual/creatute.texi: Likewise.
3669         * manual/install.texi: Likewise.
3670         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3671         @glibcadj{} in references to the GNU C Library.
3672         * manual/charset.texi: Likewise.
3673         * manual/conf.texi: Likewise.
3674         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3675         when not using those macros.
3676         * manual/creature.texi: Likewise.
3677         * manual/crypt.texi: Likewise.
3678         * manual/errno.texi: Likewise.
3679         * manual/filesys.texi: Likewise.
3680         * manual/header.texi: Likewise.
3681         * manual/install.texi: Likewise.
3682         * manual/intro.texi: Likewise.
3683         * manual/io.texi: Likewise.
3684         * manual/job.texi: Likewise.
3685         * manual/lang.texi: Likewise.
3686         * manual/libc.texiinfo: Likewise.
3687         * manual/llio.texi: Likewise.
3688         * manual/locale.texi: Likewise.
3689         * manual/maint.texi: Likewise.
3690         * manual/math.texi: Likewise.
3691         * manual/memory.texi: Likewise.
3692         * manual/message.texi: Likewise.
3693         * manual/nss.texi: Likewise.
3694         * manual/pattern.texi: Likewise.
3695         * manual/process.texi: Likewise.
3696         * manual/resource.texi: Likewise.
3697         * manual/search.texi: Likewise.
3698         * manual/setjmp.texi: Likewise.
3699         * manual/signal.texi: Likewise.
3700         * manual/socket.texi: Likewise.
3701         * manual/startup.texi: Likewise.
3702         * manual/stdio.texi: Likewise.
3703         * manual/string.texi: Likewise.
3704         * manual/sysinfo.texi: Likewise.
3705         * manual/syslog.texi: Likewise.
3706         * manual/terminal.texi: Likewise.
3707         * manual/time.texi: Likewise.
3708         * manual/users.texi: Likewise.
3709         * INSTALL: Regenerated.
3710         * NOTES: Regenerated.
3711         * sysdeps/gnu/errlist.c: Regenerated.
3712
3713 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3714
3715         * include/dirent.h: Include <dirstream.h> before
3716         <dirent/dirent.h>.
3717
3718 2012-02-28  David S. Miller  <davem@davemloft.net>
3719
3720         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3721         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3722         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3723         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3724
3725 2012-02-27  David S. Miller  <davem@davemloft.net>
3726
3727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3729         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3730         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3731
3732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3733         frame pointer instead of stack pointer relative arg slot.
3734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3735         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3736         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3737
3738 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3739
3740         [BZ #3992]
3741         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3742
3743 2012-02-27  David S. Miller  <davem@davemloft.net>
3744
3745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3749         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3750         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3751         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3752         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3753
3754 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3755
3756         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3757         later.  Allow versions 5-9.
3758         * configure: Regenerated.
3759         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3760         required minimum version and 4.6 as recommended version.  Do not
3761         mention bugs in GCC 2.7 and 2.8.
3762         * INSTALL: Regenerated.
3763
3764 2012-02-27  David S. Miller  <davem@davemloft.net>
3765
3766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3770         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3771         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3772         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3773         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3774
3775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3776         manipulate bits before adding and subtracting TWO112[sx].
3777         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3778
3779 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3780
3781         [BZ #13775]
3782         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3783         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3784         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3785         being in POSIX, because they are in 1003.1-2008.
3786
3787         * rt/tst-aio.c: Include <fcntl.h>.
3788         * rt/tst-aio7.c: Likewise.
3789         * rt/tst-aio64.c: Likewise.
3790
3791         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3792
3793 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3794
3795         * manual/install.texi (--with-headers): Describe headers as
3796         interface headers, not private headers.
3797         (Specific advice for GNU/Linux systems): Describe use of headers
3798         from "make headers_install", not private headers from older
3799         kernels.
3800         * INSTALL: Regenerated.
3801         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3802         Change to 2.6.19.
3803         * sysdeps/unix/sysv/linux/configure: Regenerated.
3804
3805         * manual/llio.texi (fclean): Remove documentation.
3806
3807         * manual/Makefile (libc-texi-generated): New variable.  Include
3808         version.texi.
3809         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3810         $(libc-texi-generated), not duplicated list of files.
3811         (version.texi, stamp-version): New rules.
3812         (realclean): Remove $(libc-texi-generated), not individual files
3813         from that list.  Do not remove dir-add.texinfo.
3814         * manual/libc.texinfo: Comment out uses of edition numbers and
3815         references to printed manual.  Remove last-updated dates.
3816         (EDITION): Comment out.
3817         (ISBN): Likewise.
3818         (VERSION, UPDATED): Remove.
3819         (version.texi): Include.
3820
3821 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3822
3823         * sysdeps/posix/spawni.c: Include <signal.h>.
3824         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3825         * sysdeps/pthread/aio_fsync.c: Likewise.
3826
3827 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3828
3829         * conform/Makefile (tests): Run only when not cross-compiling and
3830         when fast-check is not defined.
3831
3832         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3833         * conform/data/limits.h-data: Fixes for POSIX2008.
3834         * conform/run-conformtest.sh: Run all tests.
3835         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3836         headers.
3837         * include/bits/dlfcn.h: Likewise.
3838         * include/langinfo.h: Likewise.
3839         * include/monetary.h: Likewise.
3840         * include/sys/poll.h: Likewise.
3841
3842         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3843         for __USE_GNU.
3844         * posix/spawn.h: Define __need_sigset_t.
3845         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3846         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3847         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3848         to get sigevent_t only.
3849         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3850         only for __USE_GNU.
3851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3852         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3853         process_vm_writev only for __USE_GNU.
3854         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3855
3856         * conform/Makefile: For now ignore errors from run-conformtest.
3857         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3858         POSIX to avoid namespace pollution.  Don't prepend headers.
3859         * conform/data/aio.h-data: Fixes for POSIX testing.
3860         * conform/data/fcntl.h-data: Likewise.
3861         * conform/data/glob.h-data: Likewise.
3862         * conform/data/grp.h-data: Likewise.
3863         * conform/data/pthread.h-data: Likewise.
3864         * conform/data/pwd.h-data: Likewise.
3865         * conform/data/signal.h-data: Likewise.
3866         * conform/data/spawn.h-data: Likewise.
3867         * conform/data/stdio.h-data: Likewise.
3868         * conform/data/stdlib.h-data: Likewise.
3869         * conform/data/stropts.h-data: Likewise.
3870         * conform/data/sys/mman.h-data: Likewise.
3871         * conform/data/sys/stat.h-data: Likewise.
3872         * conform/data/sys/types.h-data: Likewise.
3873         * conform/data/sys/wait.h-data: Likewise.
3874         * conform/data/time.h-data: Likewise.
3875         * conform/data/unistd.h-data: Likewise.
3876         * conform/data/utime.h-data: Likewise.
3877
3878         * io/sys/stat.h: fchmod was always in POSIX.
3879         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3880         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3881         * rt/aio.h: Define __need_timespec before including <time.h>.
3882         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3883         struct.  Add forward declaration of pthread_attr_t and use it in
3884         sigevent.
3885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3887         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3888         always remove CLK_TCK definition.
3889
3890 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3891
3892         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3893
3894 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3895
3896         * conform/run-conformtest.sh: New file.
3897         * conform/Makefile: Run run-conformtest for tests.
3898         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3899         support.
3900
3901         * conform/data/uchar.h-data: New file.
3902         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3903         * conform/data/arpa/inet.h-data: Likewise.
3904         * conform/data/assert.h-data: Likewise.
3905         * conform/data/complex.h-data: Likewise.
3906         * conform/data/cpio.h-data: Likewise.
3907         * conform/data/ctype.h-data: Likewise.
3908         * conform/data/dirent.h-data: Likewise.
3909         * conform/data/dlfcn.h-data: Likewise.
3910         * conform/data/errno.h-data: Likewise.
3911         * conform/data/fcntl.h-data: Likewise.
3912         * conform/data/float.h-data: Likewise.
3913         * conform/data/fmtmsg.h-data: Likewise.
3914         * conform/data/fnmatch.h-data: Likewise.
3915         * conform/data/ftw.h-data: Likewise.
3916         * conform/data/glob.h-data: Likewise.
3917         * conform/data/grp.h-data: Likewise.
3918         * conform/data/iconv.h-data: Likewise.
3919         * conform/data/inttypes.h-data: Likewise.
3920         * conform/data/langinfo.h-data: Likewise.
3921         * conform/data/libgen.h-data: Likewise.
3922         * conform/data/limits.h-data: Likewise.
3923         * conform/data/locale.h-data: Likewise.
3924         * conform/data/math.h-data: Likewise.
3925         * conform/data/monetary.h-data: Likewise.
3926         * conform/data/mqueue.h-data: Likewise.
3927         * conform/data/ndbm.h-data: Likewise.
3928         * conform/data/net/if.h-data: Likewise.
3929         * conform/data/netdb.h-data: Likewise.
3930         * conform/data/netinet/in.h-data: Likewise.
3931         * conform/data/nl_types.h-data: Likewise.
3932         * conform/data/poll.h-data: Likewise.
3933         * conform/data/pthread.h-data: Likewise.
3934         * conform/data/pwd.h-data: Likewise.
3935         * conform/data/regex.h-data: Likewise.
3936         * conform/data/sched.h-data: Likewise.
3937         * conform/data/search.h-data: Likewise.
3938         * conform/data/semaphore.h-data: Likewise.
3939         * conform/data/setjmp.h-data: Likewise.
3940         * conform/data/signal.h-data: Likewise.
3941         * conform/data/spawn.h-data: Likewise.
3942         * conform/data/stdarg.h-data: Likewise.
3943         * conform/data/stdio.h-data: Likewise.
3944         * conform/data/stdlib.h-data: Likewise.
3945         * conform/data/string.h-data: Likewise.
3946         * conform/data/strings.h-data: Likewise.
3947         * conform/data/stropts.h-data: Likewise.
3948         * conform/data/sys/ipc.h-data: Likewise.
3949         * conform/data/sys/mman.h-data: Likewise.
3950         * conform/data/sys/msg.h-data: Likewise.
3951         * conform/data/sys/resource.h-data: Likewise.
3952         * conform/data/sys/select.h-data: Likewise.
3953         * conform/data/sys/sem.h-data: Likewise.
3954         * conform/data/sys/shm.h-data: Likewise.
3955         * conform/data/sys/socket.h-data: Likewise.
3956         * conform/data/sys/stat.h-data: Likewise.
3957         * conform/data/sys/statvfs.h-data: Likewise.
3958         * conform/data/sys/time.h-data: Likewise.
3959         * conform/data/sys/timeb.h-data: Likewise.
3960         * conform/data/sys/times.h-data: Likewise.
3961         * conform/data/sys/types.h-data: Likewise.
3962         * conform/data/sys/uio.h-data: Likewise.
3963         * conform/data/sys/un.h-data: Likewise.
3964         * conform/data/sys/utsname.h-data: Likewise.
3965         * conform/data/sys/wait.h-data: Likewise.
3966         * conform/data/syslog.h-data: Likewise.
3967         * conform/data/tar.h-data: Likewise.
3968         * conform/data/termios.h-data: Likewise.
3969         * conform/data/utime.h-data: Likewise.
3970         * conform/data/utmpx.h-data: Likewise.
3971         * conform/data/varargs.h-data: Likewise.
3972         * conform/data/wchar.h-data: Likewise.
3973         * conform/data/wctype.h-data: Likewise.
3974         * conform/data/wordexp.h-data: Likewise.
3975
3976         * include/stropts.h: New file.
3977         * include/uchar.h: New file.
3978         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3979         * include/assert.h: Likewise.
3980         * include/ctype.h: Likewise.
3981         * include/dirent.h: Likewise.
3982         * include/dlfcn.h: Likewise.
3983         * include/fcntl.h: Likewise.
3984         * include/fnmatch.h: Likewise.
3985         * include/glob.h: Likewise.
3986         * include/grp.h: Likewise.
3987         * include/libio.h: Likewise.
3988         * include/locale.h: Likewise.
3989         * include/math.h: Likewise.
3990         * include/net/if.h: Likewise.
3991         * include/netdb.h: Likewise.
3992         * include/netinet/in.h: Likewise.
3993         * include/pthread.h: Likewise.
3994         * include/pwd.h: Likewise.
3995         * include/regex.h: Likewise.
3996         * include/sched.h: Likewise.
3997         * include/search.h: Likewise.
3998         * include/setjmp.h: Likewise.
3999         * include/signal.h: Likewise.
4000         * include/stdio.h: Likewise.
4001         * include/stdlib.h: Likewise.
4002         * include/string.h: Likewise.
4003         * include/sys/cdefs.h: Likewise.
4004         * include/sys/mman.h: Likewise.
4005         * include/sys/msg.h: Likewise.
4006         * include/sys/resource.h: Likewise.
4007         * include/sys/select.h: Likewise.
4008         * include/sys/socket.h: Likewise.
4009         * include/sys/stat.h: Likewise.
4010         * include/sys/statvfs.h: Likewise.
4011         * include/sys/time.h: Likewise.
4012         * include/sys/times.h: Likewise.
4013         * include/sys/uio.h: Likewise.
4014         * include/sys/utsname.h: Likewise.
4015         * include/sys/wait.h: Likewise.
4016         * include/termios.h: Likewise.
4017         * include/time.h: Likewise.
4018         * include/ulimit.h: Likewise.
4019         * include/unistd.h: Likewise.
4020         * include/utime.h: Likewise.
4021         * include/wchar.h: Likewise.
4022         * include/wctype.h: Likewise.
4023         * include/wordexp.h: Likewise.
4024
4025         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4026
4027         * time/time.h: TIME_UTC must be a macro.
4028         Make timespec_get available for ISO C11 only as well.
4029
4030 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
4031
4032         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4033         Reported by Peng Haitao <penght@cn.fujitsu.com>.
4034
4035 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4036
4037         * configure.in: Use -o not -a in test for unsupported multi-arch.
4038
4039 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4040
4041         * manual/texinfo.tex: Update to version 2012-01-19.16.
4042
4043 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4044
4045         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4046
4047 2012-02-24  Roland McGrath  <roland@hack.frob.com>
4048
4049         [BZ #13738]
4050         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4051         * manual/fdl-1.3.texi: New file.
4052         * manual/fdl-1.1.texi: File removed.
4053
4054         [BZ #13738]
4055         * manual/libc.texinfo (FDL_VERSION): New @set.
4056         Use it for mention of FDL in cover text.
4057         (Documentation License): Use it in @include file name.
4058
4059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4060             Roland McGrath  <roland@hack.frob.com>
4061
4062         [BZ #5461]
4063         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4064         not LONG_LONG_MAX and LONG_LONG_MIN.
4065         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4066         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
4067         name.
4068         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4069
4070 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4071
4072         [BZ #2547]
4073         [BZ #11365]
4074         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4075         manipulate bits before adding and subtracting TWO23[sx].
4076         * math/libm-test.inc (nearbyint_test): Add more tests.
4077
4078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4079
4080         [BZ #2548]
4081         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4082         bits before adding and subtracting TWO23[sx].
4083         * math/libm-test.inc (rint_test): Add more tests.
4084         (rint_test_tonearest): Likewise.
4085         (rint_test_towardzero): Likewise.
4086         (rint_test_downward): Likewise.
4087         (rint_test_upward: Likewise.
4088
4089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4090
4091         [BZ #10110]
4092         * include/stdc-predef.h: New file.  Extracted from features.h.
4093         * include/features.h: Include stdc-predef.h.
4094         * Makefile (headers): Add stdc-predef.h.
4095         * CONFORMANCE (Compiler limitations): Update.
4096
4097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4098
4099         * manual/libc.texinfo (VERSION, UPDATED): Revert.
4100
4101 2012-02-21  David S. Miller  <davem@davemloft.net>
4102
4103         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4104         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4105
4106 2012-02-20  David S. Miller  <davem@davemloft.net>
4107
4108         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4109         using a normal save/restore sequence, rather than allocating a
4110         dummy stack frame just to store a frame pointer and restore.
4111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4112
4113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4114
4115         * manual/install.texi: Fix stray word in line-wrapped comment.
4116
4117 2012-02-20  David S. Miller  <davem@davemloft.net>
4118
4119         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4120         both binutils and gcc support GOTDATA.
4121
4122         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4123         "rd %pc" in the PIC register setup sequences.
4124
4125         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4126         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4127         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4128         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4129         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4131         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4132         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4134         (SYSCALL_ERROR_HANDLER): Likewise.
4135         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4136         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4138         (SYSCALL_ERROR_HANDLER): Likewise.
4139
4140         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4141         (HAVE_GCC_GOTDATA): New.
4142         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4143         relocation support in both binutils and gcc.
4144         * sysdeps/sparc/elf/configure: Regenerate.
4145
4146         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4147         * sysdeps/sparc/sparc32/elf/configure: Delete.
4148         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4149         * sysdeps/sparc/sparc64/elf/configure: Delete.
4150         * sysdeps/sparc/elf/configure.in: New file.
4151         * sysdeps/sparc/elf/configure: Generate.
4152
4153         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4154         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4155         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4156         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4157         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4158
4159 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4160
4161         * manual/install.texi: Do not mention specific glibc version
4162         numbers.
4163         * manual/libc.texinfo (VERSION, UPDATED): Update.
4164         (@copying): Use @copyright{} and range of years.
4165
4166 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4167
4168         [BZ #13695]
4169         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4170         [crti.S not in sysdirs] (generated): Do not append.
4171         [crti.S not in sysdirs] (omit-deps): Likewise.
4172         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4173         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4174         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4175         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4176         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4177         Likewise.
4178         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4179         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4180         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4181         * csu/defs.awk: Remove file.
4182         * sysdeps/generic/initfini.c: Likewise.
4183         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4184         variable.
4185         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4186         Likewise.
4187
4188 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4189
4190         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4191         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4192         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4195         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4196         <bits/epoll.h>.
4197         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4198         (__EPOLL_PACKED): Define to empty if not defined by
4199         <bits/epoll.h>.
4200         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4202         bits/epoll.h.
4203
4204 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4205
4206         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4207         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4208         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4209         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4210         <bits/timerfd.h>.
4211         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4213         bits/timerfd.h.
4214
4215 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4216
4217         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4218         in C locale.
4219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4220         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4223
4224 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4225
4226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4227         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4228
4229 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4230
4231         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4232         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4233         defined.
4234         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4235         Likewise.
4236         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4237         entry for 2.16.
4238
4239 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4240
4241         * math/w_acos.c: Use non-signaling floating-point comparisons.
4242         * math/w_acosf.c: Likewise.
4243         * math/w_acosh.c: Likewise.
4244         * math/w_acoshf.c: Likewise.
4245         * math/w_acoshl.c: Likewise.
4246         * math/w_acosl.c: Likewise.
4247         * math/w_asin.c: Likewise.
4248         * math/w_asinf.c: Likewise.
4249         * math/w_asinl.c: Likewise.
4250         * math/w_atanh.c: Likewise.
4251         * math/w_atanhf.c: Likewise.
4252         * math/w_atanhl.c: Likewise.
4253         * math/w_exp2.c: Likewise.
4254         * math/w_exp2f.c: Likewise.
4255         * math/w_exp2l.c: Likewise.
4256         * math/w_j0.c: Likewise.
4257         * math/w_j0f.c: Likewise.
4258         * math/w_j0l.c: Likewise.
4259         * math/w_j1.c: Likewise.
4260         * math/w_j1f.c: Likewise.
4261         * math/w_j1l.c: Likewise.
4262         * math/w_jn.c: Likewise.
4263         * math/w_jnf.c: Likewise.
4264         * math/w_log.c: Likewise.
4265         * math/w_log10.c: Likewise.
4266         * math/w_log10f.c: Likewise.
4267         * math/w_log10l.c: Likewise.
4268         * math/w_log2.c: Likewise.
4269         * math/w_log2f.c: Likewise.
4270         * math/w_log2l.c: Likewise.
4271         * math/w_logf.c: Likewise.
4272         * math/w_logl.c: Likewise.
4273         * math/w_sqrt.c: Likewise.
4274         * math/w_sqrtf.c: Likewise.
4275         * math/w_sqrtl.c: Likewise.
4276         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4277         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4278         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4279         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4281
4282 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4283
4284         [BZ #9739]
4285         * manual/string.texi (strnlen): Use correct parameter name in
4286         equivalent expression.
4287
4288 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4289
4290         [BZ #11174]
4291         * manual/users.texi (seteuid): Consistently use neweuid for
4292         argument name.
4293
4294 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4295
4296         [BZ #13704]
4297         * manual/nss.texi (Services in the NSS configuration): Correct
4298         list of services in example configuration file.
4299
4300 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4301
4302         [BZ #11322]
4303         * manual/arith.texi: Remove statements about negative zero
4304         behaving identically to zero.
4305
4306 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4307
4308         [BZ #5993]
4309         * manual/install.texi: Do not document upgrading from libc5.
4310
4311 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4312
4313         [BZ #4596]
4314         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4315
4316 2012-02-18  David S. Miller  <davem@davemloft.net>
4317
4318         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4319         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4320         %o7 across the call.
4321         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4322         instead.
4323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4324         SETUP_PIC_REG_LEAF.
4325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4326         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4327         * sysdeps/sparc/crtn.S: Likewise.
4328
4329 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4330
4331         * aout/Makefile: Remove.
4332
4333 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4334
4335         [BZ #13058]
4336         * manual/examples/argp-ex1.c (main): Format definition in GNU
4337         style.
4338         * manual/examples/argp-ex2.c (main): Likewise.
4339         * manual/examples/argp-ex3.c (main): Likewise.
4340         * manual/examples/argp-ex4.c (main): Likewise.
4341         * manual/examples/longopt.c (main): Use new-style prototype
4342         definition.
4343         * manual/examples/strncat.c (main): Specify return type and use
4344         (void) for arguments.
4345         * manual/examples/subopt.c (main): Use char **argv argument.
4346
4347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4348
4349         [BZ #5077]
4350         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4351         rounding modes.
4352
4353 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4354
4355         [BZ #6907]
4356         * manual/string.texi (strchr): Change when strchrnul is
4357         recommended.
4358
4359 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4360
4361         [BZ #174]
4362         * manual/locale.texi (setlocale): Document LOCPATH.
4363
4364 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4365
4366         [BZ #10210]
4367         * manual/process.texi (execle): Move @dots{} before last argument.
4368
4369 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4370
4371         [BZ #12047]
4372         * manual/charset.texi (Generic Charset Conversion): Fix typo
4373         (LC_TYPE -> LC_CTYPE).
4374
4375 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4376
4377         [BZ #5805]
4378         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4379         (scalbnf): Likewise.
4380         (scalbnl): Likewise.
4381         (scalbln): Likewise.
4382         (scalblnf): Likewise.
4383         (scalblnl): Likewise.
4384         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4385         (vwarnx): Likewise.
4386         (verr): Likewise.
4387         (verrx): Likewise.
4388         * manual/filesys.texi (telldir): Use braces around return type.
4389         * manual/llio.texi (mmap): Add space after comma.
4390         (mmap64): Likewise.
4391         * manual/math.texi (jn): Use @var{} on parameter names.
4392         (jnf): Likewise.
4393         (jnl): Likewise.
4394         (yn): Likewise.
4395         (ynf): Likewise.
4396         (ynl): Likewise.
4397         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4398         line.
4399         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4400         "...".
4401         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4402         (sched_get_priority_max): Likewise.
4403         * manual/signal.texi (sigvec): Add space after comma.
4404         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4405         names.
4406         (if_indextoname): Likewise.
4407         (if_freenameindex): Likewise.
4408         (sendto): Use ',' instead of '.' in prototype.
4409         * manual/startup.texi (syscall): Use @dots{} instead of literal
4410         "...".
4411         * manual/stdio.texi (__fpending): Separate initial words of
4412         paragraph from @deftypefun line.
4413         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4414         "...".
4415         (vsyslog): Use @var{} on parameter names.
4416         * manual/terminal.texi (stty): Use @var{} on parameter names.
4417         * manual/users.texi (getutmp): Use @var{} on parameter names.
4418         (getutmpx): Likewise.
4419
4420 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4421
4422         [BZ #6884]
4423         * manual/stdio.texi (fopen): Fix typos in description of
4424         ",ccs=STRING".
4425
4426 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4427
4428         [BZ #4026]
4429         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4430         get clock_id definition.
4431
4432 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4433
4434         [BZ #4822]
4435         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4436         (madvise): Cast every argument to void on its own.
4437
4438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4439
4440         [BZ #9902]
4441         * manual/startup.texi (Exit Status): Fix typo.
4442
4443 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4444
4445         [BZ #10140]
4446         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4447         * manual/examples/argp-ex2.c: Likewise.
4448         * manual/examples/argp-ex3.c: Likewise.
4449
4450 2012-02-16  Richard Henderson  <rth@redhat.com>
4451
4452         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4453         * sysdeps/s390/s390-32/initfini.c: Remove.
4454         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4455         * sysdeps/s390/s390-64/initfini.c: Remove.
4456
4457 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4458
4459         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4460         compiler output for sysdeps/generic/initfini.c.
4461         * sysdeps/sh/elf/initfini.c: Remove file.
4462
4463 2012-02-16  David S. Miller  <davem@davemloft.net>
4464
4465         [BZ #11494]
4466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4467
4468         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4469         * sysdeps/sparc/crti.S: New file.
4470         * sysdeps/sparc/crtn.S: New file.
4471         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4472         * sysdeps/sparc/sparc64/Makefile: Likewise.
4473
4474 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4475
4476         [BZ #3335]
4477         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4478
4479 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4480
4481         [BZ #4822]
4482         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4483
4484         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4485         (write, read, close): Likewise.
4486         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4487
4488 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4489
4490         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4491         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4492         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4493         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4494         <bits/signalfd.h>.
4495         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4497         bits/signalfd.h.
4498
4499 2012-02-14  Marek Polacek  <polacek@redhat.com>
4500
4501         * sysdeps/x86_64/crti.S: New file.
4502         * sysdeps/x86_64/crtn.S: New file.
4503         * sysdeps/x86_64/elf/initfini.c: Remove file.
4504
4505 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4506
4507         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4508         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4510         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4511         <bits/inotify.h>.
4512         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4514         bits/inotify.h.
4515
4516 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4517
4518         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4519         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4520         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4521         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4522         <bits/eventfd.h>.
4523         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4525         bits/eventfd.h.
4526
4527 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4528
4529         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4530         __feraiseexcept instead of feraiseexcept.
4531
4532         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4533         nanosleep invocations.
4534         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4535         strings, and add error checking for a nanosleep invocations.
4536
4537 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4538
4539         Replace FSF snail mail address with URLs, as per GNU coding standards.
4540         Most of the snail mail addresses were wrong anyway, and omitting
4541         them makes the source code easier to maintain.  Almost all of the
4542         changes are to license notices and to locale LC_IDENTIFICATION
4543         addresses, except for this one:
4544         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4545         not its snail mail address.
4546
4547 2012-02-09  Richard Henderson  <rth@twiddle.net>
4548
4549         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4550         of kernel-features.h.
4551
4552         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4553
4554 2012-02-08  Marek Polacek  <polacek@redhat.com>
4555
4556         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4557         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4558         * sysdeps/gnu/_G_config.h: Likewise.
4559         * sysdeps/generic/_G_config.h: Likewise.
4560
4561 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4562
4563         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4564         tests.
4565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4566
4567         * sysdeps/powerpc/powerpc32/crti.S: New file.
4568         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4569         * sysdeps/powerpc/powerpc64/crti.S: New file.
4570         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4571
4572         * Makeconfig (have-initfini): Don't set.
4573         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4574         * configure.in (nopic_initfini): Don't substitute.
4575         * config.h.in (HAVE_INITFINI): Don't #undef.
4576         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4577         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4578
4579 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4580
4581         Support crti.S and crtn.S provided directly by architectures.
4582         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4583         [crti.S in sysdirs] (omit-deps): Likewise.
4584         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4585         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4586         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4587         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4588         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4589         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4590         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4591         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4592         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4593         compiler output for sysdeps/generic/initfini.c.
4594         * sysdeps/i386/elf/Makefile: Remove file.
4595         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4596
4597 2012-02-07  Marek Polacek  <polacek@redhat.com>
4598
4599         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4600         * sysdeps/gnu/_G_config.h: Likewise.
4601         * sysdeps/mach/hurd/_G_config.h: Likewise.
4602
4603 2012-02-07  Marek Polacek  <polacek@redhat.com>
4604
4605         * math/Makefile (tests): Add tst-CMPLX2.
4606         * math/tst-CMPLX2.c: New file.
4607
4608 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4609
4610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4611
4612         * math/libm-test.inc (jn_test): Add missing L suffix.
4613
4614 2012-02-06  Marek Polacek  <polacek@redhat.com>
4615
4616         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4617         * sysdeps/i386/fpu/e_powf.S: Likewise.
4618         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4619         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4620         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4621         * sysdeps/i386/fpu/e_pow.S: Likewise.
4622         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4623         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4624         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4625         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4626         * sysdeps/i386/fpu/e_log2.S: Likewise.
4627         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4628         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4629         * sysdeps/i386/fpu/e_powl.S: Likewise.
4630         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4631         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4632         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4633         * sysdeps/i386/fpu/e_logl.S: Likewise.
4634         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4635         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4636         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4637         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4638         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4639         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4640         * sysdeps/i386/fpu/e_log.S: Likewise.
4641         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4643         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4644         * sysdeps/i386/fpu/e_logf.S: Likewise.
4645         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4646         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4647         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4648         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4649         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4650         * sysdeps/i386/fpu/e_log10.S: Likewise.
4651         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4652         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4653         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4654         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4655         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4656         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4657         * sysdeps/i386/asm-syntax.h: Likewise.
4658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4660         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4661         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4662         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4663         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4664         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4665         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4667         * sysdeps/powerpc/sysdep.h: Likewise.
4668         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4669         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4670
4671 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4672
4673         [BZ #411]
4674         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4675
4676 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4677
4678         * sysdeps/i386/sysdep.h: Include <features.h>.
4679         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4680         version.
4681
4682 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4683
4684         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4685         Define.
4686         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4687         LOAD_PIC_REG_STR.
4688
4689 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4690
4691         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4692         (SETUP_PIC_REG): Use GET_PC_THUNK.
4693         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4694         macro.
4695
4696 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4697
4698         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4699         for non-PIC compilation.
4700         (SETUP_PIC_REG): Add .p2align directive.
4701         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4702         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4703         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4704         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4705         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4706         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4707         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4708         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4709         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4710         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4711         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4712         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4713         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4714         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4715         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4716         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4717         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4718         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4719         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4720         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4721         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4722         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4723         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4724         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4725         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4726         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4727         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4728         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4729         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4730         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4731         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4732         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4733         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4734         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4735         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4736         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4737         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4738         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4739         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4740         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4741         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4742
4743 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4744
4745         * math/tst-CMPLX.c: Include <stdio.h>.
4746
4747 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4748
4749         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4750         float.
4751         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4752         * sysdeps/sparc/bits/mathdef.h: Likewise.
4753
4754 2012-01-31  Marek Polacek  <polacek@redhat.com>
4755
4756         * libio/libio.h: Don't define _PARAMS.
4757         * locale/programs/config.h: Don't define PARAMS.
4758         * stdlib/strtol_l.c: Likewise.
4759         (__strtol_l): Remove PARAMS from the prototype.
4760
4761 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4762
4763         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4764         names.  Just use the correct names.  Remove unnecessary wrapper
4765         functions.
4766         * malloc/arena.c: Likewise.
4767         * malloc/hooks.c: Likewise.
4768
4769         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4770         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4771         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4772
4773 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4774
4775         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4776         into tail calls.
4777         (update_get_addr): New function.
4778         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4779         GET_ADDR_MODULE parameter.
4780
4781 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4782
4783         * crypt/cert.c: Remove __STDC__ conditionals.
4784         * crypt/crypt-entry.c: Likewise.
4785         * crypt/crypt_util.c: Likewise.
4786         * libio/filedoalloc.c: Likewise.
4787         * libio/fileops.c: Likewise.
4788         * libio/genops.c: Likewise.
4789         * libio/iofclose.c: Likewise.
4790         * libio/iofdopen.c: Likewise.
4791         * libio/iofopen.c: Likewise.
4792         * libio/iofopen64.c: Likewise.
4793         * libio/iogetdelim.c: Likewise.
4794         * libio/iopopen.c: Likewise.
4795         * libio/obprintf.c: Likewise.
4796         * libio/oldfileops.c: Likewise.
4797         * libio/oldiofclose.c: Likewise.
4798         * libio/oldiofdopen.c: Likewise.
4799         * libio/oldiofopen.c: Likewise.
4800         * libio/oldiopopen.c: Likewise.
4801         * libio/wfiledoalloc.c: Likewise.
4802         * libio/wgenops.c: Likewise.
4803         * locale/programs/xmalloc.c: Likewise.
4804         * misc/syslog.c: Likewise.
4805         * stdio-common/xbug.c: Likewise.
4806         * string/memchr.c: Likewise.
4807         * string/memcmp.c: Likewise.
4808         * string/memrchr.c: Likewise.
4809         * string/rawmemchr.c: Likewise.
4810         * sysdeps/posix/getcwd.c: Likewise.
4811         * time/strftime_l.c: Likewise.
4812
4813 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4814
4815         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4816         * config.make.in (config-cflags-sse2avx): Define.
4817         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4818         Fix typo.
4819
4820 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4821
4822         * scripts/config.guess: Update from upstream config git repository.
4823         * scripts/config.sub: Likewise.
4824
4825 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4826
4827         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4828         (EM_NUM): Update.
4829         (R_TILEPRO_*, R_TILEGX_*): New macros.
4830
4831         * scripts/firstversions.awk: Fix bug in version range handling.
4832
4833         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4834
4835         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4836
4837         * include/sys/epoll.h: New file.
4838         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4839         libc_hidden_def.
4840
4841 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4842
4843         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4844         Avoid unnecessary __WORDSIZE == 64 test.
4845         (fmaxf): Use VEX format if possible.
4846         (fmax): Likewise.
4847         (fminf): Likewise.
4848         (fmin): Likewise.
4849
4850         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4851         * math/math_private.h: Remove libc_fegetround* and
4852         libc_fesetround*.
4853         * sysdeps/i386/configure.in: Check for -msse2avx.
4854         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4855         also if SSE2AVX is defined.
4856         Remove libc_fegetround* and libc_fesetround*.
4857         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4858         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4859         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4860         of HAS_YMM_USABLE.
4861         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4862         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4864         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4865         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4866
4867         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4868
4869 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4870
4871         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4872         size is not set.
4873         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4874
4875 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4876
4877         [BZ #13618]
4878         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4879         relocation.
4880         * Makeconfig (libm): Define.
4881         * elf/Makefile: Add rules to build and run tst-relsort1.
4882         * elf/tst-relsort1.c: New file.
4883         * elf/tst-relsort1mod1.c: New file.
4884         * elf/tst-relsort1mod2.c: New file.
4885
4886 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4887
4888         * math/s_ldexp.c: Remove __STDC__ conditionals.
4889         * math/s_ldexpf.c: Likewise.
4890         * math/s_ldexpl.c: Likewise.
4891         * math/s_nextafter.c: Likewise.
4892         * math/s_nexttowardf.c: Likewise.
4893         * math/s_significand.c: Likewise.
4894         * math/s_significandf.c: Likewise.
4895         * math/s_significandl.c: Likewise.
4896         * math/w_jnl.c: Likewise.
4897         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4898         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4899         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4900         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4901         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4902         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4903         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4904         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4905         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4906         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4907         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4908         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4909         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4910         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4911         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4912         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4913         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4914         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4915         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4916         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4917         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4918         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4919         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4921         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4922         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4923         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4925         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4927         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4928         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4929         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4930         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4931         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4932         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4933         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4934         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4935         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4936         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4937         * sysdeps/ieee754/k_standard.c: Likewise.
4938         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4939         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4940         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4941         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4942         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4943         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4945         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4946         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4947         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4948         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4949         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4950         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4951         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4954         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4955         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4956         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4957         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4958         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4959         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4960         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4961         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4962         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4963         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4968         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4969         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4970         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4971         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4973         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4974         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4977         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4978         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4981         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4982         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4983         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4986         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4987         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4988         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4989         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4991         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4992         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4993         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4994         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4995         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4997         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4998         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4999         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5000         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5001         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5002         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5003         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5004         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5005         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5006         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5007         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5008         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5009         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5010         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5011         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5013         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5014         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5015         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5016         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5017         * sysdeps/ieee754/s_matherr.c: Likewise.
5018         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5019         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5022
5023 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5024
5025         * crypt/md5.h: Remove __STDC__ conditionals.
5026         * libio/libioP.h: Likewise.
5027         * locale/programs/config.h: Likewise.
5028         * sysdeps/generic/sysdep.h: Likewise.
5029         * sysdeps/i386/asm-syntax.h: Likewise.
5030         * sysdeps/s390/asm-syntax.h: Likewise.
5031         * sysdeps/unix/sysdep.h: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5034
5035 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5036
5037         * libio/libio.h: Remove __STDC__ conditionals.
5038         * malloc/obstack.h: Likewise.
5039         * math/complex.h: Likewise.
5040         * math/math.h: Likewise.
5041         * sysdeps/generic/_G_config.h: Likewise.
5042         * sysdeps/gnu/_G_config.h: Likewise.
5043         * sysdeps/mach/hurd/_G_config.h: Likewise.
5044         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5045         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5046         * sysdeps/sparc/bits/mathdef.h: Likewise.
5047
5048 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
5049
5050         [BZ #13583]
5051         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5052         Clean up HAS_* macros.
5053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5054         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5055         possible.
5056         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5057         HAS_AVX.
5058         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5059         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5060         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5061         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5062         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5063
5064 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
5065
5066         * elf/tst-unique3.cc (gets): Remove declaration.
5067         * elf/tst-unique3lib.cc (gets): Likewise.
5068         * elf/tst-unique3lib2.cc (gets): Likewise.
5069         * elf/tst-unique4.cc (gets): Likewise.
5070
5071 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
5072
5073         * include/stdio.h: Add C++ protection.  Add gets declarations and
5074         definitions.
5075         * debug/tst-chk1.c: Don't declare gets here.
5076         * stdio-common/tst-gets.c: Likewise.
5077
5078 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5079
5080         * posix/glob: Remove directory.
5081
5082 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5083
5084         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5085
5086 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
5087
5088         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5089         of the non-standard EPFNOSUPPORT.
5090
5091 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5092
5093         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5094         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5095         ANYWHERE set to 1 only on KERN_NO_SPACE error.
5096
5097 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
5098
5099         * wcsmbs/uchar.h: Test __STDC_VERSION__.
5100
5101 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
5102
5103         * nscd/aicache.c (addhstaiX): Do not cache negative results of
5104         transient errors.
5105         * nscd/grpcache.c (cache_addgr): Likewise.
5106         * nscd/hstcache.c (cache_addhst): Likewise.
5107         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5108         * nscd/pwdcache.c (cache_addpw): Likewise.
5109         * nscd/servicescache.c (cache_addserv): Likewise.
5110
5111 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
5112
5113         * malloc/malloc.c: Various cleanups.
5114         * malloc/hooks.c: Likewise.
5115
5116         * stdlib/Makefile (tests): Add bug-fmtmsg1.
5117         * stdlib/bug-fmtmsg1.c: New file.
5118
5119         * stdlib/fmtmsg.c (init): Add missing unlock.
5120         Patch by Peng Haitao <penght@cn.fujitsu.com>.
5121
5122 2012-01-12  Marek Polacek  <polacek@redhat.com>
5123
5124         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5125         and _GNU_SOURCE.
5126
5127 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5128
5129         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5130         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5131         macro to ensure uniqueness of label name.
5132         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5133         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5134
5135 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
5136
5137         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5138
5139         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5140         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5141         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5143
5144 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5145
5146         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5147
5148         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5149         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5150         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5151
5152         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5153
5154         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5155         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5156         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5158
5159         * math/bits/math-finite.h: Add ldexp support.
5160
5161 2012-01-10  Marek Polacek  <polacek@redhat.com>
5162
5163         * locale/programs/localedef.h (show_archive_content): Add noreturn
5164         attribute.
5165
5166 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5167
5168         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5169
5170 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5171
5172         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5173
5174         * io/Makefile (headers): Add bits/poll2.h.
5175
5176 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5177
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5179         typo #include statement.
5180
5181 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5182
5183         * include/sys/cdefs.h: Define __attribute_alloc_size.
5184         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5185         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5186         * elf/pldd.c: Likewise.
5187         * iconv/iconv_charmap.c: Likewise.
5188         * iconv/iconvconfig.c: Likewise.
5189         * iconv/strtab.c: Likewise.
5190         * locale/programs/locale.c: Likewise.
5191         * locale/programs/localedef.h: Likewise.
5192         * locale/programs/simple-hash.c: Likewise.
5193         * nscd/nscd.h: Likewise.
5194         * nss/makedb.c: Likewise.
5195         * sysdeps/generic/ldconfig.h: Likewise.
5196         * locale/programs/localedef.c: Remove xmalloc prototype.
5197         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5198
5199 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5200
5201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5202         appropriate.
5203
5204 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5205
5206         * math/Makefile (tests): Add tst-CMPLX.
5207         * math/tst-CMPLX.c: New file.
5208
5209         * math/complex.h (CMPLXL): Fix typo.
5210
5211         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5212         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5213         GLIBC_2.16.
5214         * debug/tst-chk1.c: Add poll and ppoll tests.
5215         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5216         * include/sys/poll.h: Add hidden proto for ppoll.
5217         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5218         * sysdeps/mach/hurd/ppoll.c: Likewise.
5219         * io/ppoll.c: Likewise.
5220         * debug/poll_chk.c: New file.
5221         * debug/ppoll_chk.c: New file.
5222         * include/bits/poll2.h: New file.
5223         * io/bits/poll2.h: New file.
5224
5225         [BZ #1350]
5226         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5227
5228         * configure.in: static is always set to yes.  Remove.
5229         * config.make.in: Don't set build-static.
5230         * Makeconfig: Remove use of build-static.
5231         * dlfcn/Makefile: Likewise.
5232         * elf/Makefile: Likewise.
5233         * math/Makefile: Likewise.
5234         * misc/Makefile: Likewise.
5235         * nptl/Makefile: Likewise.
5236         * sysdeps/mach/hurd/Makefile: Likewise.
5237
5238         * configure.in: PWD_P is not used anymore.
5239         * config.make.in: Remove PWD_P entry.
5240
5241         * configure.in: Remove last remnants of RANLIB.
5242         No need to check for signed size_t anymore.
5243         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5244         and IA-64.
5245         Remove __builtin_expect test because we require at least gcc 3.4.
5246         * aclocal.m4: Likewise.
5247
5248         * wcsmbs/mbrtoc16.c: Implement using towc function.
5249         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5250         * wcsmbs/wcsmbsload.c: Likewise.
5251         * iconv/gconv_simple.c: Likewise.
5252         * iconv/gconv_int.h: Likewise.
5253         * iconv/gconv_builtin.h: Likewise.
5254         * iconv/iconv_prog.c: Remove CHAR16 handling.
5255
5256         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5257
5258         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5259
5260         * configure.in: Remove --with-elf and --enable-bounded options.
5261         Dont set base_machine for ia64.  More non-ELF conditions removed.
5262         Remove testing and setting of leading underscore information.
5263         * config.make.in (build-bounded): Set to no.
5264         * config.h.in: Remove NO_UNDERSCORES entry.
5265         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5266         them.
5267         * csu/start.c: Remove !NO_UNDERSCORE code.
5268         * locale/localeinfo.h: Likewise.
5269         * sysdeps/generic/machine-gmon.h: Likewise.
5270         * sysdeps/generic/sysdep.h: Likewise.
5271         * sysdeps/i386/sysdep.h: Likewise.
5272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5273         * sysdeps/mach/sysdep.h: Likewise.
5274         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5275         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5276         * sysdeps/sh/sysdep.h: Likewise.
5277         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5278         * sysdeps/unix/i386/sysdep.S: Likewise.
5279         * sysdeps/unix/sparc/start.c: Likewise.
5280         * sysdeps/unix/sparc/sysdep.S: Likewise.
5281         * sysdeps/unix/sparc/sysdep.h: Likewise.
5282         * sysdeps/unix/start.c: Likewise.
5283         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5284         * sysdeps/x86_64/sysdep.h: Likewise.
5285
5286 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5287
5288         [BZ #13553]
5289         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5290         for non-gcc.
5291         * argp/argp-fmtstream.h: Use const instead __const.
5292         * argp/argp.h: Likewise.
5293         * assert/assert.h: Likewise.
5294         * bits/fenv.h: Likewise.
5295         * bits/sched.h: Likewise.
5296         * bits/sigset.h: Likewise.
5297         * bits/sigthread.h: Likewise.
5298         * catgets/nl_types.h: Likewise.
5299         * conform/data/pthread.h-data: Likewise.
5300         * crypt/crypt-private.h: Likewise.
5301         * crypt/crypt.h: Likewise.
5302         * crypt/crypt_util.c: Likewise.
5303         * ctype/ctype.h: Likewise.
5304         * debug/execinfo.h: Likewise.
5305         * debug/mbsnrtowcs_chk.c: Likewise.
5306         * debug/mbsrtowcs_chk.c: Likewise.
5307         * debug/wcsnrtombs_chk.c: Likewise.
5308         * debug/wcsrtombs_chk.c: Likewise.
5309         * debug/wcstombs_chk.c: Likewise.
5310         * dirent/dirent.h: Likewise.
5311         * dlfcn/dlfcn.h: Likewise.
5312         * elf/neededtest4.c: Likewise.
5313         * grp/grp.h: Likewise.
5314         * gshadow/gshadow.h: Likewise.
5315         * iconv/gconv.h: Likewise.
5316         * iconv/gconv_int.h: Likewise.
5317         * iconv/gconv_simple.c: Likewise.
5318         * iconv/iconv.h: Likewise.
5319         * iconv/loop.c: Likewise.
5320         * iconv/skeleton.c: Likewise.
5321         * include/aio.h: Likewise.
5322         * include/aliases.h: Likewise.
5323         * include/argz.h: Likewise.
5324         * include/arpa/inet.h: Likewise.
5325         * include/assert.h: Likewise.
5326         * include/dirent.h: Likewise.
5327         * include/dlfcn.h: Likewise.
5328         * include/execinfo.h: Likewise.
5329         * include/fcntl.h: Likewise.
5330         * include/fenv.h: Likewise.
5331         * include/glob.h: Likewise.
5332         * include/grp.h: Likewise.
5333         * include/libintl.h: Likewise.
5334         * include/mntent.h: Likewise.
5335         * include/netdb.h: Likewise.
5336         * include/pwd.h: Likewise.
5337         * include/rpc/netdb.h: Likewise.
5338         * include/sched.h: Likewise.
5339         * include/search.h: Likewise.
5340         * include/shadow.h: Likewise.
5341         * include/signal.h: Likewise.
5342         * include/stdio.h: Likewise.
5343         * include/stdlib.h: Likewise.
5344         * include/string.h: Likewise.
5345         * include/sys/socket.h: Likewise.
5346         * include/sys/stat.h: Likewise.
5347         * include/sys/statfs.h: Likewise.
5348         * include/sys/statvfs.h: Likewise.
5349         * include/sys/syslog.h: Likewise.
5350         * include/sys/time.h: Likewise.
5351         * include/sys/uio.h: Likewise.
5352         * include/time.h: Likewise.
5353         * include/unistd.h: Likewise.
5354         * include/utmp.h: Likewise.
5355         * include/wchar.h: Likewise.
5356         * include/wctype.h: Likewise.
5357         * inet/aliases.h: Likewise.
5358         * inet/arpa/inet.h: Likewise.
5359         * inet/netinet/ether.h: Likewise.
5360         * inet/netinet/in.h: Likewise.
5361         * intl/libintl.h: Likewise.
5362         * io/bits/fcntl2.h: Likewise.
5363         * io/fcntl.h: Likewise.
5364         * io/ftw.h: Likewise.
5365         * io/sys/poll.h: Likewise.
5366         * io/sys/stat.h: Likewise.
5367         * io/sys/statfs.h: Likewise.
5368         * io/sys/statvfs.h: Likewise.
5369         * io/utime.h: Likewise.
5370         * libio/bits/stdio.h: Likewise.
5371         * libio/bits/stdio2.h: Likewise.
5372         * libio/libio.h: Likewise.
5373         * libio/libioP.h: Likewise.
5374         * libio/stdio.h: Likewise.
5375         * locale/lc-ctype.c: Likewise.
5376         * locale/locale.h: Likewise.
5377         * login/utmp.h: Likewise.
5378         * malloc/arena.c: Likewise.
5379         * malloc/malloc.c: Likewise.
5380         * malloc/malloc.h: Likewise.
5381         * malloc/mcheck.c: Likewise.
5382         * malloc/mtrace.c: Likewise.
5383         * math/bits/mathcalls.h: Likewise.
5384         * math/fenv.h: Likewise.
5385         * math/math_private.h: Likewise.
5386         * misc/bits/error.h: Likewise.
5387         * misc/bits/syslog.h: Likewise.
5388         * misc/err.h: Likewise.
5389         * misc/error.h: Likewise.
5390         * misc/fstab.h: Likewise.
5391         * misc/mntent.h: Likewise.
5392         * misc/regexp.h: Likewise.
5393         * misc/search.h: Likewise.
5394         * misc/sgtty.h: Likewise.
5395         * misc/sys/mman.h: Likewise.
5396         * misc/sys/syslog.h: Likewise.
5397         * misc/sys/uio.h: Likewise.
5398         * misc/sys/xattr.h: Likewise.
5399         * misc/ttyent.h: Likewise.
5400         * nis/rpcsvc/ypclnt.h: Likewise.
5401         * nss/nss.h: Likewise.
5402         * posix/bits/unistd.h: Likewise.
5403         * posix/fnmatch.h: Likewise.
5404         * posix/glob.h: Likewise.
5405         * posix/sched.h: Likewise.
5406         * posix/spawn.h: Likewise.
5407         * posix/sys/wait.h: Likewise.
5408         * posix/unistd.h: Likewise.
5409         * posix/wordexp.h: Likewise.
5410         * pwd/pwd.h: Likewise.
5411         * resolv/netdb.h: Likewise.
5412         * resource/sys/resource.h: Likewise.
5413         * rt/aio.h: Likewise.
5414         * rt/bits/mqueue2.h: Likewise.
5415         * rt/mqueue.h: Likewise.
5416         * shadow/shadow.h: Likewise.
5417         * signal/signal.h: Likewise.
5418         * socket/send.c: Likewise.
5419         * socket/sendto.c: Likewise.
5420         * socket/sys/socket.h: Likewise.
5421         * stdio-common/printf.h: Likewise.
5422         * stdlib/bits/stdlib.h: Likewise.
5423         * stdlib/fmtmsg.h: Likewise.
5424         * stdlib/monetary.h: Likewise.
5425         * stdlib/stdlib.h: Likewise.
5426         * stdlib/ucontext.h: Likewise.
5427         * streams/stropts.h: Likewise.
5428         * string/argz.h: Likewise.
5429         * string/bits/string2.h: Likewise.
5430         * string/string.h: Likewise.
5431         * string/strings.h: Likewise.
5432         * sunrpc/rpc/auth.h: Likewise.
5433         * sunrpc/rpc/auth_des.h: Likewise.
5434         * sunrpc/rpc/clnt.h: Likewise.
5435         * sunrpc/rpc/netdb.h: Likewise.
5436         * sunrpc/rpc/pmap_clnt.h: Likewise.
5437         * sunrpc/rpc/xdr.h: Likewise.
5438         * sysdeps/generic/inttypes.h: Likewise.
5439         * sysdeps/generic/net/if.h: Likewise.
5440         * sysdeps/generic/sys/swap.h: Likewise.
5441         * sysdeps/gnu/net/if.h: Likewise.
5442         * sysdeps/gnu/utmpx.h: Likewise.
5443         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5444         * sysdeps/i386/i486/bits/string.h: Likewise.
5445         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5446         * sysdeps/s390/bits/string.h: Likewise.
5447         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5448         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5449         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5450         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5451         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5452         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5453         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5454         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5455         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5456         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5457         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5458         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5459         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5460         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5461         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5462         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5463         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5465         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5466         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5467         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5468         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5469         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5470         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5471         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5472         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5473         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5474         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5475         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5476         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5477         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5478         * sysvipc/sys/ipc.h: Likewise.
5479         * sysvipc/sys/msg.h: Likewise.
5480         * sysvipc/sys/sem.h: Likewise.
5481         * sysvipc/sys/shm.h: Likewise.
5482         * termios/termios.h: Likewise.
5483         * time/sys/time.h: Likewise.
5484         * time/time.h: Likewise.
5485         * wcsmbs/bits/wchar2.h: Likewise.
5486         * wcsmbs/uchar.h: Likewise.
5487         * wcsmbs/wchar.h: Likewise.
5488         * wctype/wctype.h: Likewise.
5489
5490         [BZ #13551]
5491         * Makeconfig: Remove all but ELF support including AIX support.
5492         * Makerules: Likewise.
5493         * config.h.in: Likewise.
5494         * config.make.in: Likewise.
5495         * configure: Likewise.
5496         * configure.in: Likewise.
5497         * csu/Makefile: Likewise.
5498         * csu/version.c: Likewise.
5499         * debug/Makefile: Likewise.
5500         * dlfcn/Makefile: Likewise.
5501         * elf/Makefile: Likewise.
5502         * extra-lib.mk: Likewise.
5503         * iconv/Makefile: Likewise.
5504         * include/libc-symbols.h: Likewise.
5505         * include/shlib-compat.h: Likewise.
5506         * resolv/Makefile: Likewise.
5507         * resolv/res_libc.c: Likewise.
5508         * rt/Makefile: Likewise.
5509         * sysdeps/i386/asm-syntax.h: Likewise.
5510         * sysdeps/i386/sysdep.h: Likewise.
5511         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5512         * sysdeps/mach/sysdep.h: Likewise.
5513         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5514         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5515         * sysdeps/s390/asm-syntax.h: Likewise.
5516         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5518         * sysdeps/sh/sysdep.h: Likewise.
5519         * sysdeps/unix/sparc/sysdep.h: Likewise.
5520         * sysdeps/wordsize-32/divdi3.c: Likewise.
5521         * sysdeps/x86_64/sysdep.h: Likewise.
5522
5523         * argp/Versions: Remove _argp_unlock_xxx.
5524
5525         [BZ #13559]
5526         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5527         * abilist/libBrokenLocale.abilist: Likewise.
5528         * abilist/libanl.abilist: Likewise.
5529         * abilist/libc.abilist: Likewise.
5530         * abilist/libcrypt.abilist: Likewise.
5531         * abilist/libdl.abilist: Likewise.
5532         * abilist/libm.abilist: Likewise.
5533         * abilist/libnsl.abilist: Likewise.
5534         * abilist/libpthread.abilist: Likewise.
5535         * abilist/libresolv.abilist: Likewise.
5536         * abilist/librt.abilist: Likewise.
5537         * abilist/libthread_db.abilist: Likewise.
5538         * abilist/libutil.abilist: Likewise.
5539         * abilist/libnss_db.abilist: New file.
5540
5541         * scripts/abilist.awk: Add support for indirect functions.
5542
5543         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5544
5545         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5546
5547         * shlib-versions: Remove entries for ports architectures.
5548
5549         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5550         files in ports.
5551         * elf/stackguard-macros.h: Remove support for IA-64.
5552         * elf/tst-auditmod1.c: Likewise.
5553         * sysdeps/generic/ldsodefs.h: Likewise.
5554
5555         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5556         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5557         configure files.
5558
5559         [BZ #13552]
5560         * configure.in: Remove --enable-omitfp support.
5561         * FAQ.in: Adjust.
5562         * config.make.in: Likewise.
5563         * Makeconfig: Likewise.
5564         * manual/install.texi: Likewise.
5565
5566         In case anyone cares, the IA-64 architecture could move to ports.
5567         * sysdeps/ia64/*: Removed.
5568         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5569         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5570
5571         [BZ #13555]
5572         * configure.in: Remove entries for unsupported architectures.
5573
5574         [BZ #13533]
5575         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5576         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5577         routines.
5578         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5579         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5580         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5581         fall back to using wcrtomb.
5582         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5583         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5584         renaming.
5585         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5586         * wcsmbs/tst-c16c32-1.c: New file.
5587
5588         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5589         local variable.
5590
5591         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5592
5593         * elf/tst-unique3.cc: Add explicit declaration of gets.
5594         * elf/tst-unique3lib.cc: Likewise.
5595         * elf/tst-unique3lib2.cc: Likewise.
5596         * elf/tst-unique4.cc: Likewise.
5597
5598         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5599
5600 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5601
5602         [BZ #13566]
5603         * assert/assert.h (static_assert): Don't define for C++.
5604         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5605         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5606
5607 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5608
5609         * iconv/loop.c (single loop): Fix assertion in storing of
5610         remaining bytes.
5611
5612         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5613
5614 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5615
5616         * posix/getconf.c: Update copyright year.
5617         * nss/getent.c: Likewise.
5618         * nss/makedb.c: Likewise.
5619         * iconv/iconvconfig.c: Likewise.
5620         * iconv/iconv_prog.c: Likewise.
5621         * elf/ldconfig.c: Likewise.
5622         * elf/pldd.c: Likewise.
5623         * elf/sotruss.ksh: Likewise.
5624         * catgets/gencat.c: Likewise.
5625         * csu/version.c: Likewise.
5626         * elf/ldd.bash.in: Likewise.
5627         * elf/sprof.c (print_version): Likewise.
5628         * locale/programs/locale.c: Likewise.
5629         * locale/programs/localedef.c: Likewise.
5630         * login/programs/pt_chown.c: Likewise.
5631         * nscd/nscd.c (print_version): Likewise.
5632         * debug/xtrace.sh: Likewise.
5633         * malloc/memusage.sh: Likewise.
5634         * malloc/mtrace.pl: Likewise.
5635         * debug/catchsegv.sh: Likewise.
5636
5637 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5638
5639         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5640         pure attribute.
5641
5642 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5643
5644         [BZ #13533]
5645         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5646         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5647         transformations.
5648         * iconv/gconv_int.h: Likewise.
5649         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5650         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5651         from libc for GLIBC_2.16.
5652         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5653         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5654         * wcsmbs/uchar.h: Really define mbstate_t.
5655         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5656         * wcsmbs/c16rtomb.c: New file.
5657         * wcsmbs/mbrtoc16.c: New file.
5658         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5659         for C/POSIX locale.
5660         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5661         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5662
5663         * wcsmbs/wchar.h: Add missing __restrict.
5664
5665 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5666
5667         [BZ #13532]
5668         * time/Makefile (routines): Add timespec_get.
5669         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5670         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5671         timespec for ISO C11.
5672         * time/timespec_get.c: New file.
5673         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5674         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5675
5676         [BZ #13531]
5677         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5678         * stdlib/stdlib.h: Declare aligned_alloc.
5679         * Versions.def: Add GLIBC_2.16 for libc.
5680         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5681
5682         [BZ 13527]
5683         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5684         ISO C11.
5685
5686         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5687         code.
5688
5689         [BZ #13528]
5690         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5691
5692         [BZ #13529]
5693         * assert/assert.h (static_assert): Define.
5694
5695         * version.h: Update for 2.16 development version.
5696
5697         [BZ #13526]
5698         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5699         _ISOC11_SOURCE.
5700
5701         * version.h (RELEASE): Bump for 2.15 release.
5702         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5703
5704         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5705         Patch by Marek Polacek <mpolacek@redhat.com>.
5706
5707         * bits/byteswap.h: Protect long long constants with __extension__.
5708         * sysdeps/i386/bits/byteswap.h: Likewise.
5709         * sysdeps/ia64/bits/byteswap.h: Likewise.
5710         * sysdeps/s390/bits/byteswap.h: Likewise.
5711         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5712
5713 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5714
5715         [BZ #13540]
5716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5717         destination buffer.
5718         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5719
5720 2011-12-23  Marek Polacek  <polacek@redhat.com>
5721
5722         * elf/dl-addr.c (determine_info): Add inline keyword.
5723         * elf/tst-auditmod4b.c (check_avx): Likewise.
5724         * elf/tst-auditmod6b.c (check_avx): Likewise.
5725         * elf/tst-auditmod6c.c (check_avx): Likewise.
5726         * elf/tst-auditmod7b.c (check_avx): Likewise.
5727
5728 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5729
5730         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5731         !__SSE_MATH__.
5732
5733 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5734
5735         [BZ #13540]
5736         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5737         processing for last bytes.
5738
5739 2011-08-06  Bruno Haible  <bruno@clisp.org>
5740
5741         [BZ #13061]
5742         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5743         U+0385, not to U+1FEE.
5744
5745         [BZ #13062]
5746         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5747         entry for U+00A5 U+0301.
5748
5749 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5750
5751         [BZ #13166]
5752         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5753         buffer for the output is too small.
5754
5755         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5756         optimization.
5757
5758         [BZ #13185]
5759         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5760         SSE flags if possible.
5761
5762 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5763
5764         [BZ #13540]
5765         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5766         processing for last bytes.
5767
5768 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5769
5770         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5771         (syscall-list-default-options, syscall-list-default-condition)
5772         (syscall-list-includes): Define.
5773         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5774         list of ABIs and options and #if conditions for each ABI.  Do not
5775         handle common syscalls between ABIs specially.
5776         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5777         Remove.
5778         (syscall-list-variants, syscall-list-32bit-options)
5779         (syscall-list-32bit-condition, syscall-list-64bit-options)
5780         (syscall-list-64bit-condition): Define.
5781         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5782         (syscall-list-variants, syscall-list-32bit-options)
5783         (syscall-list-32bit-condition, syscall-list-64bit-options)
5784         (syscall-list-64bit-condition): Define.
5785         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5786         Remove.
5787         (syscall-list-variants, syscall-list-32bit-options)
5788         (syscall-list-32bit-condition, syscall-list-64bit-options)
5789         (syscall-list-64bit-condition): Define.
5790         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5791         Remove.
5792         (syscall-list-variants, syscall-list-32bit-options)
5793         (syscall-list-32bit-condition, syscall-list-64bit-options)
5794         (syscall-list-64bit-condition): Define.
5795
5796 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5797
5798         * locale/iso-639.def: Add brx entry.
5799
5800         [BZ #13328]
5801         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5802         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5803
5804         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5805         __feraiseexcept_renamed.
5806
5807 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5808
5809         [BZ #13538]
5810         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5811         EPOLLET with unsigned values.
5812         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5813         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5814
5815         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5816         to large cancellation.
5817         * math/s_cacoshf.c: Likewise.
5818         * math/s_cacoshl.c: Likewise.
5819
5820 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5821
5822         [BZ #13305]
5823         [BZ #12786]
5824         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5825         * math/s_cacoshf.c: Likewise.
5826         * math/s_cacoshl.c: Likewise.
5827
5828 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5829
5830         [BZ #13439]
5831         * iconv/gconv.h: Define __GCONV_SWAP.
5832         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5833         * iconvdata/utf-16.c: Likewise.
5834         * iconvdata/utf-32.c: Likewise.
5835
5836 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5837
5838         [BZ #13524]
5839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5840         numerator after shifting it by one limb.
5841
5842 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5843
5844         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5845         under [__USE_EXTERN_INLINES].
5846
5847 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5848
5849         [BZ #13446]
5850         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5851
5852 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5853
5854         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5855         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5856         optimized code.
5857         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5858         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5859         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5860         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5861         for strncasecmp/strncasecmp_l compilation.
5862         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5863         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5864
5865 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5866
5867         [BZ #13484]
5868         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5869         of __asm__.
5870
5871 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5872
5873         [BZ #13506]
5874         * time/tzfile.c (__tzfile_read): Check values from file header.
5875
5876 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5877
5878         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5879         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5880         * powerpc/powerpc32/dl-start.S: Likewise.
5881         * powerpc/powerpc32/elf/start.S: Likewise.
5882         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5883         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5884         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5885         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5886         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5887         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5888         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5889         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5890         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5891         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5892         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5893         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5894         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5895         * powerpc/powerpc32/memset.S: Likewise.
5896         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5897         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5898         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5899         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5900         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5901         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5902         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5903         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5904         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5905         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5906         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5907         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5908         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5909
5910 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5911
5912         * math/libm-test.inc: Added more nearbyint tests.
5913         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5915         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5916         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5917
5918 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5919
5920         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5921         FD_CLOEXEC.
5922
5923 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5924
5925         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5926         Add wcscpy-ssse3 wcscpy-c.
5927         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5928         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5929         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5930         * sysdeps/x86_64/wcschr.S: New file.
5931         * sysdeps/x86_64/wcsrchr.S: New file.
5932         * string/test-strcmp.c: Remove checking of wcscmp function for
5933         wrong alignments.
5934         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5935         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5936         wcsrchr-sse2 wcsrchr-c.
5937         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5938         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5939         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5940         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5941         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5942         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5943         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5944         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5945         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5946         * wcsmbc/wcschr.c (WCSCHR): New macro.
5947
5948 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5949
5950         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5951         * wcsmbs/test-wcsrchr.c: New file.
5952         * string/test-strrchr.c: Add wcsrchr support.
5953         (WIDE): New macro.
5954         * wcsmbs/test-wcscpy.c: New file.
5955         * string/test-strcpy.c: Add wcscpy support.
5956         (WIDE): New macro.
5957
5958 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5959
5960         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5961         the inner loop.
5962
5963 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5964
5965         [BZ #13472]
5966         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5967
5968 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5969
5970         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5971         Minor optimizations.
5972
5973         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5974         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5975         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5976
5977 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5978
5979         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5980         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5981         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5982         for gcc to avoid warnings.
5983         * inet/Makefile (tests): Add tst-checks.
5984         * inet/tst-checks.c: New file.
5985
5986         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5987         warning.
5988
5989         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5990         __wmemcmp_sse2.
5991
5992         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5993         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5994
5995         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5996
5997 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5998
5999         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6000         problem.
6001
6002         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6003
6004 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
6005
6006         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6007         conditional on GCC version.
6008         (__arch_compare_and_exchange_val_8_acq)
6009         (__arch_compare_and_exchange_val_16_acq)
6010         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6011         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6012         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6013
6014 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
6015
6016         * sysdeps/sh/backtrace.c: New file.
6017
6018 2011-12-02  Andreas Schwab  <schwab@redhat.com>
6019
6020         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
6021         parenthesis.
6022
6023 2011-12-01  Andreas Schwab  <schwab@redhat.com>
6024
6025         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6026         falling back to utime.
6027
6028 2011-11-30  Andreas Schwab  <schwab@redhat.com>
6029
6030         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6031         expectations for float.
6032
6033 2011-11-29  Andreas Schwab  <schwab@redhat.com>
6034
6035         * locale/weight.h (findidx): Add parameter len.
6036         * locale/weightwc.h (findidx): Likewise.
6037         * posix/fnmatch_loop.c (FCT): Adjust caller.
6038         * posix/regcomp.c (build_equiv_class): Likewise.
6039         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6040         * posix/regexec.c (check_node_accept_bytes): Likewise.
6041         * string/strcoll_l.c (STRCOLL): Likewise.
6042         * string/strxfrm_l.c (STRXFRM): Likewise.
6043
6044 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
6045
6046         * Makefile.in: Remove CVSOPT handling.
6047         * configure.in: Remove use of AC_REVISION.
6048         * iconvdata/Makefile (distribute): No need to filter out CVS.
6049         * scripts/list-sources.sh: Remove CVS, subversion and monotone
6050         handling.
6051
6052 2011-11-16  Andreas Schwab  <schwab@redhat.com>
6053
6054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6055         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6056         [USE_AS_STRNCASECMP_L]: Likewise.
6057         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6058         NO_TLS_DIRECT_SEG_REFS.
6059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6060         Fix argument offsets for non-PIC.
6061         [USE_AS_STRNCASECMP_L]: Likewise.
6062         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6063         NO_TLS_DIRECT_SEG_REFS.
6064
6065 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6066
6067         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6068         O_CLOEXEC.
6069         * locale/loadlocale.c (_nl_load_locale): Likewise.
6070
6071 2011-11-15  Andreas Schwab  <schwab@redhat.com>
6072
6073         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6074         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6075         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6076         (SYSCALL_GETTIME): Set errno on error.
6077
6078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6079         count references to noai6ai_cached.
6080
6081 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6082
6083         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6084
6085         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6086         FD_CLOEXEC for /proc/self/maps.
6087
6088         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6089         FD_CLOEXEC for /proc/meminfo.
6090
6091         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6092         gai.conf.
6093
6094         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
6095         FD_CLOEXEC for given file.
6096
6097         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6098
6099         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6100         FD_CLOEXEC for /etc/hosts.
6101         (_gethtent): Likewise.
6102
6103         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6104
6105         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6106         cancellation and set FD_CLOEXEC for /etc/netgroup.
6107
6108         * nss/nss_files/files-key.c (search): Don't allow cancellation when
6109         reading /etc/publickey.
6110
6111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6112         allow cancellation when reading /etc/group.
6113
6114         * nss/nss_files/files-alias.c (internal_setent): Don't allow
6115         cancellation.
6116         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
6117
6118         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6119         when using data file.
6120
6121         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6122
6123         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6124         (write_nis_obj): Use "c" and "e" in fopen.
6125
6126         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6127
6128         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6129
6130         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6131
6132         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6133
6134         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6135         locale.alias.
6136
6137         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6138
6139         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6140
6141         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6142
6143         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6144         file parsing and set FD_CLOEXEC.
6145
6146 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6147
6148         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6149
6150 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6151
6152         * malloc/arena.c (arena_get2): Don't call reused_arena when
6153         _int_new_arena failed.
6154
6155 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6156
6157         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6158         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6159         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6160         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6161         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6162         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6163         to compile strcasecmp and strncasecmp.
6164         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6165         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6166
6167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6168
6169 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6170
6171         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6172         locale-defines.sym to gen-as-const-headers.
6173         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6174         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6176         to compile strcasecmp and strncasecmp.
6177         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6178         strcasecmp_l and strncasecmp_l.
6179         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6180         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6181         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6182         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6183         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6184         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6185         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6186         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6187         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6188         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6189         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6190
6191 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6192
6193         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6194         result of SYSDEP_GETTIME_CPU to retval.
6195         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6196         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6197
6198         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6199         variable.
6200
6201         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6202         mantissa words.
6203         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6204
6205         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6206         from unused variable.
6207
6208         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6209         DWARF definitions.
6210         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6211         for assembling.
6212
6213         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6214         over namespaces.
6215
6216         * sunrpc/rpc_prot.c (rejected): Fix case value.
6217
6218         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6219         unsigned long long int to avoid warnings in shift.
6220
6221         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6222         of use of trans.
6223         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6224         variable tmp.
6225
6226         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6227         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6228         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6229
6230         * nis/nis_table.c (nis_list): Use variable of correct type for
6231         result of __follow_path call.
6232
6233 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6234
6235         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6236         of math functions ceil, trunc, floor, round, and sqrt, when
6237         avaliable on the platform.
6238         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6239         name clash.
6240         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6241         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6242         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6243
6244 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6245
6246         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6247         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6248
6249 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6250
6251         * include/unistd.h: Fix __readlink return type.
6252         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6253
6254 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6255
6256         * stdlib/ucontext.h: Undo last change for makecontext.
6257
6258 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6259
6260         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6261
6262         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6263         * setjmp/setjmp.h: Mark functions as non-leaf.
6264         * setjmp/bits/setjmp2.h: Likewise.
6265         * stdlib/ucontext.h: Likewise.
6266
6267 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6268
6269         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6270         (reused_arena): Don't check arena limit.
6271         (arena_get2): Atomically check arena limit.
6272
6273 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6274
6275         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6276         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6277
6278         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6279         instructions.
6280
6281 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6282
6283         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6284         handler when locking.
6285
6286         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6287         Fix size of allocated buffer.
6288
6289 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6290
6291         [BZ #10103]
6292         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6293         declarations for long double functions.
6294         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6295
6296         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6297
6298 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6299
6300         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6301         installed.
6302
6303         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6304         is disabled.
6305
6306 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6307
6308         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6309
6310 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6311
6312         * include/alloca.h (stackinfo_alloca_round): Define.
6313         (extend_alloca): Use it.
6314         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6315         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6316         here.
6317
6318         * scripts/check-local-headers.sh: Ignore libaudit.h.
6319
6320         * nscd/Makefile (extra-objs): Make recursively expanded.
6321
6322 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6323
6324         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6326
6327         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6328         * posix/tst-rfc3484-2.c: Likewise.
6329         * posix/tst-rfc3484-3.c: Likewise.
6330
6331         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6332         process_vm_writev.
6333         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6334         process_vm_writev.
6335         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6336         process_vm_writev from libc using GLIBC_2.15 version.
6337
6338         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6339
6340 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6341
6342         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6343         stack usage.
6344
6345 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6346
6347         [BZ #13367]
6348         * nss/getent.c (initgroups_keys): Show error message in case no group
6349         names are given.
6350
6351         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6352         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6353         __bump_nl_timestamp.
6354         * nscd/connections (nscd_init): When host database is served open
6355         netlink socket and request notification about configuration changes.
6356         (main_loop_poll): Track netlink file descriptor and bump timestamp
6357         in case data becomes available.
6358         (main_loop_epoll): Likewise.
6359         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6360         (database_pers_head): Add extra_data fileds.
6361         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6362         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6363         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6364         Adjust caller.
6365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6366         in6ai data, call __free_in6ai.
6367         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6368         Add -DHAVE_NETLINK.
6369         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6370         interface information.  Reuse previous data if netlink timestamp
6371         is not changed.
6372         (__bump_nl_timestamp): New function.
6373         (__free_in6ai): New function.
6374
6375 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6376
6377         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6378         close_not_cancel_no_status here.
6379         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6380
6381 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6382
6383         [BZ #13276]
6384         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6385         return value.
6386
6387         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6388         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6389         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6390
6391 2011-07-03  Andreas Jaeger  <aj@suse.de>
6392
6393         [BZ #10709]
6394         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6395         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6396         * math/libm-test.inc (sin_test): Add test case.
6397
6398 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6399
6400         [BZ #13337]
6401         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6402         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6403
6404         * elf/chroot_canon.c (chroot_canon): Cleanups.
6405
6406         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6407
6408         [BZ #13335]
6409         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6410         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6411
6412         * string/test-strchr.c: Make usable for strchrnul testing.
6413         * string/test-strchrnul.c: New file.
6414         * string/Makefile (strop-tests): Add strchrnul.
6415
6416         * po/it.po: Update from translation team.
6417         * po/es.po: Likewise.
6418
6419 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6420
6421         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6422         the three constants needed as parameters.  Drop the others.
6423         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6424         __m128i_strloadu_tolower.
6425         Create and initialize variable zero and use it in all the places
6426         where _mm_setzero_si128 was used.
6427
6428         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6429         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6430         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6431         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6432         anymore.
6433         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6434         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6435         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6436         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6437         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6438         __mpranred, __mptan.
6439         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6440         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6441         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6442         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6443         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6444         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6445         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6446         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6447         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6448
6449 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6450
6451         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6452         redefine if SHARED.
6453         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6454
6455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6456         wide char related routines to wcsmbs subdir.
6457
6458 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6459
6460         [BZ #13344]
6461         * misc/sys/cdefs.h (__THROWNL): Define.
6462         * posix/unistd.h: Use __THREADNL instead of __THREAD
6463         for memory synchronization functions.
6464
6465 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6466
6467         [BZ #13349]
6468         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6469         doesn't exist.
6470         * manual/stdio.texi (Obstack Streams): Node removed.
6471
6472 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6473
6474         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6475         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6476         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6477
6478         * math/math_private.h (math_force_eval): Allow non-addressable
6479         arguments.
6480         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6481
6482 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6483
6484         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6485         file is not needed.
6486
6487         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6489         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6490         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6493         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6494         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6495         Add AVX variants.
6496         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6497         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6498         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6499         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6500         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6501         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6502         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6503         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6504         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6505         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6506         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6507         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6508         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6509         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6510         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6511         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6512         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6513         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6514         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6515
6516         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6517         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6518
6519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6520         place.  Use VEX encoding when compiling for AVX.
6521
6522 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6523
6524         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6525         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6526
6527         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6528
6529 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6530
6531         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6532         useless if() expression.
6533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6534         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6535         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6536         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6537         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6538         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6539         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6540         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6541         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6542         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6543         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6544         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6545         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6546         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6547         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6549         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6550         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6551         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6552
6553         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6554
6555 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6556
6557         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6558         condition.
6559         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6560
6561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6562
6563         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6564         .text section.  Avoid duplicate constants.
6565         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6567         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6573         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6574         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6575         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6576         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6577         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6578         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6579         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6580         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6581         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6582         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6585         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6586         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6587         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6588         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6589         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6590         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6592         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6593         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6594         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6595         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6596         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6597         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6598         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6599         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6600         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6601         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6602         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6603         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6604         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6606         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6607         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6608         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6609         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6610
6611 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6612
6613         * sysdeps/x86_64/dla.h: Move to ...
6614         * sysdeps/x86_64/fpu/dla.h: ...here.
6615         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6616         situations.  Use __builtin_fma only for gcc 4.6 and up.
6617
6618         * config.make.in: Add have-mfma4 entry.
6619         * configure.in: Substitute libc_cv_cc_fma4.
6620         * math/Makefile (dbl-only-routines): Add sincostab.
6621         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6622         Use __sincostab not sincos.
6623         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6624         name is a macro.
6625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6629         using __copysign.
6630         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6631         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6632         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6633         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6634         and __inv.
6635         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6636         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6637         __copysign.
6638         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6639         define aliases when function name is a macro.
6640         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6641         sysdeps/ieee754/dbl-64/sincos.tbl.
6642         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6643         fma4-enabled routines.
6644         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6645         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6646         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6647         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6648         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6649         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6650         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6651         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6652         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6653         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6654         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6655         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6656         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6657         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6658         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6659         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6660         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6661         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6662         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6663         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6664         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6665         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6666         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6667         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6669         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6671         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6672         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6673         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6674
6675         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6676         rename.
6677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6678         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6682         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6683         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6685
6686 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6687
6688         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6689
6690 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6691
6692         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6693
6694         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6695         prediction.
6696         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6697
6698         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6699         Remove unused variable magic_bits.
6700         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6701
6702         * string/strnlen.c: Define and use STRNLEN macro.
6703         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6704         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6706         * wcsmbs/wcslen.c: Define and use WCSLEN.
6707         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6708         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6709         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6710         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6711         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6712         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6713         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6714
6715 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6716
6717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6718         strnlen-sse2-no-bsf.
6719         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6720         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6721         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6722         Add strnlen support.
6723         (USE_AS_STRNLEN): New macro.
6724         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6726         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6727         * sysdeps/x86_64/wcslen.S: New file.
6728
6729 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6730
6731         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6732         XMM-moves are used for copying on small sizes.
6733
6734 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6735
6736         * wcsmbs/Makefile (strop-tests): Add wcschr.
6737         * wcsmbs/test-wcschr.c: New file.
6738         * string/test-strchr.c: Update.
6739         Add wcschr support.
6740         (WIDE): New macro.
6741
6742 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6743
6744         * wcsmbs/Makefile (strop-tests): Add wcslen.
6745         * wcsmbs/test-wcslen.c: New file.
6746         * string/test-strlen.c: Update.
6747         Add wcslen support.
6748         (WIDE): New macro.
6749
6750 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6751
6752         * po/it.po: Update from translation team.
6753
6754 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6755
6756         * sysdeps/x86_64/wcscmp.S: Update.
6757         Fix wrong comparison semantics.
6758         wcscmp shall use signed comparison not unsigned.
6759         Don't use substraction to avoid overflow bug.
6760         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6761         * wcsmbc/wcscmp.c: Likewise.
6762         * string/test-strcmp.c: Likewise.
6763         Add new tests to check cases with negative values.
6764
6765 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6766
6767         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6768         * sysdeps/x86_64/dla.h: ...here.  New file.
6769         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6774         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6775         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6778
6779 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6780
6781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6782         __ynl_finite aliases.
6783
6784 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6785
6786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6787
6788         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6789         define DLA_FMA.
6790         [DLA_FMA] (EMULV): Use DLA_FMA.
6791         [DLA_FMA] (MUL12): Use EMULV.
6792         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6793         that are not needed.
6794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6800         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6801
6802 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6803
6804         * math/s_nan.c: Undef __nan.
6805         * math/s_nanf.c: Undef __nanf.
6806         * math/s_nanl.c: Undef __nanl.
6807         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6808         "math_private.h".
6809
6810 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6811
6812         * math/s_catan.c: Add branch predictions.
6813         * math/s_catanf.c: Likewise.
6814         * math/s_catanh.c: Likewise.
6815         * math/s_catanhf.c: Likewise.
6816         * math/s_catanhl.c: Likewise.
6817         * math/s_catanl.c: Likewise.
6818         * math/s_cexp.c: Likewise.
6819         * math/s_cexpf.c: Likewise.
6820         * math/s_cexpl.c: Likewise.
6821         * math/s_clog.c: Likewise.
6822         * math/s_clog10.c: Likewise.
6823         * math/s_clog10f.c: Likewise.
6824         * math/s_clog10l.c: Likewise.
6825         * math/s_clogf.c: Likewise.
6826         * math/s_clogl.c: Likewise.
6827         * math/s_csqrt.c: Likewise.
6828         * math/s_csqrtf.c: Likewise.
6829         * math/s_csqrtl.c: Likewise.
6830         * math/s_ctanf.c: Likewise.
6831         * math/s_ctanh.c: Likewise.
6832         * math/s_ctanhf.c: Likewise.
6833         * math/s_ctanhl.c: Likewise.
6834         * math/s_ctanl.c: Likewise.
6835
6836         * math/math_private.h: Define __nan, __nanf, __nanl.
6837         * math/s_cacosh.c: Include <math_private.h>.
6838         * math/s_cacoshl.c: Likewise.
6839         * math/s_casinh.c: Likewise.
6840         * math/s_casinhf.c: Likewise.
6841         * math/s_casinhl.c: Likewise.
6842         * math/s_ccos.c: Rely entire on ccosh.
6843         * math/s_ccosf.c: Rely entire on ccoshf.
6844         * math/s_ccosl.c: Rely entirely on ccoshl.
6845         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6846         Remove tests for FE_INVALID.
6847         * math/s_ccoshf.c: Likewise.
6848         * math/s_ccoshl.c: Likewise.
6849         * math/s_csin.c: Likewise.
6850         * math/s_csinf.c: Likewise.
6851         * math/s_csinh.c Likewise.
6852         * math/s_csinhf.c: Likewise.
6853         * math/s_csinhl.c: Likewise.
6854         * math/s_csinl.c: Likewise.
6855         * math/s_ctan.c: Likewise.
6856         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6857         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6858         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6859
6860 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6861
6862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6863         compilation problems.
6864
6865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6866         __builtin_expect.
6867
6868 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6869
6870         * sysdeps/i386/configure.in: Test for -mfma4 option.
6871         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6872         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6873         COMMON_CPUID_INDEX_80000001.
6874         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6875         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6876         use it if FMA3 is not supported.
6877         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6878
6879         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6880         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6881
6882 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6883
6884         [BZ #12892]
6885         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6886         it would create a cycle with a link time dependency.
6887
6888 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6889
6890         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6891         instruction.
6892         * string/Makefile (strop-tests): Add rawmemchr.
6893         * string/test-rawmemchr.c: New file.
6894
6895         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6896         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6897         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6898         when compiling str{,n}casecmp and when AVX is available.  Hook up
6899         new optimized code in initializers.
6900
6901 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6902
6903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6904         __feraiseexcept instead of feraiseexcept.
6905
6906 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6907
6908         * math/math_private.h: Define defaults for libc_fetestexcept and
6909         libc_feupdateenv.
6910         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6911         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6912         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6913         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6914         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6915         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6916         libc_fetestexcept and libc_feupdateenv.
6917
6918         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6919         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6920         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6921         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6922         libc_feholdexcept_setround.
6923
6924         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6925         Add s_nearbyint-c and s_nearbyintf-c.
6926         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6927         nearbyintf inlines.
6928         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6929         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6930         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6931         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6932
6933         * math/math_private.h: Define defaults for libc_fegetround,
6934         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6935         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6936         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6938         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6939         standard functions.
6940         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6941         Remove comments and hacks for old compiler versions.
6942         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6943         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6944         libc_feholdexceptl.
6945
6946 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6947
6948         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6949         (__feraiseexcept_renamed): Add __NTH.
6950         (feraiseexcept): Add __NTH.  Rename local variables to fix
6951         namespace violations.
6952
6953 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6954
6955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6956
6957         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6958
6959         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6960         recently added interfaces.
6961         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6962
6963         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6964         about macro parameter expansion.
6965
6966         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6967         __NO_MATH_INLINES is defined.  Cleanups.
6968
6969         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6970         and __floorf is target has SSE4.1.
6971         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6972         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6973         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6974         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6975
6976         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6977         name.
6978         (floorf): Likewise.
6979
6980         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6981
6982 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6983
6984         * misc/sys/cdefs.h: Fix last change.
6985
6986         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6987         database lookup.
6988
6989 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6990
6991         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6992
6993         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6994         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6995         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6996         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6997         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6998         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6999         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7000         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7001         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7002         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7003         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7004         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7005         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7006         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7007         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7008         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7009         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7010         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7011         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7012         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7013         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7014         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7015
7016         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7017         ceil, ceilf, floor, floorf.
7018
7019         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7020         Perform IRELATIVE relocations last.
7021
7022         * elf/do-rel.h: Add another parameter nrelative, replacing the
7023         local variable with the same name.  Change name of the function
7024         to end in Rel or Rela (uppercase).
7025         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7026         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
7027         elf_dynamic_do_##reloc function.
7028
7029 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7030
7031         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7032         is sufficient, at least on modern CPUs.
7033
7034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7035
7036         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7037         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7038
7039         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7040         __expl_finite.
7041         * math/bits/math-finite.h: Add entries for exp.
7042         * math/e_expl.c: Add __*_finite alias.
7043         * sysdeps/i386/fpu/e_exp.S: Likewise.
7044         * sysdeps/i386/fpu/e_expf.S: Likewise.
7045         * sysdeps/i386/fpu/e_expl.c: Likewise.
7046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7047         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7048         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7050         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7051         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7052         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7053
7054         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7055         is sufficient, at least on modern CPUs.
7056
7057         * ctype/ctype-info.c (__ctype_init): Define.
7058         * include/ctype.h (__ctype_init): Declare.
7059         (__ctype_b_loc): The variable is always initialized.
7060         (__ctype_toupper_loc): Likewise.
7061         (__ctype_tolower_loc): Likewise.
7062         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7063         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7064
7065 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
7066
7067         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7068
7069         * configure.in: Also look in $cxxmachine/include for C++ system
7070         headers.
7071
7072 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7073
7074         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7075         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7076         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7077         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
7078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7079         (USE_AS_WMEMCMP): New macro.
7080         Fixing indents.
7081         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7082         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7083         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7084         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7086         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7087         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7088         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7089         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7090         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7091         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7092         (USE_AS_WMEMCMP): New macro.
7093         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7094         * sysdeps/string/test-memcmp.c: Update.
7095         Fix simple_wmemcmp.
7096         Add new tests.
7097         * wcsmbs/wmemcmp.c: Update.
7098         (WMEMCMP): New macro.
7099         Fix overflow bug.
7100
7101 2011-10-12  Andreas Jaeger  <aj@suse.de>
7102
7103         [BZ #13268]
7104         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7105
7106 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7107
7108         * libio/iofwide.c (do_length): Avoid warning.
7109
7110         * ctype/ctype.h (__isctype_f): Add missing __THROW.
7111
7112 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
7113
7114         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7115
7116         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7117         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7118         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7119         * sysdeps/i386/i686/fpu/e_log.S: New file.
7120         * sysdeps/i386/i686/fpu/e_logf.S: New file.
7121         * sysdeps/i386/i686/fpu/e_logl.S: New file.
7122
7123         * ctype/ctype.h: Add support for inlined isXXX functions when
7124         compiling C++ code.
7125
7126 2011-10-14  Andreas Schwab  <schwab@redhat.com>
7127
7128         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7129
7130         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7131
7132 2011-10-13  Roland McGrath  <roland@hack.frob.com>
7133
7134         [BZ #13291]
7135         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7136
7137 2011-10-13  Andreas Schwab  <schwab@redhat.com>
7138
7139         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7140         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7141         feraiseexcept.
7142
7143         * sysdeps/x86_64/memrchr.S: Check for zero size.
7144
7145         * string/stratcliff.c: Add memrchr tests.
7146
7147 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7148
7149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7150         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7151         rawmemchr-sse2 rawmemchr-sse2-bsf.
7152         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7153         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7154         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7155         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7156         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7157         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7158         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7159         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7160         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7161         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7162         * string/memrchr.c (MEMRCHR): New macro.
7163
7164 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7165
7166         Add integration with gcc's -ffinite-math-only and optimize wrapper
7167         functions in libm.
7168         * Versions.def: Define GLIBC_2.15 version for libm.
7169         * math/Makefile (headers): Add bits/math-finite.h.
7170         * math/bits/math-finite.h: New file.
7171         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7172         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7173         * math/e_acoshl.c: Add __*_finite alias.
7174         * math/e_acosl.c: Likewise.
7175         * math/e_asinl.c: Likewise.
7176         * math/e_atan2l.c: Likewise.
7177         * math/e_atanhl.c: Likewise.
7178         * math/e_coshl.c: Likewise.
7179         * math/e_exp10.c: Likewise.
7180         * math/e_exp10f.c: Likewise.
7181         * math/e_exp10l.c: Likewise.
7182         * math/e_exp2l.c: Likewise.
7183         * math/e_fmodl.c: Likewise.
7184         * math/e_gammal_r.c: Likewise.
7185         * math/e_hypotl.c: Likewise.
7186         * math/e_j0l.c: Likewise.
7187         * math/e_j1l.c: Likewise.
7188         * math/e_jnl.c: Likewise.
7189         * math/e_lgammal_r.c: Likewise.
7190         * math/e_log10l.c: Likewise.
7191         * math/e_log2l.c: Likewise.
7192         * math/e_logl.c: Likewise.
7193         * math/e_powl.c: Likewise.
7194         * math/e_sinhl.c: Likewise.
7195         * math/e_sqrtl.c: Likewise.
7196         * math/e_scalb.c: Completely rewritten and optimized.
7197         * math/e_scalbf.c: Likewise.
7198         * math/e_scalbl.c: Likewise.
7199         * math/w_acos.c: Likewise.
7200         * math/w_acosf.c: Likewise.
7201         * math/w_acosl.c: Likewise.
7202         * math/w_acosh.c: Likewise.
7203         * math/w_acoshf.c: Likewise.
7204         * math/w_acoshl.c: Likewise.
7205         * math/w_asin.c: Likewise.
7206         * math/w_asinf.c: Likewise.
7207         * math/w_asinl.c: Likewise.
7208         * math/w_atan2.c: Likewise.
7209         * math/w_atan2f.c: Likewise.
7210         * math/w_atan2l.c: Likewise.
7211         * math/w_atanh.c: Likewise.
7212         * math/w_atanhf.c: Likewise.
7213         * math/w_atanhl.c: Likewise.
7214         * math/w_exp10.c: Likewise.
7215         * math/w_exp10f.c: Likewise.
7216         * math/w_exp10l.c: Likewise.
7217         * math/w_fmod.c: Likewise.
7218         * math/w_fmodf.c: Likewise.
7219         * math/w_fmodl.c: Likewise.
7220         * math/w_j0.c: Likewise.
7221         * math/w_j0f.c: Likewise.
7222         * math/w_j0l.c: Likewise.
7223         * math/w_j1.c: Likewise.
7224         * math/w_j1f.c: Likewise.
7225         * math/w_j1l.c: Likewise.
7226         * math/w_jn.c: Likewise.
7227         * math/w_jnf.c: Likewise.
7228         * math/w_log.c: Likewise.
7229         * math/w_logf.c: Likewise.
7230         * math/w_logl.c: Likewise.
7231         * math/w_log10.c: Likewise.
7232         * math/w_log10f.c: Likewise.
7233         * math/w_log10l.c: Likewise.
7234         * math/w_log2.c: Likewise.
7235         * math/w_log2f.c: Likewise.
7236         * math/w_log2l.c: Likewise.
7237         * math/w_pow.c: Likewise.
7238         * math/w_powf.c: Likewise.
7239         * math/w_powl.c: Likewise.
7240         * math/w_remainder.c: Likewise.
7241         * math/w_remainderf.c: Likewise.
7242         * math/w_remainderl.c: Likewise.
7243         * math/w_scalb.c: Likewise.
7244         * math/w_scalbf.c: Likewise.
7245         * math/w_scalbl.c: Likewise.
7246         * math/w_sqrt.c: Likewise.
7247         * math/w_sqrtf.c: Likewise.
7248         * math/w_sqrtl.c: Likewise.
7249         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7250         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7251         used.
7252         * math/math_private.h: Declare __kernel_standard_f.
7253         * math/w_cosh.c: Remove cruft and optimize a bit.
7254         * math/w_coshf.c: Likewise.
7255         * math/w_coshl.c: Likewise.
7256         * math/w_exp2.c: Likewise.
7257         * math/w_exp2f.c: Likewise.
7258         * math/w_exp2l.c: Likewise.
7259         * math/w_hypot.c: Likewise.
7260         * math/w_hypotf.c: Likewise.
7261         * math/w_hypotl.c: Likewise.
7262         * math/w_lgamma.c: Likewise.
7263         * math/w_lgamma_r.c: Likewise.
7264         * math/w_lgammaf.c: Likewise.
7265         * math/w_lgammaf_r.c: Likewise.
7266         * math/w_lgammal.c: Likewise.
7267         * math/w_lgammal_r.c: Likewise.
7268         * math/w_sinh.c: Likewise.
7269         * math/w_sinhf.c: Likewise.
7270         * math/w_sinhl.c: Likewise.
7271         * math/w_tgamma.c: Likewise.
7272         * math/w_tgammaf.c: Likewise.
7273         * math/w_tgammal.c: Likewise.
7274         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7275         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7276         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7277         Minor optimizations.  Pretty printing.  Remove cruft.
7278         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7279         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7280         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7281         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7282         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7283         * sysdeps/i386/fpu/e_asin.S: Likewise.
7284         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7285         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7286         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7287         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7288         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7290         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7291         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7292         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7293         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7294         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7295         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7296         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7297         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7298         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7299         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7300         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7301         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7302         * sysdeps/i386/fpu/e_log.S: Likewise.
7303         * sysdeps/i386/fpu/e_log10.S: Likewise.
7304         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7305         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7306         * sysdeps/i386/fpu/e_log2.S: Likewise.
7307         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7308         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7309         * sysdeps/i386/fpu/e_logf.S: Likewise.
7310         * sysdeps/i386/fpu/e_logl.S: Likewise.
7311         * sysdeps/i386/fpu/e_pow.S: Likewise.
7312         * sysdeps/i386/fpu/e_powf.S: Likewise.
7313         * sysdeps/i386/fpu/e_powl.S: Likewise.
7314         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7315         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7316         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7317         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7318         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7320         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7321         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7322         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7323         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7324         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7326         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7327         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7328         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7329         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7330         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7331         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7332         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7333         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7334         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7335         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7336         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7337         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7339         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7340         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7341         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7342         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7343         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7344         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7345         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7346         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7347         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7348         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7349         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7350         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7351         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7352         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7353         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7354         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7355         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7356         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7357         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7358         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7359         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7360         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7361         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7362         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7363         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7364         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7365         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7366         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7367         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7368         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7369         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7373         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7374         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7375         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7376         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7378         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7379         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7380         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7381         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7382         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7383         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7391         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7392         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7393         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7397         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7399         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7400         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7401         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7402         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7405         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7406         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7407         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7408         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7409         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7410         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7411         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7412         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7414         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7415         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7416         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7417         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7418         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7419         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7420         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7421         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7422         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7423         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7424         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7425         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7426         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7427         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7428         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7430         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7431         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7432         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7433         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7434         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7435         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7436         (__isnanf): Likewise.
7437         (__isinf_ns): Likewise.
7438         (__isinf_nsf): Likewise.
7439         (__finite): Likewise.
7440         (__finitef): Likewise.
7441         (__ieee754_sqrt): Define as macro.
7442         (__ieee754_sqrtf): Define as macro.
7443         (__ieee754_sqrtl): Define as macro.
7444         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7445         inlined copy.
7446         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7447         __FINITE_MATH_ONLY__ consistent.
7448         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7449
7450 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7451
7452         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7453         of rawmemchr.
7454
7455         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7456
7457 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7458
7459         * po/ja.po: Update from translation team.
7460
7461 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7462
7463         * locale/programs/locarchive.c (prepare_address_space): New function.
7464         (create_archive, enlarge_archive, open_archive): Use it.
7465
7466         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7467         inside [SHARED], where it is used.
7468
7469         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7470
7471         * nss/getent.c (netgroup_keys): Remove unused variable.
7472         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7473
7474 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7475
7476         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7477         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7479         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7480         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7481         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7482         * math/Makefile (libm-calls): Add s_isinf_ns.
7483         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7484         * math/multc3.c: Likewise.
7485         * math/s_casin.c: Likewise.
7486         * math/s_casinf.c: Likewise.
7487         * math/s_casinl.c: Likewise.
7488         * math/s_ccos.c: Likewise.
7489         * math/s_ccosf.c: Likewise.
7490         * math/s_ccosl.c: Likewise.
7491         * math/s_ctan.c: Likewise.
7492         * math/s_ctanf.c: Likewise.
7493         * math/s_ctanh.c: Likewise.
7494         * math/s_ctanhf.c: Likewise.
7495         * math/s_ctanhl.c: Likewise.
7496         * math/s_ctanl.c: Likewise.
7497         * math/w_fmod.c: Likewise.
7498         * math/w_fmodf.c: Likewise.
7499         * math/w_fmodl.c: Likewise.
7500         * math/w_remainder.c: Likewise.
7501         * math/w_remainderf.c: Likewise.
7502         * math/w_remainderl.c: Likewise.
7503         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7504         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7507         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7508         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7509         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7510         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7511
7512         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7513         of the number.
7514         * stdio-common/printf_fphex.c: Likewise.
7515         * stdio-common/printf_size.c: Likewise.
7516
7517         * math/e_exp10.c: Include math_private.h using <...> not "...".
7518         * math/e_exp10f.c: Likewise.
7519         * math/e_exp10l.c: Likewise.
7520         * math/e_exp2l.c: Likewise.
7521         * math/e_j0l.c: Likewise.
7522         * math/e_j1l.c: Likewise.
7523         * math/e_jnl.c: Likewise.
7524         * math/e_lgammal_r.c: Likewise.
7525         * math/e_rem_pio2l.c: Likewise.
7526         * math/e_scalb.c: Likewise.
7527         * math/e_scalbf.c: Likewise.
7528         * math/e_scalbl.c: Likewise.
7529         * math/k_cosl.c: Likewise.
7530         * math/k_sinl.c: Likewise.
7531         * math/k_tanl.c: Likewise.
7532         * math/s_cacoshf.c: Likewise.
7533         * math/s_catan.c: Likewise.
7534         * math/s_catanf.c: Likewise.
7535         * math/s_catanh.c: Likewise.
7536         * math/s_catanhf.c: Likewise.
7537         * math/s_catanhl.c: Likewise.
7538         * math/s_catanl.c: Likewise.
7539         * math/s_ccosh.c: Likewise.
7540         * math/s_ccoshf.c: Likewise.
7541         * math/s_ccoshl.c: Likewise.
7542         * math/s_cexp.c: Likewise.
7543         * math/s_cexpf.c: Likewise.
7544         * math/s_cexpl.c: Likewise.
7545         * math/s_clog.c: Likewise.
7546         * math/s_clog10.c: Likewise.
7547         * math/s_clog10f.c: Likewise.
7548         * math/s_clog10l.c: Likewise.
7549         * math/s_clogf.c: Likewise.
7550         * math/s_clogl.c: Likewise.
7551         * math/s_csin.c: Likewise.
7552         * math/s_csinf.c: Likewise.
7553         * math/s_csinh.c: Likewise.
7554         * math/s_csinhf.c: Likewise.
7555         * math/s_csinhl.c: Likewise.
7556         * math/s_csinl.c: Likewise.
7557         * math/s_csqrt.c: Likewise.
7558         * math/s_csqrtf.c: Likewise.
7559         * math/s_csqrtl.c: Likewise.
7560         * math/s_ctan.c: Likewise.
7561         * math/s_ctanf.c: Likewise.
7562         * math/s_ctanh.c: Likewise.
7563         * math/s_ctanhf.c: Likewise.
7564         * math/s_ctanhl.c: Likewise.
7565         * math/s_ctanl.c: Likewise.
7566         * math/s_ldexp.c: Likewise.
7567         * math/s_ldexpf.c: Likewise.
7568         * math/s_ldexpl.c: Likewise.
7569         * math/s_significand.c: Likewise.
7570         * math/s_significandf.c: Likewise.
7571         * math/s_significandl.c: Likewise.
7572         * math/w_acos.c: Likewise.
7573         * math/w_acosf.c: Likewise.
7574         * math/w_acosh.c: Likewise.
7575         * math/w_acoshf.c: Likewise.
7576         * math/w_acoshl.c: Likewise.
7577         * math/w_acosl.c: Likewise.
7578         * math/w_asin.c: Likewise.
7579         * math/w_asinf.c: Likewise.
7580         * math/w_asinl.c: Likewise.
7581         * math/w_atan2.c: Likewise.
7582         * math/w_atan2f.c: Likewise.
7583         * math/w_atan2l.c: Likewise.
7584         * math/w_atanh.c: Likewise.
7585         * math/w_atanhf.c: Likewise.
7586         * math/w_atanhl.c: Likewise.
7587         * math/w_cosh.c: Likewise.
7588         * math/w_coshf.c: Likewise.
7589         * math/w_coshl.c: Likewise.
7590         * math/w_dremf.c: Likewise.
7591         * math/w_exp10.c: Likewise.
7592         * math/w_exp10f.c: Likewise.
7593         * math/w_exp10l.c: Likewise.
7594         * math/w_exp2.c: Likewise.
7595         * math/w_exp2f.c: Likewise.
7596         * math/w_fmod.c: Likewise.
7597         * math/w_fmodf.c: Likewise.
7598         * math/w_fmodl.c: Likewise.
7599         * math/w_hypot.c: Likewise.
7600         * math/w_hypotf.c: Likewise.
7601         * math/w_hypotl.c: Likewise.
7602         * math/w_j0.c: Likewise.
7603         * math/w_j0f.c: Likewise.
7604         * math/w_j0l.c: Likewise.
7605         * math/w_j1.c: Likewise.
7606         * math/w_j1f.c: Likewise.
7607         * math/w_j1l.c: Likewise.
7608         * math/w_jn.c: Likewise.
7609         * math/w_jnf.c: Likewise.
7610         * math/w_jnl.c: Likewise.
7611         * math/w_lgamma.c: Likewise.
7612         * math/w_lgamma_r.c: Likewise.
7613         * math/w_lgammaf.c: Likewise.
7614         * math/w_lgammaf_r.c: Likewise.
7615         * math/w_lgammal.c: Likewise.
7616         * math/w_lgammal_r.c: Likewise.
7617         * math/w_log.c: Likewise.
7618         * math/w_log10.c: Likewise.
7619         * math/w_log10f.c: Likewise.
7620         * math/w_log10l.c: Likewise.
7621         * math/w_log2.c: Likewise.
7622         * math/w_log2f.c: Likewise.
7623         * math/w_log2l.c: Likewise.
7624         * math/w_logf.c: Likewise.
7625         * math/w_logl.c: Likewise.
7626         * math/w_pow.c: Likewise.
7627         * math/w_powf.c: Likewise.
7628         * math/w_powl.c: Likewise.
7629         * math/w_remainder.c: Likewise.
7630         * math/w_remainderf.c: Likewise.
7631         * math/w_remainderl.c: Likewise.
7632         * math/w_scalb.c: Likewise.
7633         * math/w_scalbf.c: Likewise.
7634         * math/w_scalbl.c: Likewise.
7635         * math/w_sinh.c: Likewise.
7636         * math/w_sinhf.c: Likewise.
7637         * math/w_sinhl.c: Likewise.
7638         * math/w_sqrt.c: Likewise.
7639         * math/w_sqrtf.c: Likewise.
7640         * math/w_sqrtl.c: Likewise.
7641         * math/w_tgamma.c: Likewise.
7642         * math/w_tgammaf.c: Likewise.
7643         * math/w_tgammal.c: Likewise.
7644
7645         * po/ja.po: Update from translation team.
7646
7647 2011-09-29  Andreas Jaeger  <aj@suse.de>
7648
7649         [BZ #13179]
7650         * sunrpc/netname.c (netname2host): Fix logic.
7651
7652         [BZ #6779]
7653         [BZ #6783]
7654         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7655         correctly.
7656         * math/w_remainder.c (__remainder): Likewise.
7657         * math/w_remainderf.c (__remainderf): Likewise.
7658         * math/libm-test.inc (remainder_test): Add test cases.
7659
7660 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7661
7662         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7663         sdiv_qrnnd.
7664
7665 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7666
7667         * string/test-memcmp.c: Avoid unncessary #defines.
7668         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7669
7670 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7671
7672         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7673         Use new sse2 version for core i3 - i7 as it's faster
7674         than sse42 version.
7675         (bit_Prefer_PMINUB_for_stringop): New.
7676         * sysdeps/x86_64/rawmemchr.S: Update.
7677         Replace with faster SSE2 version.
7678         * sysdeps/x86_64/memrchr.S: New file.
7679         * sysdeps/x86_64/memchr.S: Update.
7680         Replace with faster SSE2 version.
7681
7682 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7683
7684         * elf/dl-load.c (lose): Add cast to avoid warning.
7685
7686 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7687
7688         * po/ca.po: Update from translation team.
7689
7690         * inet/getnetgrent_r.c: Hook up nscd.
7691         * nscd/Makefile (routines): Add nscd_netgroup.
7692         (nscd-modules): Add netgroupcache.
7693         (CFLAGS-netgroupcache.c): Define.
7694         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7695         (cache_search): Add const to second parameter.
7696         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7697         INNETGR.
7698         (dbs): Add netgrdb entry.
7699         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7700         (verify_persistent_db): Handle netgrdb.
7701         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7702         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7703         GETFDNETGR.
7704         (netgroup_response_header): Define.
7705         (innetgroup_response_header): Define.
7706         (datahead): Add netgroup_response_header and innetgroup_response_header
7707         elements.
7708         * nscd/nscd.conf: Add entries for netgroup cache.
7709         * nscd/nscd.h (dbtype): Add netgrdb.
7710         (_PATH_NSCD_NETGROUP_DB): Define.
7711         (netgroup_iov_disabled): Declare.
7712         (xmalloc, xcalloc, xrealloc): Move declarations here.
7713         (cache_search): Adjust prototype.
7714         Add netgroup-related prototypes.
7715         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7716         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7717         (__nscd_innetgr): Declare.
7718         * nscd/selinux.c (perms): Use access_vector_t as element type and
7719         add netgroup-related initializers.
7720         * nscd/netgroupcache.c: New file.
7721         * nscd/nscd_netgroup.c: New file.
7722         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7723         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7724         For four parameters use innetgr.
7725         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7726         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7727         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7728         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7729
7730         * nscd/connections.c (register_traced_file): Don't register file
7731         for disabled databases.
7732
7733 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7734
7735         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7736
7737         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7738         from tree and freeing node.
7739
7740 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7741
7742         * nss/nsswitch.c (__nss_database_lookup): Handle
7743         nss_parse_service_list out of memory case.
7744
7745 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7746
7747         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7748         out of memory case.
7749
7750 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7751
7752         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7753         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7754         pass it down.
7755         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7756         elf_machine_rela, elf_machine_lazy_rel.
7757         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7758         (ELF_DYNAMIC_DO_REL): Likewise.
7759         (ELF_DYNAMIC_DO_RELA): Likewise.
7760         (ELF_DYNAMIC_RELOCATE): Likewise.
7761         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7762         to ELF_DYNAMIC_DO_REL.
7763         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7764         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7765         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7766         elf_machine_rela.
7767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7768         skip_ifunc, don't call ifunc function if non-zero.
7769         (elf_machine_rela): Likewise.
7770         (elf_machine_lazy_rel): Likewise.
7771         (elf_machine_lazy_rela): Likewise.
7772         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7773         (elf_machine_lazy_rel): Likewise.
7774         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7775         Likewise.
7776         (elf_machine_lazy_rel): Likewise.
7777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7778         Likewise.
7779         (elf_machine_lazy_rel): Likewise.
7780         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7781         (elf_machine_lazy_rel): Likewise.
7782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7783         (elf_machine_lazy_rel): Likewise.
7784         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7785         (elf_machine_lazy_rel): Likewise.
7786         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7787         (elf_machine_lazy_rel): Likewise.
7788         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7789         (elf_machine_lazy_rel): Likewise.
7790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7791         (elf_machine_lazy_rel): Likewise.
7792
7793 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7794
7795         * nss/nss_files/files-init.c (_nss_files_init): Use static
7796         initialization for all the *_traced_file variables.
7797
7798 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7799
7800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7801
7802 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7803
7804         [BZ #13226]
7805         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7806
7807 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7808
7809         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7810         Reread the line before reparsing it.
7811
7812 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7813
7814         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7815
7816 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7817             Maxim Kuvyrkov  <maxim@codesourcery.com>
7818             Joseph Myers  <joseph@codesourcery.com>
7819
7820         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7821         if needed for __stack_chk_guard.
7822
7823 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7824
7825         * sysdeps/posix/spawni.c (script_execute): Always define it.
7826         It will be optimized away if unused.
7827         (maybe_script_execute): New function.
7828         (__spawni): Call it.
7829
7830         * Makerules: Don't include tls.make.
7831         (config-tls): Always set to thread.
7832         * tls.make.c: File removed.
7833
7834 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7835
7836         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7837         * config.make.in (CPPFLAGS-config): New substituted variable.
7838
7839 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7840
7841         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7842
7843         [BZ #13192]
7844         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7845         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7846
7847 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7848
7849         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7850         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7852         (CALL_FAIL): Likewise.
7853         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7854         (CALL_FAIL): Macro removed.
7855         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7856
7857 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7858
7859         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7860         for __FINITE_MATH_ONLY__ == 1.
7861
7862 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7863
7864         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7865         __ieee754_sqrt instead of sqrt.
7866         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7867         __ieee754_sqrtf instead of sqrtf.
7868         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7869         __floorf instead of floorf.
7870         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7871         __floorf, __truncf instead of floorf, truncf.
7872
7873 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7874
7875         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7876
7877         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7878         __extern_always_inline.
7879         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7880         32-bit.
7881
7882 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7883
7884         * elf/rtld.c (dl_main): Also relocate in dependency order when
7885         doing symbol dependency testing.
7886
7887 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7888
7889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7890         Always define `refsym'.
7891
7892 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7893
7894         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7895         (__FD_ELT): Renamed from __FDELT.
7896         * misc/bits/select2.h (__FD_ELT): Likewise.
7897         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7898         __FD_MASK instead of __FDELT, __FDMASK.
7899         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7900         Likewise.
7901         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7902         Likewise.
7903
7904         * elf/Makefile (gen-ldd): Fix pattern.
7905
7906         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7907         (init_tls): Likewise.
7908
7909 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7910
7911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7912
7913 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7914
7915         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7916         `struct cmsghdr *' instead of `void *'.
7917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7918         Likewise.
7919
7920 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7921
7922         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7923         if non-absolute.
7924         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7925         ldd_rewrite_script.
7926
7927 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7928
7929         * configure.in: Remove --with-tls option.
7930         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7931         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7932         out in case it is missing.
7933         * sysdeps/ia64/elf/configure.in: Likewise.
7934         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7935         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7936         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7937         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7938         * sysdeps/sh/elf/configure.in: Likewise.
7939         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7940         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7941         * sysdeps/x86_64/elf/configure.in: Likewise.
7942         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7943         * sysdeps/mach/hurd/tls.h: Likewise.
7944
7945         [BZ #13067]
7946         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7947
7948         [BZ #13090]
7949         * configure.in: Fix use of AC_INIT.
7950
7951         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7952
7953 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7954
7955         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7956         __set_errno.
7957         * malloc/hooks.c: Likewise.
7958
7959         [BZ #11929]
7960         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7961         variables statically.
7962         (narenas): Initialize.
7963         (list_lock): Initialize.
7964         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7965         initializtion of main_arena and list_lock.  Small cleanups.
7966         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7967         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7968         Add initializers to main_arena and mp_.
7969         (malloc_state): Remove pagesize member.  Change all users to use
7970         GLRO(dl_pagesize).
7971
7972         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7973         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7974         is always initialized.
7975
7976         * malloc/malloc.c: Removed unused configurations and dead code.
7977         * malloc/arena.c: Likewise.
7978         * malloc/hooks.c: Likewise.
7979         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7980
7981         * include/tls.h: Removed.  USE___THREAD must always be defined.
7982         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7983         * elf/dl-libc.c: Likewise.
7984         * elf/dl-tsd.c: Likewise.
7985         * include/errno.h: Likewise.
7986         * include/netdb.h: Likewise.
7987         * include/resolv.h: Likewise.
7988         * inet/herrno-loc.c: Likewise.
7989         * inet/herrno.c: Likewise.
7990         * malloc/arena.c: Likewise.
7991         * malloc/hooks.c: Likewise.
7992         * malloc/malloc.c: Likewise.
7993         * resolv/res-state.c: Likewise.
7994         * resolv/res_libc.c: Likewise.
7995         * sysdeps/i386/dl-machine.h: Likewise.
7996         * sysdeps/ia64/dl-machine.h: Likewise.
7997         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7998         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7999         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8000         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8001         * sysdeps/sh/dl-machine.h: Likewise.
8002         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8003         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8004         * sysdeps/unix/i386/sysdep.S: Likewise.
8005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8006         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8008         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8009         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8011         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8015         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8016         * sysdeps/x86_64/dl-machine.h: Likewise.
8017         * tls.make.c: Likewise.
8018
8019         * configure.in: Remove --with-__thread option.  Make tests for
8020         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8021         tls_model attribute fail if no support is available.  Remove
8022         USE_IN_LIBIO.
8023         * Makeconfig: Adjust for dropped configure option.  All features are
8024         now mandatory.
8025         * Makerules: Likewise.
8026         * Versions.def: Likewise.
8027         * argp/argp-fmtstream.c: Likewise.
8028         * argp/argp-fmtstream.h: Likewise.
8029         * argp/argp-help.c: Likewise.
8030         * assert/assert.c: Likewise.
8031         * config.h.in: Likewise.
8032         * config.make.in: Likewise.
8033         * configure: Likewise.
8034         * configure.in: Likewise.
8035         * csu/Versions: Likewise.
8036         * csu/init.c: Likewise.
8037         * elf/tst-audit2.c: Likewise.
8038         * elf/tst-tls10.c: Likewise.
8039         * elf/tst-tls10.h: Likewise.
8040         * elf/tst-tls11.c: Likewise.
8041         * elf/tst-tls12.c: Likewise.
8042         * elf/tst-tls14.c: Likewise.
8043         * elf/tst-tlsmod11.c: Likewise.
8044         * elf/tst-tlsmod12.c: Likewise.
8045         * elf/tst-tlsmod13.c: Likewise.
8046         * elf/tst-tlsmod13a.c: Likewise.
8047         * elf/tst-tlsmod14a.c: Likewise.
8048         * elf/tst-tlsmod15b.c: Likewise.
8049         * elf/tst-tlsmod16a.c: Likewise.
8050         * elf/tst-tlsmod16b.c: Likewise.
8051         * elf/tst-tlsmod7.c: Likewise.
8052         * elf/tst-tlsmod8.c: Likewise.
8053         * elf/tst-tlsmod9.c: Likewise.
8054         * gmon/gmon.c: Likewise.
8055         * grp/fgetgrent_r.c: Likewise.
8056         * grp/putgrent.c: Likewise.
8057         * hurd/fopenport.c: Likewise.
8058         * include/libc-symbols.h: Likewise.
8059         * include/tls.h: Likewise.
8060         * intl/gettextP.h: Likewise.
8061         * intl/loadinfo.h: Likewise.
8062         * locale/global-locale.c: Likewise.
8063         * locale/localeinfo.h: Likewise.
8064         * mach/devstream.c: Likewise.
8065         * malloc/arena.c: Likewise.
8066         * malloc/set-freeres.c: Likewise.
8067         * misc/err.c: Likewise.
8068         * misc/getttyent.c: Likewise.
8069         * misc/mntent_r.c: Likewise.
8070         * posix/getopt.c: Likewise.
8071         * posix/wordexp.c: Likewise.
8072         * pwd/fgetpwent_r.c: Likewise.
8073         * resolv/Versions: Likewise.
8074         * resolv/res_hconf.c: Likewise.
8075         * shadow/fgetspent_r.c: Likewise.
8076         * shadow/putspent.c: Likewise.
8077         * stdio-common/printf_fphex.c: Likewise.
8078         * stdio-common/tmpfile.c: Likewise.
8079         * stdlib/abort.c: Likewise.
8080         * stdlib/fmtmsg.c: Likewise.
8081         * sunrpc/auth_unix.c: Likewise.
8082         * sunrpc/clnt_perr.c: Likewise.
8083         * sunrpc/clnt_tcp.c: Likewise.
8084         * sunrpc/clnt_udp.c: Likewise.
8085         * sunrpc/clnt_unix.c: Likewise.
8086         * sunrpc/openchild.c: Likewise.
8087         * sunrpc/svc_simple.c: Likewise.
8088         * sunrpc/svc_tcp.c: Likewise.
8089         * sunrpc/svc_udp.c: Likewise.
8090         * sunrpc/svc_unix.c: Likewise.
8091         * sunrpc/xdr.c: Likewise.
8092         * sunrpc/xdr_array.c: Likewise.
8093         * sunrpc/xdr_rec.c: Likewise.
8094         * sunrpc/xdr_ref.c: Likewise.
8095         * sunrpc/xdr_stdio.c: Likewise.
8096
8097 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8098
8099         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8100
8101 2011-07-03  Andreas Jaeger  <aj@suse.de>
8102
8103         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8104         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8105         regenerate with gen-libm-tests.pl.
8106
8107 2010-05-12  Petr Baudis  <pasky@suse.cz>
8108
8109         [BZ #11589]
8110         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8111         around j0() zero points by switching to j1().
8112         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8113         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8115         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8116
8117 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8118
8119         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8120         instead of 0.
8121         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8122         instead of 0.                              .
8123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8124         Patch in part by Pavel Roskin <proski@gnu.org>.
8125
8126         [BZ #13138]
8127         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8128         realloc.
8129         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
8130         Free memory block if necessary.
8131
8132         [BZ #12847]
8133         * libio/genops.c (INTDEF): For string streams the _lock pointer can
8134         be NULL.  Don't lock in this case.
8135
8136 2011-09-09  Roland McGrath  <roland@hack.frob.com>
8137
8138         * elf/elf.h (ELFOSABI_GNU): New macro.
8139         (ELFOSABI_LINUX): Define to that.
8140
8141 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
8142
8143         * string/strncat.c (strncat): Undef the symbol in case it has been
8144         defined in bits/string.h.
8145
8146 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8147
8148         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8149
8150         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8151         link map.
8152
8153 2011-08-17  Andreas Jaeger  <aj@suse.de>
8154
8155         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8156
8157 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8158             Ian Lance Taylor  <iant@google.com>
8159
8160         * math/libm-test.inc (lround_test): New testcase.
8161         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8162
8163 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8164
8165         * Makefile: Remove support for automatic cvs check-ins.
8166         * Makerules: Likewise.
8167         * config.make.in: Likewise.
8168         * configure.in: Likewise.
8169         * intl/Makefile: Likewise.
8170         * locale/Makefile: Likewise.
8171         * po/Makefile: Likewise.
8172         * posix/Makefile: Likewise.
8173         * sysdeps/gnu/Makefile: Likewise.
8174         * sysdeps/mach/hurd/Makefile: Likewise.
8175         * sysdeps/sparc/sparc32/Makefile: Likewise.
8176
8177         [BZ #13118]
8178         * posix/Makefile (bug-regex32-ENV): Define.
8179         Patch by John Stanley <jpsinthemix@verizon.net>.
8180
8181         * misc/Makefile (headers): Add bits/select2.h.
8182         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8183         * misc/bits/select2.h: New file.
8184         * include/bits/select2.h: New file.
8185         * debug/Makefile (routines): Add fdelt_chk.
8186         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8187         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8188         FD_ISSET.
8189         * debug/fdelt_chk.c: New file.
8190
8191         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8192         * wcsmbs/test-wmemcmp.c: Likewise.
8193         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8194         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8195
8196 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8197
8198         * string/Makefile (strop-tests): Add memcmp.
8199         * string/test-wmemcmp.c: New file.
8200         * string/test-memcmp.c: Add wmemcmp support.
8201
8202 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8203
8204         [BZ #13153]
8205         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8206         2011-07-19 change.
8207
8208         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8209         garbage value in a __mach_port_mod_refs call in the cases of the
8210         task-self and thread-self ports.
8211
8212 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8213
8214         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8215
8216 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8217
8218         * elf/dl-load.c (lose): Check for non-null L.
8219
8220 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8221
8222         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8223
8224         * elf/dl-libc.c (dlerror_run): Pass back error code from
8225         dl_catch_error.
8226
8227         [BZ #13123]
8228         * elf/dl-load.c (lose): Free l_origin if it is valid.
8229
8230         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8231         names.
8232         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8233         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8235         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8236         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8237         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8238
8239 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8240
8241         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8242         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8243         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8244         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8245         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8246         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8247         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8248         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8249         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8250         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8251
8252 2011-08-15  Alan Modra  <amodra@gmail.com>
8253
8254         [BZ #13092]
8255         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8256         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8257         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8258         ppc_mcount to static-only-routines.
8259         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8260         __mcount_internal.
8261         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8262         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8263
8264 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8265
8266         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8267         for finite and infinity parameters.
8268
8269 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8270
8271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8272         and add nop instructions for throughput optimization.
8273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8274
8275 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8276
8277         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8278         aligned copy for power7 with vector-scalar instructions.
8279         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8280
8281 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8282
8283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8284         AVX check.
8285
8286 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8287
8288         [BZ #13144]
8289         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8290         last change.
8291
8292 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8293
8294         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8295         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8296         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8297         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8298         clock_gettime.
8299
8300 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8301
8302         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8303         Forgot to demangle the pointer.
8304
8305         * sysdeps/i386/sysdep.h: Define atom_text_section.
8306         * sysdeps/x86_64/sysdep.h: Likewise.
8307         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8308         section with atom_text_section.
8309         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8310         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8311         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8312         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8313         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8314
8315         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8316         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8317         already be defined.  Change to take two parameters and don't assign
8318         result to variable.  Adjust all users.
8319         Define INTERNAL_GETTIME if not already defined.
8320         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8321         call.
8322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8323         HAVE_CLOCK_GETTIME_VSYSCALL.
8324         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8325
8326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8327         gettimeofday vsyscall, just use time.
8328
8329 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8330
8331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8332         <errno.h>.
8333
8334 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8335
8336         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8337         syscall on x86-64.
8338         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8339         syscall.
8340         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8341         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8342         syscall if possible.
8343
8344 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8345
8346         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8347         e_ident.  Don't pass to find_mapsXX.
8348         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8349
8350 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8351
8352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8353         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8354         * sysdeps/x86_64/multiarch/strchr.S: Update.
8355         Check bit_slow_BSF bit.
8356         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8357         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8358         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8359
8360 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8361
8362         [BZ #13134]
8363         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8364         before glibc 2.15.
8365         (tryshell): Define.
8366         (__spawni): Change last parameter to be flag.  Test
8367         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8368         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8369         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8370         * posix/spawni.c: Likewise.
8371         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8372         * posix/spawnp.c: Likewise.  Change normal version to use
8373         SPAWN_XFLAGS_USE_PATH.
8374         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8375         SPAWN_XFLAGS_TRY_SHELL.
8376
8377         [BZ #13150]
8378         * posix/glob.h: Remove gcc 1.x support.
8379
8380         [BZ #13068]
8381         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8382
8383 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8384
8385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8386         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8387         strrchr-sse2-bsf
8388         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8389         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8390         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8391         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8392         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8393         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8394
8395 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8396
8397         * sysdeps/x86_64/wcscmp.S: New file.
8398
8399         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8400         wcscmp-c wcscmp-sse2
8401         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8402         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8403         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8404         * wcsmbs/wcscmp.c: Allow renaming.
8405
8406 2011-09-05  David S. Miller  <davem@davemloft.net>
8407
8408         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8409         stack slot, rather than the struct return pointer slot.
8410         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8411         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8413         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8414
8415 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8416
8417         * po/ja.po: Update from translation team.
8418
8419         [BZ #13144]
8420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8421         kernel in 64-bit binaries.
8422
8423 2011-09-01  David S. Miller  <davem@davemloft.net>
8424
8425         * elf/elf.h (HWCAP_SPARC_*): Move to..
8426         * sysdeps/sparc/sysdep.h: this new file and add new values.
8427         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8428         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8429         _DL_HWCAP_COUNT to 24.
8430         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8431         entries.
8432         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8433         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8434         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8436         instead of magic constants.
8437         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8438
8439 2011-08-31  David S. Miller  <davem@davemloft.net>
8440
8441         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8443         Reimplement to do errno handling inline.
8444         (SYSCALL_ERROR_HANDLER): New macro.
8445         (__SYSCALL_STRING): Do not do errno handling in asm.
8446         (__CLONE_SYSCALL_STRING): Delete.
8447         (__INTERNAL_SYSCALL_STRING): Delete.
8448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8449         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8450         (PSEUDO): Reimplement to do errno handling inline.
8451         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8452         (SYSCALL_ERROR_HANDLER): New macro.
8453         (__SYSCALL_STRING): Do not do errno handling in asm.
8454         (__CLONE_SYSCALL_STRING): Delete.
8455         (__INTERNAL_SYSCALL_STRING): Delete.
8456         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8457         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8458         i386.
8459         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8460         (inline_syscall*): Add 'err' argument.
8461         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8462         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8463         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8464         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8465
8466         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8467         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8468
8469 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8470
8471         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8472
8473 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8474
8475         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8476         directive.
8477
8478 2011-08-24  David S. Miller  <davem@davemloft.net>
8479
8480         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8481
8482 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8483
8484         * elf/Makefile: Add rules to build and run unload8 test.
8485         * elf/unload8.c: New file.
8486         * elf/unload8mod1.c: New file.
8487         * elf/unload8mod1x.c: New file.
8488         * elf/unload8mod2.c: New file.
8489         * elf/unload8mod3.c: New file.
8490
8491         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8492         it wasn't used.
8493
8494 2011-08-23  David S. Miller  <davem@davemloft.net>
8495
8496         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8497         subtract stack bias.
8498         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8499         %sp not %fp in calculations.
8500         (_JMPBUF_UNWINDS_ADJ): Likewise.
8501
8502         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8503         (aio_suspend): Call it to force an exception region around the
8504         AIO_MISC_WAIT() invocation.
8505
8506 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8507
8508         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8509         backslash.
8510
8511 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8512
8513         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8514         protection macro.
8515         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8516         and <dl-machine.h>.
8517         (Elf64_FuncDesc): Remove.
8518
8519 2011-08-22  David S. Miller  <davem@davemloft.net>
8520
8521         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8522         sigaltstack check, add missing cfi directives.
8523         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8524         missing cfi directives, and sigaltstack handling.
8525
8526 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8527
8528         [BZ #11724]
8529         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8530         object is seen twice.
8531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8532
8533         * elf/Makefile (distribute): Add tst-initorder2.c.
8534         (tests): Add tst-initorder2.
8535         (modules-names): Add tst-initorder2a tst-initorder2b
8536         tst-initorder2c tst-initorder2d.  Add rules to build them.
8537         ($(objpfx)tst-initorder2.out): New rule.
8538         * elf/tst-initorder2.c: New file.
8539         * elf/tst-initorder2.exp: New file.
8540
8541 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8542
8543         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8544
8545         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8546         dependencies back to end of function.
8547
8548         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8549         $(elfobjdir)/ld.so.
8550
8551 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8552
8553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8554         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8556         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8557         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8558         of __vdso_gettimeofday.
8559         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8560         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8561         attribute_hidden.
8562         (_libc_vdso_platform_setup): Remove initialization of
8563         __vdso_gettimeofday and __vdso_time.
8564
8565 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8566
8567         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8568         and fgetc_unlocked.
8569         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8570         getc_unlocked.
8571
8572         * elf/dl-open.c (add_to_global): Report additions to the global scope
8573         for LD_DEBUG=scopes.
8574         (dl_open_worker): Also print scope of newly loaded dependencies.
8575         (_dl_show_scope): Indicate if there is no scope.
8576
8577         [BZ #13114]
8578         * stdio-common/Makefile (tests): Add bug24.
8579         * stdio-common/bug24.c: New file.
8580
8581 2011-08-19  Andreas Jaeger  <aj@suse.de>
8582
8583         [BZ #13114]
8584         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8585         non-existant file when using close-on-exec mode.
8586
8587 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8588
8589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8590         the very first instruction.
8591
8592         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8593         the CFI state in the end.
8594         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8595         inclusion of dl-trampoline.h.
8596         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8597
8598 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8599
8600         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8601         expectations for long double.
8602
8603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8604         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8605
8606 2011-08-14  David S. Miller  <davem@davemloft.net>
8607
8608         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8609         artificual limit depends upon the system page size.
8610
8611 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8612
8613         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8614         * resolv/Makefile: Define CFLAGS-libresolv.
8615
8616 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8617
8618         * nss/makedb.c (compute_tables): Make variables used in nested
8619         function static.
8620
8621 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8622
8623         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8624         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8625         if buffer was too small.
8626
8627         * elf/pldd.c (main): Attach to all threads in the process.
8628         Rewrite /proc handling to use *at functions.
8629
8630 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8631
8632         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8633         specifies first scope to show.
8634         (dl_open_worker): Update callers.  Move printing scope of new
8635         object to before the relocation.
8636         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8637         * sysdeps/generic/ldsodefs.h: Update declaration.
8638
8639         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8640         string for the scope number.
8641
8642 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8643
8644         * nscd/servicescache.c (cache_addserv): Make sure written is always
8645         initialized.
8646
8647 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8648
8649         * sysdeps/i386/i486/bits/atomic.h
8650         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8651         statement expression, so as to suppress "set but not used" warning.
8652         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8653
8654         * string/strncat.c (STRNCAT): Use prototype definition.
8655
8656         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8657         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8658         -Iprograms here.
8659         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8660         (localedef-modules): Add localedef.
8661         (locale-modules): Add locale.
8662
8663         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8664         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8665         to avoid a warning.
8666
8667 2011-08-14  David S. Miller  <davem@davemloft.net>
8668
8669         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8670         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8671
8672 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8673
8674         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8675         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8676         * elf/rtld.c (dl_main): Set l_name of vDSO.
8677         Call _dl_show_scope when DL_DEBUG_SCOPES.
8678         (process_dl_debug): Recognize scopes flag and also set it for all.
8679         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8680         Declare _dl_show_scope.
8681
8682         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8683         (do_dlopen): Pass caller_dlopen to dl_open.
8684         (__libc_dlopen_mode): Initialize caller_dlopen.
8685
8686         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8687         of libc.  Make tolower call locale-independent.  Optimize a bit by
8688         using isdigit instead of isalnum.
8689         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8690
8691 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8692
8693         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8694         was a dependency or dynamically loaded.
8695
8696 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8697
8698         * intl/l10nflist.c: Allow architecture-specific pop function.
8699         * sysdeps/x86_64/l10nflist.c: New file.
8700
8701         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8702         classification.
8703
8704 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8705
8706         * include/dirent.h: Add libc_hidden_proto for scandirat and
8707         scandirat64.  Don't declare __scandirat64.
8708         * dirent/scandirat.c: Add libc_hidden_def.
8709         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8710         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8711
8712 2011-08-10  David S. Miller  <davem@davemloft.net>
8713
8714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8715         enum.
8716         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8717         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8718         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8719
8720 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8721
8722         * Versions.def [libc]: Add GLIBC_2.15.
8723         * dirent/Makefile (routines): Add scandirat and scandirat64.
8724         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8725         GLIBC_2.15.
8726         * dirent/dirent.h: Declare scandirat and scandirat64.
8727         * dirent/scandirat.c: New file.
8728         * dirent/scandirat64.c: New file.
8729         * sysdeps/wordsize-64/scandirat.c: New file.
8730         * sysdeps/wordsize-64/scandirat64.c: New file.
8731         * dirent/opendir.c: Define opendirat.
8732         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8733         using scandirat.
8734         * dirent/scandir64.c: Adjust for scandir.c change.
8735         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8736         __scandirat64, and __scandir_cancel_handler.
8737         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8738         additional parameter and use openat instead of open (outside of ld.so).
8739         Add new __opendir as wrapper around __opendirat.
8740         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8741         here without requiring old scandirat implementation.
8742
8743 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8744
8745         * dirent/scandir.c (cancel_handler): Renamed to
8746         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8747         defined.  Adjust users.
8748         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8749         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8750
8751 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8752
8753         * string/test-string.h (IMPL): Use __STRING to expand name and then
8754         stringify it.
8755
8756         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8757         of cleanups.
8758
8759 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8760
8761         * string/Makefile: Update.
8762         (strop-tests): Append strncat.
8763         * string/test-wcscmp.c: New file.
8764         New comprehensive test for wcscmp.
8765         * string/test-strcmp.c: Update.
8766         (WIDE): New define.
8767
8768 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8769
8770         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8771         line.
8772
8773 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8774
8775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8776         encoding to ACE if AI_IDN.
8777
8778 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8779
8780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8781         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8782
8783 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8784
8785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8786         Fix overflow bug in strncat.
8787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8788
8789         * string/test-strncat.c: Update.
8790         Add new tests for checking overflow bugs.
8791
8792 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8793
8794         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8795         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8796         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8797         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8798         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8799         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8800         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8801         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8802         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8803
8804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8805         (USE_AS_STRCAT): Define.
8806         Add strcat and strncat support.
8807         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8808
8809 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8810
8811         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8812         __n bigger than INT_MAX+1.
8813         (__strncmp_g): Likewise.
8814
8815 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8816
8817         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8818         * libio/stido.h: Likewise.
8819
8820         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8821         (AF_NFC): Define.
8822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8823         (AF_NFC): Define.
8824
8825         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8827         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8828         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8830
8831         [BZ #13021]
8832         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8833         installed.
8834
8835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8836         typo.
8837         (_dl_x86_64_save_sse): Likewise.
8838
8839 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8840
8841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8842         OSXSAVE.
8843         (_dl_x86_64_save_sse): Likewise.
8844
8845         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8846
8847         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8848
8849 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8850
8851         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8852         change.
8853         (_dl_x86_64_save_sse): Use correct AVX check.
8854
8855 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8856
8857         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8858         bug in strncpy/strncat.
8859         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8860
8861 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8862
8863         * string/tester.c (test_strcat): Add tests for different alignments
8864         of source and destination.
8865         (test_strncat): Likewise.
8866
8867 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8868
8869         [BZ #12852]
8870         * posix/glob.c (glob): Check passed in values before using them in
8871         expressions to avoid some overflows.
8872         (glob_in_dir): Likewise.
8873
8874         [BZ #13007]
8875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8876         check for AVX enablement so that we don't crash with old kernels and
8877         new hardware.
8878         * elf/tst-audit4.c: Add same checks here.
8879         * elf/tst-audit6.c: Likewise.
8880
8881         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8882
8883 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8884
8885         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8886
8887 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8888
8889         * po/cs.po: Update from translation team.
8890         * po/bg.po: Likewise.
8891
8892 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8893
8894         * misc/sys/cdefs.h: Add support for const attribute.
8895         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8896         to gnu_dev_{major,minor,makedev} functions.
8897
8898 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8899
8900         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8901
8902 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8903
8904         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8905         strlen results.
8906
8907 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8908
8909         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8910         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8911         register in order to avoid conflicts with the soft frame pointer
8912         being held in r11 when necessary.
8913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8914         (INTERNAL_VSYSCALL_NCS): Likewise.
8915
8916 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8917
8918         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8919         * elf/dl-fini.c (_dl_fini): Adjust caller.
8920         * elf/dl-close.c (_dl_close_worker): Likewise.
8921         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8922
8923 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8924
8925         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8926         "aux_cache->nlibs < 0".
8927
8928         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8929         in the reload-count case.
8930
8931 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8932
8933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8934         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8935         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8936         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8937         * sysdeps/x86_64/multiarch/strcat.S: New file.
8938         * sysdeps/x86_64/multiarch/strncat.S: New file.
8939         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8940         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8941         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8942         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8943         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8944         (USE_AS_STRCAT): Define.
8945         Add strcat and strncat support.
8946         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8948         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8949         * string/strncat.c: Update.
8950         (USE_AS_STRNCAT): Define.
8951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8952         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8953         and i7.
8954         * sysdeps/x86_64/multiarch/init-arch.h
8955         (bit_Prefer_PMINUB_for_stringop): New.
8956         (index_Prefer_PMINUB_for_stringop): Likewise.
8957         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8958         bit_Prefer_PMINUB_for_stringop.
8959
8960 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8961
8962         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8963         buffer64.
8964         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8965         of casting of buffer.
8966         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8967         buffer32 and buffer64.
8968         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8969         writes instead of casting of buffer.
8970         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8971         buffer32.
8972         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8973         casting of buffer.
8974
8975 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8976
8977         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8978
8979 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8980
8981         * nscd/nscd.c (termination_handler): Don't do anything for a database
8982         if it has not yet been initialized.
8983
8984 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8985
8986         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8987
8988 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8989
8990         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8991
8992 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8993
8994         * po/nl.po: Update from translation team.
8995         * po/sv.po: Likewise.
8996
8997 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8998
8999         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9000         now disallowed by GCC.
9001
9002         * configure.in (use-default-link): Default to yes if a test -shared
9003         link meets our qualifications.
9004         * configure: Regenerated.
9005
9006         * config.make.in (output-format): New variable.
9007         * configure.in: Check for ld --print-output-format support.
9008         * configure: Regenerated.
9009         * Makerules ($(common-objpfx)format.lds)
9010         [$(output-format) != unknown]: Just use $(output-format),
9011         instead of the linker-script munging.
9012
9013 2011-07-14  Roland McGrath  <roland@hack.frob.com>
9014
9015         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9016         of $(common-objpfx)shlib.lds.
9017         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9018
9019         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9020         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9021
9022         * configure.in (-z relro check): Adjust test code to add a large
9023         writable data section after it.
9024         * configure: Regenerated.
9025
9026 2011-07-11  Roland McGrath  <roland@hack.frob.com>
9027
9028         * configure.in (-z relro check): Fix test code to make the variable
9029         truly const.
9030         * configure: Regenerated.
9031
9032 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
9033
9034         * nscd/nscd.h (struct traced_file): Define.
9035         (struct database_dyn): Remove inotify_descr, reset_res, and filename
9036         elements.  Add traced_files.
9037         (inotify_fd): Declare.
9038         (register_traced_file): Declare.
9039         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9040         (inotify_fd): Export.
9041         (resolv_conf_descr): Remove.
9042         (nscd_init): Move inotify descriptor creation to main.
9043         Don't register files for notification here.
9044         (register_traced_file): New function.
9045         (invalidate_cache): Don't use reset_res to determine whether to call
9046         res_init, go through the list of registered files.
9047         (main_loop_poll): The inotify descriptors are now stored in the
9048         structures for the traced files.
9049         (main_loop_epoll): Likewise
9050         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
9051         to __nss_disable_nscd.
9052         * nscd/cache.c (prune_cache): There is no single inotify descriptor
9053         for a database anymore.  Check the records for all the registered
9054         files instead.
9055         * nss/Makefile (libnss_files-routines): Add files-init.
9056         (libnss_db-routines): Add db-init.
9057         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9058         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9059         * nss/nss_db/db-init.c: New file.
9060         * nss/nss_files/files-init.c: New file.
9061         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
9062         __nss_lookup_function.
9063         (__nss_lookup_function): Call nss_load_library.
9064         (nss_load_all_libraries): New function.
9065         (__nss_disable_nscd): Take parameter with callback function for files
9066         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
9067         used for the cached services.
9068         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9069         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9070         options for features to all the files in nscd.
9071
9072         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9073
9074 2011-07-10  Roland McGrath  <roland@hack.frob.com>
9075
9076         * csu/elf-init.c (__libc_csu_init): Comment typo.
9077
9078 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
9079
9080         * po/pl.po: Update from translation team.
9081         * po/ja.po: Likewise.
9082         * po/ru.po: Likewise.
9083         * po/ko.po: Likewise.
9084         * po/fr.po: Likewise.
9085
9086 2011-07-09  Roland McGrath  <roland@hack.frob.com>
9087
9088         * configure.in (.ctors/.dtors header and trailer check):
9089         Use an empirical test on a built program.
9090         * configure: Regenerated.
9091
9092         * configure.in (-z relro check): Use an empirical test on a built DSO.
9093         Detect, but do not require, on ia64.
9094         * configure: Regenerated.
9095
9096         * configure.in (READELF): Find it with AC_CHECK_TOOL.
9097         Update tests that use readelf to use $READELF instead.
9098         * configure: Regenerated.
9099
9100 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
9101
9102         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9103         if the result is not used.
9104
9105 2011-07-05  Andreas Jaeger  <aj@suse.de>
9106
9107         [BZ#9696]
9108         * stdlib/tst-strtod.c: Add testcase.
9109
9110 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
9111
9112         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9113         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9114         The latter has a higher limit.  Take additional parameter to pass to
9115         the new function.
9116         (__pathconf): Pass file to __statfs_link_max.
9117         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9118         __statfs_link_max.
9119         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9120         __statfs_link_max.
9121
9122         [BZ #12868]
9123         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9125         Handle Lustre.
9126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9127         (__statfs_filesize_max): Likewise.
9128         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9129
9130 2011-07-05  Andreas Jaeger  <aj@suse.de>
9131
9132         * resolv/res_comp.c (dn_skipname): Remove unused variable.
9133
9134 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9135
9136         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9137         `status' variable.
9138         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9139         Likewise.
9140
9141 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9142
9143         * Makefile (strop-tests): Add strncat.
9144         * string/test-strncat.c: New file.
9145
9146 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9147
9148         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9149
9150 2011-06-21  Andreas Jaeger  <aj@suse.de>
9151
9152         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9153         Copy rule from iconvdata/Makefile.
9154
9155 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9156
9157         [BZ #12922]
9158         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9159         but no long options are defined, just return 'W'.
9160
9161 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9162
9163         [BZ #9696]
9164         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9165
9166 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9167
9168         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9169         netgroups to read.
9170         (innetgr): Likewise.
9171
9172 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9173
9174         * config.make.in (install_root): Default to $(DESTDIR).
9175
9176 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9177
9178         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9179
9180 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9181
9182         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9183
9184         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9185         containing directory rather than embedding absolute directory names.
9186
9187         * scripts/check-local-headers.sh: Rewritten using awk.
9188         Match by word, not by line.  Print error messages for matches.
9189         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9190
9191         * Makerules [shlib-lds-flags empty]:
9192         ($(common-objpfx)libc_pic.opts): New target.
9193         ($(common-objpfx)libc_pic.os.clean): New target.
9194         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9195
9196         * config.make.in (OBJCOPY): New variable.
9197         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9198         * configure: Regenerated.
9199
9200         * config.make.in (use-default-link): New variable.
9201         * configure.in (use_default_link): Grok --with-default-link to set it.
9202         * configure: Regenerated.
9203         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9204         (shlib-lds, shlib-lds-flags): Define to empty.
9205
9206         * Makerules (shlib-lds): New variable.
9207         (shlib-lds-flags): New variable.
9208         (build-shlib, build-moduile, build-module-asneeded): Use it.
9209         ($(common-objpfx)libc.so): Use $(shlib-lds).
9210         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9211         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9212
9213         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9214         DT_FLAGS/DT_FLAGS_1 with zero flags.
9215
9216         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9217         linker script munging.
9218
9219 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9220
9221         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9222         as 128-bit value.
9223         * crypt/sha512.c (sha512_process_block): Perform total addition using
9224         128-bit if possible.
9225         (__sha512_finish_ctx): Likewise.
9226         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9227         as 64-bit value.
9228         * crypt/sha256.c (SWAP64): Define.
9229         (sha256_process_block): Perform total addition using 64-bit if
9230         possible.
9231         (__sha256_finish_ctx): Likewise.
9232
9233 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9234
9235         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9236         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9237         * nscd/hstcache.c (cache_addhst): Likewise.
9238         * nscd/grpcache.c (cache_addgr): Likewise.
9239         * nscd/aicache.c (addhstaiX): Likewise
9240         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9241
9242 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9243
9244         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9246         * nscd/hstcache.c (cache_addhst): Likewise.
9247         * nscd/grpcache.c (cache_addgr): Likewise.
9248         * nscd/aicache.c (addhstaiX): Likewise
9249
9250 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9251
9252         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9253         domain only when needed.
9254
9255 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9256
9257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9258         is always restored.
9259
9260 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9261
9262         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9263         are re-adding the entry.
9264         * nscd/servicescache.c (cache_addserv): Likewise.
9265
9266 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9267
9268         * sysdeps/generic/dl-irel.h: fix protection against multiple
9269         inclusions.
9270         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9271
9272 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9273
9274         [BZ #12935]
9275         * malloc/memusage.sh: Fix quoting in message.
9276         * debug/xtrace.sh: Likewise.
9277
9278         * configure.in: Remove support for --experimental-malloc option, make
9279         it the default.
9280         * config.make.in: Likewise.
9281         * malloc/Makefile: Likewise.
9282
9283 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9284
9285         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9286         two-byte characters.
9287
9288 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9289
9290         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9291         AC_CACHE_CHECK invocation.
9292         * configure: Regenerated.
9293
9294         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9295
9296 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9297
9298         [BZ #12350]
9299         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9300         bit from old_res_options.
9301
9302         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9303
9304         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9305         value type for setfct.
9306
9307 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9308
9309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9310         __gettimeofday instead of gettimeofday.
9311
9312 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9313
9314         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9315
9316 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9317
9318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9319
9320         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9321         info.
9322
9323 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9324
9325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9326         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9327         strcpy-sse2-unaligned strncpy-sse2-unaligned
9328         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9329         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9330         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9331         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9332         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9333         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9334         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9335         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9336         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9337         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9338         (STRCPY): Support SSE2 and SSSE3 versions.
9339
9340 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9341
9342         [BZ #12874]
9343         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9344         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9345         kernels which artificially limit size of requests.
9346
9347 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9348
9349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9350         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9351         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9352         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9353         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9354         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9355         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9356         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9358         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9359         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9360         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9361         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9362         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9363         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9365         Enable unaligned load optimization for Intel Core i3, i5 and i7
9366         processors.
9367         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9368         Define.
9369         (index_Fast_Unaligned_Load): Define.
9370         (HAS_FAST_UNALIGNED_LOAD): Define.
9371
9372 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9373
9374         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9375
9376 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9377
9378         [BZ #12907]
9379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9380         until it is clear that the information is realy needed.
9381         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9382
9383 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9384
9385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9386
9387 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9388
9389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9390         /sys/devices/system/cpu/online if it is usable.
9391
9392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9393         reading the information from the /proc filesystem to once a second.
9394
9395 2011-06-21  Andreas Jaeger  <aj@suse.de>
9396
9397         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9398         NULL after inclusion of kernel headers.
9399
9400 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9401
9402         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9403         calls to internal_setent.
9404
9405         [BZ #12885]
9406         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9407         addresses using gethostbyname4_r ignore IPv4 addresses.
9408
9409         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9410         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9411
9412         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9413
9414 2011-06-20  David S. Miller  <davem@davemloft.net>
9415
9416         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9417         inclusions.
9418         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9419
9420         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9421         (elf_irel): Use it.
9422         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9423         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9424         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9425         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9426         * sysdeps/x86_64/dl-irel.h: Likewise.
9427
9428         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9429         * elf/dl-sym.c: Likewise.
9430
9431 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9432
9433         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9434         need to dereference resplen2.
9435
9436 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9437
9438         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9439
9440 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9441
9442         * Makeconfig: Define vardbdir and inst_vardbdir.
9443         * nss/Makefile: Add rules to install db-Makefile.
9444
9445         * nss/nss_db/db-XXX.c: Cleanup.
9446
9447         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9448         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9449         GLIBC_PRIVATE.
9450         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9451         * nss/makedb.c: Implement -g option to specify that value strings
9452         are generated and should not be added to table iterated over for
9453         get*ent calls.
9454         * nss/nss_db/db-initgroups.c: New file.
9455
9456         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9457         interface.
9458
9459         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9460         (internal_getgrouplist): Adjust to name change.
9461         Update use_initgroups_entry if this is not the first call.
9462         * nss/databases.def: Add initgroups entry.
9463
9464         * nss/makedb.c (compute_tables): Check result of multiple hash table
9465         sizes to minimize maximum chain length.
9466
9467 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9468
9469         * Versions.def: Add entry for libnss_db.
9470         * shlib-versions: Likewise.
9471         * nss/Makefile: Add rules to build libnss_db.
9472         * nss/Versions: Add libnss_db information.  Organize libnss_files
9473         entries better.
9474         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9475         makedb progra.  Some minor improvements to generate smaller files.
9476         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9477         here from...
9478         * nss/makedb.c: ...here.
9479         Improve database format to be smaller and require less memory at
9480         runtime.
9481         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9482         db anymore.
9483         * nss/nss_db/db-netgrp.c: Likewise.
9484         * nss/nss_db/db-open.c: Likewise.
9485         * nss/nss_files/flies-XXX.x: Adjust comments.
9486         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9487         * nss/nss_files/files-grp.c: Likewise.
9488         * nss/nss_files/files-hosts.c: Likewise.
9489         * nss/nss_files/files-network.c: Likewise.
9490         * nss/nss_files/files-proto.c: Likewise.
9491         * nss/nss_files/files-pwd.c: Likewise.
9492         * nss/nss_files/files-rpc.c: Likewise.
9493         * nss/nss_files/files-service.c: Likewise.
9494         * nss/nss_files/files-sgrp.c: Likewise.
9495         * nss/nss_files/files-spwd.c: Likewise.
9496         * nss/nss_db/db-alias.c: Removed.
9497         * nss/nss_db/dummy-db.h: Removed.
9498
9499 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9500
9501         * nss/makedb.c: Rewritten to not use database library.
9502         * nss/Makefile: Update to build new makedb program.
9503
9504 2011-06-14  Andreas Jaeger  <aj@suse.de>
9505
9506         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9507         memset declaration.
9508
9509 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9510
9511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9512         tmpbuf.
9513
9514 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9515
9516         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9517         * elf/Makefile ($(objpfx)ld.so): Likewise.
9518
9519         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9520         Don't list ld.so twice in dependencies.
9521
9522         * posix/bug-regex31.c: Include <stdlib.h>.
9523
9524         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9525
9526         * nis/nss_compat/compat-spwd.c
9527         (getspent_next_nss_netgr): Remove unused variable.
9528         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9529
9530         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9531         nonmembers" output to use the right array.
9532
9533         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9534
9535         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9536
9537         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9538         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9539         * catgets/gencat.c (read_input_file): Likewise.
9540         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9541
9542         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9543         variable definition inside #if's controlling its use.
9544
9545         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9546
9547         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9548
9549         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9550
9551         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9552         unreachable code.
9553
9554         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9555
9556         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9557         * configure: Regenerated.
9558
9559         * Makerules: Revert last change.
9560         * elf/Makefile: Likewise.
9561
9562 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9563
9564         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9565         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9566         (reloc-link): Likewise.
9567
9568 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9569
9570         * elf/Makefile: Add rules to build pldd.
9571         * elf/pldd.c: New file.
9572         * elf/pldd-xx.c: New file.
9573
9574 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9575
9576         * version.h: Update for 2.15 development version.
9577
9578 2011-06-07  David S. Miller  <davem@davemloft.net>
9579
9580         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9581         ifuncs.
9582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9583         elf_machine_lazy_rel): Likewise.
9584         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9586         elf_machine_lazy_rel): Likewise.
9587         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9588         dl_hwcap via passed in argument.
9589         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9590         Likewise.
9591
9592 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9593
9594         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9595
9596 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9597
9598         [BZ #12849]
9599         * manual/fdl-1.1.texi: New file, verbatim from:
9600         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9601         * manual/lgpl-2.1.texi: New file, verbatim from:
9602         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9603         * manual/Makefile (licenses): New variable, list those new file names.
9604         (texis): Use it.
9605         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9606
9607         * manual/fdl.texi: File removed.
9608         * manual/lesser.texi: File removed.
9609         * manual/libc.texinfo (Copying, Documentation License):
9610         Use new @include file names, put @appendix directive before @include.
9611
9612 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9613
9614         [BZ #12841]
9615         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9616         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9617         (mq_open): Add __NTH.
9618
9619 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9620
9621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9622         Assume Intel Core i3/i5/i7 processor if AVX is available.
9623
9624 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9625
9626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9627         typo.
9628
9629 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9630
9631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9632         memory.  Use alloca_account.  Fix memory leak when retrying.
9633
9634 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9635
9636         * version.h (RELEASE): Bump for 2.14 release.
9637         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9638
9639         * config.make.in (RANLIB): Remove entry.
9640
9641 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9642
9643         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9644         (libc.pot): Work around missing support for .ksh extension in xgettext.
9645
9646         [BZ #12684]
9647         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9648         if both request failed.
9649         (send_dg): In case of server errors clear resplen or *resplen2.
9650
9651         [BZ #12454]
9652         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9653         when there are multiple maps.
9654         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9655         (_dl_fini): Remove test here.
9656
9657         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9658
9659 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9660
9661         [BZ #12350]
9662         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9663         bit from old_res_options.
9664         (gaih_inet): Likewise.
9665
9666         [BZ #11099]
9667         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9668         as signed.
9669
9670         * resolv/res_init.c (res_setoptions): Make the code more compact.
9671
9672         [BZ #11558]
9673         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9674         set RES_USEVC.
9675
9676         [BZ #11634]
9677         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9678
9679         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9680
9681         [BZ #11781]
9682         * malloc/malloc.h: Declare malloc hook variables as volatile.
9683
9684         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9685         in last patch.
9686
9687         [BZ #11799]
9688         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9689         raise in the comment.
9690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9692         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9693
9694 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9695
9696         [BZ #12811]
9697         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9698         grow the buffers more if it already has to be sufficient.
9699         (build_wcs_upper_buffer): Likewise.
9700         * posix/regexec.c (check_matching): Likewise.
9701         (clean_state_log_if_needed): Likewise.
9702         (extend_buffers): Don't enlarge buffers beyond size of the input
9703         buffer.
9704         Patches mostly by Emil Wojak <emil@wojak.eu>.
9705         * posix/bug-regex32.c: New file.
9706         * posix/Makefile (tests): Add bug-regex32.
9707
9708         * locale/findlocale.c (_nl_find_locale): Return right away if
9709         _nl_explode_name failed.
9710         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9711
9712         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9713
9714         * debug/xtrace.sh: Unify messages.
9715         * malloc/memusage.sh: Likewise.
9716
9717         [BZ #12813]
9718         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9719         time symbol from vDSO.  Substitute with vsyscall if not available.
9720         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9721         __vdso_time.
9722
9723         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9724         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9725         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9726         Add sendmmsg and internal_sendmmsg.
9727         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9728         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9729         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9730
9731         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9732         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9733         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9734
9735 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9736
9737         [BZ #12813]
9738         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9739         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9740         available.
9741         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9742         __vdso_getcpu.
9743
9744         [BZ #12814]
9745         * iconvdata/Makefile (tests): Add bug-iconv9.
9746         * iconvdata/bug-iconv9.c: New file.
9747
9748 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9749
9750         [BZ #12814]
9751         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9752
9753 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9754
9755         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9756         (struct user_regs_struct): Change intcs field back to cs.
9757
9758 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9759
9760         * po/ja.po: Update from translation team.
9761
9762 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9763
9764         [BZ #12795]
9765         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9766         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9767
9768 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9769
9770         * stdlib/longlong.h: Update from GCC.
9771
9772 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9773
9774         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9775         parameter name.
9776         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9777         Add parameter name.
9778         (__sysconf): Pass it down.
9779
9780 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9781
9782         [BZ #12671]
9783         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9784         some situations.
9785         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9786         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9787         add in in __libc_use_alloca calls.  Adjust callers.
9788         (glob): Use malloc in some situations.
9789
9790         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9791         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9792         pltexit.
9793
9794 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9795
9796         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9797         and CLOCK_BOOTTIME_ALARM.
9798
9799         [BZ #12782]
9800         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9801         is returned.
9802
9803         * string/_strerror.c (__strerror_r): Print negative errors as signed
9804         numbers.
9805
9806         [BZ #12777]
9807         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9808         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9809         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9810
9811         * configure.in: Fix typo in redirection and correct removal of test
9812         files in two cases.
9813
9814         [BZ #12788]
9815         * locale/setlocale.c (new_composite_name): Fix test to check for
9816         identical name of all categories.
9817
9818         [BZ #12792]
9819         * libio/filedoalloc.c (local_isatty): New function.
9820         (_IO_file_doallocate): Use local_isatty.
9821         * stdio-common/perror.c (perror): In case a new stream is used
9822         forward the stream error.
9823         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9824         error flag.
9825
9826 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9827
9828         [BZ #11869]
9829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9830         alloca.
9831         * include/alloca.h (extend_alloca_account): Define.
9832
9833         [BZ #11857]
9834         * posix/regex.h: Fix comments with documentation of user-accessible
9835         fields after compilation and describe correct free'ing of pattern
9836         after re_compile_pattern.
9837         Patch by Reuben Thomas <rrt@sc3d.org>.
9838
9839 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9840
9841         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9842         and -mno-altivec to prevent the compiler from using Altivec and/or
9843         VSX instructions when the corresponding registers are not available.
9844
9845 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9846
9847         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9848
9849 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9850
9851         * libio/freopen.c (freopen): Use __dup2, not dup2.
9852         * libio/freopen64.c (freopen64): Likewise.
9853
9854 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9855
9856         [BZ #12775]
9857         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9858         * math/Makefile (tests): Add test-powl.
9859         (CFLAGS-test-powl.c): Define.
9860         * math/test-powl.c: New file.
9861
9862 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9863
9864         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9865
9866 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9867
9868         [BZ #11837]
9869         * iconvdata/gb18030.c: Update to GB18020-2005.
9870
9871 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9872
9873         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9874         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9875         Patch by Aharon Robbins <arnold@skeeve.com>.
9876
9877         [BZ #11892]
9878         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9879         on the stack.
9880
9881         [BZ #11895]
9882         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9883         through underflows.
9884
9885         [BZ #12766]
9886         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9887         point to strings before performing equality test for error_one_per_line
9888         mode.
9889
9890         [BZ #11697]
9891         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9892
9893         [BZ #11820]
9894         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9895         (struct user_fpregs_struct): Avoid __uint*_t types.
9896
9897         [BZ #6420]
9898         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9899         symbol info.  Use it instead of calling _dl_addr locally.
9900         (lock_and_info): New function.
9901         (tr_freehook): Call lock_and_info and pass symbol info as additional
9902         parameter to tr_where.
9903         (tr_mallochook): Likewise.
9904         (tr_reallochook): Likewise.
9905         (tr_memalignhook): Likewise.
9906
9907         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9908         used and couldn't be at all thread-safe.
9909
9910 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9911
9912         * libio/freopen.c (freopen): Don't close old file descriptor
9913         before the new one is opened.  Instead dup the new file descriptor
9914         to the old one after the new stream is created.
9915         * libio/freopen64.c (freopen64): Likewise.
9916         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9917         * libio/fileops.c (_IO_new_file_close_it): Handle new
9918         _IO_FLAGS2_NOCLOSE flag.
9919         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9920         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9921         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9922         _IO_FLAGS2_NOCLOSE flag.
9923         * include/unistd.h: Add hidden_proto for dup3.
9924         Define __have_dup3.
9925         * io/dup3.c: Define hidden symbol.
9926         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9927
9928         [BZ #7101]
9929         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9930         when an incomplete long option is used.
9931         * posix/tst-getopt_long1.c: New file.
9932         * posix/Makefile (tests): Add tst-getopt_long1.
9933
9934         [BZ #10138]
9935         * scripts/config.guess: Update from autoconf-2.68.
9936         * scripts/config.sub: Likewise.
9937
9938         [BZ #10157]
9939         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9940         tests into ...
9941         (has_cpuclock): ...this.  New function.
9942         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9943         macro here based on has_cpuclock code.
9944
9945         [BZ #10149]
9946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9947         First byte (not low byte) is now always NUL.
9948         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9949
9950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9951         Use non-cancelable interfaces.
9952
9953         [BZ #9809]
9954         * locale/iso-639.def: Add entry for Sorani.
9955
9956         [BZ #11901]
9957         * include/stdlib.h: Move include protection to the right place.
9958         Define abort_msg_s.  Declare __abort_msg with it.
9959         * stdlib/abort.c (__abort_msg): Adjust type.
9960         * assert/assert.c (__assert_fail_base): New function.  Majority
9961         of code from __assert_fail.  Allocate memory for __abort_msg with
9962         mmap.
9963         (__assert_fail): Now call __assert_fail_base.
9964         * assert/assert-perr.c: Remove bulk of implementation.  Use
9965         __assert_fail_base.
9966         * include/assert.hL Declare __assert_fail_base.
9967         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9968         mmap.
9969         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9970
9971 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9972
9973         [BZ #11952]
9974         [BZ #12453]
9975         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9976         until all modules are registered in the DTV.
9977         * elf/Makefile: Add rules to build and run tst-tls19.
9978         * elf/tst-tls19.c: New file.
9979         * elf/tst-tls19mod1.c: New file.
9980         * elf/tst-tls19mod2.c: New file.
9981         * elf/tst-tls19mod3.c: New file.
9982         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9983
9984         [BZ #12083]
9985         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9986         correctly.
9987
9988         [BZ #12601]
9989         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9990         two-byte sequence errors.
9991         * iconvdata/Makefile (tests): Add bug-iconv8.
9992         * iconvdata/bug-iconv8.c: New file.
9993
9994         [BZ #12626]
9995         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9996         buf2 definition.
9997
9998         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9999
10000         [BZ #12432]
10001         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10002         (dummy_getcfa): New function.
10003         (init): Get _Unwind_GetCFA address, use dummy if not found.
10004         (backtrace_helper): In recursion check, also check whether CFA changes.
10005         (__backtrace): Completely initialize arg.
10006
10007         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10008         storing incomplete byte sequence in state object.  Avoid testing for
10009         guaranteed too small input if we know there is enough data available.
10010
10011 2011-05-11  Andreas Schwab  <schwab@redhat.com>
10012
10013         * Makeconfig (+link-pie): Indent.
10014         * Rules (binaries-pie): Define if $(have-fpie) and
10015         $(build-shared).
10016         (binaries-shared): Also filter out $(binaries-pie).
10017         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10018         * nscd/Makefile (others-pie): Add nscd.
10019         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10020         ($(objpfx)nscd): Remove command override.
10021         * login/Makefile (others-pie): Add pt_chown.
10022         ($(objpfx)pt_chown): Remove command override.
10023         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10024         remove command overrides.
10025
10026 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
10027
10028         * libio/tst_putwc.c: Fix error messages.
10029
10030         [BZ #12724]
10031         * libio/fileops.c (_IO_new_file_close_it): Always flush when
10032         currently writing and seek to current position when not.
10033         * libio/Makefile (tests): Add bug-fclose1.
10034         * libio/bug-fclose1.c: New file.
10035
10036 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
10037
10038         [BZ #12511]
10039         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10040         don't set DF_1_NODELETE here.
10041         (do_lookup_x): When entering new entry test for copy relocation
10042         and if necessary set DF_1_NODELETE flag.
10043         * elf/tst-unique4.cc: New file.
10044         * elf/tst-unique4.h: New file.
10045         * elf/tst-unique4lib.cc: New file.
10046         * elf/Makefile: Add rules to build and run tst-unique4.
10047         Patch by Piotr Bury <pbury@goahead.com>.
10048
10049 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
10050
10051         [BZ #12052]
10052         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10053
10054         [BZ #12625]
10055         * misc/mntent_r.c (addmntent): Flush the stream after the output
10056
10057         [BZ #12393]
10058         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10059         (is_trusted_path_normalize): Skip initial colon.  Append slash
10060         to empty buffer.  Duplicate is_trusted_path code but allow
10061         constructed patch to be prefix.
10062         (is_dst): Allow $ORIGIN followed by /.
10063         (_dl_dst_substitute): Correct clearing of check_for_trusted.
10064         Correct testing of result of is_trusted_path_normalize
10065         (decompose_rpath): Fix warning.
10066
10067 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
10068
10069         [BZ #11257]
10070         * grp/initgroups.c (internal_getgrouplist): When we found the service
10071         list through the initgroups entry in nsswitch.conf do not always
10072         continue on a successful lookup.  Don't always use the
10073         __nss_group_database value if it is set.
10074         * nss/nsswitch.conf (initgroups): Change action for successful db
10075         lookup to continue for compatibility.
10076
10077 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
10078
10079         [BZ #11532]
10080         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10081         and CP774 modules.
10082         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10083         and CP774 modules.
10084         * iconvdata/tst-tables.sh: Likewise.
10085         * iconvdata/cp770.c: New file.
10086         * iconvdata/cp771.c: New file.
10087         * iconvdata/cp772.c: New file.
10088         * iconvdata/cp773.c: New file.
10089         * iconvdata/cp774.c: New file.
10090         * iconvdata/testdata/CP770: New file.
10091         * iconvdata/testdata/CP770..UTF8: New file.
10092         * iconvdata/testdata/CP771: New file.
10093         * iconvdata/testdata/CP771..UTF8: New file.
10094         * iconvdata/testdata/CP772: New file.
10095         * iconvdata/testdata/CP772..UTF8: New file.
10096         * iconvdata/testdata/CP773: New file.
10097         * iconvdata/testdata/CP773..UTF8: New file.
10098         * iconvdata/testdata/CP774: New file.
10099         * iconvdata/testdata/CP774..UTF8: New file.
10100
10101         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10102         END CHARMAP line.
10103         * iconvdata/gen-8bit-gap.sh: Likewise.
10104         * iconvdata/gen-8bit.sh: Likewise.
10105
10106         * locale/iso-639.def: Add ary entry.
10107
10108         [BZ #11258]
10109         * locale/C-translit.h.in: Add U20A1 transliteration.
10110
10111         [BZ #12178]
10112         * locale/iso-639.def: Add wae entry.
10113         Patch by Kevin Bortis <bortis@translate-wae.ch>.
10114
10115         [BZ #12545]
10116         * locale/programs/localedef.c (construct_output_path): Use ssize_t
10117         for n.
10118
10119         [BZ #12711]
10120         * locale/C-translit.h.in: Add entry for U20B9.
10121         Patch by pravin.d.s@gmail.com.
10122
10123 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
10124
10125         [BZ #12713]
10126         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10127         ENAMETOOLONG use generic getcwd.
10128         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
10129         in rtld.  Use *stat64.
10130         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10131         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10132         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10133         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10134         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10135         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10136         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10137         __fstatat64 macros.
10138         * include/dirent.h: Add libc_hidden_proto for rewinddir.
10139         * dirent/rewinddir.c: Add libc_hidden_def.
10140         * sysdeps/mach/hurd/rewinddir.c: Likewise.
10141         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
10142
10143         * include/dirent.h (__alloc_dir): Add flags parameter.
10144         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10145         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10146         __alloc_dir.
10147         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10148         from fdopendir if O_CLOEXEC is already set.
10149
10150 2011-03-15  Alan Modra  <amodra@gmail.com>
10151
10152         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10153         l_tls_firstbyte_offset non-zero.  Save padding offset in
10154         l_tls_firstbyte_offset for later use.
10155         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10156         freeing static tls block.
10157
10158 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10159
10160         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10161         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10162         being defined by the kernel headers.
10163
10164 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10165
10166         [BZ #12734]
10167         * resolv/resolv.h: Define RES_NOTLDQUERY.
10168         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10169         no-tld-query and set RES_NOTLDQUERY.
10170         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10171         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10172         modern BIND to search name as TLD unless forbidden.
10173
10174 2011-05-07  Petr Baudis  <pasky@suse.cz>
10175             Ulrich Drepper  <drepper@gmail.com>
10176
10177         [BZ #12393]
10178         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10179         (is_trusted_path): ...to here.
10180         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10181         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10182         using is_trusted_path_normalize() in setuid scripts.
10183
10184 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10185
10186         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10187         __BEGIN/__END_DECLS.
10188
10189 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10190
10191         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10192         NSS_STATUS_NOTFOUND if no record was found.
10193
10194 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10195
10196         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10197         (headers-not-in-tirpc): Remove rpc/netdb.h
10198         * resolv/netdb.h: Revert last change.
10199
10200 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10201
10202         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10203         circular dependency between libgcc.a and libc.a.
10204
10205 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10206
10207         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10208         * nis/Makefile: Don't install rpcsvc/*.
10209         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10210         instead of <rpc/types.h>.
10211         (MAXHOSTNAMELEN): Define.
10212
10213 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10214
10215         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10216
10217 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10218
10219         [BZ #12714]
10220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10221         gethostbyname4_r when IPv6 results are possible.
10222
10223 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10224
10225         [BZ #12723]
10226         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10227         _PC_PIPE_BUF handling.
10228
10229 2011-04-30  Bruno Haible  <bruno@clisp.org>
10230
10231         [BZ #12717]
10232         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10233         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10234         to 'int'.
10235         * inet/getnameinfo.c (getnameinfo): Likewise.
10236
10237 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10238
10239         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10240         to groups setting in database lookup.
10241         * nss/nsswitch.conf: Add initgroups entry.
10242
10243 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10244
10245         [BZ #12685]
10246         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10247         mode string.
10248         Patch by Eric Blake <eblake@redhat.com>.
10249
10250 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10251
10252         * sunrpc/Makefile (need-export-routines): Add svc_run.
10253         (routines): Remove svc_run.
10254         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10255         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10256         * sunrpc/svc_run.c (svc_run): Likewise.
10257         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10258
10259 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10260
10261         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10262         problem in reallocation in last patch.
10263
10264 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10265
10266         * sunrpc/Makefile: Move inclusion of Rules.
10267
10268 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10269
10270         * nss/nss_files/files-initgroups.c: New file.
10271         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10272         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10273         _nss_files_initgroups_dyn.
10274
10275 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10276
10277         * elf/elf.h (R_ARM_IRELATIVE): Define.
10278
10279 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10280
10281         * po/ru.po: Update from translation team.
10282
10283 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10284
10285         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10286         dependencies.
10287
10288 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10289
10290         [BZ #12653]
10291         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10292         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10294         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10296
10297 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10298
10299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10300         differing bytes.
10301         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10304
10305 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10306
10307         [BZ #12420]
10308         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10309         storing it.
10310         * stdlib/bug-getcontext.c: New file.
10311         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10312
10313 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10314
10315         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10316         instructions into .machine "z9-109".
10317         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10318         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10319
10320 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10321
10322         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10323         between environment variables and auxiliary vector.
10324
10325 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10326
10327         * Makefile: Add rules to build linkobj/libc.so.
10328         * include/libc-symbols.h: Define libc_hidden_nolink.
10329         * include/rpc/auth.h: Mark functions which are to be hidden.
10330         * include/rpc/auth_des.h: Likewise.
10331         * include/rpc/auth_unix.h: Likewise.
10332         * include/rpc/clnt.h: Likewise.
10333         * include/rpc/des_crypt.h: Likewise.
10334         * include/rpc/key_prot.h: Likewise.
10335         * include/rpc/pmap_clnt.h: Likewise.
10336         * include/rpc/pmap_prot.h: Likewise.
10337         * include/rpc/pmap_rmt.h: Likewise.
10338         * include/rpc/rpc_msg.h: Likewise.
10339         * include/rpc/svc.h: Likewise.
10340         * include/rpc/svc_auth.h: Likewise.
10341         * include/rpc/xdr.h: Likewise.
10342         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10343         * nss/Makefile: Likewise.
10344         * sunrpc/Makefile: Don't install headers.  Build library with normal
10345         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10346         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10347         for the compat linking library.  Remove use of INTDEF/INTUSE.
10348         * sunrpc/auth_none.c: Likewise.
10349         * sunrpc/auth_unix.c: Likewise.
10350         * sunrpc/authdes_prot.c: Likewise.
10351         * sunrpc/authuxprot.c: Likewise.
10352         * sunrpc/clnt_gen.c: Likewise.
10353         * sunrpc/clnt_perr.c: Likewise.
10354         * sunrpc/clnt_raw.c: Likewise.
10355         * sunrpc/clnt_simp.c: Likewise.
10356         * sunrpc/clnt_tcp.c: Likewise.
10357         * sunrpc/clnt_udp.c: Likewise.
10358         * sunrpc/clnt_unix.c: Likewise.
10359         * sunrpc/des_crypt.c: Likewise.
10360         * sunrpc/des_soft.c: Likewise.
10361         * sunrpc/get_myaddr.c: Likewise.
10362         * sunrpc/key_call.c: Likewise.
10363         * sunrpc/key_prot.c: Likewise.
10364         * sunrpc/netname.c: Likewise.
10365         * sunrpc/pm_getmaps.c: Likewise.
10366         * sunrpc/pm_getport.c: Likewise.
10367         * sunrpc/pmap_clnt.c: Likewise.
10368         * sunrpc/pmap_prot.c: Likewise.
10369         * sunrpc/pmap_prot2.c: Likewise.
10370         * sunrpc/pmap_rmt.c: Likewise.
10371         * sunrpc/publickey.c: Likewise.
10372         * sunrpc/rpc_cmsg.c: Likewise.
10373         * sunrpc/rpc_common.c: Likewise.
10374         * sunrpc/rpc_dtable.c: Likewise.
10375         * sunrpc/rpc_prot.c: Likewise.
10376         * sunrpc/rpc_thread.c: Likewise.
10377         * sunrpc/rtime.c: Likewise.
10378         * sunrpc/svc.c: Likewise.
10379         * sunrpc/svc_auth.c: Likewise.
10380         * sunrpc/svc_authux.c: Likewise.
10381         * sunrpc/svc_raw.c: Likewise.
10382         * sunrpc/svc_run.c: Likewise.
10383         * sunrpc/svc_simple.c: Likewise.
10384         * sunrpc/svc_tcp.c: Likewise.
10385         * sunrpc/svc_udp.c: Likewise.
10386         * sunrpc/svc_unix.c: Likewise.
10387         * sunrpc/svcauth_des.c: Likewise.
10388         * sunrpc/xcrypt.c: Likewise.
10389         * sunrpc/xdr.c: Likewise.
10390         * sunrpc/xdr_array.c: Likewise.
10391         * sunrpc/xdr_float.c: Likewise.
10392         * sunrpc/xdr_intXX_t.c: Likewise.
10393         * sunrpc/xdr_mem.c: Likewise.
10394         * sunrpc/xdr_rec.c: Likewise.
10395         * sunrpc/xdr_ref.c: Likewise.
10396         * sunrpc/xdr_sizeof.c: Likewise.
10397         * sunrpc/xdr_stdio.c: Likewise.
10398
10399 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10400
10401         [BZ #12650]
10402         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10403         * sysdeps/ia64/dl-tls.h: Likewise.
10404         * sysdeps/powerpc/dl-tls.h: Likewise.
10405         * sysdeps/s390/dl-tls.h: Likewise.
10406         * sysdeps/sh/dl-tls.h: Likewise.
10407         * sysdeps/sparc/dl-tls.h: Likewise.
10408         * sysdeps/x86_64/dl-tls.h: Likewise.
10409         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10410
10411 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10412
10413         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10414         rpath element also skip the following colon.
10415         (expand_dynamic_string_token): Add is_path parameter and pass
10416         down to DL_DST_REQUIRED and _dl_dst_substitute.
10417         (decompose_rpath): Call expand_dynamic_string_token with
10418         non-zero is_path.  Ignore empty rpaths.
10419         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10420         with zero is_path.
10421
10422 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10423
10424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10425         Make cancelable.
10426
10427 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10428
10429         [BZ #12655]
10430         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10431         Patch by Filipe David Manana <fdmanana@apache.org>.
10432
10433 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10434
10435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10436         Maintain aligned stack.
10437         (CHECK_RSP): Remove unused macro.
10438
10439 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10440
10441         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10442         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10443
10444 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10445
10446         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10447
10448         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10449
10450 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10451
10452         [BZ #12518]
10453         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10454         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10455         * sysdeps/x86_64/memmove.c: New file.
10456         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10457         (memcpy): Renamed to ...
10458         (__new_memcpy): This.
10459         (memcpy): Provide GLIBC_2_14 memcpy.
10460         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10461         (memcpy): Provide GLIBC_2_2_5 memcpy.
10462
10463 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10464
10465         [BZ #12631]
10466         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10467
10468 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10469
10470         * misc/syncfs.c: New file.
10471         * misc/Makefile (routines): Add syncfs.
10472         * posix/unistd.h: Declare syncfs.
10473         * sysdeps/unix/syscalls.list: Add syncfs.
10474
10475 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10476
10477         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10478         open_by_handle_at.
10479         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10484         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10485         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10486
10487 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10488
10489         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10491         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10492         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10493         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10495         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10496
10497         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10498         sync_file_range.c with -fexceptions.
10499         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10500         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10501         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10502         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10503         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10504         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10506         sync_file_range as cancellation point
10507         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10508         now a wrapper around __call_sync_file_range with cancellation handling.
10509         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10510         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10511         function name to __call_sync_file_range.
10512         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10513         Add call_sync_file_range.
10514
10515 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10516
10517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10518         bits/timex.h.
10519
10520 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10521
10522         * iconv/iconv.h: Fix typo in comment.
10523         * io/fcntl.h: Likewise.
10524         * libio/stdio.h: Likewise.
10525         * posix/spawn.h: Likewise.
10526         * posix/unistd.h: Likewise.
10527         * stdlib/stdlib.h: Likewise.
10528         * time/time.h: Likewise.
10529         * wcsmbs/wchar.h: Likewise.
10530
10531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10532         open_by_handle): Add.
10533         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10534         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10535         Augment a few comments.
10536         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10538         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10540         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10541         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10542         open_by_handle.
10543
10544         * io/fcntl.h (AT_EMPTY_PATH): Define.
10545
10546 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10547
10548         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10549         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10550         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10551         to...
10552         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10553         * Versions.def: Add GLIBC_2.14.
10554         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10555         Export.
10556
10557 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10558
10559         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10560         round counter.
10561         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10562
10563 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10564
10565         [BZ #12597]
10566         * string/test-strncmp.c (do_page_test): New function.
10567         (check2): Likewise.
10568         (test_main): Call check2.
10569         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10570
10571 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10572
10573         [BZ #12587]
10574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10575         Handle cache information in CPU leaf 4.
10576         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10577
10578 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10579
10580         [BZ #12583]
10581         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10582         character representation.
10583         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10584
10585 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10586
10587         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10588         END(__isnan) to END(__isnanf) to match function entry point/label
10589         EALIGN(__isnanf,...).
10590
10591 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10592
10593         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10594
10595 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10596
10597         [BZ #12510]
10598         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10599         copy from the symbol referenced in the relocation to initialize the
10600         used variable.
10601         Patch by Piotr Bury <pbury@goahead.com>.
10602         * elf/Makefile: Add rules to build and tst-unique3.
10603         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10604         * elf/tst-unique3.cc: New file.
10605         * elf/tst-unique3.h: New file.
10606         * elf/tst-unique3lib.cc: New file.
10607         * elf/tst-unique3lib2.cc: New file.
10608
10609         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10610
10611 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10612
10613         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10614         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10615         to _start.
10616
10617 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10618
10619         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10620         to-be-loaded object along a path to loader is ld.so.
10621
10622 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10623             Ulrich Drepper  <drepper@gmail.com>
10624
10625         * sysdeps/x86_64/memset.S: After aligning destination, code
10626         branches to different locations depending on the value of
10627         misalignment, when multiarch is enabled. Fix this.
10628
10629 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10630
10631         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10632         Set _x86_64_preferred_memory_instruction for AMD processsors.
10633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10634         Set bit_Prefer_SSE_for_memop for AMD processors.
10635
10636 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10637
10638         * libio/fmemopen.c (fmemopen): Optimize a bit.
10639
10640 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10641
10642         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10643
10644 2011-03-03  Roland McGrath  <roland@redhat.com>
10645
10646         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10647
10648 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10649
10650         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10651         __bzero_ultra1 instead of __memset_ultra1.
10652
10653 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10654             Ulrich Drepper  <drepper@gmail.com>
10655
10656         [BZ #12509]
10657         * include/link.h (struct link_map): Add l_orig_initfini.
10658         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10659         returning unsuccessfully.
10660         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10661         close of a file loaded at startup, restore the original l_initfini
10662         list.
10663         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10664         list, store the pointer.
10665         * elf/Makefile ($(objpfx)noload-mem): New rule.
10666         (noload-ENV): Define.
10667         (tests): Add $(objpfx)noload-mem.
10668         * elf/noload.c: Include <memcheck.h>.
10669         (main): Call mtrace.  Close all opened handles.
10670
10671 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10672
10673         [BZ #12454]
10674         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10675         dependencies are missing.
10676
10677 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10678
10679         Fix __if_freereq crash: Unlike the generic version which uses free,
10680         Hurd needs munmap.
10681         * sysdeps/mach/hurd/ifreq.h: New file.
10682
10683 2011-01-27  Petr Baudis  <pasky@suse.cz>
10684             Ulrich Drepper  <drepper@gmail.com>
10685
10686         [BZ 12445]#
10687         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10688         to extend_alloca().
10689         * stdio-common/bug23.c: New file.
10690         * stdio-common/Makefile (tests): Add bug23.
10691
10692 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10693             Ulrich Drepper  <drepper@gmail.com>
10694
10695         [BZ #12489]
10696         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10697         before performing relro protection.  At old place add assertion
10698         to make sure nothing changed.
10699
10700 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10701             Glauber de Oliveira Costa  <glommer@gmail.com>
10702
10703         * elf/elf.h: Add new ARM TLS relocs.
10704
10705 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10706
10707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10708         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10709         cast from r3.
10710         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10711         'tests' variable.
10712         * sysdeps/wordsize-64/tst-writev.c: New file.
10713
10714 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10715
10716         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10717         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10718         insns in _dl_start to prevent a TOC reference before relocs are
10719         resolved.
10720
10721 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10722
10723         [BZ #12469]
10724         * Makeconfig: Remove RANLIB definition.
10725         * Makerules: Don't use RANLIB.
10726         * aclocal.m4: Remove ranlib test.
10727         * configure.in: No need to check for ranlib.
10728         * elf/rtld-Rules: Don't use RANLIB.
10729
10730 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10731
10732         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10733         protection macro.
10734         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10735         inclusion protection macro.
10736
10737         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10738         SIGRTMIN and SIGRTMAX and print information in that case only when
10739         SIGRTMIN is defined.
10740
10741 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10742
10743         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10744         arginfo fn returning -1.
10745
10746         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10747         and thousands string is zero terminated.
10748
10749 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10750
10751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10752         sysdeps/unix/sysv/linux/bits/socket.h.
10753
10754 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10755
10756         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10757         (__CPU_COUNT): Remove old macros.
10758         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10759         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10760         (__CPU_ALLOC, __CPU_FREE): Add macros.
10761         (__sched_cpualloc, __sched_cpufree): Add declarations.
10762
10763 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10764
10765         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10766         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10767         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10768         (readdhstai): Return value of addhstaiX call.
10769         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10770         (addgrbyX): Return value returned by cache_addgr.
10771         (readdgrbyname): Return value returned by addgrbyX.
10772         (readdgrbygid): Likewise.
10773         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10774         (addpwbyX): Return value returned by cache_addpw.
10775         (readdpwbyname): Return value returned by addhstbyX.
10776         (readdpwbyuid): Likewise.
10777         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10778         (addservbyX): Return value returned by cache_addserv.
10779         (readdservbyname): Return value returned by addservbyX:
10780         (readdservbyport): Likewise.
10781         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10782         (addhstbyX): Return value returned by cache_addhst.
10783         (readdhstbyname): Return value returned by addhstbyX.
10784         (readdhstbyaddr): Likewise.
10785         (readdhstbynamev6): Likewise.
10786         (readdhstbyaddrv6): Likewise.
10787         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10788         (readdinitgroups): Return value returned by addinitgroupsX.
10789         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10790         (prune_cache): Keep track of timeout value of re-added entries.
10791         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10792         * nscd/nscd.h: Adjust prototypes of readd* functions.
10793
10794 2011-02-04  Roland McGrath  <roland@redhat.com>
10795
10796         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10797         (nis_stats): Likewise.
10798         * nis/nis_modify.c (nis_modify): Likewise.
10799         * nis/nis_remove.c (nis_remove): Likewise.
10800         * nis/nis_add.c (nis_add): Likewise.
10801
10802         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10803
10804         * posix/fnmatch_loop.c: Add some consts.
10805
10806         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10807
10808 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10809
10810         [BZ #12460]
10811         * config.make.in (config-cflags-novzeroupper): Define.
10812         * configure.in: Substitute libc_cv_cc_novzeroupper.
10813         * elf/Makefile (AVX-CFLAGS): Define.
10814         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10815         (CFLAGS-tst-auditmod4a.c): Likewise.
10816         (CFLAGS-tst-auditmod4b.c): Likewise.
10817         (CFLAGS-tst-auditmod6b.c): Likewise.
10818         (CFLAGS-tst-auditmod6c.c): Likewise.
10819         (CFLAGS-tst-auditmod7b.c): Likewise.
10820         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10821
10822 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10823
10824         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10825         function to the callback.
10826         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10827
10828 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10829
10830         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10831         of errno.
10832
10833 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10834
10835         [BZ #11724]
10836         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10837         of constructors.
10838         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10839         of destructors.
10840         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10841
10842         [BZ #11724]
10843         * elf/Makefile: Add rules to build and run new test.
10844         * elf/tst-initorder.c: New file.
10845         * elf/tst-initorder.exp: New file.
10846         * elf/tst-initordera1.c: New file.
10847         * elf/tst-initordera2.c: New file.
10848         * elf/tst-initordera3.c: New file.
10849         * elf/tst-initordera4.c: New file.
10850         * elf/tst-initorderb1.c: New file.
10851         * elf/tst-initorderb2.c: New file.
10852         * elf/tst-order-a1.c: New file.
10853         * elf/tst-order-a2.c: New file.
10854         * elf/tst-order-a3.c: New file.
10855         * elf/tst-order-a4.c: New file.
10856         * elf/tst-order-b1.c: New file.
10857         * elf/tst-order-b2.c: New file.
10858         * elf/tst-order-main.c: New file.
10859         New test case by George Gensure <werkt0@gmail.com>.
10860
10861 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10862
10863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10864         decoding ACE if AI_CANONIDN.
10865
10866 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10867
10868         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10869
10870 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10871
10872         * version.h (RELEASE): Bump for 2.13 release.
10873         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10874
10875         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10876
10877         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10878         MADV_NOHUGEPAGE.
10879         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10880         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10881         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10882         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10885
10886         * posix/getconf.c: Update copyright year.
10887         * catgets/gencat.c: Likewise.
10888         * csu/version.c: Likewise.
10889         * debug/catchsegv.sh: Likewise.
10890         * debug/xtrace.sh: Likewise.
10891         * elf/ldconfig.c: Likewise.
10892         * elf/ldd.bash.in: Likewise.
10893         * elf/sprof.c (print_version): Likewise.
10894         * iconv/iconv_prog.c: Likewise.
10895         * iconv/iconvconfig.c: Likewise.
10896         * locale/programs/locale.c: Likewise.
10897         * locale/programs/localedef.c: Likewise.
10898         * malloc/memusage.sh: Likewise.
10899         * malloc/mtrace.pl: Likewise.
10900         * nscd/nscd.c (print_version): Likewise.
10901         * nss/getent.c: Likewise.
10902
10903         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10904         PF_CAIF, and PF_ALG.
10905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10906
10907 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10908
10909         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10910         (modules-names): Use them.
10911         (ifunc-test-modules, ifunc-pie-tests): Define.
10912         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10913         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10914         (test-extras): Likewise.
10915         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10916         $(compile-command.c).
10917         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10918         (all-built-dso): Define.
10919         (check-textrel.out, check-execstack.out): Depend on it.
10920
10921         * configure.in: Don't override --enable-multi-arch.
10922
10923 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10924
10925         [BZ #6812]
10926         * nscd/hstcache.c (tryagain): Define.
10927         (cache_addhst): Return tryagain not notfound for temporary errors.
10928         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10929         failed.
10930
10931 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10932
10933         [BZ #10563]
10934         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10935         to make the syscall.
10936         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10937
10938         [BZ #12378]
10939         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10940         and fall back to matching as normal character if the string ends before
10941         the matching ']' is found.  This is what POSIX requires.
10942         * posix/testfnm.c: Adjust test result.
10943         * posix/globtest.sh: Adjust test result.  Add new test.
10944         * posix/tst-fnmatch.input: Likewise.
10945         * posix/tst-fnmatch2.c: Add new test.
10946
10947 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10948
10949         * elf/Makefile (check-execstack): Revert last change.  Depend on
10950         check-execstack.h.
10951         (check-execstack.h): New target.
10952         (generated): Add check-execstack.h.
10953         * elf/check-execstack.c: Include "check-execstack.h".
10954         (main): Revert last change.
10955         (handle_file): Return zero if GNU_STACK is absent and
10956         DEFAULT_STACK_PERMS doesn't include PF_X.
10957
10958 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10959
10960         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10961         in child fails because the descriptor is already closed.
10962         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10963         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10964         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10965
10966         [BZ #12397]
10967         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10968         syscall.
10969
10970         [BZ #10484]
10971         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10972         temporary buffer used to handle multi lookups locally.
10973         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10974
10975 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10976
10977         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10978         loader is ld.so.
10979
10980 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10981
10982         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10983         alignment for SSE2.
10984
10985 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10986
10987         [BZ #12394]
10988         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10989         characters.  When rounding increased number of integer digits recompute
10990         number of groups.
10991         * stdio-common/tst-grouping.c: New file.
10992         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10993
10994 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10995
10996         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10997         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10998
10999         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11000         void.
11001         * bits/select.h: Likewise.
11002
11003 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
11004
11005         * po/ja.po: Update from translation team.
11006
11007 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
11008
11009         [BZ #11155]
11010         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11011         implementation just like for lxstat, fxstatat, et al.
11012
11013 2010-12-27  Jim Meyering  <meyering@redhat.com>
11014
11015         [BZ #12348]
11016         * posix/regexec.c (build_trtable): Return failure indication upon
11017         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
11018
11019 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
11020
11021         [BZ #12201]
11022         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11023         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11024         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11026
11027         [BZ #12207]
11028         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11029
11030         [BZ #12204]
11031         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11032         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11033
11034 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11035
11036         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11037         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11038         script has SORT_BY_INIT_PRIORITY.
11039         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11040         NO_CTORS_DTORS_SECTIONS is defined.
11041         * elf/soinit.c: Likewise.
11042         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11043         NO_CTORS_DTORS_SECTIONS is defined.
11044         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11045         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11046         * sysdeps/sh/init-first.c: Likewise.
11047         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11048
11049 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
11050
11051         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11052         always use the slow path.
11053
11054 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
11055
11056         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11057         similar rule which adds the sysdep directories to the header search in
11058         order to pick up the correct platform stackinfo.h.
11059         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11060         perform test if it is, otherwise return successfully without testing.
11061         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11062         DEFAULT_STACK_PERMS define in stackinfo.h.
11063         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11064         defined in stackinfo.h.
11065         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11066         DEFAULT_STACK_PERMS defined in stackinfo.h.
11067         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11068         * sysdeps/ia64/stackinfo.h: Likewise.
11069         * sysdeps/s390/stackinfo.h: Likewise.
11070         * sysdeps/sh/stackinfo.h: Likewise.
11071         * sysdeps/sparc/stackinfo.h: Likewise.
11072         * sysdeps/x86_64/stackinfo.h: Likewise.
11073         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11074         PF_X for powerpc64.  Retain PF_X for powerpc32.
11075
11076 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
11077
11078         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11079         accurately.
11080         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11081         GETDENTS_64BIT_ALIGNED.
11082
11083 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
11084
11085         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11086
11087 2010-12-10  Andreas Schwab  <schwab@redhat.com>
11088
11089         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11090         _GNU_SOURCE.
11091
11092         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11093         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11094         Remove __restrict.
11095         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11096         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11097
11098 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
11099
11100         [BZ #11655]
11101         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11102         are initialized.
11103
11104 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
11105
11106         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11107
11108 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
11109
11110         * po/it.po: Update from translation team.
11111
11112 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11113
11114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11115         unused codes.
11116
11117 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
11118
11119         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11120
11121 2010-11-24  Andreas Schwab  <schwab@redhat.com>
11122
11123         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11124         specially.
11125         (gaih_getanswer_slice): Likewise.
11126
11127 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
11128
11129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11130
11131 2010-05-31  Petr Baudis  <pasky@suse.cz>
11132
11133         [BZ #11149]
11134         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11135         silently even in the chroot mode.
11136
11137 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
11138
11139         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11140         last patch a bit.  Pretty printing
11141
11142 2010-05-31  Petr Baudis <pasky@suse.cz>
11143
11144         [BZ #10085]
11145         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11146         initialization of skip_initgroups_dyn.
11147
11148 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11149
11150         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11151         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11152
11153 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11154
11155         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11156
11157 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11158
11159         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11160         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11161         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11162         ($(objpfx)tst-fnmatch-mem): New rule.
11163         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11164         * posix/tst-fnmatch.c (main): Call mtrace.
11165
11166 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11167
11168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11169         Support Intel processor model 6 and model 0x2c.
11170
11171 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11172
11173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11174           signed comparison.
11175
11176 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11177
11178         [BZ #12205]
11179         * string/test-strncasecmp.c (check_result): New function.
11180         (do_one_test): Use it.
11181         (check1): New function.
11182         (test_main): Use it.
11183         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11184         Support strcasecmp and strncasecmp.
11185
11186 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11187
11188         [BZ #12194]
11189         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11190         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11191
11192 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11193
11194         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11195         IFUNC support.
11196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11197         memset-x86-64.
11198         * sysdeps/x86_64/multiarch/bzero.S: New file.
11199         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11200         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11201         * sysdeps/x86_64/multiarch/memset.S: New file.
11202         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11204         Set bit_Prefer_SSE_for_memop for Intel processors.
11205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11206         Define.
11207         (index_Prefer_SSE_for_memop): Define.
11208         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11209
11210 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11211
11212         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11213         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11214
11215 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11216
11217         [BZ #12191]
11218         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11219         (__x86_64_raw_data_cache_size_half): Likewise.
11220         (__x86_64_raw_shared_cache_size): Likewise.
11221         (__x86_64_raw_shared_cache_size_half): Likewise.
11222
11223         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11224         (__x86_64_raw_data_cache_size_half): Likewise.
11225         (__x86_64_raw_shared_cache_size): Likewise.
11226         (__x86_64_raw_shared_cache_size_half): Likewise.
11227         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11228         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11229         and __x86_64_raw_shared_cache_size_half.  Round
11230         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11231         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11232         to multiple of 256 bytes.
11233
11234 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11235
11236         [BZ #12167]
11237         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11238         of inacessible symlinks.  Verify result of symlink before returning it.
11239         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11240         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11241
11242 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11243
11244         * math/math.h (isinf): Fix typo in comment.
11245
11246 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11247
11248         * po/da.po: Update from translation team.
11249
11250 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11251
11252         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11253         is added to the list.
11254
11255 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11256             Ulrich Drepper  <drepper@gmail.com>
11257
11258         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11259         the global list here.  Move code to...
11260         (_dl_add_to_namespace_list): ...here.  New function.
11261         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11262         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11263         * elf/dl-load.c (lose): Don't remove the element from the list.
11264         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11265         (_dl_map_object): Likewise.
11266
11267 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11268
11269         [BZ #12159]
11270         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11271         into all bytes of SSE register.
11272         Patch by Richard Li <richardpku@gmail.com>.
11273
11274 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11275
11276         [BZ #12140]
11277         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11278         perturbing.
11279
11280 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11281
11282         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11283         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11284         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11285         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11287         submachine.
11288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11289
11290 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11291
11292         * include/dlfcn.h (__RTLD_SECURE): Define.
11293         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11294         mode & __RTLD_SECURE instead.
11295         (open_path): Rename preloaded parameter to secure.
11296         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11297         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11298         * elf/dl-deps.c (openaux): Likewise.
11299         * elf/rtld.c (struct map_args): Remove is_preloaded.
11300         (map_doit): Don't use it.
11301         (dl_main): Likewise.
11302         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11303         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11304
11305 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11306
11307         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11308         (sysd-rules-targets): Remove duplicates.
11309         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11310         rtld-%.$o dependency.
11311
11312 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11313
11314         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11315         _dl_map_object do it.
11316
11317 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11318
11319         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11320         fast fma builtins, define the macros in the C99 standard.
11321         (FP_FAST_FMAF): Likewise.
11322         (FP_FAST_FMAL): Likewise.
11323         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11324
11325         * bits/mathdef.h: Update copyright year.
11326         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11327
11328 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11329
11330         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11331         builtins, define the macros in the C99 standard.
11332         (FP_FAST_FMAF): Likewise.
11333         (FP_FAST_FMAL): Likewise.
11334         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11335         multiply/add.
11336         (FP_FAST_FMAF): Likewise.
11337
11338 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11339
11340         [BZ #3268]
11341         * math/libm-test.inc (fma_test): Some new testcases.
11342         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11343         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11344         y and infinite z.  Do multiplication by C already in long double.
11345         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11347         y and infinite z.  Do bitwise or of inexact bit into u.d.
11348         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11349         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11350         * sysdeps/i386/fpu/s_fma.S: Removed.
11351         * sysdeps/i386/fpu/s_fmal.S: Removed.
11352
11353 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11354
11355         [BZ #3268]
11356         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11358         computation is not scheduled after fetestexcept.  Fix value
11359         of minimum denormal long double.
11360
11361 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11362
11363         [BZ #3268]
11364         * math/libm-test.inc (fma_test): Add some more tests.
11365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11366         correctly.
11367
11368 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11369
11370         * scripts/data/localplt-s390-linux-gnu.data: New file.
11371         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11372
11373 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11374
11375         [BZ #3268]
11376         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11377         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11378         instead of dbl-64.
11379         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11380         inlines.
11381         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11383         if one of x and y is very large and the other is subnormal.
11384         * sysdeps/s390/fpu/s_fmaf.c: New file.
11385         * sysdeps/s390/fpu/s_fma.c: New file.
11386         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11387         * sysdeps/powerpc/fpu/s_fma.S: New file.
11388         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11389         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11390         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11391
11392 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11393
11394         [BZ #3268]
11395         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11396         fma tests.
11397         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11398         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11399         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11400         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11401         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11402         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11403         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11404
11405 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11406
11407         [BZ #12078]
11408         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11409         * posix/bug-regex31.input: Add test case.
11410
11411 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11412
11413         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11414         * posix/bug-regex31.input: New file.
11415
11416         [BZ #12078]
11417         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11418         (parse_sub_exp): Fix last change, use postorder.
11419
11420         * posix/bug-regex31.c: New file.
11421         * posix/Makefile: Add rules to build and run bug-regex31.
11422
11423         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11424
11425         [BZ #12078]
11426         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11427
11428         [BZ #12108]
11429         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11430         to have entries in sys_siglist.
11431
11432         [BZ #12093]
11433         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11434         be NULL.
11435
11436 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11437
11438         [BZ #3268]
11439         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11440         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11441         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11442         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11443         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11444         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11445         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11446         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11447         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11448         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11449         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11450         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11451         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11452         * math/ftestexcept.c (fetestexcept): Likewise.
11453         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11454         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11455         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11456         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11457         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11458         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11459         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11460
11461 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11462
11463         [BZ #12107]
11464         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11465         newline.
11466
11467 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11468
11469         * string/bug-strstr1.c: New file.
11470         * string/Makefile: Add rules to build and run bug-strstr1.
11471
11472 2010-10-05  Eric Blake  <eblake@redhat.com>
11473
11474         [BZ #12092]
11475         * string/str-two-way.h (two_way_long_needle): Always clear memory
11476         when skipping input due to the shift table.
11477
11478 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11479
11480         [BZ #12005]
11481         * malloc/mcheck.c: Handle large requests.
11482
11483         [BZ #12077]
11484         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11485         for strncmp and strncasecmp.
11486         * string/stratcliff.c: Add tests for strcmp and strncmp.
11487         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11488
11489 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11490
11491         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11492         __set_fpscr.
11493
11494 2010-09-30  Andreas Jaeger  <aj@suse.de>
11495
11496         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11497         (CGROUP_SUPER_MAGIC): Define.
11498         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11499         Handle btrfs and cgroup file systems.
11500         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11501         Likewise.
11502
11503 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11504
11505         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11506         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11507
11508 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11509
11510         [BZ #12067]
11511         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11512         trying to locate the ELF header.
11513
11514 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11515
11516         [BZ #11611]
11517         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11518         Mask out sign-bit copies when constructing f_fsid.
11519
11520 2010-09-24  Petr Baudis <pasky@suse.cz>
11521
11522         * debug/stack_chk_fail_local.c: Add missing licence exception.
11523         * debug/warning-nop.c: Likewise.
11524
11525 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11526
11527         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11528         implementing getdents64 using getdents syscall, set d_type if
11529         __ASSUME_GETDENTS32_D_TYPE.
11530
11531 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11532
11533         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11534         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11535
11536 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11537
11538         [BZ #12037]
11539         * posix/unistd.h: Undo change of feature selection for ftruncate from
11540         2010-01-11.
11541
11542 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11543
11544         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11545         detection.
11546
11547 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11548
11549         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11550         fanotify_mark.
11551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11552
11553 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11554
11555         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11556         variables after CHECK_SP call.
11557         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11558
11559 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11560             Ulrich Drepper  <drepper@redhat.com>
11561
11562         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11563         re-relocationg ld.so.
11564         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11565         _dl_init_paths call.
11566         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11567         here anymore.
11568
11569 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11570
11571         * resolv/res_init.c (__res_vinit): Count the default server we added.
11572
11573 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11574             Ulrich Drepper  <drepper@redhat.com>
11575
11576         [BZ #11968]
11577         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11578         (____longjmp_chk): Use %ebx for saving value across system call.
11579         Add unwind info.
11580
11581 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11582
11583         * manual/Makefile: Don't mix pattern rules with normal rules.
11584
11585 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11586
11587         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11588         operation.
11589         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11590         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11591         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11592         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11594         Likewise.
11595
11596 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11597
11598         [BZ #11979]
11599         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11600         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11601
11602 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11603
11604         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11605         * sysdeps/x86_64/addmul_1.S: Likewise.
11606         * sysdeps/x86_64/lshift.S: Likewise.
11607         * sysdeps/x86_64/mul_1.S: Likewise.
11608         * sysdeps/x86_64/rshift.S: Likewise.
11609         * sysdeps/x86_64/sub_n.S: Likewise.
11610         * sysdeps/x86_64/submul_1.S: Likewise.
11611
11612 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11613
11614         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11615         Define __sched_param instead of SCHED_* and sched_param when
11616         <bits/sched.h> is included with __need_schedparam defined.
11617         * bits/sched.h [__need_schedparam]
11618         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11619         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11620         (__defined_schedparam): Define to 1.
11621         (__sched_param): New structure, identical to sched_param.
11622         (__need_schedparam): Undefine.
11623
11624 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11625
11626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11627         (epoll_create1): Declare.
11628
11629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11630
11631 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11632
11633         [BZ #7066]
11634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11635         shifting retval into place.
11636
11637 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11638
11639         * nis/rpcsvc/nis.h: Update copyright notice.
11640         * nis/rpcsvc/nis.x: Likewise.
11641         * nis/rpcsvc/nis_callback.h: Likewise.
11642         * nis/rpcsvc/nis_callback.x: Likewise.
11643         * nis/rpcsvc/nis_object.x: Likewise.
11644         * nis/rpcsvc/nis_tags.h: Likewise.
11645         * nis/rpcsvc/yp.h: Likewise.
11646         * nis/rpcsvc/yp.x: Likewise.
11647         * nis/rpcsvc/ypupd.h: Likewise.
11648         * nis/yp_xdr.c: Likewise.
11649         * nis/ypupdate_xdr.c: Likewise.
11650
11651         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11652         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11653         (pmap_getport): Use __libc_rpc_getport.
11654         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11655         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11656         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11657
11658 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11659
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11661         fanotify_mark.
11662
11663 2010-08-27  Roland McGrath  <roland@redhat.com>
11664
11665         * sysdeps/i386/i686/multiarch/Makefile
11666         (CFLAGS-varshift.c): New variable.
11667
11668 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11669
11670         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11671         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11672
11673         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11674
11675         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11676
11677 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11678
11679         * sysdeps/x86_64/strlen.S: Unroll the loop.
11680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11681         strlen-sse2 strlen-sse2-bsf.
11682         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11683         __strlen_no_bsf if bit_Slow_BSF is set.
11684         (__strlen_sse42): Removed.
11685         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11686         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11687
11688 2010-08-25  Roland McGrath  <roland@redhat.com>
11689
11690         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11691         * sysdeps/x86_64/multiarch/varshift.c: New file.
11692         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11693         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11694         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11695         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11696
11697 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11698
11699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11700         strlen-sse2 strlen-sse2-bsf.
11701         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11702         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11703         (__strlen_sse2): Removed.
11704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11707         bit_Slow_BSF for Atom.
11708         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11709         (index_Slow_BSF): Define.
11710         (HAS_SLOW_BSF): Define.
11711
11712 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11713
11714         [BZ #10851]
11715         * resolv/res_init.c (__res_vinit): When no server address at all
11716         is given default to loopback.
11717
11718 2010-08-24  Roland McGrath  <roland@redhat.com>
11719
11720         * configure.in: Remove config-name.h generation.
11721         * configure: Regenerated.
11722         * config-name.in: File removed.
11723         * scripts/config-uname.sh: New file.
11724         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11725         ($(objdir)config-name.h): New target.
11726
11727         * sunrpc/rpc_parse.h: Avoid nested comment.
11728
11729 2010-08-24  Richard Henderson  <rth@redhat.com>
11730             Ulrich Drepper  <drepper@redhat.com>
11731             H.J. Lu  <hongjiu.lu@intel.com>
11732
11733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11735         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11736         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11737         _mm_alignr_epi8 with _mm_loadu_si128.
11738         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11739         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11740         (__m128i_shift_right): Removed.
11741         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11742         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11743         * sysdeps/x86_64/multiarch/varshift.h: New file.
11744         * sysdeps/x86_64/multiarch/varshift.S: New file.
11745
11746 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11747
11748         * configure.in: Move assembler checks to before sysdep dir checking.
11749
11750 2010-08-20  Petr Baudis  <pasky@suse.cz>
11751
11752         * LICENSES: Sync the sunrpc license.
11753
11754 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11755
11756         * sunrpc/auth_des.c: Update copyright notice once again.
11757         * sunrpc/auth_none.c: Likewise.
11758         * sunrpc/auth_unix.c: Likewise.
11759         * sunrpc/authdes_prot.c: Likewise.
11760         * sunrpc/authuxprot.c: Likewise.
11761         * sunrpc/bindrsvprt.c: Likewise.
11762         * sunrpc/clnt_gen.c: Likewise.
11763         * sunrpc/clnt_perr.c: Likewise.
11764         * sunrpc/clnt_raw.c: Likewise.
11765         * sunrpc/clnt_simp.c: Likewise.
11766         * sunrpc/clnt_tcp.c: Likewise.
11767         * sunrpc/clnt_udp.c: Likewise.
11768         * sunrpc/clnt_unix.c: Likewise.
11769         * sunrpc/des_crypt.c: Likewise.
11770         * sunrpc/des_soft.c: Likewise.
11771         * sunrpc/get_myaddr.c: Likewise.
11772         * sunrpc/getrpcport.c: Likewise.
11773         * sunrpc/key_call.c: Likewise.
11774         * sunrpc/key_prot.c: Likewise.
11775         * sunrpc/openchild.c: Likewise.
11776         * sunrpc/pm_getmaps.c: Likewise.
11777         * sunrpc/pm_getport.c: Likewise.
11778         * sunrpc/pmap_clnt.c: Likewise.
11779         * sunrpc/pmap_prot.c: Likewise.
11780         * sunrpc/pmap_prot2.c: Likewise.
11781         * sunrpc/pmap_rmt.c: Likewise.
11782         * sunrpc/rpc/auth.h: Likewise.
11783         * sunrpc/rpc/auth_unix.h: Likewise.
11784         * sunrpc/rpc/clnt.h: Likewise.
11785         * sunrpc/rpc/des_crypt.h: Likewise.
11786         * sunrpc/rpc/key_prot.h: Likewise.
11787         * sunrpc/rpc/netdb.h: Likewise.
11788         * sunrpc/rpc/pmap_clnt.h: Likewise.
11789         * sunrpc/rpc/pmap_prot.h: Likewise.
11790         * sunrpc/rpc/pmap_rmt.h: Likewise.
11791         * sunrpc/rpc/rpc.h: Likewise.
11792         * sunrpc/rpc/rpc_des.h: Likewise.
11793         * sunrpc/rpc/rpc_msg.h: Likewise.
11794         * sunrpc/rpc/svc.h: Likewise.
11795         * sunrpc/rpc/svc_auth.h: Likewise.
11796         * sunrpc/rpc/types.h: Likewise.
11797         * sunrpc/rpc/xdr.h: Likewise.
11798         * sunrpc/rpc_clntout.c: Likewise.
11799         * sunrpc/rpc_cmsg.c: Likewise.
11800         * sunrpc/rpc_common.c: Likewise.
11801         * sunrpc/rpc_cout.c: Likewise.
11802         * sunrpc/rpc_dtable.c: Likewise.
11803         * sunrpc/rpc_hout.c: Likewise.
11804         * sunrpc/rpc_main.c: Likewise.
11805         * sunrpc/rpc_parse.c: Likewise.
11806         * sunrpc/rpc_parse.h: Likewise.
11807         * sunrpc/rpc_prot.c: Likewise.
11808         * sunrpc/rpc_sample.c: Likewise.
11809         * sunrpc/rpc_scan.c: Likewise.
11810         * sunrpc/rpc_scan.h: Likewise.
11811         * sunrpc/rpc_svcout.c: Likewise.
11812         * sunrpc/rpc_tblout.c: Likewise.
11813         * sunrpc/rpc_util.c: Likewise.
11814         * sunrpc/rpc_util.h: Likewise.
11815         * sunrpc/rpcinfo.c: Likewise.
11816         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11817         * sunrpc/rpcsvc/key_prot.x: Likewise.
11818         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11819         * sunrpc/rpcsvc/mount.x: Likewise.
11820         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11821         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11822         * sunrpc/rpcsvc/rex.x: Likewise.
11823         * sunrpc/rpcsvc/rstat.x: Likewise.
11824         * sunrpc/rpcsvc/rusers.x: Likewise.
11825         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11826         * sunrpc/rpcsvc/spray.x: Likewise.
11827         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11828         * sunrpc/rtime.c: Likewise.
11829         * sunrpc/svc.c: Likewise.
11830         * sunrpc/svc_auth.c: Likewise.
11831         * sunrpc/svc_authux.c: Likewise.
11832         * sunrpc/svc_raw.c: Likewise.
11833         * sunrpc/svc_run.c: Likewise.
11834         * sunrpc/svc_simple.c: Likewise.
11835         * sunrpc/svc_tcp.c: Likewise.
11836         * sunrpc/svc_udp.c: Likewise.
11837         * sunrpc/svc_unix.c: Likewise.
11838         * sunrpc/svcauth_des.c: Likewise.
11839         * sunrpc/xcrypt.c: Likewise.
11840         * sunrpc/xdr.c: Likewise.
11841         * sunrpc/xdr_array.c: Likewise.
11842         * sunrpc/xdr_float.c: Likewise.
11843         * sunrpc/xdr_mem.c: Likewise.
11844         * sunrpc/xdr_rec.c: Likewise.
11845         * sunrpc/xdr_ref.c: Likewise.
11846         * sunrpc/xdr_sizeof.c: Likewise.
11847         * sunrpc/xdr_stdio.c: Likewise.
11848
11849         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11850         handling.
11851
11852 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11853
11854         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11855
11856 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11857
11858         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11859         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11860         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11861         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11862         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11863         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11864         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11865         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11866         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11867         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11868         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11869         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11870         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11871         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11872
11873 2010-07-26  Anton Blanchard  <anton@samba.org>
11874
11875         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11876         * malloc/arena.c (heap_trim): Likewise.
11877
11878 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11879
11880         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11881         here.  Not...
11882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11883         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11884
11885 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11886
11887         * sysdeps/i386/elf/Makefile: New file.
11888
11889 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11890
11891         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11892         from fanotify_init.
11893         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11895
11896 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11897
11898         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11899         of strncasecmp_l.
11900         * sysdeps/multiarch/strcmp.S: Likewise.
11901
11902 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11903
11904         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11905         strncase_l-nonascii.
11906         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11907         Add strncase_l-ssse3.
11908         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11909         * sysdeps/x86_64/strcmp.S: Likewise.
11910         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11911         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11912         * sysdeps/x86_64/strncase.S: New file.
11913         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11914         * sysdeps/x86_64/strncase_l.S: New file.
11915         * string/Makefile (strop-tests): Add strncasecmp.
11916         * string/test-strncasecmp.c: New file.
11917
11918         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11919         warning.
11920
11921         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11922         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11923
11924 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11925
11926         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11927
11928 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11929
11930         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11931         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11932         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11933
11934 2010-05-01  Alan Modra  <amodra@gmail.com>
11935
11936         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11937         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11938         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11939         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11940         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11941         tidying.  Don't tail-call __sigjmp_save for static lib.
11942         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11943         save location.
11944         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11945         (CALL_MCOUNT): Add eh info, and nop after bl.
11946         (TAIL_CALL_SYSCALL_ERROR): New macro.
11947         (PSEUDO_RET): Use it.
11948         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11949         Correct save location of integer regs and cr.
11950         (_dl_profile_resolve): Correct cr save location.  Delete nops
11951         after bl when SHARED.  Reduce cfi size a little by better
11952         placement of cfi directives.
11953         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11954         make a stack frame.  Instead use parm save area as a temp.
11955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11956         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11958         Don't make a stack frame for parent, use parm save area.
11959         Increase child stack frame to 112 bytes.  Don't save unused reg,
11960         and adjust reg usage.  Set up cfi on error recovery and
11961         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11963         (__makecontext): Add dummy nop after jump to exit.
11964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11965         Use correct parm save area and cr save, reduce stack frame.
11966         Correct cfi for possible PSEUDO_RET frame setup.
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11968         Branch to local label emitted by PSEUDO_RET rather than
11969         __syscall_error.
11970
11971 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11972
11973         [BZ #11904]
11974         * locale/programs/locale.c (print_assignment): New function.
11975         (show_locale_vars): Use it.
11976
11977 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11978
11979         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11980         field.
11981         (struct statfs64): Likewise.
11982         (_STATFS_F_FLAGS): Define.
11983         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11984         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11985         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11986         (ST_VALID): Define locally.
11987         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11988         __statvfs_getflags, use the provided value.
11989         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11990         __ASSUME_STATFS_F_FLAGS.
11991
11992         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11993
11994         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11995         Add sys/fanotify.h.
11996         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11997         fanotify_mask for GLIBC_2.13.
11998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11999         fanotify_init and fanotify_mark.
12000         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12001         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12002
12003         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12004         Add prlimit.
12005         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12006         prlimit64 for GLIBC_2.13.
12007         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12008         prlimit64.
12009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12010         syscall.
12011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12013         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
12016         add prlimit alias.
12017         * sysdeps/unix/sysv/linux/prlimit.c: New file.
12018
12019         [BZ #11903]
12020         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12021         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12022
12023         * nss/Makefile: Add rules to build and run tst-nss-test1.
12024         * shlib-versions: Add entry for libnss_test1.
12025         * nss/nss_test1.c: New file.
12026         * nss/tst-nss-test1.c: New file.
12027
12028         * nss/nsswitch.c (__nss_database_custom): Define new variable.
12029         (__nss_configure_lookup): Set appropriate entry in
12030         __nss_configure_lookup to true.
12031         * nss/nsswitch.h: Define enum with indeces of databases in
12032         databases and __nss_database_custom arrays.  Declare
12033         __nss_database_custom.
12034         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12035         to avoid using nscd when custom rules are installed.
12036         * nss/getXXbyYY_r.c: Likewise.
12037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12038
12039         * nss/nss_files/files-parse.c: Whitespace fixes.
12040
12041 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
12042
12043         [BZ #11883]
12044         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12045         * posix/fnmatch_loop.c: Likewise.
12046
12047 2010-07-17  Andi Kleen  <ak@linux.intel.com>
12048
12049         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12050         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12051         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12052         * Versions.def [GLIBC_2.13]: Add.
12053
12054 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
12055
12056         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12057         Also fail if tpwd after pwuid call is NULL.
12058
12059 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12060
12061         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12062         when converting to ms.
12063
12064 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12065
12066         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12067         EOPNOTSUPP errors with ENOTTY.
12068         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12069         EOPNOTSUPP errors with ENOTTY.
12070
12071 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
12072
12073         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12074         Add strcasecmp_l-ssse3.
12075         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12076         strcasecmp.
12077         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12078         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12079         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12080
12081 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
12082
12083         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12084
12085         * string/Makefile (strop-tests): Add strcasecmp.
12086         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12087         strcasecmp_l-nonascii.
12088         (gen-as-const-headers): Add locale-defines.sym.
12089         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12090         * sysdeps/x86_64/strcasecmp.S: New file.
12091         * sysdeps/x86_64/strcasecmp_l.S: New file.
12092         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12093         * sysdeps/x86_64/locale-defines.sym: New file.
12094         * string/test-strcasecmp.c: New file.
12095
12096         * string/test-strcasestr.c: Test both ends of the range of characters.
12097         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12098
12099 2010-07-29  Roland McGrath  <roland@redhat.com>
12100
12101         [BZ #11856]
12102         * manual/locale.texi (Yes-or-No Questions): Fix example code.
12103
12104 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
12105
12106         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12107         for ld.so.
12108
12109 2010-07-27  Andreas Schwab  <schwab@redhat.com>
12110
12111         * manual/memory.texi (Malloc Tunable Parameters): Document
12112         M_PERTURB.
12113
12114 2010-07-26  Roland McGrath  <roland@redhat.com>
12115
12116         [BZ #11840]
12117         * configure.in (-fgnu89-inline check): Set and substitute
12118         gnu89_inline, not libc_cv_gnu89_inline.
12119         * configure: Regenerated.
12120         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12121
12122 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
12123
12124         * string/test-strnlen.c: New file.
12125         * string/Makefile (strop-tests): Add strnlen.
12126         * string/tester.c (test_strnlen): Add a few more test cases.
12127         * string/tst-strlen.c: Better error reporting.
12128
12129         * sysdeps/x86_64/strnlen.S: New file.
12130
12131 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
12132
12133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12134         lower-latency instructions.
12135
12136 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
12137
12138         * string/test-strcasestr.c: New file.
12139         * string/test-strstr.c: New file.
12140         * string/Makefile (strop-tests): Add strstr and strcasestr.
12141         * string/str-two-way.h: Don't undefine MAX.
12142         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12143
12144 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12145
12146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12147         strcasestr-nonascii.
12148         (CFLAGS-strcasestr-nonascii.c): Define.
12149         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12151         Remove unused attribute.
12152
12153 2010-07-20  Roland McGrath  <roland@redhat.com>
12154
12155         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12156         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12157         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12158         like LD_HWCAP_MASK can disable hwcaps.
12159
12160 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12161
12162         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12163
12164 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12165
12166         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12167         call in strcasestr.
12168         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12169         __strcasestr_sse42_nonascii.
12170         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12171         strcasestr-nonascii.c.
12172         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12173
12174 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12175
12176         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12177         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12178         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12179         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12180
12181 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12182
12183         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12184         fcntl.
12185
12186 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12187
12188         [BZ #11577]
12189         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12190         dl_signal_cerror.
12191
12192 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12193
12194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12195         _PC_PIPE_BUF using F_GETPIPE_SZ.
12196
12197 2010-07-05  Roland McGrath  <roland@redhat.com>
12198
12199         * manual/arith.texi (Rounding Functions): Fix rint description
12200         implicit in round description.
12201
12202 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12203
12204         * elf/Makefile: Fix linking for a few tests to make recent linker
12205         happy.
12206
12207 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12208
12209         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12210         $(common-objpfx)libc_nonshared.a.
12211
12212 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12213
12214         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12215         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12216         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12217         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12218         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12219         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12220         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12221         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12236         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12237         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12238         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12239         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12240         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12241         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12242         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12243         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12244         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12245         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12246         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12247         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12262
12263 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12264
12265         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12266         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12267         * string/memmove.c (memmove): Renamed to ...
12268         (MEMMOVE): ...this.  Default to memmove.
12269         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12270         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12271         (END_CHK): Define.
12272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12273         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12274         mempcpy-ssse3-back memmove-ssse3-back.
12275         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12278         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12279         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12280         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12281         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12282         * sysdeps/x86_64/multiarch/memmove.c: New file.
12283         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12284         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12285         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12286         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12289         Define.
12290         (index_Fast_Copy_Backward): Define.
12291         (HAS_ARCH_FEATURE): Define.
12292         (HAS_FAST_REP_STRING): Define.
12293         (HAS_FAST_COPY_BACKWARD): Define.
12294
12295 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12296
12297         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12298         Restore proper fallback handling.
12299
12300 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12301
12302         [BZ #11701]
12303         * posix/group_member.c (__group_member): Correct checking loop.
12304
12305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12306         OOM in getpwuid_r correctly.  Return error number when the caller
12307         should return, otherwise -1.
12308         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12309         call returning > 0 value.
12310         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12311
12312 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12313
12314         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12315         libc_nonshared.a from targets in modules-names.
12316
12317 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12318
12319         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12320         requires it.
12321
12322 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12323
12324         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12325         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12326         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12328
12329 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12330
12331         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12332
12333 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12334
12335         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12336         and F_GETPIPE_SZ.
12337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12338         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12339         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12341         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12342         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12343
12344 2010-06-14  Roland McGrath  <roland@redhat.com>
12345
12346         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12347
12348 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12349
12350         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12351         __REDIRECT followed by __THROW.
12352         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12353         * posix/getopt.h (getopt): Likewise.
12354
12355 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12356
12357         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12358         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12359         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12360         in AT_FLAGS.
12361         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12362         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12363
12364 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12365
12366         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12367
12368 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12369
12370         [BZ #11640]
12371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12372         Properly check family and model.
12373
12374 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12375
12376         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12377
12378 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12379
12380         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12381
12382 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12383
12384         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12385         symbol reference.
12386
12387 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12388
12389         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12390         symbol reference.
12391
12392 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12393
12394         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12395         and internal_recvmmsg.
12396         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12397         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12398         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12399         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12400
12401         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12402         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12403         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12404
12405 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12406
12407         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12408
12409 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12410
12411         POWER7 optimizations.
12412         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12413         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12414
12415 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12416
12417         * version.h: Update for 2.13 development version.
12418
12419 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12420
12421         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12422         exceptions.  Return 0.
12423
12424 2010-05-07  Roland McGrath  <roland@redhat.com>
12425
12426         * elf/ldconfig.c (main): Add a const.
12427
12428 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12429
12430         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12431         (args_options): Add no-idn option.
12432         (ahosts_keys_int): Add idn_flags to ai_flags.
12433         (parse_option): Handle 'i' option to clear idn_flags.
12434
12435         * malloc/malloc.c (_int_free): Possible race in the most recently
12436         added check.  Only act on the data if no current modification
12437         happened.
12438
12439 See ChangeLog.17 for earlier changes.