74b4c0be1d0f0517766727c1788194ce2f6961e5
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #2550]
4         [BZ #2570]
5         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6         comparisons to determine direction to adjust input.
7         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10         Likewise.
11         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12         Likewise.
13         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14         Likewise.
15         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17         Likewise.
18         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19         Likewise.
20         * math/libm-test.inc (nexttoward_test): Add more tests.
21
22 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23
24         [BZ #14040]
25         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26         in version GLIBC_2.1, not GLIBC_2.0.
27         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28         Likewise.
29
30 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31
32         [BZ #13942]
33         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34         (1 - x) * (1 + x).
35         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37         * math/libm-test.inc (acos_test): Add more tests.
38         (asin_test): Likewise.
39         * sysdeps/i386/fpu/libm-test-ulps: Update.
40         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41
42         [BZ #14034]
43         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44         of square root.
45         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47         * math/libm-test.inc (acos_test_tonearest): New function.
48         (acos_test_towardzero): Likewise.
49         (acos_test_downward): Likewise.
50         (acos_test_upward): Likewise.
51         (asin_test_tonearest): Likewise.
52         (asin_test_towardzero): Likewise.
53         (asin_test_downward): Likewise.
54         (asin_test_upward): Likewise.
55         (main): Call the new functions.
56         * sysdeps/i386/fpu/libm-test-ulps: Update.
57         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58
59         [BZ #13884]
60         [BZ #13924]
61         * math/e_exp10.c: Include <float.h>.
62         (__ieee754_exp10): Handle underflow here rather than multiplying
63         large negative argument by M_LN10.
64         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65         of __ieee754_expf.
66         * math/e_exp10l.c: Include <float.h>.
67         (__ieee754_exp10l): Handle underflow here rather than multiplying
68         large negative argument by M_LN10l.
69         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70         spurious overflow exception on underflow.
71
72 2012-04-29  Marek Polacek  <polacek@redhat.com>
73
74         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75         (__fortify_function): New macro.
76         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78         __extern_always_inline.
79         * libio/bits/stdio2.h: Likewise.
80         * libio/bits/stdio.h: Likewise.
81         * string/string.h: Likewise.
82         * string/bits/string3.h: Likewise.
83         * include/stdio.h: Likewise.
84         * stdlib/bits/stdlib.h: Likewise.
85         * stdlib/stdlib.h: Likewise.
86         * rt/bits/mqueue2.h: Likewise.
87         * rt/mqueue.h: Likewise.
88         * posix/bits/unistd.h: Likewise.
89         * posix/unistd.h: Likewise.
90         * io/bits/poll2.h: Likewise.
91         * io/bits/fcntl2.h: Likewise.
92         * io/fcntl.h: Likewise.
93         * io/sys/poll.h: Likewise.
94         * misc/bits/syslog.h: Likewise.
95         * misc/bits/syslog-ldbl.h: Likewise.
96         * misc/sys/syslog.h: Likewise.
97         * socket/bits/socket2.h: Likewise.
98         * socket/sys/socket.h: Likewise.
99         * debug/tst-chk1.c: Likewise.
100         * wcsmbs/bits/wchar2.h: Likewise.
101         * wcsmbs/bits/wchar-ldbl.h: Likewise.
102         * wcsmbs/wchar.h: Likewise.
103
104 2012-04-29  Andreas Jaeger  <aj@suse.de>
105
106         * Makerules (tests): Remove enable-check-abi protection.
107         (check-abi-warn): Remove.
108         (check-abi-%): Remove check-abi-warn usage.
109
110         * configure.in: Remove check-abi configure option.
111         * configure: Regenerated.
112         * config.make.in (enable-check-abi): Remove.
113
114 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
115
116         [BZ #14033]
117         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
118         double functions to double *_finite functions.
119
120         [BZ #13941]
121         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
122         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
123         LDBL_MIN_EXP.
124         * stdio-common/Makefile (tests): Add tst-sprintf3.
125         * stdio-common/tst-sprintf3.c: New file.
126
127         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
128         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
129
130 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
131
132         * conform/conformtest.pl: Remove duplicate typed-constant
133         handling.
134
135 2012-04-28  David S. Miller  <davem@davemloft.net>
136
137         * Makerules (%.abilist): Add vpath on sysdep_dirs.
138         (check-abi-%): Remove AWK script prerequisite and explicit
139         abilist directory.
140         (check-abi): Rewrite to just diff the symlist with the abilist.
141         (config-tls, config-abi-config): Delete, no longer used.
142         (update-abi-%): Remove AWK script and explicit abilist directory.
143         (update-abi): Rewrite to simply compare and conditionally copy the
144         symlist and the sysdep abilist file.  Remove update-abi-config
145         checks.
146         * abilist/ld.abilist: Remove.
147         * abilist/libBrokenLocale.abilist: Remove.
148         * abilist/libanl.abilist: Remove.
149         * abilist/libcrypt.abilist: Remove.
150         * abilist/libdl.abilist: Remove.
151         * abilist/librt.abilist: Remove.
152         * abilist/libthread_db.abilist: Remove.
153         * abilist/libutil.abilist: Remove.
154         * scripts/extract-abilist.awk: Remove.
155         * scripts/merge-abilist.awk: Remove.
156         * sysdeps/generic/libcidn.abilist: New file.
157         * sysdeps/generic/libnss_compat.abilist: New file.
158         * sysdeps/generic/libnss_db.abilist: New file.
159         * sysdeps/generic/libnss_dns.abilist: New file.
160         * sysdeps/generic/libnss_files.abilist: New file.
161         * sysdeps/generic/libnss_hesiod.abilist: New file.
162         * sysdeps/generic/libnss_nis.abilist: New file.
163         * sysdeps/generic/libnss_nisplus.abilist: New file.
164         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
165         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
166         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
167         file.
168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
169         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
170         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
171         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
172         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
173         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
174         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
175         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
176         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
177         file.
178         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
179         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
180         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
181         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
182         file.
183         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
184         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
185         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
186         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
187         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
188         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
189         file.
190         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
191         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
192         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
193         file.
194         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
196         New file.
197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
198         New file.
199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
200         New file.
201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
202         New file.
203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
204         New file.
205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
206         New file.
207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
208         New file.
209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
210         New file.
211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
212         New file.
213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
214         New file.
215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
216         New file.
217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
218         New file.
219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
220         New file.
221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
222         file.
223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
224         New file.
225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
226         New file.
227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
228         file.
229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
230         New file.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
232         New file.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
234         file.
235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
236         New file.
237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
238         New file.
239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
240         New file.
241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
242         New file.
243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
244         New file.
245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
246         New file.
247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
249         file.
250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
251         New file.
252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
253         file.
254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
255         file.
256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
257         file.
258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
259         file.
260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
261         file.
262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
263         New file.
264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
265         file.
266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
267         file.
268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
269         New file.
270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
271         file.
272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
274         file.
275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
276         New file.
277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
278         file.
279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
280         file.
281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
282         file.
283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
284         file.
285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
286         file.
287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
288         New file.
289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
290         file.
291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
292         file.
293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
294         New file.
295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
296         file.
297         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
298         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
299         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
300         file.
301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
302         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
303         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
304         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
305         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
306         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
307         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
308         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
309         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
310         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
313         file.
314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
315         New file.
316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
317         file.
318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
319         file.
320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
321         file.
322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
323         file.
324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
325         file.
326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
327         New file.
328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
329         New file.
330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
331         file.
332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
333         New file.
334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
335         file.
336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
338         file.
339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
340         New file.
341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
342         file.
343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
344         file.
345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
346         file.
347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
348         file.
349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
350         file.
351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
352         New file.
353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
354         New file.
355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
356         file.
357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
358         New file.
359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
360         file.
361
362 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
363
364         * conform/conformtest.pl: Fix typo in handling typed-constant from
365         allow-header.
366
367 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
368
369         * README: Cut down references to pre-2.6 Linux kernels and
370         Linuxthreads.  Update lists of configurations in libc and ports
371         and sort alphabetically.  Say "or newer" with Linux kernel version
372         requirements.
373
374         * config.h.in [IS_IN_build]: Allow compiling without optimization.
375
376 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
377
378         [BZ #887]
379         * math/libm-test.inc (logb_test_downward): New test to expose
380         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
381         rounding mode.
382
383 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
384
385         [BZ #14027]
386         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
387         to be done.
388         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
389         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
390
391 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
392
393         * sysdeps/unix/i386/brk.S: Remove file.
394         * sysdeps/unix/i386/dl-brk.S: Likewise.
395         * sysdeps/unix/i386/pipe.S: Likewise.
396         * sysdeps/unix/i386/sigreturn.S: Likewise.
397         * sysdeps/unix/i386/syscall.S: Likewise.
398         * sysdeps/unix/i386/vfork.S: Likewise.
399         * sysdeps/unix/i386/wait.S: Likewise.
400
401         * sysdeps/unix/common/tcsendbrk.c: Move to ...
402         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
403
404         * configure.in (arm*-none*): Do not allow without
405         --enable-hacker-mode.
406         (netbsd*): Remove case setting base_os.
407         (386bsd*): Likewise.
408         (freebsd*): Likewise.
409         (bsdi*): Likewise.
410         (osf*): Likewise.
411         (sunos*): Likewise.
412         (ultrix*): Likewise.
413         (newsos*): Likewise.
414         (dynix*): Likewise.
415         (*bsd*): Likewise.
416         (sysv*): Likewise.
417         (isc*): Likewise.
418         (esix*): Likewise.
419         (sco*): Likewise.
420         (minix*): Likewise.
421         (irix4*): Likewise.
422         (irix6*): Likewise.
423         (solaris[2-9]*): Likewise.
424         (none): Likewise.
425         * configure: Regenerated.
426
427 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
428
429         [BZ #11521]
430         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
431         overflow or cancellation in calculating denominator.
432         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
434         down expression to avoid unexpected rounding in newer GCCs.
435         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
436
437 2012-04-26  David S. Miller  <davem@davemloft.net>
438
439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
440         long-double compat symbols.
441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
454
455 2012-04-25  David S. Miller  <davem@davemloft.net>
456
457         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
458         HWCAP_* values only after the memory barriers have been defined.
459         (atomic_full_barrier): Define.
460         (atomic_read_barrier): Define.
461         (atomic_write_barrier): Define.
462
463 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
464
465         * shlib-versions: Add libgcc_s version information.
466         * sysdeps/generic/libgcc_s.h: Remove.
467         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
468         libgcc_s.h.
469         * sysdeps/gnu/unwind-resume.c: Likewise.
470         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
471
472 2012-04-25  David S. Miller  <davem@davemloft.net>
473
474         * sysdeps/unix/sparc/brk.S: Delete.
475         * sysdeps/unix/sparc/dl-brk.S: Delete.
476         * sysdeps/unix/sparc/pipe.S: Delete.
477         * sysdeps/unix/sparc/sysdep.S: Delete.
478         * sysdeps/unix/sparc/sysdep.h: Delete.
479         * sysdeps/unix/sparc/vfork.S: Delete.
480         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
481         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
482         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
483         ret_ERRVAL, r0, r1, MOVE): Define.
484         (JUMPTARGET): Remove.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
486         sysdeps/unix/sparc/sysdep.h
487         (ENTRY, END): Remove.
488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
489
490 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
491
492         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
493         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
494         -DIS_IN_build.
495
496         * timezone/README: Update upstream location and email address for
497         tzcode and tzdata.
498         * timezone/zdump.c: Update from tzcode 2012b.
499         * timezone/zic.c: Likewise.
500
501         * configure.in (libc_cv_as_needed): Remove test.
502         * configure: Regenerated.
503         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
504         conditional definition.
505         [$(have-as-needed) != yes] (no-as-needed): Likewise.
506         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
507         * config.make.in (have-as-needed): Remove variable.
508
509 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
510             Paul Pluzhnikov  <ppluzhnikov@google.com>
511
512         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
513         strings correctly.
514
515 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
516
517         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
518         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
519         * sysdeps/sh/strlen.S: Likewise.
520
521 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
522
523         * sysdeps/unix/fork.S: Remove file.
524         * sysdeps/unix/i386/fork.S: Likewise.
525         * sysdeps/unix/sparc/fork.S: Likewise.
526
527         * sysdeps/unix/system.c: Remove file.
528         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
529
530         * sysdeps/unix/getegid.S: Remove file.
531         * sysdeps/unix/geteuid.S: Likewise.
532
533 2012-04-24  Roland McGrath  <roland@hack.frob.com>
534
535         * scripts/check-localplt.awk: New file.
536         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
537         of diff.
538         * scripts/data/localplt-generic.data: Add a comment.
539
540         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
541         NODE when __dir_mkfile failed.
542         * sysdeps/mach/hurd/symlinkat.c: Likewise.
543         Reported by Ludovic Courtès <ludo@gnu.org>.
544
545 2012-04-24  Andreas Jaeger  <aj@suse.de>
546
547         * Makerules (common-clean): Also remove gen-as-const-headers
548         files.
549
550 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
551
552         * Makerules (native-compile): Do not change working directory for
553         build.  Use $(OUTPUT_OPTION) in command.
554         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
555
556 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
557
558         [BZ #13886]
559         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
560         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
561         * math/libm-test.inc (floor_test): Add more tests.
562         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
563
564 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
565
566         * sysdeps/unix/getdents.c: Remove file.
567         * sysdeps/unix/sysv/getdents.c: Likewise.
568         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
569
570         * sysdeps/unix/syscalls.list (madvise): Add syscall from
571         sysdeps/unix/mman/syscalls.list.
572         (mmap): Likewise.
573         (mprotect): Likewise.
574         (msync): Likewise.
575         (munmap): Likewise.
576         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
577         * sysdeps/unix/mman/syscalls.list: Remove.
578         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
579
580         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
581         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
582         * configure: Regenerated.
583         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
584         $(libgcc_s_suffix).
585         * config.make.in (libgcc_s_suffix): Remove variable.
586
587 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
588
589         * sysdeps/unix/sysv/gethostname.c: Move to ...
590         * sysdeps/posix/gethostname.c: ... here.
591
592         * sysdeps/unix/execve.S: Remove file.
593
594         * sysdeps/unix/_exit.S: Remove file.
595
596 2012-04-23  Andreas Jaeger  <aj@suse.de>
597
598         [BZ #13739]
599         * manual/Makefile: Remove make dist support, there's no
600         need for a stand-alone documentation tar ball.
601         (TEXI2DVI): Define always, it's not in Makeconfig.
602         (dist): Removed.
603         (tar-it): Removed.
604         (edition): Removed.
605         (glibc-doc-$(edition).tar): Removed
606         (%.Z): Removed.
607         (%.gz): Removed.
608         (%.uu): Removed.
609         (ETAGS): Remove, it's in Makeconfig.
610         (move-if-change): Remove, it's in Makeconfig.
611
612 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
613
614         [BZ #13970]
615         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
616         (strtod, strtof, strtold, strtol, strtoul, strtoq)
617         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
618         (strtod_l, strtof_l, strtold_l): Remove __wur.
619         It is not necessarily an error to ignore strtol's return value.
620         One can reliably look at the stored endptr to decide whether
621         the number had valid syntax.
622
623 2012-04-21  Andreas Jaeger  <aj@suse.de>
624
625         [BZ #13739]
626         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
627
628 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
629
630         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
631         * sysdeps/unix/sysv/Versions: Remove file.
632
633 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
634
635         [BZ #13927]
636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
637
638 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
639
640         [BZ #7064]
641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
642         version from __vm86.
643
644 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
645
646         * sysdeps/unix/common/lxstat.c: Remove file.
647         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
648
649         * sysdeps/unix/sysv/Makefile: Remove file.
650
651         * sysdeps/unix/sysv/direct.h: Remove file.
652
653         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
654         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
655         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
656         * sysdeps/unix/sysv/bits/signum.h: Likewise.
657         * sysdeps/unix/sysv/bits/stat.h: Likewise.
658         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
659         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
660
661         * sysdeps/unix/sysv/setrlimit.c: Remove file.
662
663         * sysdeps/unix/xmknod.c: Remove file.
664         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
665
666         * sysdeps/unix/sysv/settimeofday.c: Remove file.
667
668         * sysdeps/unix/sysv/i386/time.S: Remove file.
669
670         * sysdeps/unix/fxstat.c: Remove file.
671         * sysdeps/unix/xstat.c: Likewise.
672         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
673
674         * sysdeps/unix/sysv/sigaction.c: Remove file.
675
676         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
677         (sysdep_headers): Remove variable.
678         [termio.h not in sysdep_headers] (generated): Likewise.
679         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
680         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
681         * sysdeps/unix/sysv/tcdrain.c: Likewise.
682         * sysdeps/unix/sysv/tcflow.c: Likewise.
683         * sysdeps/unix/sysv/tcflush.c: Likewise.
684         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
685         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
686         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
687         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
688         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
689
690         * sysdeps/unix/siglist.c: Remove file.
691
692         * sysdeps/unix/getppid.S: Remove file.
693
694         * sysdeps/unix/mkdir.c: Remove file.
695         * sysdeps/unix/rmdir.c: Likewise.
696
697 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
698
699         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
700         ERR_MAX value.
701         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
702         errlist-compat value.
703
704 2012-04-18  David S. Miller  <davem@davemloft.net>
705
706         * sysdeps/generic/memcopy.h (reg_char): Delete.
707         * debug/strcat_chk.c: Use char, not reg_char.
708         * debug/strcpy_chk.c: Likewise.
709         * debug/strncat_chk.c: Likewise.
710         * debug/strncpy_chk.c: Likewise.
711         * string/memchr.c: Likewise.
712         * string/memrchr.c: Likewise.
713         * string/rawmemchr.c: Likewise.
714         * string/strcat.c: Likewise.
715         * string/strchr.c: Likewise.
716         * string/strchrnul.c: Likewise.
717         * string/strcmp.c: Likewise.
718         * string/strcpy.c: Likewise.
719         * string/strncat.c: Likewise.
720         * string/strncmp.c: Likewise.
721         * string/strncpy.c: Likewise.
722
723 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
724
725         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
726         __builtin_memcopy is called when src and dest ranges are known to not
727         overlap.
728
729 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
730
731         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
732         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
733         fwd_align_merge macro call.
734         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
735         bwd_align_merge macro call.
736         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
737
738 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
739
740         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
741         bwd_align_merge macros.
742         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
743         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
745
746 2012-04-18  David S. Miller  <davem@davemloft.net>
747
748         * sysdeps/sparc/sparc64/memcopy.h: Delete.
749
750 2012-04-18  Andreas Jaeger  <aj@suse.de>
751
752         [BZ# 6794]
753         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
754         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
755         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
756
757         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
758         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
759         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
760
761         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
762         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
763         Adjust for changed ldbl-128 files.
764
765         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
766         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
768
769 2012-04-17  David S. Miller  <davem@davemloft.net>
770
771         * sysdeps/sparc/sparc32/memcopy.h: Delete.
772
773 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
774
775         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
776         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
777         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
778         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
779         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
780         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
781
782 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
783
784         [BZ #6794]
785         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
786         * math/libm-test.inc: Add ilogb errno and exception tests.
787         * math/w_ilogb.c: New file: ilogb wrapper.
788         * math/w_ilogbf.c: New file: ilogbf wrapper.
789         * math/w_ilogbl.c: New file: ilogbl wrapper.
790         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
791         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
792         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
793         exception being thrown with 0.0 as argument.
794         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
795         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
796         exception being thrown with 0.0 as argument.
797         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
798         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
799         exception being thrown with 0.0 as argument.
800         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
801         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
802         exception being thrown with 0.0 as argument.
803         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
804         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
805         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
806         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
807         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
808         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
809         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
810         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
811         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
812
813 2012-04-17  Petr Baudis  <pasky@ucw.cz>
814
815         * include/sys/uio.h: Change __vector to __iovec to avoid clash
816         with altivec.
817
818 2012-04-16  Marek Polacek  <polacek@redhat.com>
819
820         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
821
822 2012-04-16  Marek Polacek  <polacek@redhat.com>
823
824         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
825         operands of fdivp instruction.
826
827 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
828
829         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
830         * elf/tst-auditmod3b.c: Likewise.
831         * elf/tst-auditmod4b.c: Likewise.
832         * elf/tst-auditmod5b.c: Likewise.
833         * elf/tst-auditmod6b.c: Likewise.
834         * elf/tst-auditmod6c.c: Likewise.
835         * elf/tst-auditmod7b.c: Likewise.
836         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
837         * sysdeps/x86_64/preconfigure.in: Likewise.
838         * sysdeps/x86_64/preconfigure: Regenerated.
839
840 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
841
842         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
843         __ILP32__.
844
845 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
846
847         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
848         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
849
850 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
851
852         [BZ #13973]
853         * locale/iso-639.def: Fix gl language name. Spotted by
854         Yaron Shahrabani.
855
856 2012-04-12  Roland McGrath  <roland@hack.frob.com>
857
858         [BZ #2074]
859         * libio/libio.h (__io_write_fn): Update comment.
860
861 2012-04-12  Petr Baudis  <pasky@ucw.cz>
862
863         [BZ #2074]
864         * stdio.texi (Hook Functions): The user provided writer function
865         is not allowed to return -1.
866
867 2012-04-11  David S. Miller  <davem@davemloft.net>
868
869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
870
871 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
872
873         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
874         Add a leading slash to rtkaio.
875
876 2012-04-11  Jim Meyering  <meyering@redhat.com>
877
878         [BZ #11959]
879         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
880         It is not necessarily an error to ignore fwrite's return
881         value.  One can reliably use ferror to test for errors after
882         the fact.
883
884 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
885
886         * bits/types.h (__snseconds_t): New type.
887         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
888
889         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
891         (__SNSECONDS_T_TYPE): Likewise.
892         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
893         (__SNSECONDS_T_TYPE): Likewise.
894         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
895         (__SNSECONDS_T_TYPE): Likewise.
896
897 2012-04-10  Andreas Jaeger  <aj@suse.de>
898
899         [BZ #2636]
900         * manual/time.texi (Processor Time): Return type of times is
901         elapsed real time since an arbitrary point in the past.
902         (CPU Time): Move CLK_TCK from here...
903         (Processor Time): ...to here.  Correct description.
904         * manual/conf.texi (Constants for Sysconf): Correct description of
905         _SC_CLK_TCK.
906
907 2012-04-10  David S. Miller  <davem@davemloft.net>
908
909         [BZ #13967]
910         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
911         where the is a gap between DT_REL(A) and DT_JMPREL.
912
913 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
914
915         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
916         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
917         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
918
919 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
920
921         * elf/dl-support.c (_dl_inhibit_cache): New variable.
922         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
923         (dl_main): Handle --inhibit-cache.
924         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
925         _dl_inhibit_cache.
926         * elf/dl-load.c (_dl_map_object): Use it.
927         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
928
929 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
930
931         [BZ #13872]
932         * sysdeps/i386/fpu/e_powl.S (p78): New object.
933         (__ieee754_powl): Saturate large exponents rather than testing for
934         overflow of y*log2(x).
935         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
936         * math/libm-test.inc (pow_test): Do not permit spurious overflow
937         exceptions.
938
939         [BZ #11521]
940         * math/s_ctan.c: Include <float.h>.
941         (__ctan): Avoid internal overflow or cancellation in calculating
942         denominator.
943         * math/s_ctanf.c: Likewise.
944         * math/s_ctanl.c: Likewise.
945         * math/s_ctanh.c: Likewise.
946         * math/s_ctanhf.c: Likewise.
947         * math/s_ctanhl.c: Likewise.
948         * math/libm-test.inc (ctan_test): Add more tests.
949         (ctanh_test): Likewise.
950         * sysdeps/i386/fpu/libm-test-ulps: Update.
951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
952
953 2012-04-09  Andreas Jaeger  <aj@suse.de>
954
955         [BZ #6894]
956         * manual/filesys.texi (Directory Entries): Mention that d_namlen
957         is an optional BSD extension.
958
959         [BZ #10254]
960         * manual/stdio.texi (Opening Streams): Document additional fopen
961         parameters.
962
963 2012-04-09  Roland McGrath  <roland@hack.frob.com>
964
965         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
966         %eax without telling the compiler.
967
968 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
969
970         [BZ # 13963]
971         * manual/install.texi: Use sourceware.org.
972
973 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
974
975         [BZ #13873]
976         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
977         (__ieee754_pow): Generate overflow and underflow using huge*huge
978         and tiny*tiny rather than just returning constant infinity or zero
979         for large exponents.
980         * math/libm-test.inc (pow_test): Require overflow exceptions for
981         applicable cases of large exponents.
982
983         [BZ #706]
984         * sysdeps/i386/fpu/e_pow.S (p10): New object.
985         (__ieee754_pow): Use iterative multiplication algorithm only for
986         integer exponents with absolute value below 1024.  Check for odd
987         integer exponents when using algorithm for real exponents.
988         * math/libm-test.inc (pow_test): Add more tests.
989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
990
991 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
992
993         [BZ #13705]
994         * math/libm-test.inc (exp_test): Do not allow overflow exception
995         on underflow test.
996
997 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
998
999         [BZ #13705]
1000         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1001         instead of __kernel_standard_f.
1002
1003 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
1004
1005         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1006         * sysdeps/x86_64/memset_chk.S: Likewise.
1007
1008 2012-04-08  Andreas Jaeger  <aj@suse.de>
1009
1010         [BZ #10153]
1011         * manual/startup.texi (Environment Access): Describe return value
1012         for putenv and setenv.
1013
1014         [BZ #6895]
1015         * manual/filesys.texi (Directory Entries): Add description for
1016         DT_LNK.
1017
1018         [BZ #6890]
1019         * manual/filesys.texi (Directory Entries): Clarify that it's file
1020         system not operating system in the description of DT_UNKNOWN.
1021
1022         [BZ #6578]
1023         * manual/syslog.texi (closelog): Fix reference, it's openlog.
1024
1025 2012-04-08  Stephen Compall  <s11@member.fsf.org>
1026
1027         [BZ #6649]
1028         * manual/llio.texi (Opening and Closing Files): Add cross
1029         reference to explain mode argument.
1030
1031 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
1032
1033         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1034         * sysdeps/x86_64/memset_chk.S: Likewise.
1035
1036 2012-04-07  David S. Miller  <davem@davemloft.net>
1037
1038         * elf/elf.h (R_SPARC_WDISP10): Define.
1039         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1040         R_SPARC_SIZE32.
1041         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1042         R_SPARC_SIZE64 and R_SPARC_H34.
1043
1044 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
1045
1046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1047         conditions and remove no longer applicable assertion.
1048
1049 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1050
1051         * bits/byteswap.h: Include <features.h>.
1052         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1053         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1054
1055 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1056
1057         * bits/byteswap.h (__bswap_16): Removed.
1058         Include <bits/byteswap-16.h> to get __bswap_16.
1059         * sysdeps/i386/bits/byteswap.h: Likewise.
1060         * sysdeps/s390/bits/byteswap.h: Likewise.
1061         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1062         * bits/byteswap-16.h: New file.
1063         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1064         * sysdeps/s390/bits/byteswap-16.h: Likewise.
1065         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1066         * string/Makefile (headers): Add bits/byteswap-16.h.
1067
1068 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1069
1070         [BZ #13895]
1071         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1072         extra indirection.
1073         * nss/Makefile (tests-static, tests): Add tst-nss-static.
1074         * nss/tst-nss-static.c: New.
1075
1076 2012-04-06  Robert Millan  <rmh@gnu.org>
1077
1078         [BZ #6486]
1079         * manual/llio.texi (File Position Primitive): lseek
1080         refers to WHENCE when it really means OFFSET.
1081
1082 2012-04-06  Andreas Jaeger  <aj@suse.de>
1083
1084         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1085         strncmp declarations.
1086
1087         * abilist/libc.abilist: Add __poll and __ppoll.
1088
1089 2012-04-05  David S. Miller  <davem@davemloft.net>
1090
1091         * scripts/check-local-headers.sh: Accept a host triplet in the
1092         path matched by the exclude regexp.
1093
1094         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1095         definition.
1096         * sysdeps/powerpc/powerpc32/dl-machine.h
1097         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1098         * sysdeps/s390/s390-32/dl-machine.h
1099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1100         * sysdeps/sparc/sparc32/dl-machine.h
1101         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1102         * sysdeps/sparc/sparc64/dl-machine.h
1103         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1104
1105         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1106         lazy binding.
1107         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1108         undefined symbol errors.
1109
1110         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1111         DT_NEEDED entries.
1112
1113 2012-04-05  Michael Matz  <matz@suse.de>
1114
1115         [BZ #13592]
1116         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1117
1118 2012-04-05  Andreas Jaeger  <aj@suse.de>
1119
1120         [BZ #13908]
1121         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1122         comment.
1123
1124 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1125
1126         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1127         which ROUND is no valid rounding mode.
1128
1129 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1130
1131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1132         read again.
1133         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1134
1135 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1136
1137         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1138         an exception using FPU order intentionally.
1139
1140 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1141
1142         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1143         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1144         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1145         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1146
1147 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1148
1149         [BZ #12340]
1150         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1151         EINVAL when BUFLEN is too smal.
1152
1153 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1154
1155         [BZ #13553]
1156         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1157         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1158
1159 2012-04-03  Andreas Jaeger  <aj@suse.de>
1160
1161         [BZ #13938]
1162         * manual/setjmp.texi (System V contexts): Fix sentence.
1163
1164         [BZ #13926]
1165         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1166         New macro for this case.
1167         [!__GNUC__] (__bswap_64): New inline function for this case.
1168         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1169         * bits/byteswap.h: Likewise.
1170         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1171         ull, guard with __GLIBC_HAVE_LONG_LONG.
1172
1173         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1174         __GLIBC_HAVE_LONG_LONG.
1175
1176         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1177         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1178
1179 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1180
1181         [BZ #13691]
1182         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1183         inptr and inend, rather than using last_ch.
1184
1185 2012-04-02  David S. Miller  <davem@davemloft.net>
1186
1187         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1188         * stdio-common/printf-parse.h (read_int): Change return type to
1189         'int', return -1 on INT_MAX overflow.
1190         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1191         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1192         overflows INT_MAX.  Check for overflow of in-format-string precision
1193         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1194         SIZE_MAX not INT_MAX for integer overflow test.
1195         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1196         skip the construct in the format string but do not record anything.
1197         * stdio-common/bug22.c: Adjust to test both width/prevision
1198         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1199         explicitly for proper errno values.
1200
1201 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1202
1203         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1204         CHAR_MAX.
1205         * string/test-strcmp.c [! WIDE]: Likewise.
1206         * time/tst-mktime2.c: Likewise for INT_MAX.
1207         * string/test-string.h: #include <sys/param.h> for MIN.
1208
1209         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1210         * sysdeps/i386/init-first.c (init): Likewise.
1211         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1212         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1213         * sysdeps/sh/init-first.c (init): Likewise.
1214
1215 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1216
1217         * po/ru.po: Update from translation team.
1218         * po/vi.po: Likewise.
1219
1220 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1221
1222         * resolv/nss_dns/dns-host.c: Merge copyright years.
1223
1224 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1225
1226         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1227         Optimize memcpy with prefetch if
1228         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1229         src, dst pointers have unequal 16 byte alignments.
1230
1231 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1232
1233         [BZ #13928]
1234         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1235         from a CNAME entry and return the minimum ttl for the query.
1236         (gaih_getanswer_slice): Likewise.
1237
1238 2012-03-30  Jeff Law  <law@redhat.com>
1239
1240         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1241         due to long keys.
1242         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1243         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1244
1245         * resolv/nss_dns/dns-host.c: Update copyright year.
1246
1247 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1248
1249         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1250         requests to save a system call.  Fix check that all bytes are sent.
1251
1252         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1253         comments for sendmmsg.
1254
1255 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1256
1257         [BZ #13691]
1258         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1259         with only 1 character between 0x0041 and 0x01b0.
1260         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1261         * wcsmbs/tst-mbsnrtowcs.c: New file.
1262
1263 2012-03-29  David S. Miller  <davem@davemloft.net>
1264
1265         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1266         small copies by hand.
1267
1268 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1269
1270         [BZ #13761]
1271         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1272         _nss_compat_initgroups_dyn): Fall back to malloc/free
1273         for large group memberships.
1274
1275 2012-03-28  David S. Miller  <davem@davemloft.net>
1276
1277         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1278         that branches into memcpy.
1279         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1281         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1282         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1283         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1284         bits.
1285         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1286         implementation too.
1287         * sysdeps/sparc/mempcpy.S: New file.
1288
1289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1290         the IFUNC routine in the libc case.
1291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1292
1293         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1294         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1295         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1296         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1297         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1298         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1299         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1300         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1301
1302         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1303         loop to 256 bytes instead of 64 bytes and fix test signedness.
1304
1305         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1306         * sysdeps/sparc/sparc32/Makefile: rather than here...
1307         * sysdeps/sparc/sparc64/Makefile: and here.
1308
1309 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1310
1311         * malloc/mallocbug.c: Avoid warnings about unused variables.
1312
1313 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1314
1315         [BZ #13760]
1316         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1317         in the right place. Discard and retry query if response is
1318         larger than input buffer size.
1319
1320 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1321
1322         [BZ #369]
1323         [BZ #2678]
1324         [BZ #3866]
1325         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1326         x for large integer exponent.
1327         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1328         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1329         sign of result as needed afterwards.
1330         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1331         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1332         result for underflowing pow the same as for overflow.
1333         (__kernel_standard_l): Handle powl overflow and underflow here
1334         rather than calling __kernel_standard.
1335         * math/libm-test.inc (pow_test): Add more tests.
1336
1337         [BZ #3868]
1338         [BZ #13879]
1339         [BZ #13910]
1340         [BZ #13911]
1341         [BZ #13912]
1342         [BZ #13913]
1343         [BZ #13915]
1344         [BZ #13916]
1345         [BZ #13917]
1346         [BZ #13918]
1347         [BZ #13919]
1348         [BZ #13920]
1349         [BZ #13921]
1350         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1351         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1352         (__kernel_standard_l): New function.
1353         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1354         __kernel_standard.
1355         * math/w_acosl.c (__acosl): Likewise.
1356         * math/w_asinl.c (__asinl): Likewise.
1357         * math/w_atan2l.c (__atan2l): Likewise.
1358         * math/w_atanhl.c (__atanhl): Likewise.
1359         * math/w_coshl.c (__coshl): Likewise.
1360         * math/w_exp10l.c (__exp10l): Likewise.
1361         * math/w_exp2l.c (__exp2l): Likewise.
1362         * math/w_fmodl.c (__fmodl): Likewise.
1363         * math/w_hypotl.c (__hypotl): Likewise.
1364         * math/w_j0l.c (__j0l, __y0l): Likewise.
1365         * math/w_j1l.c (__j1l, __y1l): Likewise.
1366         * math/w_jnl.c (__jnl, __ynl): Likewise.
1367         * math/w_lgammal.c (__lgammal): Likewise.
1368         * math/w_log10l.c (__log10l): Likewise.
1369         * math/w_log2l.c (__log2l): Likewise.
1370         * math/w_logl.c (__logl): Likewise.
1371         * math/w_powl.c (__powl): Likewise.
1372         * math/w_remainderl.c (__remainderl): Likewise.
1373         * math/w_scalbl.c (sysv_scalbl): Likewise.
1374         * math/w_sinhl.c (__sinhl): Likewise.
1375         * math/w_sqrtl.c (__sqrtl): Likewise.
1376         * math/w_tgammal.c (__tgammal): Likewise.
1377         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1378         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1379         * math/libm-test.inc (acos_test): Add more tests.
1380         (acosh_test): Likewise.
1381         (asin_test): Likewise.
1382         (atanh_test): Likewise.
1383         (exp_test): Likewise.
1384         (exp10_test): Likewise.
1385         (exp2_test): Likewise.
1386         (expm1_test): Likewise.
1387         (lgamma_test): Likewise.
1388         (log_test): Likewise.
1389         (log10_test): Likewise.
1390         (log1p_test): Likewise.
1391         (log2_test): Likewise.
1392         (pow_test): Do not allow some spurious overflow exceptions.
1393         (sqrt_test): Add more tests.
1394         (tgamma_test): Likewise.
1395         (y0_test): Likewise.
1396         (y1_test): Likewise.
1397         (yn_test): Likewise.
1398
1399 2012-03-27  Anton Blanchard  <anton@samba.org>
1400
1401         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1402         MAP_HUGETLB.
1403         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1404         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1405         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1406
1407 2012-03-27  David S. Miller  <davem@davemloft.net>
1408
1409         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1410
1411         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1412         have-as-vis3 check.
1413
1414 2012-03-27  Andreas Jaeger  <aj@suse.de>
1415
1416         * sysdeps/x86_64/elf/configure.in: Moved to ...
1417         * sysdeps/x86_64/configure.in: ... here.
1418         * sysdeps/x86_64/elf/start.S: Moved to ...
1419         * sysdeps/x86_64/start.S: ... here.
1420         * sysdeps/x86_64/elf/configure: Delete.
1421
1422         * sysdeps/x86_64/configure.in: Merge contents from
1423         sysdeps/i386/configure.in (without i686 check).
1424
1425         * sysdeps/i386/elf/Versions: Merge into ...
1426         * sysdeps/i386/Versions: ... this.
1427         * sysdeps/i386/elf/Versions: Delete file.
1428         * sysdeps/i386/elf/start.S: Moved to ...
1429         * sysdeps/i386/start.S: ...here.
1430         * sysdeps/i386/elf/configure.in: Merge into...
1431         * sysdeps/i386/configure.in: ...here.
1432         * sysdeps/i386/elf/configure.in: Delete file.
1433         * sysdeps/i386/elf/configure: Delete file.
1434
1435         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1436         * debug/backtracesyms.c: ... here.
1437         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1438         * debug/backtracesymsfd.c: ... here.
1439         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1440         * sysdeps/generic/ifunc-sel.h: ... here.
1441
1442         * sysdeps/unix/i386/start.c: Delete file.
1443         * sysdeps/unix/sparc/start.c: Delete file.
1444         * sysdeps/unix/start.c: Delete file.
1445
1446         * sysdeps/sh/elf/configure.in: Moved to ...
1447         * sysdeps/sh/configure.in: ... here.
1448         * sysdeps/sh/elf/start.S: Moved to ...
1449         * sysdeps/sh/start.S: ... here.
1450         * sysdeps/sh/elf/configure: Delete file.
1451
1452         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1453         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1454         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1455         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1456         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1457         * sysdeps/powerpc/powerpc64/start.S: here.
1458         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1459         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1460         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1461         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1462         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1463
1464         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1465         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1466         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1467         * sysdeps/powerpc/powerpc32/start.S: ... here.
1468         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1469         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1470         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1471
1472         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1473         * sysdeps/powerpc/ifunc-sel.h: ... here.
1474         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1475         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1476
1477         * sysdeps/sparc/elf/configure.in: Moved to ...
1478         * sysdeps/sparc/configure.in: ... here.
1479         * sysdeps/sparc/elf/configure: Delete file.
1480         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1481         * sysdeps/sparc/sparc32/start.S: ... here.
1482         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1483         * sysdeps/sparc/sparc64/start.S: ... here.
1484         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1485         * sysdeps/sparc/sparc32/Makefile: ... this.
1486         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1487         * sysdeps/sparc/sparc64/Makefile: ... this.
1488
1489         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1490         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1491         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1492         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1493         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1494         * sysdeps/s390/s390-32/setjmp.S: ... here.
1495         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1496         * sysdeps/s390/s390-32/configure.in: ... here.
1497         * sysdeps/s390/s390-32/elf/configure: Delete file.
1498         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1499         * sysdeps/s390/s390-32/start.S: ... here.
1500
1501         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1502         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1503         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1504         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1505         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1506         * sysdeps/s390/s390-64/setjmp.S: ... here.
1507         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1508         * sysdeps/s390/s390-64/configure.in: ... here
1509         * sysdeps/s390/s390-64/elf/configure: Delete file.
1510         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1511         * sysdeps/s390/s390-64/start.S: ... here.
1512         * sysdeps/s390/s390-64/elf/configure: Delete.
1513
1514         * configure.in: Remove support for elf directories in sysdeps.
1515
1516         * configure: Regenerated.
1517         * sysdeps/i386/configure: Regenerated.
1518         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1519         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1520         * sysdeps/s390/s390-32/configure: Regenerated.
1521         * sysdeps/s390/s390-64/configure: Regenerated.
1522         * sysdeps/sh/configure: Regenerated.
1523         * sysdeps/sparc/configure: Regenerated.
1524         * sysdeps/x86_64/configure: Regenerated.
1525
1526 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1527
1528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1529
1530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1531         denormal result into account.
1532
1533 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1534
1535         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1536         Reported by Allan McRae <allan@archlinux.org>.
1537
1538 2012-03-23  Jeff Law  <law@redhat.com>
1539
1540         * nss/getnssent.c (__nss_getent): Fix typo.
1541
1542 2012-03-23  David S. Miller  <davem@davemloft.net>
1543
1544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1545
1546 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1547
1548         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1549         to pad to uint64_t for each field.
1550         (dl_tls_index): Replace unsigned long with uint64_t.
1551
1552 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1553         Paul Pluzhnikov  <ppluzhnikov@google.com>
1554
1555         [BZ #6528]
1556         * grp/Makefile (otherlibs): Don't set it.
1557         * inet/Makefile (otherlibs): Likewise.
1558         * login/Makefile (otherlibs): Likewise.
1559         * nscd/Makefile (otherlibs): Likewise.
1560         * posix/Makefile (otherlibs): Likewise.
1561         * pwd/Makefile (otherlibs): Likewise.
1562         * rt/Makefile (otherlibs): Likewise.
1563         * sunrpc/Makefile (otherlibs): Likewise.
1564         * nss/Makefile (otherlibs): Likewise.
1565         Add libnss_files to routines and static-only-routines.
1566         ($(objpfx)getent): Remove rule.
1567         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1568         static-only-routines.
1569
1570 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1571
1572         [BZ #13892]
1573         * math/s_cexp.c: Include <float.h>.
1574         (__cexp): Handle exp result overflowing not necessarily
1575         overflowing both real and imaginary parts of result.
1576         * math/s_cexpf.c: Likewise.
1577         * math/s_cexpl.c: Likewise.
1578         * math/libm-test.inc (cexp_test): Add more tests.
1579         * sysdeps/i386/fpu/libm-test-ulps: Update.
1580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1581
1582 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1583
1584         * include/link.h (ELFW): New macro.
1585         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1586         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1587
1588 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1589
1590         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1591         with uint64_t.
1592
1593 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1594
1595         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1596         declaration.
1597         (struct La_x32_retval): Likewise.
1598
1599 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1600
1601         * sysdeps/x86_64/preconfigure.in: New file.
1602         * sysdeps/x86_64/preconfigure: New generated file.
1603
1604 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1605
1606         [BZ #13824]
1607         * math/e_exp2l.c: Include <float.h>.
1608         (__ieee754_exp2l): Handle overflow and underflow cases
1609         separately.  Only pass fractional part of argument to
1610         __ieee754_expl.
1611         * math/libm-test.inc (exp2_test): Add more tests.
1612
1613         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1614         negating x to take absolute value.
1615         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1616         Likewise.
1617         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1618         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1619         Likewise.
1620         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1621         computing low part if x was negated.
1622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1623
1624 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1625
1626         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1627         la_x32_gnu_pltexit.
1628         (pltexit): Cast int_retval to ptrdiff_t.
1629         * elf/tst-auditmod3b.c: Likewise.
1630         * elf/tst-auditmod4b.c: Likewise.
1631         * elf/tst-auditmod5b.c: Likewise.
1632         * elf/tst-auditmod6b.c: Likewise.
1633         * elf/tst-auditmod6c.c: Likewise.
1634         * elf/tst-auditmod7b.c: Likewise.
1635
1636         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1637         and x32_gnu_pltexit.
1638
1639         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1640         __ELF_NATIVE_CLASS.
1641         (La_x32_regs): New macro.
1642         (La_x32_retval): Likewise.
1643         (la_x32_gnu_pltenter): New function prototype.
1644         (la_x32_gnu_pltexit): Likewise.
1645
1646 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1647
1648         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1649         exponent.
1650
1651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1652
1653         * configure.in (libc_cv_cc_nofma): Check for option to disable
1654         generation of FMA instructions.
1655         * configure: Regenerate.
1656         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1657         * sysdeps/ieee754/dbl-64/Makefile: New file.
1658         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1659         Remove brandred-fma4.
1660         (CFLAGS-brandred-fma4.c): Remove.
1661         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1662         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1663         define.
1664         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1665         define.
1666
1667 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1668
1669         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1670         LLONG_MAX != LONG_MAX.
1671         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1672         (_fitoa_word): Likewise.
1673         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1674         LLONG_MAX != LONG_MAX.
1675         * stdio-common/_itowa.h: Include <_itoa.h>.
1676         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1677         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1678         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1679         only if not defined.
1680         (_ITOA_WORD_TYPE): Likewise.
1681         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1682         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1683
1684 2012-03-21  David S. Miller  <davem@davemloft.net>
1685
1686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1687
1688 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1689
1690         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1691         of x86_64 when setting libc_cv_slibdir, libdir and
1692         libc_cv_localedir.
1693         * sysdeps/unix/sysv/linux/configure: Regenerated.
1694
1695 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1696
1697         * manual/lang.texi (Old Varargs): Remove section.
1698         (How Variadic): Update menu.
1699         (va_start): Do not mention varargs.h.
1700
1701 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1702             Joseph Myers  <joseph@codesourcery.com>
1703
1704         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1705         link test.
1706         * configure: Regenerated.
1707
1708 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1709
1710         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1711         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1712         conformtest.pl
1713
1714 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1715
1716         * NOTES: Remove.
1717         * Makefile (files-for-dist): Remove NOTES.
1718         (NOTES): Remove rule.
1719         * README: Don't refer to NOTES.
1720         * manual/creature.texi: Don't include macros.texi.
1721         * manual/intro.texi (creature.texi): Remove comment referring to
1722         NOTES.
1723
1724         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1725         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1726         * configure: Regenerated.
1727         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1728         LIBC_TRY_CC_OPTION.
1729         (libc_cv_as_i686): Likewise.
1730         (libc_cv_cc_avx): Likewise.
1731         (libc_cv_cc_sse2avx): Likewise.
1732         (libc_cv_cc_fma4): Likewise.
1733         (libc_cv_cc_novzeroupper): Likewise.
1734         * sysdeps/i386/configure: Regenerated.
1735
1736         [BZ #13883]
1737         * sysdeps/i386/fpu/s_cexp.S: Remove.
1738         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1739         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1740         * math/libm-test.inc (cexp_test): Add more tests.
1741         * sysdeps/i386/fpu/libm-test-ulps: Update.
1742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1743
1744 2012-03-21  Allan McRae  <allan@archlinux.org>
1745
1746         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1747
1748 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1749
1750         [BZ #13871]
1751         * math/w_exp2.c: Do not include <float.h>.
1752         (o_threshold, u_threshold): Remove.
1753         (__exp2): Calculate result before checking finiteness and calling
1754         __kernel_standard.
1755         * math/w_exp2f.c: Likewise.
1756         * math/w_exp2l.c: Likewise.
1757         * math/libm-test.inc (exp2_test): Require overflow exception for
1758         1e6 input.
1759
1760         [BZ #3866]
1761         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1762         range of signed 64-bit integers before using fistpll.  Remove
1763         checks for whether integers fit in mantissa bits.
1764         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1765         the range of signed 32-bit integers before using fistpl.  Remove
1766         checks for whether integers fit in mantissa bits.
1767         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1768         (__ieee754_powl): Test for y outside the range of signed 64-bit
1769         integers before using fistpll.  Reduce 64-bit values to 63-bit
1770         ones as needed.
1771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1772         divide-by-zero is raised for zero to large negative powers.
1773         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1774         (__ieee754_powl): Test for y outside the range of signed 64-bit
1775         integers before using fistpll.  Reduce 64-bit values to 63-bit
1776         ones as needed.
1777         * math/libm-test.inc (pow_test): Add more tests.
1778
1779 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1780
1781         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1782         <stdio-common/_itoa.h>.
1783         * debug/segfault.c: Likewise.
1784         * elf/dl-cache.c: Likewise.
1785         * elf/dl-minimal.c: Likewise.
1786         * elf/dl-misc.c: Likewise.
1787         * elf/dl-sysdep.c: Likewise.
1788         * elf/dl-version.c: Likewise.
1789         * elf/rtld.c: Likewise.
1790         * hurd/hurdsock.c: Likewise.
1791         * hurd/lookup-retry.c: Likewise.
1792         * malloc/malloc.c: Likewise.
1793         * malloc/mtrace.c: Likewise.
1794         * nscd/nscd_getgr_r.c: Likewise.
1795         * nscd/nscd_getpw_r.c: Likewise.
1796         * nscd/nscd_getserv_r.c: Likewise.
1797         * posix/getopt_init.c: Likewise.
1798         * posix/wordexp.c: Likewise.
1799         * stdio-common/_itoa.c: Likewise.
1800         * stdio-common/printf_fphex.c: Likewise.
1801         * stdio-common/vfprintf.c: Likewise.
1802         * string/_strerror.c: Likewise.
1803         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1804         * sysdeps/i386/i686/hp-timing.h: Likewise.
1805         * sysdeps/mach/_strerror.c: Likewise.
1806         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1807         * sysdeps/mach/hurd/sethostid.c: Likewise.
1808         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1809         * sysdeps/mach/xpg-strerror.c: Likewise.
1810         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1812         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1813         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1814         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1815         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1816         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1817         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1818         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1819         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1820         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1821         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1822         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1823         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1824         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1825         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1826         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1828         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1829         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1830         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1831
1832         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1833
1834         * stdio-common/_itoa.h: Moved to ...
1835         * sysdeps/generic/_itoa.h: Here.
1836
1837         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1838
1839         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1840         instead of "_itoa.h" and "_itowa.h".
1841         * stdio-common/vfprintf.: Likewise.
1842
1843 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1844
1845         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1846         <bits/wordsize.h>.
1847         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1848         (__signbit): Likwise.
1849         (llrintf): Likwise.
1850         (llrint): Likwise.
1851
1852 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1853
1854         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1855         __WORDSIZE != 64.
1856
1857 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1858
1859         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1860         OVERFLOW_EXCEPTION_OK.
1861         * math/libm-test.inc ("Philosophy"): Update comment about
1862         exception testing.
1863         (OVERFLOW_EXCEPTION): Define.
1864         (OVERFLOW_EXCEPTION_OK): Likewise.
1865         (INVALID_EXCEPTION_OK): Renumber.
1866         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1867         (IGNORE_ZERO_INF_SIGN): Likewise.
1868         (test_exceptions): Handle FE_OVERFLOW.
1869         (exp10_test): Expect overflow exceptions.
1870         (exp2_test): Likewise.
1871         (expm1_test): Likewise.
1872         (nextafter_test): Likewise.
1873         (pow_test): Likewise.
1874         (scalbn_test): Likewise.
1875         (scalbln_test): Likewise.
1876
1877 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1878
1879         * sysdeps/x86_64/bits/atomic.h
1880         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1881         64bit integer.
1882         (atomic_exchange_acq): Likewise.
1883         (__arch_exchange_and_add_body): Likewise.
1884         (__arch_add_body): Likewise.
1885         (atomic_add_negative): Likewise.
1886         (atomic_add_zero): Likewise.
1887
1888 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1889
1890         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1891         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1892
1893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1894
1895         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1896         Check __x86_64__ instead of __WORDSIZE.
1897
1898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1899
1900         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1901
1902 2012-03-19  David S. Miller  <davem@davemloft.net>
1903
1904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1905
1906         * sysdeps/sparc/fpu/fenv_private.h: New file.
1907         * sysdeps/sparc/fpu/math_private.h: Use it.
1908         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1909         Remove.
1910         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1911         (libc_feholdexcept_setroundl): Remove.
1912         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1913         Remove.
1914         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1915         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1916
1917 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1918
1919         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1920         int64_t instead of long int.
1921         (INSERT_WORDS64): Likwise.
1922
1923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1924
1925         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1926         _Unwind_GetCFA return to _Unwind_Ptr first.
1927
1928 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1929
1930         [BZ #13629]
1931         * math/s_clog.c: Include <float.h>.
1932         (__clog): Scale large or subnormal inputs.
1933         * math/s_clogf.c: Likewise.
1934         * math/s_clogl.c: Likewise.
1935         * math/s_clog10.c: Include <float.h>.
1936         (M_LOG10_2): Define.
1937         (__clog10): Scale large or subnormal inputs.
1938         * math/s_clog10f.c: Likewise.
1939         * math/s_clog10l.c: Likewise.
1940         * math/libm-test.inc (clog_test): Add more tests.
1941         (clog10_test): Likewise.
1942         * sysdeps/i386/fpu/libm-test-ulps: Update.
1943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944
1945         [BZ #11451]
1946         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1947         x and y.
1948         * math/libm-test.inc (atan2_test): Add another test.
1949
1950         * Makerules (common-objdir-compile): Remove.
1951         * sysdeps/unix/Makefile (config-generated): Do not add
1952         $(unix-generated) to variable.
1953         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1954         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1955         Remove rule.
1956         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1957         Likewise.
1958         [generic bits/local_lim.h] (before-compile): Do not append to
1959         variable.
1960         [generic bits/local_lim.h] (common-generated): Likewise.
1961         [generic sys/param.h] (before-compile): Do not append to variable.
1962         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1963         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1964         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1965         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1966         include.
1967         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1968         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1969         [generic sys/param.h] ($(addprefix
1970         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1971         [generic sys/param.h] (common-generated): Do not append to
1972         variable.
1973         [generic sys/param.h] (sysdep_headers): Likewise.
1974         [generic bits/errno.h] (before-compile): Do not append to
1975         variable.
1976         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1977         rule.
1978         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1979         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1980         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1981         [generic bits/errno.h] (common-generated): Do not append to
1982         variable.
1983         [generic bits/ioctls.h] (before-compile): Do not append to
1984         variable.
1985         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1986         rule.
1987         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1988         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1989         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1990         rule.
1991         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1992         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1993         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1994         [generic bits/ioctls.h] (common-generated): Do not append to
1995         variable.
1996         [generic sys/syscall.h] (syscall.h): Remove variable.
1997         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1998         rule.
1999         [generic sys/syscall.h] (before-compile): Do not append to
2000         variable.
2001         [generic sys/syscall.h] (common-generated): Likewise.
2002         * sysdeps/unix/errnos-tmpl.c: Remove file.
2003         * sysdeps/unix/errnos.awk: Likewise.
2004         * sysdeps/unix/ioctls-tmpl.c: Likewise.
2005         * sysdeps/unix/ioctls.awk: Likewise.
2006         * sysdeps/unix/mk-local_lim.c: Likewise.
2007         * sysdeps/unix/snarf-ioctls: Likewise.
2008
2009 2012-03-19  Richard Henderson  <rth@twiddle.net>
2010
2011         * sysdeps/i386/fpu/fenv_private.h: New file.
2012         * sysdeps/i386/fpu/math_private.h: Use it.
2013         (math_opt_barrier, math_force_eval): Remove.
2014         (libc_feholdexcept_setround_53bit): Remove.
2015         (libc_feupdateenv_53bit): Remove.
2016         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2017         (math_opt_barrier, math_force_eval): Remove.
2018         (libc_feholdexcept): Remove.
2019         (libc_feholdexcept_setround): Remove.
2020         (libc_fetestexcept, libc_fesetenv): Remove.
2021         (libc_feupdateenv_test): Remove.
2022         (libc_feupdateenv, libc_feholdsetround): Remove.
2023         (libc_feresetround): Remove.
2024
2025         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2026         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2027
2028         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2029         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2030         (libc_feupdateenv_testl): New.
2031         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2032         (libc_feupdateenv_testf): New.
2033         (libc_feupdateenv): Use libc_feupdateenv_test.
2034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2035         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2036
2037         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2038         (libc_feholdsetroundf, libc_feholdsetroundl): New.
2039         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2040         (libc_feresetround_noex): New.
2041         (libc_feresetround_noexf): New.
2042         (libc_feresetround_noexl): New.
2043         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2044         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2045         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2046         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2047         SET_RESTORE_ROUND.
2048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2049         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2050         (__cos): Likewise.
2051         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2052         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2053         SET_RESTORE_ROUND_NOEX.
2054         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2055         SET_RESTORE_ROUND_NOEXF.
2056         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2057         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2058         (libc_feholdsetroundf): New.
2059         (libc_feresetround, libc_feresetroundf): New.
2060
2061         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2062         (libc_feholdexcept_setround_53bit): Convert from macro to function.
2063         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
2064
2065         * sysdeps/generic/math_private.h: Include <fenv.h>.
2066         (default_libc_feholdexcept): New.
2067         (default_libc_feholdexcept_setround): New.
2068         (default_libc_fesetenv, default_libc_feupdateenv): New.
2069         (libc_feholdexcept): Only define if undefined.
2070         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2071         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2072         (libc_feholdexcept_setroundl): Likewise.
2073         (libc_feholdexcept_setround_53bit): Likewise.
2074         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2075         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2076         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2077         (libc_feupdateenv_53bit): Likewise.
2078         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2079         (libc_feholdexcept): Convert from macro to inline function.
2080         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2081         (libc_fesetenv, libc_feupdateenv): Likewise.
2082
2083         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2084         not previously defined.
2085         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2086         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2087         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2088         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2089         * sysdeps/ieee754/flt-32/math_private.h: New file.
2090         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2091         math_private.h below SET_FLOAT_WORD.
2092         (__isnan, __isinf_ns, __finite): Remove.
2093         (__isnanf, __isinf_nsf, __finitef): Remove.
2094
2095 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
2096
2097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2098
2099 2012-03-17  David S. Miller  <davem@davemloft.net>
2100
2101         [BZ #6471]
2102         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2103         for 2.16.
2104
2105 2012-03-16  David S. Miller  <davem@davemloft.net>
2106
2107         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2108         warnings.
2109
2110         [BZ #6471]
2111         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2112         properly.
2113         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2114         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2115         sysdep_routines when subdir is sysvipc.
2116         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2117         __getshmlba helper.
2118
2119         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2120
2121 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2122
2123         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2124         [__LP64__].
2125
2126 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2127
2128         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2129         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2130         (__lround): Renamed to ...
2131         (__llround): This.  Replace long int with long long int.
2132         Define lround functions as aliases of llround functions.
2133         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2134
2135 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2136
2137         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2138         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2139         adresses to uintptr_t.  Replace "long int" and "unsigned long
2140         int" with "greg_t" on va_arg.
2141
2142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2143
2144         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2145         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2146
2147         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2148         Move e_machine check before EI_CLASS check.  Handle x32
2149         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2150         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2151         SKIP_EM_IA_64 and include
2152         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2153
2154         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2155         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2156         (add_system_dir): New macro.
2157
2158         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2159         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2160
2161 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2162
2163         [BZ #2551]
2164         [BZ #2552]
2165         [BZ #2553]
2166         [BZ #2554]
2167         [BZ #2562]
2168         [BZ #2563]
2169         [BZ #2565]
2170         [BZ #2566]
2171         [BZ #2576]
2172         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2173         (y0): Likewise.
2174         * math/w_j0f.c (j0f): Likewise.
2175         (y0f): Likewise.
2176         * math/w_j0l.c (__j0l): Likewise.
2177         (__y0l): Likewise.
2178         * math/w_j1.c (j1): Likewise.
2179         (y1): Likewise.
2180         * math/w_j1f.c (j1f): Likewise.
2181         (y1f): Likewise.
2182         * math/w_j1l.c (__j1l): Likewise.
2183         (__y1l): Likewise.
2184         * math/w_jn.c (jn): Likewise.
2185         (yn): Likewise.
2186         * math/w_jnf.c (jnf): Likewise.
2187         (ynf): Likewise.
2188         * math/w_jnl.c (__jnl): Likewise.
2189         (__ynl): Likewise.
2190         * math/libm-test.inc (j0_test): Add more tests.
2191         (j1_test): Likewise.
2192         (jn_test): Likewise.  Add trailing semicolon to existing test.
2193         (y0_test): Likewise.
2194         (y1_test): Likewise.
2195         * sysdeps/i386/fpu/libm-test-ulps: Update.
2196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197
2198         [BZ #13851]
2199         [BZ #13854]
2200         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2201         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2202         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2203         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2204         (__tanl): Set errno for infinite argument.
2205         * sysdeps/i386/fpu/mptan.c: Remove.
2206         * sysdeps/i386/fpu/s_tan.S: Likewise.
2207         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2208         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2209         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2210         * math/libm-test.inc (tan_test): Add more tests and enable more
2211         tests for double and long double.
2212         * sysdeps/i386/fpu/libm-test-ulps: Update.
2213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2214
2215 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2216
2217         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2218         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2219
2220 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2221
2222         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2223         * configure.in: Use it for both main tree and add-ons.
2224         * configure: Regenerated.
2225
2226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2227
2228         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2229
2230 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2231
2232         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2233         in comment.
2234
2235         [BZ #13851]
2236         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2237         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2238         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2239         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2240         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2241         infinite argument.
2242         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2243         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2244         != 0 for prec == 2.
2245         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2246         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2247         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2248         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2249         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2250         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2251         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2252         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2253         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2254         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2255         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2256         * math/libm-test.inc (cos_test): Add more tests and enable more
2257         tests for long double.
2258         (sin_test): Likewise.
2259         (sincos_test): Likewise.
2260         * sysdeps/i386/fpu/libm-test-ulps: Update.
2261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2262
2263 2012-03-16  David S. Miller  <davem@davemloft.net>
2264
2265         * sysdeps/sparc/fpu/math_private.h: New file.
2266
2267 2012-03-15  David S. Miller  <davem@davemloft.net>
2268
2269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2270         file.
2271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2273         file.
2274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2279         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2280         sysdep routines.
2281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2282
2283         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2284         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2285
2286         * sysdeps/sparc/sparc-ifunc.h: New file.
2287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2288         sparc-ifunc.h
2289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2291         Likewise.
2292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2293         Likewise.
2294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2298         Likewise.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2304         Likewise.
2305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2306         Likewise.
2307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2311         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2314         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2326         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2327         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2328         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2331
2332 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2333
2334         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2335         scaling.
2336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2337
2338 2012-03-15  Andreas Jaeger  <aj@suse.de>
2339
2340         [BZ #13852]
2341         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2342         ieee754/flt-32 implementation for sin, cos and sincos.
2343         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2344         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2345         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2346         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2347         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2348         ieee754/flt-32 implementation for tan.
2349
2350         * math/libm-test.inc (cos_test): Enable some large input tests for
2351         float as well
2352         (sin_test): Likewise.
2353         (sincos_test): Likewise.
2354         (tan_test): Add tests for large input.
2355
2356         * sysdeps/i386/fpu/libm-test-ulps: Update.
2357
2358 2012-03-15  Andreas Jaeger  <aj@suse.de>
2359
2360         [BZ #13658]
2361         * math/libm-test.inc (cos_test): Add more test cases.
2362         (sin_test): Likewise.
2363         (sincos_test): Likewise.
2364
2365 2012-03-15  Andreas Jaeger  <aj@suse.de>
2366
2367         [BZ #13837]
2368         * math/libm-test.inc (cos_test): Add a test case for large input
2369         value.
2370         (sin_test): Likewise.
2371         (sincos_test): Likewise.
2372
2373 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2374         Joseph Myers  <joseph@codesourcery.com>
2375
2376         [BZ #13658]
2377         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2378         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2379         * sysdeps/i386/fpu/branred.c: Likewise.
2380         * sysdeps/i386/fpu/dosincos.c: Likewise.
2381         * sysdeps/i386/fpu/mpa.c: Likewise.
2382         * sysdeps/i386/fpu/s_cos.S: Likewise.
2383         * sysdeps/i386/fpu/s_sin.S: Likewise.
2384         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2385         * sysdeps/i386/fpu/sincos32.c: Likewise.
2386
2387         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2388         Define.
2389         (libc_feupdateenv_53bit): Define.
2390         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2391         Define.
2392         (libc_feupdateenv_53bit): Define.
2393
2394         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2395         53 bit (without extend i386 double precision).
2396
2397         * math/libm-test.inc (sincos_test): Add tests for large input.
2398         (sin): Likewise.
2399         (cos): Likewise.
2400
2401         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2402
2403 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2404
2405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2406
2407 2012-03-15  David S. Miller  <davem@davemloft.net>
2408
2409         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2410         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2411         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2412         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2425         file.
2426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2428         file.
2429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2431         file.
2432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2434         file.
2435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2436         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2437         fmin/fmax sysdep routines.
2438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2439
2440 2012-03-14  David S. Miller  <davem@davemloft.net>
2441
2442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2448         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2449         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2464         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2465         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2468         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2469         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2470         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2471         routines.
2472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2473         file.
2474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2476         file.
2477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2479         file.
2480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2482         file.
2483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2485         file.
2486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2488         file.
2489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2490         file.
2491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2492         file.
2493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2494         file.
2495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2496         New file.
2497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2498         file.
2499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2500         file.
2501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2503         file.
2504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2506         file.
2507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2509         file.
2510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2512         VIS3 routines.
2513
2514         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2515         New file.
2516
2517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2518
2519         * sysdeps/sparc/configure.in: New file.
2520         * sysdeps/sparc/configure: Generate.
2521         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2522         * configure: Regenerate.
2523         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2524         * config.make.in (have-as-vis3): New.
2525         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2526         available use -Av9d instead of -Av9a.
2527         * sysdeps/sparc/sparc64/Makefile: Likewise.
2528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2530         New file.
2531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2532         file.
2533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2534         New file.
2535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2536         file.
2537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2540         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2541         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2542
2543         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2544         fzeros/fnegs to load 0x80000000 into a float register instead of
2545         using the stack.
2546         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2547
2548 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2549
2550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2551         bits/syscall.h.
2552         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2553         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2554         ($(inst_includedir)/bits/syscall.h): Remove rule.
2555         ($(objpfx)bits/syscall.d): Include instead of
2556         $(objpfx)syscall-list.d.
2557         (generated): Change syscall-list.h and syscall-list.d to
2558         bits/syscall.h and bits/syscall.d.
2559
2560 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2561
2562         [BZ #13846]
2563         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2564
2565 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2566
2567         [BZ #13841]
2568         * math/s_csqrt.c: Include <float.h>.
2569         (__csqrt): Scale large or subnormal inputs.
2570         * math/s_csqrtf.c: Likewise.
2571         * math/s_csqrtl.c: Likewise.
2572         * math/libm-test.inc (csqrt_test): Add more tests.
2573         * sysdeps/i386/fpu/libm-test-ulps: Update.
2574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2575
2576         [BZ #13840]
2577         * math/libm-test.inc (hypot_test): Add more tests.
2578
2579 2012-03-13  David S. Miller  <davem@davemloft.net>
2580
2581         [BZ #13840]
2582         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2583         double-precision for the calculation instead of scaling.
2584
2585 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2586
2587         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2588         manipulate bits before adding and subtracting TWO52[sx].
2589         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2590         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2591         Likewise.
2592         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2593
2594 2012-03-13  David S. Miller  <davem@davemloft.net>
2595
2596         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2597         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2598         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2599         rtld-global-offsets.h
2600         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2601
2602         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2603         large parameters.
2604
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2606
2607         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2608         'err' in the ifdef scope in which it is actually used.
2609
2610         * nss/nss_db/db-init.c: Include string.h
2611
2612 2012-03-12  David S. Miller  <davem@davemloft.net>
2613
2614         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2615         masking out of the most significant byte of random value used.
2616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2617         Fix coding style in previous change.
2618
2619         * sysdeps/unix/sysv/linux/kernel-features.h
2620         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2621         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2622         expression.
2623         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2624         later.
2625
2626 2012-03-11  David S. Miller  <davem@davemloft.net>
2627
2628         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2629         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2630         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2631         for 'resultvar' otherwise things get truncated on 64-bit.
2632
2633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2634         Fix masking out of the most significant byte of random value used.
2635
2636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2637
2638 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2639
2640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2641
2642 2012-03-09  David S. Miller  <davem@davemloft.net>
2643
2644         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2645         variables with appropriate CPP guards.
2646         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2647         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2648         on resulting framesize and the management of the outregs buffer for pltexit.
2649         Preserve floating point return values across _dl_call_pltexit call.
2650         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2651         framesize and the management of the outregs buffer for pltexit.
2652         Preserve floating point return values across _dl_call_pltexit
2653         call.
2654         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2655         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2656         (print_exit): Fix format string for return register value.
2657
2658 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2659
2660         * sunrpc/Makefile (others): Add rpcgen.
2661         ($(objpfx)rpcgen): Remove special build rule and dependency on
2662         libc.
2663         * sunrpc/rpcgen.c: New file.
2664
2665 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2666
2667         [BZ #13673]
2668         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2669         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2670         * sysdeps/i386/crti.S: Likewise.
2671         * sysdeps/i386/crtn.S: Likewise.
2672         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2673         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2674         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2676         * sysdeps/sh/crti.S: Likewise.
2677         * sysdeps/sh/crtn.S: Likewise.
2678         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2679
2680         [BZ #13673]
2681         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2682         with URL.
2683         * locale/programs/locfile-kw.gperf: Likewise.
2684         * locale/programs/charmap-kw.h: Regenerated.
2685         * locale/programs/locfile-kw.h: Likewise.
2686
2687         [BZ #13673]
2688         * intl/plural.y: Replace FSF snail mail address with URL.
2689         * intl/plural.c: Regenerated.
2690
2691 2012-03-09  Richard Henderson  <rth@twiddle.net>
2692
2693         * include/math_private.h: Remove file.
2694         * math/math_private.h: Move file ...
2695         * sysdeps/generic/math_private.h: ... here.
2696
2697         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2698         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2699         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2700
2701         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2702         and <math_private.h>.
2703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2708         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2709         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2711         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2712         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2715         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2717         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2719         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2722         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2724         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2725         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2729         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2733         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2735         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2737         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2740         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2741         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2743         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2746         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2747         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2749         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2750         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2752         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2753         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2754         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2759         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2762         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2767         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2775         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2781         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2783         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2784         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2786         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2790         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2791         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2792         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2793         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2794         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2795         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2796         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2797         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2798         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2799         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2800         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2801         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2803         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2804         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2805         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2806         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2807         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2808         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2809         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2810         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2815         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2816         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2817         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2819         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2820         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2821         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2822         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2823         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2824         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2826         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2830         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2831         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2832         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2833         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2834         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2835         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2836         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2837         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2838         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2839         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2840         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2841         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2842         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2845         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2846         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2847         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2848         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2849         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2850         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2851         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2852         * sysdeps/ieee754/k_standard.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2904         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2905         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2909         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2911         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2912         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2913         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2915         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2916         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2921         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2923         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2925         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2946         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2950         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2951         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2957         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2961         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2971         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2975         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2980         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2984         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2985         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2986         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2989         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2992         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2993         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2996         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2997         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3002         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3006         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3007         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3008         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3012         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3013         * sysdeps/ieee754/s_lib_version.c: Likewise.
3014         * sysdeps/ieee754/s_matherr.c: Likewise.
3015         * sysdeps/ieee754/s_signgam.c: Likewise.
3016         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3017         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3018         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3019         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3020         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3022         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3023         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3024         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3025         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3027         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3028         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3030         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3034         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3037
3038 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3039
3040         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3041         * sunrpc/rpc_main.c: Likewise.
3042         * sunrpc/rpc_svcout.c: Likewise.
3043
3044 2012-03-09  David S. Miller  <davem@davemloft.net>
3045
3046         * include/math_private.h: New file.
3047
3048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3049
3050         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3051         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3052         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3053         from <bits/socket_type.h>.
3054         (enum __socket_type): Don't define here.
3055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3057         bits/socket_type.h.
3058
3059         [BZ #13566]
3060         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3061         checking __USE_GNU.
3062
3063         * Makerules ($(inst_includedir)/%.h): New rule.
3064         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3065         (install-others): Remove variable setting.
3066         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3067
3068 2012-03-08  Richard Henderson  <rth@twiddle.net>
3069
3070         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3071         from macro to inline function; merge with the
3072         !__LIBC_INTERNAL_MATH_INLINES version.
3073         (__ieee754_sqrtf): Likewise.
3074
3075         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3076         to inline function.
3077         (__rintf, __floor, __floorf): Likewise.
3078
3079         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3080         macro to inline function.
3081         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3082
3083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3084         not <math/math_private.h>.
3085
3086 2012-03-08  David S. Miller  <davem@davemloft.net>
3087
3088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3089         copyright year.
3090         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3091
3092 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
3093
3094         * resolv/gai_misc.c (handle_requests): Fix struct timespec
3095         normalization.
3096         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3097         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3098
3099 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
3100
3101         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
3102         be defined individually, they must be defined as a block.  Define
3103         S for printing a string instead of hidint the different by using a
3104         macro for adding the 'l'.
3105         * stdio-common/tst-fphex-wide.c: Adjust.
3106
3107 2012-03-07  Marek Polacek  <polacek@redhat.com>
3108
3109         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3110
3111 2012-03-08  Marek Polacek  <polacek@redhat.com>
3112
3113         [BZ #13806]
3114         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3115         * stdio-common/tst-fphex.c: Define a few macros to make the
3116         test reusable.  Use them.
3117         * stdio-common/tst-fphex-wide.c: New file.
3118
3119 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3120
3121         [BZ #6911]
3122         * manual/macros.texi (gnusystems): New macro.
3123         (nongnusystems): Likewise.
3124         (gnulinuxhurdsystems): Likewise.
3125         (gnuhurdsystems): Likewise..
3126         (gnulinuxsystems): Likewise.
3127         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3128         variants of the GNU system, not "GNU system".
3129         * manual/conf.texi: Likewise.
3130         * manual/errno.texi: Likewise.  Update example of errno macro
3131         expansion.
3132         * manual/filesys.texi: Likewise.
3133         (getumask): Document as specific to GNU/Hurd.
3134         * manual/install.texi: Likewise.  Reword some references to
3135         GNU/Linux.
3136         * manual/intro.texi: Likewise.
3137         * manual/io.texi: Likewise.
3138         (File Name Portability): Detail which constraints are inapplicable
3139         to all GNU systems and which are only inapplicable to GNU/Hurd.
3140         * manual/job.texi: Likewise.
3141         * manual/llio.texi: Likewise.
3142         (O_NOCTTY): Document as present on GNU/Linux.
3143         * manual/maint.texi: Likewise.
3144         * manual/memory.texi: Likewise.
3145         * manual/pattern.texi: Likewise.
3146         * manual/pipe.texi: Likewise.
3147         * manual/process.texi: Likewise.
3148         * manual/resource.texi: Likewise.
3149         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3150         child on GNU/Hurd.
3151         * manual/setjmp.texi: Likewise.
3152         * manual/signal.texi: Likewise.
3153         * manual/startup.texi: Likewise.
3154         * manual/stdio.texi: Likewise.
3155         * manual/terminal.texi: Likewise.
3156         (ONLCR): Document as POSIX.
3157         (OXTABS): Document availability on GNU/Linux as XTABS.
3158         (ONOEOT): Document availability separately from other bits.
3159         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3160         * manual/time.texi: Likewise.
3161         * manual/users.texi: Likewise.
3162         * INSTALL: Regenerated.
3163         * sysdeps/gnu/errlist.c: Regenerated.
3164
3165         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3166         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3167         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3168         puts.
3169         * configure: Regenerated.
3170
3171 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3172
3173         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3174         default includes instead of AC_HEADER_CHECK.
3175         * sysdeps/i386/configure: Regenerated.
3176
3177         [BZ #10716]
3178         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3179         * math/s_cacoshf.c (__cacoshf): Likewise.
3180         * math/s_cacoshl.c (__cacoshl): Likewise.
3181         * math/s_casinh.c (__casinh): Set signs of result from argument.
3182         * math/s_casinhf.c (__casinhf): Likewise.
3183         * math/s_casinhl.c (__casinhl): Likewise.
3184         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3185         (casinh_test): Add more tests.
3186         * sysdeps/i386/fpu/libm-test-ulps: Update.
3187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188
3189 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3190
3191         * po/zh_TW.po: Update from translation team.
3192
3193         * login/Makefile (distribute): Remove variable.
3194         * catgets/Makefile: Likewise.
3195         * mach/Makefile: Likewise.
3196         * malloc/Makefile: Likewise.
3197         * misc/Makefile: Likewise.
3198         * iconv/Makefile: Likewise.
3199         * nscd/Makefile: Likewise.
3200         * hurd/Makefile: Likewise.
3201         * manual/Makefile: Likewise.
3202         * locale/Makefile: Likewise.
3203         * intl/Makefile: Likewise.
3204         * conform/Makefile: Likewise.
3205         * nss/Makefile: Likewise.
3206         * time/Makefile: Likewise.
3207         * soft-fp/Makefile: Likewise.
3208         * dirent/Makefile: Likewise.
3209         * gmon/Makefile: Likewise.
3210         * po/Makefile: Likewise.
3211         * rt/Makefile: Likewise.
3212         * socket/Makefile: Likewise.
3213         * math/Makefile: Likewise.
3214         * signal/Makefile: Likewise.
3215         * debug/Makefile: Likewise.
3216         * elf/Makefile: Likewise.
3217         * timezone/Makefile: Likewise.
3218         * stdlib/Makefile: Likewise.
3219         * iconvdata/Makefile: Likewise.
3220         * sunrpc/Makefile: Likewise.
3221         * io/Makefile: Likewise.
3222         * argp/Makefile: Likewise.
3223         * inet/Makefile: Likewise.
3224         * hesiod/Makefile: Likewise.
3225         * grp/Makefile: Likewise.
3226         * csu/Makefile: Likewise.
3227         * wctype/Makefile: Likewise.
3228         * crypt/Makefile: Likewise.
3229         * libio/Makefile: Likewise.
3230         * string/Makefile: Likewise.
3231         * nis/Makefile: Likewise.
3232         * resolv/Makefile: Likewise.
3233         * stdio-common/Makefile: Likewise.
3234         * wcsmbs/Makefile: Likewise.
3235         * dlfcn/Makefile: Likewise.
3236         * posix/Makefile: Likewise.
3237
3238         * timezone/Makefile: Don't install timezone files, just the programs
3239         and scripts.
3240
3241 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3242
3243         * nss/databases.def: Add missing gshadow entry.
3244
3245         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3246
3247 2012-03-06  Marek Polacek  <polacek@redhat.com>
3248
3249         [BZ #13726]
3250         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3251         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3252         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3253         * stdio-common/tst-long-dbl-fphex.c: New file.
3254
3255 2012-03-06  David S. Miller  <davem@davemloft.net>
3256
3257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3258         (set_obp_int): New function.
3259         (get_obp_int): New function.
3260         (__get_clockfreq_via_dev_openprom): Likewise.
3261         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3262         Avoid unused variable warnings on 'val' and use builtin_expect.
3263         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3264         __builtin_expect.
3265         (INLINE_CLONE_SYSCALL): Likewise.
3266
3267 2012-03-05  David S. Miller  <davem@davemloft.net>
3268
3269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3270
3271 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3272
3273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3274
3275         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3276         only for |x| >= 40.
3277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3278
3279 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3280
3281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3282         Replace gettimeofday with __vdso_gettimeofday.
3283
3284         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3285         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3286         __vdso_clock_gettime and __vdso_getcpu.
3287
3288         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3289         time with __vdso_time.
3290
3291 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3292
3293         * manual/lang.texi (size_t): Note types to which size_t may be
3294         equivalent with the GNU C Library, but do not describe when
3295         differences between them are significant.
3296
3297 2012-03-05  Andreas Jaeger  <aj@suse.de>
3298
3299         * sysdeps/i386/fpu/libm-test-ulps: Update.
3300
3301 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3302
3303         [BZ #3976]
3304         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3305         (__ieee754_pow): Save and restore rounding mode and use
3306         round-to-nearest for main computations.
3307         * math/libm-test.inc (pow_test_tonearest): New function.
3308         (pow_test_towardzero): Likewise.
3309         (pow_test_downward): Likewise.
3310         (pow_test_upward): Likewise.
3311         (main): Call the new functions.
3312         * sysdeps/i386/fpu/libm-test-ulps: Update.
3313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3314
3315         [BZ #3976]
3316         * math/libm-test.inc (cosh_test_tonearest): New function.
3317         (cosh_test_towardzero): Likewise.
3318         (cosh_test_downward): Likewise.
3319         (cosh_test_upward): Likewise.
3320         (sinh_test_tonearest): Likewise.
3321         (sinh_test_towardzero): Likewise.
3322         (sinh_test_downward): Likewise.
3323         (sinh_test_upward): Likewise.
3324         (main): Call the new functions.
3325         * sysdeps/i386/fpu/libm-test-ulps: Update.
3326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3327
3328 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3329
3330         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3331         default stack guard is set in last bytes.
3332         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3333
3334 2012-03-05  Kees Cook  <keescook@chromium.org>
3335
3336         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3337
3338         [BZ #13656]
3339         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3340         possibly allocate from heap instead of stack.
3341         * stdio-common/bug-vfprintf-nargs.c: New file.
3342         * stdio-common/Makefile (tests): Add nargs overflow test.
3343
3344 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3345
3346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3347
3348 2012-03-03  Marek Polacek  <polacek@redhat.com>
3349
3350         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3351         * math/math_private.h: Likewise.
3352         * stdlib/tst-strtod.c: Likewise.
3353         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3354         * sysdeps/x86_64/bits/atomic.h: Likewise.
3355
3356 2012-03-02  David S. Miller  <davem@davemloft.net>
3357
3358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3362         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3363         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3364         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3365         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3366
3367 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3368
3369         [BZ #13792]
3370         * manual/examples/README: New file, says the example source files
3371         can be used under GPL>=2.
3372         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3373         line containing just "*/".
3374         * manual/examples/add.c: Add copyright header (GPL>=2).
3375         * manual/examples/argp-ex1.c: Likewise.
3376         * manual/examples/argp-ex2.c: Likewise.
3377         * manual/examples/argp-ex3.c: Likewise.
3378         * manual/examples/argp-ex4.c: Likewise.
3379         * manual/examples/atexit.c: Likewise.
3380         * manual/examples/db.c: Likewise.
3381         * manual/examples/dir.c: Likewise.
3382         * manual/examples/dir2.c: Likewise.
3383         * manual/examples/execinfo.c: Likewise.
3384         * manual/examples/filecli.c: Likewise.
3385         * manual/examples/filesrv.c: Likewise.
3386         * manual/examples/fmtmsgexpl.c: Likewise.
3387         * manual/examples/genpass.c: Likewise.
3388         * manual/examples/inetcli.c: Likewise.
3389         * manual/examples/inetsrv.c: Likewise.
3390         * manual/examples/isockad.c: Likewise.
3391         * manual/examples/longopt.c: Likewise.
3392         * manual/examples/memopen.c: Likewise.
3393         * manual/examples/memstrm.c: Likewise.
3394         * manual/examples/mkfsock.c: Likewise.
3395         * manual/examples/mkisock.c: Likewise.
3396         * manual/examples/mygetpass.c: Likewise.
3397         * manual/examples/pipe.c: Likewise.
3398         * manual/examples/popen.c: Likewise.
3399         * manual/examples/rprintf.c: Likewise.
3400         * manual/examples/search.c: Likewise.
3401         * manual/examples/select.c: Likewise.
3402         * manual/examples/setjmp.c: Likewise.
3403         * manual/examples/sigh1.c: Likewise.
3404         * manual/examples/sigusr.c: Likewise.
3405         * manual/examples/stpcpy.c: Likewise.
3406         * manual/examples/strdupa.c: Likewise.
3407         * manual/examples/strftim.c: Likewise.
3408         * manual/examples/strncat.c: Likewise.
3409         * manual/examples/subopt.c: Likewise.
3410         * manual/examples/swapcontext.c: Likewise.
3411         * manual/examples/termios.c: Likewise.
3412         * manual/examples/testopt.c: Likewise.
3413         * manual/examples/testpass.c: Likewise.
3414         * manual/examples/timeval_subtract.c: Likewise.
3415
3416         [BZ #13792]
3417         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3418         function to ...
3419         * manual/timeval_subtract.c.texi: ... here, new file.
3420
3421 2012-03-02  David S. Miller  <davem@davemloft.net>
3422
3423         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3424
3425 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3426
3427         [BZ #3976]
3428         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3429         (__sin): Save and restore rounding mode and use round-to-nearest
3430         for all computations.
3431         (__cos): Save and restore rounding mode and use round-to-nearest
3432         for all computations.
3433         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3434         <fenv.h>.
3435         (tan): Save and restore rounding mode and use round-to-nearest for
3436         all computations.
3437         * math/libm-test.inc (cos_test_tonearest): New function.
3438         (cos_test_towardzero): Likewise.
3439         (cos_test_downward): Likewise.
3440         (cos_test_upward): Likewise.
3441         (sin_test_tonearest): Likewise.
3442         (sin_test_towardzero): Likewise.
3443         (sin_test_downward): Likewise.
3444         (sin_test_upward): Likewise.
3445         (tan_test_tonearest): Likewise.
3446         (tan_test_towardzero): Likewise.
3447         (tan_test_downward): Likewise.
3448         (tan_test_upward): Likewise.
3449         (main): Call the new functions.
3450         * sysdeps/i386/fpu/libm-test-ulps: Update.
3451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3452
3453         [BZ #10135]
3454         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3455         small n, then large n, before computing and testing k+n.
3456         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3458         Likewise.
3459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3460         Likewise.
3461         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3462         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3465         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3466         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3467         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3468         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3469         * math/libm-test.inc (scalbn_test): Add more tests.
3470         (scalbln_test): Likewise.
3471
3472         * manual/filesys.texi (mode_t): Describe constraints on size and
3473         signedness, not exact equivalence to a particular type.
3474         (ino_t): Likewise.
3475         (ino64_t): Likewise.
3476         (dev_t): Likewise.
3477         (nlink_t): Likewise.
3478         (blkcnt_t): Likewise.
3479         (blkcnt64_t): Likewise.
3480         * manual/llio.texi (off_t): Likewise.
3481
3482         [BZ #3976]
3483         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3484         (__ieee754_exp): Save and restore rounding mode and use
3485         round-to-nearest for all computations.
3486         * math/libm-test.inc (exp_test_tonearest): New function.
3487         (exp_test_towardzero): Likewise.
3488         (exp_test_downward): Likewise.
3489         (exp_test_upward): Likewise.
3490         (main): Call the new functions.
3491         * sysdeps/i386/fpu/libm-test-ulps: Update.
3492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3493
3494 2012-03-01  Chris Demetriou  <cgd@google.com>
3495
3496         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3497         have predictable order.
3498
3499 2012-03-01  David S. Miller  <davem@davemloft.net>
3500
3501         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3502
3503         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3504         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3505         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3506         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3507
3508         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3509         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3510         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3512         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3513         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3514         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3515         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3516         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3517
3518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3519
3520         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3521         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3522         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3523
3524         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3525         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3526         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3527         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3528         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3529         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3532         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3533         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3534         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3535         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3537         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3538         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3540         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3541         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3542         * sysdeps/sparc/elf/configure: Regenerated.
3543
3544 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3545
3546         * configure.in (AS, LD): Require binutils 2.20 or later.
3547         * configure: Regenerated.
3548         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3549         as required minimum version.
3550         * INSTALL: Regenerated.
3551
3552         [BZ #2541]
3553         [BZ #4108]
3554         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3555         before squaring exponent.
3556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3557         bottom long double and 27 bits of top long double before squaring
3558         exponent.
3559         * math/libm-test.inc (erfc_test): Add more tests.
3560         * sysdeps/i386/fpu/libm-test-ulps: Update.
3561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3563
3564 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3565
3566         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3567         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3568         containing bit-fields.
3569         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3570         * soft-fp/single.h (_FP_UNION_S): Likewise.
3571         * soft-fp/double.h (_FP_UNION_D): Likewise.
3572
3573 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3574
3575         [BZ #13786]
3576         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3577         not include ../strcmp.S.
3578         [USE_AS_STRNCASECMP_L]: Likewise.
3579         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3580         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3581         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3582         (__strncasecmp_l_ia32): Define as alias to
3583         __strncasecmp_l_nonascii.
3584
3585         [BZ #5794]
3586         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3587         * sysdeps/i386/fpu/libm-test-ulps: Update.
3588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3589
3590         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3592
3593 2012-02-29  Jeff Law  <law@redhat.com>
3594
3595         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3596         out of bounds read.
3597
3598 2012-02-29  Marek Polacek  <polacek@redhat.com>
3599
3600         [BZ #13706]
3601         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3602         * elf/Makefile: Add rules to run tst-unused-dep.out.
3603
3604 2012-02-28  David S. Miller  <davem@davemloft.net>
3605
3606         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3607         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3610         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3611         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3612
3613 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3614
3615         * math/libm-test.inc (llround_test): Move one test from
3616         lround_test.  Use TEST_f_L in moved test.
3617         (lround_test): Move misplaced test to llround_test.  Add testcase
3618         from bug 2561.
3619
3620 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3621
3622         * sysdeps/x86_64/fpu/e_expf.S: New file.
3623         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3624
3625 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3626
3627         [BZ #13637]
3628         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3629         of remain_len that may cause incomplete multi-byte character and
3630         false match.
3631         * posix/bug-regex33.c: New file.
3632         * posix/Makefile (tests): Add bug-regex33.
3633
3634 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3635
3636         * manual/macros.texi: New file.
3637         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3638         * manual/libc.texinfo: Include macros.texi.
3639         * manual/creatute.texi: Likewise.
3640         * manual/install.texi: Likewise.
3641         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3642         @glibcadj{} in references to the GNU C Library.
3643         * manual/charset.texi: Likewise.
3644         * manual/conf.texi: Likewise.
3645         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3646         when not using those macros.
3647         * manual/creature.texi: Likewise.
3648         * manual/crypt.texi: Likewise.
3649         * manual/errno.texi: Likewise.
3650         * manual/filesys.texi: Likewise.
3651         * manual/header.texi: Likewise.
3652         * manual/install.texi: Likewise.
3653         * manual/intro.texi: Likewise.
3654         * manual/io.texi: Likewise.
3655         * manual/job.texi: Likewise.
3656         * manual/lang.texi: Likewise.
3657         * manual/libc.texiinfo: Likewise.
3658         * manual/llio.texi: Likewise.
3659         * manual/locale.texi: Likewise.
3660         * manual/maint.texi: Likewise.
3661         * manual/math.texi: Likewise.
3662         * manual/memory.texi: Likewise.
3663         * manual/message.texi: Likewise.
3664         * manual/nss.texi: Likewise.
3665         * manual/pattern.texi: Likewise.
3666         * manual/process.texi: Likewise.
3667         * manual/resource.texi: Likewise.
3668         * manual/search.texi: Likewise.
3669         * manual/setjmp.texi: Likewise.
3670         * manual/signal.texi: Likewise.
3671         * manual/socket.texi: Likewise.
3672         * manual/startup.texi: Likewise.
3673         * manual/stdio.texi: Likewise.
3674         * manual/string.texi: Likewise.
3675         * manual/sysinfo.texi: Likewise.
3676         * manual/syslog.texi: Likewise.
3677         * manual/terminal.texi: Likewise.
3678         * manual/time.texi: Likewise.
3679         * manual/users.texi: Likewise.
3680         * INSTALL: Regenerated.
3681         * NOTES: Regenerated.
3682         * sysdeps/gnu/errlist.c: Regenerated.
3683
3684 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3685
3686         * include/dirent.h: Include <dirstream.h> before
3687         <dirent/dirent.h>.
3688
3689 2012-02-28  David S. Miller  <davem@davemloft.net>
3690
3691         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3692         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3693         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3694         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3695
3696 2012-02-27  David S. Miller  <davem@davemloft.net>
3697
3698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3700         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3701         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3702
3703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3704         frame pointer instead of stack pointer relative arg slot.
3705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3706         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3707         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3708
3709 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3710
3711         [BZ #3992]
3712         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3713
3714 2012-02-27  David S. Miller  <davem@davemloft.net>
3715
3716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3720         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3721         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3722         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3723         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3724
3725 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3726
3727         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3728         later.  Allow versions 5-9.
3729         * configure: Regenerated.
3730         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3731         required minimum version and 4.6 as recommended version.  Do not
3732         mention bugs in GCC 2.7 and 2.8.
3733         * INSTALL: Regenerated.
3734
3735 2012-02-27  David S. Miller  <davem@davemloft.net>
3736
3737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3741         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3742         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3743         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3744         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3745
3746         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3747         manipulate bits before adding and subtracting TWO112[sx].
3748         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3749
3750 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3751
3752         [BZ #13775]
3753         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3754         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3755         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3756         being in POSIX, because they are in 1003.1-2008.
3757
3758         * rt/tst-aio.c: Include <fcntl.h>.
3759         * rt/tst-aio7.c: Likewise.
3760         * rt/tst-aio64.c: Likewise.
3761
3762         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3763
3764 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3765
3766         * manual/install.texi (--with-headers): Describe headers as
3767         interface headers, not private headers.
3768         (Specific advice for GNU/Linux systems): Describe use of headers
3769         from "make headers_install", not private headers from older
3770         kernels.
3771         * INSTALL: Regenerated.
3772         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3773         Change to 2.6.19.
3774         * sysdeps/unix/sysv/linux/configure: Regenerated.
3775
3776         * manual/llio.texi (fclean): Remove documentation.
3777
3778         * manual/Makefile (libc-texi-generated): New variable.  Include
3779         version.texi.
3780         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3781         $(libc-texi-generated), not duplicated list of files.
3782         (version.texi, stamp-version): New rules.
3783         (realclean): Remove $(libc-texi-generated), not individual files
3784         from that list.  Do not remove dir-add.texinfo.
3785         * manual/libc.texinfo: Comment out uses of edition numbers and
3786         references to printed manual.  Remove last-updated dates.
3787         (EDITION): Comment out.
3788         (ISBN): Likewise.
3789         (VERSION, UPDATED): Remove.
3790         (version.texi): Include.
3791
3792 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3793
3794         * sysdeps/posix/spawni.c: Include <signal.h>.
3795         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3796         * sysdeps/pthread/aio_fsync.c: Likewise.
3797
3798 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3799
3800         * conform/Makefile (tests): Run only when not cross-compiling and
3801         when fast-check is not defined.
3802
3803         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3804         * conform/data/limits.h-data: Fixes for POSIX2008.
3805         * conform/run-conformtest.sh: Run all tests.
3806         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3807         headers.
3808         * include/bits/dlfcn.h: Likewise.
3809         * include/langinfo.h: Likewise.
3810         * include/monetary.h: Likewise.
3811         * include/sys/poll.h: Likewise.
3812
3813         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3814         for __USE_GNU.
3815         * posix/spawn.h: Define __need_sigset_t.
3816         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3817         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3818         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3819         to get sigevent_t only.
3820         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3821         only for __USE_GNU.
3822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3823         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3824         process_vm_writev only for __USE_GNU.
3825         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3826
3827         * conform/Makefile: For now ignore errors from run-conformtest.
3828         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3829         POSIX to avoid namespace pollution.  Don't prepend headers.
3830         * conform/data/aio.h-data: Fixes for POSIX testing.
3831         * conform/data/fcntl.h-data: Likewise.
3832         * conform/data/glob.h-data: Likewise.
3833         * conform/data/grp.h-data: Likewise.
3834         * conform/data/pthread.h-data: Likewise.
3835         * conform/data/pwd.h-data: Likewise.
3836         * conform/data/signal.h-data: Likewise.
3837         * conform/data/spawn.h-data: Likewise.
3838         * conform/data/stdio.h-data: Likewise.
3839         * conform/data/stdlib.h-data: Likewise.
3840         * conform/data/stropts.h-data: Likewise.
3841         * conform/data/sys/mman.h-data: Likewise.
3842         * conform/data/sys/stat.h-data: Likewise.
3843         * conform/data/sys/types.h-data: Likewise.
3844         * conform/data/sys/wait.h-data: Likewise.
3845         * conform/data/time.h-data: Likewise.
3846         * conform/data/unistd.h-data: Likewise.
3847         * conform/data/utime.h-data: Likewise.
3848
3849         * io/sys/stat.h: fchmod was always in POSIX.
3850         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3851         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3852         * rt/aio.h: Define __need_timespec before including <time.h>.
3853         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3854         struct.  Add forward declaration of pthread_attr_t and use it in
3855         sigevent.
3856         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3857         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3858         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3859         always remove CLK_TCK definition.
3860
3861 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3862
3863         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3864
3865 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3866
3867         * conform/run-conformtest.sh: New file.
3868         * conform/Makefile: Run run-conformtest for tests.
3869         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3870         support.
3871
3872         * conform/data/uchar.h-data: New file.
3873         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3874         * conform/data/arpa/inet.h-data: Likewise.
3875         * conform/data/assert.h-data: Likewise.
3876         * conform/data/complex.h-data: Likewise.
3877         * conform/data/cpio.h-data: Likewise.
3878         * conform/data/ctype.h-data: Likewise.
3879         * conform/data/dirent.h-data: Likewise.
3880         * conform/data/dlfcn.h-data: Likewise.
3881         * conform/data/errno.h-data: Likewise.
3882         * conform/data/fcntl.h-data: Likewise.
3883         * conform/data/float.h-data: Likewise.
3884         * conform/data/fmtmsg.h-data: Likewise.
3885         * conform/data/fnmatch.h-data: Likewise.
3886         * conform/data/ftw.h-data: Likewise.
3887         * conform/data/glob.h-data: Likewise.
3888         * conform/data/grp.h-data: Likewise.
3889         * conform/data/iconv.h-data: Likewise.
3890         * conform/data/inttypes.h-data: Likewise.
3891         * conform/data/langinfo.h-data: Likewise.
3892         * conform/data/libgen.h-data: Likewise.
3893         * conform/data/limits.h-data: Likewise.
3894         * conform/data/locale.h-data: Likewise.
3895         * conform/data/math.h-data: Likewise.
3896         * conform/data/monetary.h-data: Likewise.
3897         * conform/data/mqueue.h-data: Likewise.
3898         * conform/data/ndbm.h-data: Likewise.
3899         * conform/data/net/if.h-data: Likewise.
3900         * conform/data/netdb.h-data: Likewise.
3901         * conform/data/netinet/in.h-data: Likewise.
3902         * conform/data/nl_types.h-data: Likewise.
3903         * conform/data/poll.h-data: Likewise.
3904         * conform/data/pthread.h-data: Likewise.
3905         * conform/data/pwd.h-data: Likewise.
3906         * conform/data/regex.h-data: Likewise.
3907         * conform/data/sched.h-data: Likewise.
3908         * conform/data/search.h-data: Likewise.
3909         * conform/data/semaphore.h-data: Likewise.
3910         * conform/data/setjmp.h-data: Likewise.
3911         * conform/data/signal.h-data: Likewise.
3912         * conform/data/spawn.h-data: Likewise.
3913         * conform/data/stdarg.h-data: Likewise.
3914         * conform/data/stdio.h-data: Likewise.
3915         * conform/data/stdlib.h-data: Likewise.
3916         * conform/data/string.h-data: Likewise.
3917         * conform/data/strings.h-data: Likewise.
3918         * conform/data/stropts.h-data: Likewise.
3919         * conform/data/sys/ipc.h-data: Likewise.
3920         * conform/data/sys/mman.h-data: Likewise.
3921         * conform/data/sys/msg.h-data: Likewise.
3922         * conform/data/sys/resource.h-data: Likewise.
3923         * conform/data/sys/select.h-data: Likewise.
3924         * conform/data/sys/sem.h-data: Likewise.
3925         * conform/data/sys/shm.h-data: Likewise.
3926         * conform/data/sys/socket.h-data: Likewise.
3927         * conform/data/sys/stat.h-data: Likewise.
3928         * conform/data/sys/statvfs.h-data: Likewise.
3929         * conform/data/sys/time.h-data: Likewise.
3930         * conform/data/sys/timeb.h-data: Likewise.
3931         * conform/data/sys/times.h-data: Likewise.
3932         * conform/data/sys/types.h-data: Likewise.
3933         * conform/data/sys/uio.h-data: Likewise.
3934         * conform/data/sys/un.h-data: Likewise.
3935         * conform/data/sys/utsname.h-data: Likewise.
3936         * conform/data/sys/wait.h-data: Likewise.
3937         * conform/data/syslog.h-data: Likewise.
3938         * conform/data/tar.h-data: Likewise.
3939         * conform/data/termios.h-data: Likewise.
3940         * conform/data/utime.h-data: Likewise.
3941         * conform/data/utmpx.h-data: Likewise.
3942         * conform/data/varargs.h-data: Likewise.
3943         * conform/data/wchar.h-data: Likewise.
3944         * conform/data/wctype.h-data: Likewise.
3945         * conform/data/wordexp.h-data: Likewise.
3946
3947         * include/stropts.h: New file.
3948         * include/uchar.h: New file.
3949         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3950         * include/assert.h: Likewise.
3951         * include/ctype.h: Likewise.
3952         * include/dirent.h: Likewise.
3953         * include/dlfcn.h: Likewise.
3954         * include/fcntl.h: Likewise.
3955         * include/fnmatch.h: Likewise.
3956         * include/glob.h: Likewise.
3957         * include/grp.h: Likewise.
3958         * include/libio.h: Likewise.
3959         * include/locale.h: Likewise.
3960         * include/math.h: Likewise.
3961         * include/net/if.h: Likewise.
3962         * include/netdb.h: Likewise.
3963         * include/netinet/in.h: Likewise.
3964         * include/pthread.h: Likewise.
3965         * include/pwd.h: Likewise.
3966         * include/regex.h: Likewise.
3967         * include/sched.h: Likewise.
3968         * include/search.h: Likewise.
3969         * include/setjmp.h: Likewise.
3970         * include/signal.h: Likewise.
3971         * include/stdio.h: Likewise.
3972         * include/stdlib.h: Likewise.
3973         * include/string.h: Likewise.
3974         * include/sys/cdefs.h: Likewise.
3975         * include/sys/mman.h: Likewise.
3976         * include/sys/msg.h: Likewise.
3977         * include/sys/resource.h: Likewise.
3978         * include/sys/select.h: Likewise.
3979         * include/sys/socket.h: Likewise.
3980         * include/sys/stat.h: Likewise.
3981         * include/sys/statvfs.h: Likewise.
3982         * include/sys/time.h: Likewise.
3983         * include/sys/times.h: Likewise.
3984         * include/sys/uio.h: Likewise.
3985         * include/sys/utsname.h: Likewise.
3986         * include/sys/wait.h: Likewise.
3987         * include/termios.h: Likewise.
3988         * include/time.h: Likewise.
3989         * include/ulimit.h: Likewise.
3990         * include/unistd.h: Likewise.
3991         * include/utime.h: Likewise.
3992         * include/wchar.h: Likewise.
3993         * include/wctype.h: Likewise.
3994         * include/wordexp.h: Likewise.
3995
3996         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3997
3998         * time/time.h: TIME_UTC must be a macro.
3999         Make timespec_get available for ISO C11 only as well.
4000
4001 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
4002
4003         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4004         Reported by Peng Haitao <penght@cn.fujitsu.com>.
4005
4006 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4007
4008         * configure.in: Use -o not -a in test for unsupported multi-arch.
4009
4010 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4011
4012         * manual/texinfo.tex: Update to version 2012-01-19.16.
4013
4014 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4015
4016         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4017
4018 2012-02-24  Roland McGrath  <roland@hack.frob.com>
4019
4020         [BZ #13738]
4021         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4022         * manual/fdl-1.3.texi: New file.
4023         * manual/fdl-1.1.texi: File removed.
4024
4025         [BZ #13738]
4026         * manual/libc.texinfo (FDL_VERSION): New @set.
4027         Use it for mention of FDL in cover text.
4028         (Documentation License): Use it in @include file name.
4029
4030 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4031             Roland McGrath  <roland@hack.frob.com>
4032
4033         [BZ #5461]
4034         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4035         not LONG_LONG_MAX and LONG_LONG_MIN.
4036         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4037         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
4038         name.
4039         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4040
4041 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4042
4043         [BZ #2547]
4044         [BZ #11365]
4045         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4046         manipulate bits before adding and subtracting TWO23[sx].
4047         * math/libm-test.inc (nearbyint_test): Add more tests.
4048
4049 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4050
4051         [BZ #2548]
4052         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4053         bits before adding and subtracting TWO23[sx].
4054         * math/libm-test.inc (rint_test): Add more tests.
4055         (rint_test_tonearest): Likewise.
4056         (rint_test_towardzero): Likewise.
4057         (rint_test_downward): Likewise.
4058         (rint_test_upward: Likewise.
4059
4060 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4061
4062         [BZ #10110]
4063         * include/stdc-predef.h: New file.  Extracted from features.h.
4064         * include/features.h: Include stdc-predef.h.
4065         * Makefile (headers): Add stdc-predef.h.
4066         * CONFORMANCE (Compiler limitations): Update.
4067
4068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4069
4070         * manual/libc.texinfo (VERSION, UPDATED): Revert.
4071
4072 2012-02-21  David S. Miller  <davem@davemloft.net>
4073
4074         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4075         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4076
4077 2012-02-20  David S. Miller  <davem@davemloft.net>
4078
4079         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4080         using a normal save/restore sequence, rather than allocating a
4081         dummy stack frame just to store a frame pointer and restore.
4082         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4083
4084 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4085
4086         * manual/install.texi: Fix stray word in line-wrapped comment.
4087
4088 2012-02-20  David S. Miller  <davem@davemloft.net>
4089
4090         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4091         both binutils and gcc support GOTDATA.
4092
4093         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4094         "rd %pc" in the PIC register setup sequences.
4095
4096         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4097         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4098         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4099         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4100         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4103         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4105         (SYSCALL_ERROR_HANDLER): Likewise.
4106         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4107         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4109         (SYSCALL_ERROR_HANDLER): Likewise.
4110
4111         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4112         (HAVE_GCC_GOTDATA): New.
4113         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4114         relocation support in both binutils and gcc.
4115         * sysdeps/sparc/elf/configure: Regenerate.
4116
4117         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4118         * sysdeps/sparc/sparc32/elf/configure: Delete.
4119         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4120         * sysdeps/sparc/sparc64/elf/configure: Delete.
4121         * sysdeps/sparc/elf/configure.in: New file.
4122         * sysdeps/sparc/elf/configure: Generate.
4123
4124         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4125         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4126         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4127         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4128         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4129
4130 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4131
4132         * manual/install.texi: Do not mention specific glibc version
4133         numbers.
4134         * manual/libc.texinfo (VERSION, UPDATED): Update.
4135         (@copying): Use @copyright{} and range of years.
4136
4137 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4138
4139         [BZ #13695]
4140         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4141         [crti.S not in sysdirs] (generated): Do not append.
4142         [crti.S not in sysdirs] (omit-deps): Likewise.
4143         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4144         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4145         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4146         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4147         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4148         Likewise.
4149         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4150         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4151         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4152         * csu/defs.awk: Remove file.
4153         * sysdeps/generic/initfini.c: Likewise.
4154         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4155         variable.
4156         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4157         Likewise.
4158
4159 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4160
4161         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4162         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4163         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4164         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4165         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4166         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4167         <bits/epoll.h>.
4168         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4169         (__EPOLL_PACKED): Define to empty if not defined by
4170         <bits/epoll.h>.
4171         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4173         bits/epoll.h.
4174
4175 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4176
4177         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4178         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4180         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4181         <bits/timerfd.h>.
4182         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4184         bits/timerfd.h.
4185
4186 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4187
4188         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4189         in C locale.
4190         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4191         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4192         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194
4195 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4196
4197         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4198         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4199
4200 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4201
4202         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4203         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4204         defined.
4205         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4206         Likewise.
4207         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4208         entry for 2.16.
4209
4210 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4211
4212         * math/w_acos.c: Use non-signaling floating-point comparisons.
4213         * math/w_acosf.c: Likewise.
4214         * math/w_acosh.c: Likewise.
4215         * math/w_acoshf.c: Likewise.
4216         * math/w_acoshl.c: Likewise.
4217         * math/w_acosl.c: Likewise.
4218         * math/w_asin.c: Likewise.
4219         * math/w_asinf.c: Likewise.
4220         * math/w_asinl.c: Likewise.
4221         * math/w_atanh.c: Likewise.
4222         * math/w_atanhf.c: Likewise.
4223         * math/w_atanhl.c: Likewise.
4224         * math/w_exp2.c: Likewise.
4225         * math/w_exp2f.c: Likewise.
4226         * math/w_exp2l.c: Likewise.
4227         * math/w_j0.c: Likewise.
4228         * math/w_j0f.c: Likewise.
4229         * math/w_j0l.c: Likewise.
4230         * math/w_j1.c: Likewise.
4231         * math/w_j1f.c: Likewise.
4232         * math/w_j1l.c: Likewise.
4233         * math/w_jn.c: Likewise.
4234         * math/w_jnf.c: Likewise.
4235         * math/w_log.c: Likewise.
4236         * math/w_log10.c: Likewise.
4237         * math/w_log10f.c: Likewise.
4238         * math/w_log10l.c: Likewise.
4239         * math/w_log2.c: Likewise.
4240         * math/w_log2f.c: Likewise.
4241         * math/w_log2l.c: Likewise.
4242         * math/w_logf.c: Likewise.
4243         * math/w_logl.c: Likewise.
4244         * math/w_sqrt.c: Likewise.
4245         * math/w_sqrtf.c: Likewise.
4246         * math/w_sqrtl.c: Likewise.
4247         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4248         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4249         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4250         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4251         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4252
4253 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4254
4255         [BZ #9739]
4256         * manual/string.texi (strnlen): Use correct parameter name in
4257         equivalent expression.
4258
4259 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4260
4261         [BZ #11174]
4262         * manual/users.texi (seteuid): Consistently use neweuid for
4263         argument name.
4264
4265 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4266
4267         [BZ #13704]
4268         * manual/nss.texi (Services in the NSS configuration): Correct
4269         list of services in example configuration file.
4270
4271 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4272
4273         [BZ #11322]
4274         * manual/arith.texi: Remove statements about negative zero
4275         behaving identically to zero.
4276
4277 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4278
4279         [BZ #5993]
4280         * manual/install.texi: Do not document upgrading from libc5.
4281
4282 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4283
4284         [BZ #4596]
4285         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4286
4287 2012-02-18  David S. Miller  <davem@davemloft.net>
4288
4289         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4290         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4291         %o7 across the call.
4292         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4293         instead.
4294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4295         SETUP_PIC_REG_LEAF.
4296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4297         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4298         * sysdeps/sparc/crtn.S: Likewise.
4299
4300 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4301
4302         * aout/Makefile: Remove.
4303
4304 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4305
4306         [BZ #13058]
4307         * manual/examples/argp-ex1.c (main): Format definition in GNU
4308         style.
4309         * manual/examples/argp-ex2.c (main): Likewise.
4310         * manual/examples/argp-ex3.c (main): Likewise.
4311         * manual/examples/argp-ex4.c (main): Likewise.
4312         * manual/examples/longopt.c (main): Use new-style prototype
4313         definition.
4314         * manual/examples/strncat.c (main): Specify return type and use
4315         (void) for arguments.
4316         * manual/examples/subopt.c (main): Use char **argv argument.
4317
4318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4319
4320         [BZ #5077]
4321         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4322         rounding modes.
4323
4324 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4325
4326         [BZ #6907]
4327         * manual/string.texi (strchr): Change when strchrnul is
4328         recommended.
4329
4330 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4331
4332         [BZ #174]
4333         * manual/locale.texi (setlocale): Document LOCPATH.
4334
4335 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4336
4337         [BZ #10210]
4338         * manual/process.texi (execle): Move @dots{} before last argument.
4339
4340 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4341
4342         [BZ #12047]
4343         * manual/charset.texi (Generic Charset Conversion): Fix typo
4344         (LC_TYPE -> LC_CTYPE).
4345
4346 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4347
4348         [BZ #5805]
4349         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4350         (scalbnf): Likewise.
4351         (scalbnl): Likewise.
4352         (scalbln): Likewise.
4353         (scalblnf): Likewise.
4354         (scalblnl): Likewise.
4355         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4356         (vwarnx): Likewise.
4357         (verr): Likewise.
4358         (verrx): Likewise.
4359         * manual/filesys.texi (telldir): Use braces around return type.
4360         * manual/llio.texi (mmap): Add space after comma.
4361         (mmap64): Likewise.
4362         * manual/math.texi (jn): Use @var{} on parameter names.
4363         (jnf): Likewise.
4364         (jnl): Likewise.
4365         (yn): Likewise.
4366         (ynf): Likewise.
4367         (ynl): Likewise.
4368         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4369         line.
4370         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4371         "...".
4372         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4373         (sched_get_priority_max): Likewise.
4374         * manual/signal.texi (sigvec): Add space after comma.
4375         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4376         names.
4377         (if_indextoname): Likewise.
4378         (if_freenameindex): Likewise.
4379         (sendto): Use ',' instead of '.' in prototype.
4380         * manual/startup.texi (syscall): Use @dots{} instead of literal
4381         "...".
4382         * manual/stdio.texi (__fpending): Separate initial words of
4383         paragraph from @deftypefun line.
4384         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4385         "...".
4386         (vsyslog): Use @var{} on parameter names.
4387         * manual/terminal.texi (stty): Use @var{} on parameter names.
4388         * manual/users.texi (getutmp): Use @var{} on parameter names.
4389         (getutmpx): Likewise.
4390
4391 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4392
4393         [BZ #6884]
4394         * manual/stdio.texi (fopen): Fix typos in description of
4395         ",ccs=STRING".
4396
4397 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4398
4399         [BZ #4026]
4400         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4401         get clock_id definition.
4402
4403 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4404
4405         [BZ #4822]
4406         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4407         (madvise): Cast every argument to void on its own.
4408
4409 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4410
4411         [BZ #9902]
4412         * manual/startup.texi (Exit Status): Fix typo.
4413
4414 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4415
4416         [BZ #10140]
4417         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4418         * manual/examples/argp-ex2.c: Likewise.
4419         * manual/examples/argp-ex3.c: Likewise.
4420
4421 2012-02-16  Richard Henderson  <rth@redhat.com>
4422
4423         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4424         * sysdeps/s390/s390-32/initfini.c: Remove.
4425         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4426         * sysdeps/s390/s390-64/initfini.c: Remove.
4427
4428 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4429
4430         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4431         compiler output for sysdeps/generic/initfini.c.
4432         * sysdeps/sh/elf/initfini.c: Remove file.
4433
4434 2012-02-16  David S. Miller  <davem@davemloft.net>
4435
4436         [BZ #11494]
4437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4438
4439         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4440         * sysdeps/sparc/crti.S: New file.
4441         * sysdeps/sparc/crtn.S: New file.
4442         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4443         * sysdeps/sparc/sparc64/Makefile: Likewise.
4444
4445 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4446
4447         [BZ #3335]
4448         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4449
4450 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4451
4452         [BZ #4822]
4453         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4454
4455         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4456         (write, read, close): Likewise.
4457         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4458
4459 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4460
4461         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4462         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4463         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4464         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4465         <bits/signalfd.h>.
4466         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4468         bits/signalfd.h.
4469
4470 2012-02-14  Marek Polacek  <polacek@redhat.com>
4471
4472         * sysdeps/x86_64/crti.S: New file.
4473         * sysdeps/x86_64/crtn.S: New file.
4474         * sysdeps/x86_64/elf/initfini.c: Remove file.
4475
4476 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4477
4478         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4479         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4480         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4481         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4482         <bits/inotify.h>.
4483         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4485         bits/inotify.h.
4486
4487 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4488
4489         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4490         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4491         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4492         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4493         <bits/eventfd.h>.
4494         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4495         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4496         bits/eventfd.h.
4497
4498 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4499
4500         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4501         __feraiseexcept instead of feraiseexcept.
4502
4503         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4504         nanosleep invocations.
4505         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4506         strings, and add error checking for a nanosleep invocations.
4507
4508 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4509
4510         Replace FSF snail mail address with URLs, as per GNU coding standards.
4511         Most of the snail mail addresses were wrong anyway, and omitting
4512         them makes the source code easier to maintain.  Almost all of the
4513         changes are to license notices and to locale LC_IDENTIFICATION
4514         addresses, except for this one:
4515         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4516         not its snail mail address.
4517
4518 2012-02-09  Richard Henderson  <rth@twiddle.net>
4519
4520         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4521         of kernel-features.h.
4522
4523         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4524
4525 2012-02-08  Marek Polacek  <polacek@redhat.com>
4526
4527         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4528         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4529         * sysdeps/gnu/_G_config.h: Likewise.
4530         * sysdeps/generic/_G_config.h: Likewise.
4531
4532 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4533
4534         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4535         tests.
4536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537
4538         * sysdeps/powerpc/powerpc32/crti.S: New file.
4539         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4540         * sysdeps/powerpc/powerpc64/crti.S: New file.
4541         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4542
4543         * Makeconfig (have-initfini): Don't set.
4544         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4545         * configure.in (nopic_initfini): Don't substitute.
4546         * config.h.in (HAVE_INITFINI): Don't #undef.
4547         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4548         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4549
4550 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4551
4552         Support crti.S and crtn.S provided directly by architectures.
4553         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4554         [crti.S in sysdirs] (omit-deps): Likewise.
4555         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4556         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4557         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4558         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4559         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4560         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4561         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4562         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4563         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4564         compiler output for sysdeps/generic/initfini.c.
4565         * sysdeps/i386/elf/Makefile: Remove file.
4566         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4567
4568 2012-02-07  Marek Polacek  <polacek@redhat.com>
4569
4570         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4571         * sysdeps/gnu/_G_config.h: Likewise.
4572         * sysdeps/mach/hurd/_G_config.h: Likewise.
4573
4574 2012-02-07  Marek Polacek  <polacek@redhat.com>
4575
4576         * math/Makefile (tests): Add tst-CMPLX2.
4577         * math/tst-CMPLX2.c: New file.
4578
4579 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4580
4581         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4582
4583         * math/libm-test.inc (jn_test): Add missing L suffix.
4584
4585 2012-02-06  Marek Polacek  <polacek@redhat.com>
4586
4587         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4588         * sysdeps/i386/fpu/e_powf.S: Likewise.
4589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4590         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4591         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4592         * sysdeps/i386/fpu/e_pow.S: Likewise.
4593         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4594         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4595         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4596         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4597         * sysdeps/i386/fpu/e_log2.S: Likewise.
4598         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4599         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4600         * sysdeps/i386/fpu/e_powl.S: Likewise.
4601         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4602         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4603         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4604         * sysdeps/i386/fpu/e_logl.S: Likewise.
4605         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4606         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4607         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4608         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4609         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4610         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4611         * sysdeps/i386/fpu/e_log.S: Likewise.
4612         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4613         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4614         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4615         * sysdeps/i386/fpu/e_logf.S: Likewise.
4616         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4617         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4618         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4619         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4620         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4621         * sysdeps/i386/fpu/e_log10.S: Likewise.
4622         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4623         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4624         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4625         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4626         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4627         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4628         * sysdeps/i386/asm-syntax.h: Likewise.
4629         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4630         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4631         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4632         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4633         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4634         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4635         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4636         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4637         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4638         * sysdeps/powerpc/sysdep.h: Likewise.
4639         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4640         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4641
4642 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4643
4644         [BZ #411]
4645         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4646
4647 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4648
4649         * sysdeps/i386/sysdep.h: Include <features.h>.
4650         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4651         version.
4652
4653 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4654
4655         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4656         Define.
4657         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4658         LOAD_PIC_REG_STR.
4659
4660 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4661
4662         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4663         (SETUP_PIC_REG): Use GET_PC_THUNK.
4664         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4665         macro.
4666
4667 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4668
4669         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4670         for non-PIC compilation.
4671         (SETUP_PIC_REG): Add .p2align directive.
4672         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4673         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4674         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4675         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4676         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4677         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4678         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4679         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4680         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4681         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4682         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4683         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4684         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4685         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4686         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4687         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4688         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4689         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4690         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4691         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4692         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4693         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4694         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4695         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4696         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4698         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4699         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4700         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4701         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4702         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4703         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4704         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4705         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4706         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4707         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4708         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4709         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4710         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4711         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4712         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4713
4714 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4715
4716         * math/tst-CMPLX.c: Include <stdio.h>.
4717
4718 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4719
4720         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4721         float.
4722         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4723         * sysdeps/sparc/bits/mathdef.h: Likewise.
4724
4725 2012-01-31  Marek Polacek  <polacek@redhat.com>
4726
4727         * libio/libio.h: Don't define _PARAMS.
4728         * locale/programs/config.h: Don't define PARAMS.
4729         * stdlib/strtol_l.c: Likewise.
4730         (__strtol_l): Remove PARAMS from the prototype.
4731
4732 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4733
4734         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4735         names.  Just use the correct names.  Remove unnecessary wrapper
4736         functions.
4737         * malloc/arena.c: Likewise.
4738         * malloc/hooks.c: Likewise.
4739
4740         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4741         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4742         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4743
4744 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4745
4746         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4747         into tail calls.
4748         (update_get_addr): New function.
4749         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4750         GET_ADDR_MODULE parameter.
4751
4752 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4753
4754         * crypt/cert.c: Remove __STDC__ conditionals.
4755         * crypt/crypt-entry.c: Likewise.
4756         * crypt/crypt_util.c: Likewise.
4757         * libio/filedoalloc.c: Likewise.
4758         * libio/fileops.c: Likewise.
4759         * libio/genops.c: Likewise.
4760         * libio/iofclose.c: Likewise.
4761         * libio/iofdopen.c: Likewise.
4762         * libio/iofopen.c: Likewise.
4763         * libio/iofopen64.c: Likewise.
4764         * libio/iogetdelim.c: Likewise.
4765         * libio/iopopen.c: Likewise.
4766         * libio/obprintf.c: Likewise.
4767         * libio/oldfileops.c: Likewise.
4768         * libio/oldiofclose.c: Likewise.
4769         * libio/oldiofdopen.c: Likewise.
4770         * libio/oldiofopen.c: Likewise.
4771         * libio/oldiopopen.c: Likewise.
4772         * libio/wfiledoalloc.c: Likewise.
4773         * libio/wgenops.c: Likewise.
4774         * locale/programs/xmalloc.c: Likewise.
4775         * misc/syslog.c: Likewise.
4776         * stdio-common/xbug.c: Likewise.
4777         * string/memchr.c: Likewise.
4778         * string/memcmp.c: Likewise.
4779         * string/memrchr.c: Likewise.
4780         * string/rawmemchr.c: Likewise.
4781         * sysdeps/posix/getcwd.c: Likewise.
4782         * time/strftime_l.c: Likewise.
4783
4784 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4785
4786         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4787         * config.make.in (config-cflags-sse2avx): Define.
4788         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4789         Fix typo.
4790
4791 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4792
4793         * scripts/config.guess: Update from upstream config git repository.
4794         * scripts/config.sub: Likewise.
4795
4796 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4797
4798         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4799         (EM_NUM): Update.
4800         (R_TILEPRO_*, R_TILEGX_*): New macros.
4801
4802         * scripts/firstversions.awk: Fix bug in version range handling.
4803
4804         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4805
4806         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4807
4808         * include/sys/epoll.h: New file.
4809         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4810         libc_hidden_def.
4811
4812 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4813
4814         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4815         Avoid unnecessary __WORDSIZE == 64 test.
4816         (fmaxf): Use VEX format if possible.
4817         (fmax): Likewise.
4818         (fminf): Likewise.
4819         (fmin): Likewise.
4820
4821         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4822         * math/math_private.h: Remove libc_fegetround* and
4823         libc_fesetround*.
4824         * sysdeps/i386/configure.in: Check for -msse2avx.
4825         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4826         also if SSE2AVX is defined.
4827         Remove libc_fegetround* and libc_fesetround*.
4828         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4829         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4830         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4831         of HAS_YMM_USABLE.
4832         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4833         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4834         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4835         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4836         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4837
4838         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4839
4840 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4841
4842         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4843         size is not set.
4844         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4845
4846 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4847
4848         [BZ #13618]
4849         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4850         relocation.
4851         * Makeconfig (libm): Define.
4852         * elf/Makefile: Add rules to build and run tst-relsort1.
4853         * elf/tst-relsort1.c: New file.
4854         * elf/tst-relsort1mod1.c: New file.
4855         * elf/tst-relsort1mod2.c: New file.
4856
4857 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4858
4859         * math/s_ldexp.c: Remove __STDC__ conditionals.
4860         * math/s_ldexpf.c: Likewise.
4861         * math/s_ldexpl.c: Likewise.
4862         * math/s_nextafter.c: Likewise.
4863         * math/s_nexttowardf.c: Likewise.
4864         * math/s_significand.c: Likewise.
4865         * math/s_significandf.c: Likewise.
4866         * math/s_significandl.c: Likewise.
4867         * math/w_jnl.c: Likewise.
4868         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4869         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4870         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4871         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4872         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4874         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4875         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4876         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4877         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4878         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4879         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4880         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4881         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4882         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4883         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4884         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4885         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4887         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4888         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4889         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4890         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4892         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4893         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4894         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4895         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4896         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4897         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4898         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4899         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4900         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4901         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4902         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4903         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4904         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4905         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4906         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4907         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4908         * sysdeps/ieee754/k_standard.c: Likewise.
4909         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4910         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4911         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4912         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4913         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4914         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4915         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4917         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4918         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4919         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4920         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4921         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4922         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4923         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4924         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4925         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4926         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4928         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4929         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4930         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4931         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4932         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4933         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4934         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4938         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4939         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4940         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4941         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4942         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4945         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4946         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4947         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4948         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4949         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4951         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4955         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4956         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4957         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4958         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4959         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4960         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4961         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4967         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4968         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4969         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4970         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4971         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4972         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4973         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4974         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4975         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4976         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4977         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4978         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4979         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4980         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4981         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4982         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4983         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4984         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4985         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4986         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4987         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4988         * sysdeps/ieee754/s_matherr.c: Likewise.
4989         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4990         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4993
4994 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4995
4996         * crypt/md5.h: Remove __STDC__ conditionals.
4997         * libio/libioP.h: Likewise.
4998         * locale/programs/config.h: Likewise.
4999         * sysdeps/generic/sysdep.h: Likewise.
5000         * sysdeps/i386/asm-syntax.h: Likewise.
5001         * sysdeps/s390/asm-syntax.h: Likewise.
5002         * sysdeps/unix/sysdep.h: Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5005
5006 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5007
5008         * libio/libio.h: Remove __STDC__ conditionals.
5009         * malloc/obstack.h: Likewise.
5010         * math/complex.h: Likewise.
5011         * math/math.h: Likewise.
5012         * sysdeps/generic/_G_config.h: Likewise.
5013         * sysdeps/gnu/_G_config.h: Likewise.
5014         * sysdeps/mach/hurd/_G_config.h: Likewise.
5015         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5016         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5017         * sysdeps/sparc/bits/mathdef.h: Likewise.
5018
5019 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
5020
5021         [BZ #13583]
5022         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5023         Clean up HAS_* macros.
5024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5025         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5026         possible.
5027         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5028         HAS_AVX.
5029         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5030         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5031         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5032         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5033         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5034
5035 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
5036
5037         * elf/tst-unique3.cc (gets): Remove declaration.
5038         * elf/tst-unique3lib.cc (gets): Likewise.
5039         * elf/tst-unique3lib2.cc (gets): Likewise.
5040         * elf/tst-unique4.cc (gets): Likewise.
5041
5042 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
5043
5044         * include/stdio.h: Add C++ protection.  Add gets declarations and
5045         definitions.
5046         * debug/tst-chk1.c: Don't declare gets here.
5047         * stdio-common/tst-gets.c: Likewise.
5048
5049 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5050
5051         * posix/glob: Remove directory.
5052
5053 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5054
5055         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5056
5057 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
5058
5059         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5060         of the non-standard EPFNOSUPPORT.
5061
5062 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5063
5064         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5065         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5066         ANYWHERE set to 1 only on KERN_NO_SPACE error.
5067
5068 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
5069
5070         * wcsmbs/uchar.h: Test __STDC_VERSION__.
5071
5072 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
5073
5074         * nscd/aicache.c (addhstaiX): Do not cache negative results of
5075         transient errors.
5076         * nscd/grpcache.c (cache_addgr): Likewise.
5077         * nscd/hstcache.c (cache_addhst): Likewise.
5078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5079         * nscd/pwdcache.c (cache_addpw): Likewise.
5080         * nscd/servicescache.c (cache_addserv): Likewise.
5081
5082 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
5083
5084         * malloc/malloc.c: Various cleanups.
5085         * malloc/hooks.c: Likewise.
5086
5087         * stdlib/Makefile (tests): Add bug-fmtmsg1.
5088         * stdlib/bug-fmtmsg1.c: New file.
5089
5090         * stdlib/fmtmsg.c (init): Add missing unlock.
5091         Patch by Peng Haitao <penght@cn.fujitsu.com>.
5092
5093 2012-01-12  Marek Polacek  <polacek@redhat.com>
5094
5095         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5096         and _GNU_SOURCE.
5097
5098 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5099
5100         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5101         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5102         macro to ensure uniqueness of label name.
5103         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5104         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5105
5106 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
5107
5108         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5109
5110         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5111         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5114
5115 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5116
5117         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5118
5119         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5120         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5121         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5122
5123         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5124
5125         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5126         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5127         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5129
5130         * math/bits/math-finite.h: Add ldexp support.
5131
5132 2012-01-10  Marek Polacek  <polacek@redhat.com>
5133
5134         * locale/programs/localedef.h (show_archive_content): Add noreturn
5135         attribute.
5136
5137 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5138
5139         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5140
5141 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5142
5143         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5144
5145         * io/Makefile (headers): Add bits/poll2.h.
5146
5147 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5148
5149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5150         typo #include statement.
5151
5152 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5153
5154         * include/sys/cdefs.h: Define __attribute_alloc_size.
5155         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5156         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5157         * elf/pldd.c: Likewise.
5158         * iconv/iconv_charmap.c: Likewise.
5159         * iconv/iconvconfig.c: Likewise.
5160         * iconv/strtab.c: Likewise.
5161         * locale/programs/locale.c: Likewise.
5162         * locale/programs/localedef.h: Likewise.
5163         * locale/programs/simple-hash.c: Likewise.
5164         * nscd/nscd.h: Likewise.
5165         * nss/makedb.c: Likewise.
5166         * sysdeps/generic/ldconfig.h: Likewise.
5167         * locale/programs/localedef.c: Remove xmalloc prototype.
5168         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5169
5170 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5171
5172         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5173         appropriate.
5174
5175 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5176
5177         * math/Makefile (tests): Add tst-CMPLX.
5178         * math/tst-CMPLX.c: New file.
5179
5180         * math/complex.h (CMPLXL): Fix typo.
5181
5182         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5183         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5184         GLIBC_2.16.
5185         * debug/tst-chk1.c: Add poll and ppoll tests.
5186         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5187         * include/sys/poll.h: Add hidden proto for ppoll.
5188         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5189         * sysdeps/mach/hurd/ppoll.c: Likewise.
5190         * io/ppoll.c: Likewise.
5191         * debug/poll_chk.c: New file.
5192         * debug/ppoll_chk.c: New file.
5193         * include/bits/poll2.h: New file.
5194         * io/bits/poll2.h: New file.
5195
5196         [BZ #1350]
5197         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5198
5199         * configure.in: static is always set to yes.  Remove.
5200         * config.make.in: Don't set build-static.
5201         * Makeconfig: Remove use of build-static.
5202         * dlfcn/Makefile: Likewise.
5203         * elf/Makefile: Likewise.
5204         * math/Makefile: Likewise.
5205         * misc/Makefile: Likewise.
5206         * nptl/Makefile: Likewise.
5207         * sysdeps/mach/hurd/Makefile: Likewise.
5208
5209         * configure.in: PWD_P is not used anymore.
5210         * config.make.in: Remove PWD_P entry.
5211
5212         * configure.in: Remove last remnants of RANLIB.
5213         No need to check for signed size_t anymore.
5214         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5215         and IA-64.
5216         Remove __builtin_expect test because we require at least gcc 3.4.
5217         * aclocal.m4: Likewise.
5218
5219         * wcsmbs/mbrtoc16.c: Implement using towc function.
5220         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5221         * wcsmbs/wcsmbsload.c: Likewise.
5222         * iconv/gconv_simple.c: Likewise.
5223         * iconv/gconv_int.h: Likewise.
5224         * iconv/gconv_builtin.h: Likewise.
5225         * iconv/iconv_prog.c: Remove CHAR16 handling.
5226
5227         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5228
5229         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5230
5231         * configure.in: Remove --with-elf and --enable-bounded options.
5232         Dont set base_machine for ia64.  More non-ELF conditions removed.
5233         Remove testing and setting of leading underscore information.
5234         * config.make.in (build-bounded): Set to no.
5235         * config.h.in: Remove NO_UNDERSCORES entry.
5236         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5237         them.
5238         * csu/start.c: Remove !NO_UNDERSCORE code.
5239         * locale/localeinfo.h: Likewise.
5240         * sysdeps/generic/machine-gmon.h: Likewise.
5241         * sysdeps/generic/sysdep.h: Likewise.
5242         * sysdeps/i386/sysdep.h: Likewise.
5243         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5244         * sysdeps/mach/sysdep.h: Likewise.
5245         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5246         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5247         * sysdeps/sh/sysdep.h: Likewise.
5248         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5249         * sysdeps/unix/i386/sysdep.S: Likewise.
5250         * sysdeps/unix/sparc/start.c: Likewise.
5251         * sysdeps/unix/sparc/sysdep.S: Likewise.
5252         * sysdeps/unix/sparc/sysdep.h: Likewise.
5253         * sysdeps/unix/start.c: Likewise.
5254         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5255         * sysdeps/x86_64/sysdep.h: Likewise.
5256
5257 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5258
5259         [BZ #13553]
5260         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5261         for non-gcc.
5262         * argp/argp-fmtstream.h: Use const instead __const.
5263         * argp/argp.h: Likewise.
5264         * assert/assert.h: Likewise.
5265         * bits/fenv.h: Likewise.
5266         * bits/sched.h: Likewise.
5267         * bits/sigset.h: Likewise.
5268         * bits/sigthread.h: Likewise.
5269         * catgets/nl_types.h: Likewise.
5270         * conform/data/pthread.h-data: Likewise.
5271         * crypt/crypt-private.h: Likewise.
5272         * crypt/crypt.h: Likewise.
5273         * crypt/crypt_util.c: Likewise.
5274         * ctype/ctype.h: Likewise.
5275         * debug/execinfo.h: Likewise.
5276         * debug/mbsnrtowcs_chk.c: Likewise.
5277         * debug/mbsrtowcs_chk.c: Likewise.
5278         * debug/wcsnrtombs_chk.c: Likewise.
5279         * debug/wcsrtombs_chk.c: Likewise.
5280         * debug/wcstombs_chk.c: Likewise.
5281         * dirent/dirent.h: Likewise.
5282         * dlfcn/dlfcn.h: Likewise.
5283         * elf/neededtest4.c: Likewise.
5284         * grp/grp.h: Likewise.
5285         * gshadow/gshadow.h: Likewise.
5286         * iconv/gconv.h: Likewise.
5287         * iconv/gconv_int.h: Likewise.
5288         * iconv/gconv_simple.c: Likewise.
5289         * iconv/iconv.h: Likewise.
5290         * iconv/loop.c: Likewise.
5291         * iconv/skeleton.c: Likewise.
5292         * include/aio.h: Likewise.
5293         * include/aliases.h: Likewise.
5294         * include/argz.h: Likewise.
5295         * include/arpa/inet.h: Likewise.
5296         * include/assert.h: Likewise.
5297         * include/dirent.h: Likewise.
5298         * include/dlfcn.h: Likewise.
5299         * include/execinfo.h: Likewise.
5300         * include/fcntl.h: Likewise.
5301         * include/fenv.h: Likewise.
5302         * include/glob.h: Likewise.
5303         * include/grp.h: Likewise.
5304         * include/libintl.h: Likewise.
5305         * include/mntent.h: Likewise.
5306         * include/netdb.h: Likewise.
5307         * include/pwd.h: Likewise.
5308         * include/rpc/netdb.h: Likewise.
5309         * include/sched.h: Likewise.
5310         * include/search.h: Likewise.
5311         * include/shadow.h: Likewise.
5312         * include/signal.h: Likewise.
5313         * include/stdio.h: Likewise.
5314         * include/stdlib.h: Likewise.
5315         * include/string.h: Likewise.
5316         * include/sys/socket.h: Likewise.
5317         * include/sys/stat.h: Likewise.
5318         * include/sys/statfs.h: Likewise.
5319         * include/sys/statvfs.h: Likewise.
5320         * include/sys/syslog.h: Likewise.
5321         * include/sys/time.h: Likewise.
5322         * include/sys/uio.h: Likewise.
5323         * include/time.h: Likewise.
5324         * include/unistd.h: Likewise.
5325         * include/utmp.h: Likewise.
5326         * include/wchar.h: Likewise.
5327         * include/wctype.h: Likewise.
5328         * inet/aliases.h: Likewise.
5329         * inet/arpa/inet.h: Likewise.
5330         * inet/netinet/ether.h: Likewise.
5331         * inet/netinet/in.h: Likewise.
5332         * intl/libintl.h: Likewise.
5333         * io/bits/fcntl2.h: Likewise.
5334         * io/fcntl.h: Likewise.
5335         * io/ftw.h: Likewise.
5336         * io/sys/poll.h: Likewise.
5337         * io/sys/stat.h: Likewise.
5338         * io/sys/statfs.h: Likewise.
5339         * io/sys/statvfs.h: Likewise.
5340         * io/utime.h: Likewise.
5341         * libio/bits/stdio.h: Likewise.
5342         * libio/bits/stdio2.h: Likewise.
5343         * libio/libio.h: Likewise.
5344         * libio/libioP.h: Likewise.
5345         * libio/stdio.h: Likewise.
5346         * locale/lc-ctype.c: Likewise.
5347         * locale/locale.h: Likewise.
5348         * login/utmp.h: Likewise.
5349         * malloc/arena.c: Likewise.
5350         * malloc/malloc.c: Likewise.
5351         * malloc/malloc.h: Likewise.
5352         * malloc/mcheck.c: Likewise.
5353         * malloc/mtrace.c: Likewise.
5354         * math/bits/mathcalls.h: Likewise.
5355         * math/fenv.h: Likewise.
5356         * math/math_private.h: Likewise.
5357         * misc/bits/error.h: Likewise.
5358         * misc/bits/syslog.h: Likewise.
5359         * misc/err.h: Likewise.
5360         * misc/error.h: Likewise.
5361         * misc/fstab.h: Likewise.
5362         * misc/mntent.h: Likewise.
5363         * misc/regexp.h: Likewise.
5364         * misc/search.h: Likewise.
5365         * misc/sgtty.h: Likewise.
5366         * misc/sys/mman.h: Likewise.
5367         * misc/sys/syslog.h: Likewise.
5368         * misc/sys/uio.h: Likewise.
5369         * misc/sys/xattr.h: Likewise.
5370         * misc/ttyent.h: Likewise.
5371         * nis/rpcsvc/ypclnt.h: Likewise.
5372         * nss/nss.h: Likewise.
5373         * posix/bits/unistd.h: Likewise.
5374         * posix/fnmatch.h: Likewise.
5375         * posix/glob.h: Likewise.
5376         * posix/sched.h: Likewise.
5377         * posix/spawn.h: Likewise.
5378         * posix/sys/wait.h: Likewise.
5379         * posix/unistd.h: Likewise.
5380         * posix/wordexp.h: Likewise.
5381         * pwd/pwd.h: Likewise.
5382         * resolv/netdb.h: Likewise.
5383         * resource/sys/resource.h: Likewise.
5384         * rt/aio.h: Likewise.
5385         * rt/bits/mqueue2.h: Likewise.
5386         * rt/mqueue.h: Likewise.
5387         * shadow/shadow.h: Likewise.
5388         * signal/signal.h: Likewise.
5389         * socket/send.c: Likewise.
5390         * socket/sendto.c: Likewise.
5391         * socket/sys/socket.h: Likewise.
5392         * stdio-common/printf.h: Likewise.
5393         * stdlib/bits/stdlib.h: Likewise.
5394         * stdlib/fmtmsg.h: Likewise.
5395         * stdlib/monetary.h: Likewise.
5396         * stdlib/stdlib.h: Likewise.
5397         * stdlib/ucontext.h: Likewise.
5398         * streams/stropts.h: Likewise.
5399         * string/argz.h: Likewise.
5400         * string/bits/string2.h: Likewise.
5401         * string/string.h: Likewise.
5402         * string/strings.h: Likewise.
5403         * sunrpc/rpc/auth.h: Likewise.
5404         * sunrpc/rpc/auth_des.h: Likewise.
5405         * sunrpc/rpc/clnt.h: Likewise.
5406         * sunrpc/rpc/netdb.h: Likewise.
5407         * sunrpc/rpc/pmap_clnt.h: Likewise.
5408         * sunrpc/rpc/xdr.h: Likewise.
5409         * sysdeps/generic/inttypes.h: Likewise.
5410         * sysdeps/generic/net/if.h: Likewise.
5411         * sysdeps/generic/sys/swap.h: Likewise.
5412         * sysdeps/gnu/net/if.h: Likewise.
5413         * sysdeps/gnu/utmpx.h: Likewise.
5414         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5415         * sysdeps/i386/i486/bits/string.h: Likewise.
5416         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5417         * sysdeps/s390/bits/string.h: Likewise.
5418         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5419         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5420         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5421         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5422         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5423         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5424         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5425         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5426         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5427         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5428         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5429         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5430         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5431         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5432         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5433         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5434         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5436         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5437         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5438         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5439         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5440         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5441         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5442         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5443         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5444         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5445         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5446         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5447         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5448         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5449         * sysvipc/sys/ipc.h: Likewise.
5450         * sysvipc/sys/msg.h: Likewise.
5451         * sysvipc/sys/sem.h: Likewise.
5452         * sysvipc/sys/shm.h: Likewise.
5453         * termios/termios.h: Likewise.
5454         * time/sys/time.h: Likewise.
5455         * time/time.h: Likewise.
5456         * wcsmbs/bits/wchar2.h: Likewise.
5457         * wcsmbs/uchar.h: Likewise.
5458         * wcsmbs/wchar.h: Likewise.
5459         * wctype/wctype.h: Likewise.
5460
5461         [BZ #13551]
5462         * Makeconfig: Remove all but ELF support including AIX support.
5463         * Makerules: Likewise.
5464         * config.h.in: Likewise.
5465         * config.make.in: Likewise.
5466         * configure: Likewise.
5467         * configure.in: Likewise.
5468         * csu/Makefile: Likewise.
5469         * csu/version.c: Likewise.
5470         * debug/Makefile: Likewise.
5471         * dlfcn/Makefile: Likewise.
5472         * elf/Makefile: Likewise.
5473         * extra-lib.mk: Likewise.
5474         * iconv/Makefile: Likewise.
5475         * include/libc-symbols.h: Likewise.
5476         * include/shlib-compat.h: Likewise.
5477         * resolv/Makefile: Likewise.
5478         * resolv/res_libc.c: Likewise.
5479         * rt/Makefile: Likewise.
5480         * sysdeps/i386/asm-syntax.h: Likewise.
5481         * sysdeps/i386/sysdep.h: Likewise.
5482         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5483         * sysdeps/mach/sysdep.h: Likewise.
5484         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5485         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5486         * sysdeps/s390/asm-syntax.h: Likewise.
5487         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5488         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5489         * sysdeps/sh/sysdep.h: Likewise.
5490         * sysdeps/unix/sparc/sysdep.h: Likewise.
5491         * sysdeps/wordsize-32/divdi3.c: Likewise.
5492         * sysdeps/x86_64/sysdep.h: Likewise.
5493
5494         * argp/Versions: Remove _argp_unlock_xxx.
5495
5496         [BZ #13559]
5497         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5498         * abilist/libBrokenLocale.abilist: Likewise.
5499         * abilist/libanl.abilist: Likewise.
5500         * abilist/libc.abilist: Likewise.
5501         * abilist/libcrypt.abilist: Likewise.
5502         * abilist/libdl.abilist: Likewise.
5503         * abilist/libm.abilist: Likewise.
5504         * abilist/libnsl.abilist: Likewise.
5505         * abilist/libpthread.abilist: Likewise.
5506         * abilist/libresolv.abilist: Likewise.
5507         * abilist/librt.abilist: Likewise.
5508         * abilist/libthread_db.abilist: Likewise.
5509         * abilist/libutil.abilist: Likewise.
5510         * abilist/libnss_db.abilist: New file.
5511
5512         * scripts/abilist.awk: Add support for indirect functions.
5513
5514         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5515
5516         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5517
5518         * shlib-versions: Remove entries for ports architectures.
5519
5520         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5521         files in ports.
5522         * elf/stackguard-macros.h: Remove support for IA-64.
5523         * elf/tst-auditmod1.c: Likewise.
5524         * sysdeps/generic/ldsodefs.h: Likewise.
5525
5526         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5527         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5528         configure files.
5529
5530         [BZ #13552]
5531         * configure.in: Remove --enable-omitfp support.
5532         * FAQ.in: Adjust.
5533         * config.make.in: Likewise.
5534         * Makeconfig: Likewise.
5535         * manual/install.texi: Likewise.
5536
5537         In case anyone cares, the IA-64 architecture could move to ports.
5538         * sysdeps/ia64/*: Removed.
5539         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5540         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5541
5542         [BZ #13555]
5543         * configure.in: Remove entries for unsupported architectures.
5544
5545         [BZ #13533]
5546         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5547         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5548         routines.
5549         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5550         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5551         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5552         fall back to using wcrtomb.
5553         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5554         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5555         renaming.
5556         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5557         * wcsmbs/tst-c16c32-1.c: New file.
5558
5559         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5560         local variable.
5561
5562         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5563
5564         * elf/tst-unique3.cc: Add explicit declaration of gets.
5565         * elf/tst-unique3lib.cc: Likewise.
5566         * elf/tst-unique3lib2.cc: Likewise.
5567         * elf/tst-unique4.cc: Likewise.
5568
5569         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5570
5571 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5572
5573         [BZ #13566]
5574         * assert/assert.h (static_assert): Don't define for C++.
5575         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5576         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5577
5578 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5579
5580         * iconv/loop.c (single loop): Fix assertion in storing of
5581         remaining bytes.
5582
5583         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5584
5585 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5586
5587         * posix/getconf.c: Update copyright year.
5588         * nss/getent.c: Likewise.
5589         * nss/makedb.c: Likewise.
5590         * iconv/iconvconfig.c: Likewise.
5591         * iconv/iconv_prog.c: Likewise.
5592         * elf/ldconfig.c: Likewise.
5593         * elf/pldd.c: Likewise.
5594         * elf/sotruss.ksh: Likewise.
5595         * catgets/gencat.c: Likewise.
5596         * csu/version.c: Likewise.
5597         * elf/ldd.bash.in: Likewise.
5598         * elf/sprof.c (print_version): Likewise.
5599         * locale/programs/locale.c: Likewise.
5600         * locale/programs/localedef.c: Likewise.
5601         * login/programs/pt_chown.c: Likewise.
5602         * nscd/nscd.c (print_version): Likewise.
5603         * debug/xtrace.sh: Likewise.
5604         * malloc/memusage.sh: Likewise.
5605         * malloc/mtrace.pl: Likewise.
5606         * debug/catchsegv.sh: Likewise.
5607
5608 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5609
5610         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5611         pure attribute.
5612
5613 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5614
5615         [BZ #13533]
5616         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5617         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5618         transformations.
5619         * iconv/gconv_int.h: Likewise.
5620         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5621         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5622         from libc for GLIBC_2.16.
5623         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5624         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5625         * wcsmbs/uchar.h: Really define mbstate_t.
5626         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5627         * wcsmbs/c16rtomb.c: New file.
5628         * wcsmbs/mbrtoc16.c: New file.
5629         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5630         for C/POSIX locale.
5631         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5632         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5633
5634         * wcsmbs/wchar.h: Add missing __restrict.
5635
5636 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5637
5638         [BZ #13532]
5639         * time/Makefile (routines): Add timespec_get.
5640         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5641         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5642         timespec for ISO C11.
5643         * time/timespec_get.c: New file.
5644         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5645         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5646
5647         [BZ #13531]
5648         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5649         * stdlib/stdlib.h: Declare aligned_alloc.
5650         * Versions.def: Add GLIBC_2.16 for libc.
5651         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5652
5653         [BZ 13527]
5654         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5655         ISO C11.
5656
5657         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5658         code.
5659
5660         [BZ #13528]
5661         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5662
5663         [BZ #13529]
5664         * assert/assert.h (static_assert): Define.
5665
5666         * version.h: Update for 2.16 development version.
5667
5668         [BZ #13526]
5669         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5670         _ISOC11_SOURCE.
5671
5672         * version.h (RELEASE): Bump for 2.15 release.
5673         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5674
5675         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5676         Patch by Marek Polacek <mpolacek@redhat.com>.
5677
5678         * bits/byteswap.h: Protect long long constants with __extension__.
5679         * sysdeps/i386/bits/byteswap.h: Likewise.
5680         * sysdeps/ia64/bits/byteswap.h: Likewise.
5681         * sysdeps/s390/bits/byteswap.h: Likewise.
5682         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5683
5684 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5685
5686         [BZ #13540]
5687         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5688         destination buffer.
5689         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5690
5691 2011-12-23  Marek Polacek  <polacek@redhat.com>
5692
5693         * elf/dl-addr.c (determine_info): Add inline keyword.
5694         * elf/tst-auditmod4b.c (check_avx): Likewise.
5695         * elf/tst-auditmod6b.c (check_avx): Likewise.
5696         * elf/tst-auditmod6c.c (check_avx): Likewise.
5697         * elf/tst-auditmod7b.c (check_avx): Likewise.
5698
5699 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5700
5701         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5702         !__SSE_MATH__.
5703
5704 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5705
5706         [BZ #13540]
5707         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5708         processing for last bytes.
5709
5710 2011-08-06  Bruno Haible  <bruno@clisp.org>
5711
5712         [BZ #13061]
5713         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5714         U+0385, not to U+1FEE.
5715
5716         [BZ #13062]
5717         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5718         entry for U+00A5 U+0301.
5719
5720 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5721
5722         [BZ #13166]
5723         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5724         buffer for the output is too small.
5725
5726         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5727         optimization.
5728
5729         [BZ #13185]
5730         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5731         SSE flags if possible.
5732
5733 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5734
5735         [BZ #13540]
5736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5737         processing for last bytes.
5738
5739 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5740
5741         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5742         (syscall-list-default-options, syscall-list-default-condition)
5743         (syscall-list-includes): Define.
5744         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5745         list of ABIs and options and #if conditions for each ABI.  Do not
5746         handle common syscalls between ABIs specially.
5747         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5748         Remove.
5749         (syscall-list-variants, syscall-list-32bit-options)
5750         (syscall-list-32bit-condition, syscall-list-64bit-options)
5751         (syscall-list-64bit-condition): Define.
5752         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5753         (syscall-list-variants, syscall-list-32bit-options)
5754         (syscall-list-32bit-condition, syscall-list-64bit-options)
5755         (syscall-list-64bit-condition): Define.
5756         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5757         Remove.
5758         (syscall-list-variants, syscall-list-32bit-options)
5759         (syscall-list-32bit-condition, syscall-list-64bit-options)
5760         (syscall-list-64bit-condition): Define.
5761         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5762         Remove.
5763         (syscall-list-variants, syscall-list-32bit-options)
5764         (syscall-list-32bit-condition, syscall-list-64bit-options)
5765         (syscall-list-64bit-condition): Define.
5766
5767 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5768
5769         * locale/iso-639.def: Add brx entry.
5770
5771         [BZ #13328]
5772         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5773         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5774
5775         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5776         __feraiseexcept_renamed.
5777
5778 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5779
5780         [BZ #13538]
5781         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5782         EPOLLET with unsigned values.
5783         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5784         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5785
5786         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5787         to large cancellation.
5788         * math/s_cacoshf.c: Likewise.
5789         * math/s_cacoshl.c: Likewise.
5790
5791 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5792
5793         [BZ #13305]
5794         [BZ #12786]
5795         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5796         * math/s_cacoshf.c: Likewise.
5797         * math/s_cacoshl.c: Likewise.
5798
5799 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5800
5801         [BZ #13439]
5802         * iconv/gconv.h: Define __GCONV_SWAP.
5803         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5804         * iconvdata/utf-16.c: Likewise.
5805         * iconvdata/utf-32.c: Likewise.
5806
5807 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5808
5809         [BZ #13524]
5810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5811         numerator after shifting it by one limb.
5812
5813 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5814
5815         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5816         under [__USE_EXTERN_INLINES].
5817
5818 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5819
5820         [BZ #13446]
5821         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5822
5823 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5824
5825         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5826         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5827         optimized code.
5828         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5829         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5830         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5831         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5832         for strncasecmp/strncasecmp_l compilation.
5833         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5834         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5835
5836 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5837
5838         [BZ #13484]
5839         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5840         of __asm__.
5841
5842 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5843
5844         [BZ #13506]
5845         * time/tzfile.c (__tzfile_read): Check values from file header.
5846
5847 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5848
5849         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5850         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5851         * powerpc/powerpc32/dl-start.S: Likewise.
5852         * powerpc/powerpc32/elf/start.S: Likewise.
5853         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5854         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5855         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5856         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5857         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5858         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5859         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5860         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5861         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5862         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5863         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5864         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5865         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5866         * powerpc/powerpc32/memset.S: Likewise.
5867         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5868         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5869         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5870         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5871         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5872         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5873         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5874         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5875         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5876         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5877         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5878         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5879         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5880
5881 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5882
5883         * math/libm-test.inc: Added more nearbyint tests.
5884         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5888
5889 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5890
5891         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5892         FD_CLOEXEC.
5893
5894 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5895
5896         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5897         Add wcscpy-ssse3 wcscpy-c.
5898         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5899         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5900         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5901         * sysdeps/x86_64/wcschr.S: New file.
5902         * sysdeps/x86_64/wcsrchr.S: New file.
5903         * string/test-strcmp.c: Remove checking of wcscmp function for
5904         wrong alignments.
5905         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5906         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5907         wcsrchr-sse2 wcsrchr-c.
5908         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5909         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5910         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5911         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5912         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5913         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5914         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5915         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5916         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5917         * wcsmbc/wcschr.c (WCSCHR): New macro.
5918
5919 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5920
5921         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5922         * wcsmbs/test-wcsrchr.c: New file.
5923         * string/test-strrchr.c: Add wcsrchr support.
5924         (WIDE): New macro.
5925         * wcsmbs/test-wcscpy.c: New file.
5926         * string/test-strcpy.c: Add wcscpy support.
5927         (WIDE): New macro.
5928
5929 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5930
5931         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5932         the inner loop.
5933
5934 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5935
5936         [BZ #13472]
5937         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5938
5939 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5940
5941         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5942         Minor optimizations.
5943
5944         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5945         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5946         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5947
5948 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5949
5950         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5951         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5952         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5953         for gcc to avoid warnings.
5954         * inet/Makefile (tests): Add tst-checks.
5955         * inet/tst-checks.c: New file.
5956
5957         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5958         warning.
5959
5960         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5961         __wmemcmp_sse2.
5962
5963         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5964         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5965
5966         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5967
5968 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5969
5970         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5971         problem.
5972
5973         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5974
5975 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5976
5977         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5978         conditional on GCC version.
5979         (__arch_compare_and_exchange_val_8_acq)
5980         (__arch_compare_and_exchange_val_16_acq)
5981         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5982         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5983         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5984
5985 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5986
5987         * sysdeps/sh/backtrace.c: New file.
5988
5989 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5990
5991         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5992         parenthesis.
5993
5994 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5995
5996         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5997         falling back to utime.
5998
5999 2011-11-30  Andreas Schwab  <schwab@redhat.com>
6000
6001         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6002         expectations for float.
6003
6004 2011-11-29  Andreas Schwab  <schwab@redhat.com>
6005
6006         * locale/weight.h (findidx): Add parameter len.
6007         * locale/weightwc.h (findidx): Likewise.
6008         * posix/fnmatch_loop.c (FCT): Adjust caller.
6009         * posix/regcomp.c (build_equiv_class): Likewise.
6010         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6011         * posix/regexec.c (check_node_accept_bytes): Likewise.
6012         * string/strcoll_l.c (STRCOLL): Likewise.
6013         * string/strxfrm_l.c (STRXFRM): Likewise.
6014
6015 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
6016
6017         * Makefile.in: Remove CVSOPT handling.
6018         * configure.in: Remove use of AC_REVISION.
6019         * iconvdata/Makefile (distribute): No need to filter out CVS.
6020         * scripts/list-sources.sh: Remove CVS, subversion and monotone
6021         handling.
6022
6023 2011-11-16  Andreas Schwab  <schwab@redhat.com>
6024
6025         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6026         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6027         [USE_AS_STRNCASECMP_L]: Likewise.
6028         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6029         NO_TLS_DIRECT_SEG_REFS.
6030         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6031         Fix argument offsets for non-PIC.
6032         [USE_AS_STRNCASECMP_L]: Likewise.
6033         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6034         NO_TLS_DIRECT_SEG_REFS.
6035
6036 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6037
6038         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6039         O_CLOEXEC.
6040         * locale/loadlocale.c (_nl_load_locale): Likewise.
6041
6042 2011-11-15  Andreas Schwab  <schwab@redhat.com>
6043
6044         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6045         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6046         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6047         (SYSCALL_GETTIME): Set errno on error.
6048
6049         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6050         count references to noai6ai_cached.
6051
6052 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6053
6054         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6055
6056         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6057         FD_CLOEXEC for /proc/self/maps.
6058
6059         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6060         FD_CLOEXEC for /proc/meminfo.
6061
6062         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6063         gai.conf.
6064
6065         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
6066         FD_CLOEXEC for given file.
6067
6068         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6069
6070         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6071         FD_CLOEXEC for /etc/hosts.
6072         (_gethtent): Likewise.
6073
6074         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6075
6076         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6077         cancellation and set FD_CLOEXEC for /etc/netgroup.
6078
6079         * nss/nss_files/files-key.c (search): Don't allow cancellation when
6080         reading /etc/publickey.
6081
6082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6083         allow cancellation when reading /etc/group.
6084
6085         * nss/nss_files/files-alias.c (internal_setent): Don't allow
6086         cancellation.
6087         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
6088
6089         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6090         when using data file.
6091
6092         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6093
6094         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6095         (write_nis_obj): Use "c" and "e" in fopen.
6096
6097         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6098
6099         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6100
6101         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6102
6103         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6104
6105         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6106         locale.alias.
6107
6108         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6109
6110         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6111
6112         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6113
6114         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6115         file parsing and set FD_CLOEXEC.
6116
6117 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6118
6119         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6120
6121 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6122
6123         * malloc/arena.c (arena_get2): Don't call reused_arena when
6124         _int_new_arena failed.
6125
6126 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6127
6128         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6129         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6130         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6131         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6132         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6133         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6134         to compile strcasecmp and strncasecmp.
6135         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6136         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6137
6138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6139
6140 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6141
6142         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6143         locale-defines.sym to gen-as-const-headers.
6144         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6145         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6147         to compile strcasecmp and strncasecmp.
6148         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6149         strcasecmp_l and strncasecmp_l.
6150         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6151         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6152         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6153         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6154         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6155         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6156         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6157         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6158         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6159         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6160         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6161
6162 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6163
6164         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6165         result of SYSDEP_GETTIME_CPU to retval.
6166         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6167         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6168
6169         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6170         variable.
6171
6172         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6173         mantissa words.
6174         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6175
6176         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6177         from unused variable.
6178
6179         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6180         DWARF definitions.
6181         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6182         for assembling.
6183
6184         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6185         over namespaces.
6186
6187         * sunrpc/rpc_prot.c (rejected): Fix case value.
6188
6189         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6190         unsigned long long int to avoid warnings in shift.
6191
6192         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6193         of use of trans.
6194         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6195         variable tmp.
6196
6197         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6198         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6199         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6200
6201         * nis/nis_table.c (nis_list): Use variable of correct type for
6202         result of __follow_path call.
6203
6204 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6205
6206         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6207         of math functions ceil, trunc, floor, round, and sqrt, when
6208         avaliable on the platform.
6209         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6210         name clash.
6211         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6212         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6213         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6214
6215 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6216
6217         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6218         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6219
6220 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6221
6222         * include/unistd.h: Fix __readlink return type.
6223         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6224
6225 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6226
6227         * stdlib/ucontext.h: Undo last change for makecontext.
6228
6229 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6230
6231         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6232
6233         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6234         * setjmp/setjmp.h: Mark functions as non-leaf.
6235         * setjmp/bits/setjmp2.h: Likewise.
6236         * stdlib/ucontext.h: Likewise.
6237
6238 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6239
6240         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6241         (reused_arena): Don't check arena limit.
6242         (arena_get2): Atomically check arena limit.
6243
6244 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6245
6246         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6247         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6248
6249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6250         instructions.
6251
6252 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6253
6254         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6255         handler when locking.
6256
6257         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6258         Fix size of allocated buffer.
6259
6260 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6261
6262         [BZ #10103]
6263         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6264         declarations for long double functions.
6265         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6266
6267         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6268
6269 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6270
6271         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6272         installed.
6273
6274         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6275         is disabled.
6276
6277 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6278
6279         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6280
6281 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6282
6283         * include/alloca.h (stackinfo_alloca_round): Define.
6284         (extend_alloca): Use it.
6285         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6286         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6287         here.
6288
6289         * scripts/check-local-headers.sh: Ignore libaudit.h.
6290
6291         * nscd/Makefile (extra-objs): Make recursively expanded.
6292
6293 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6294
6295         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6296         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6297
6298         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6299         * posix/tst-rfc3484-2.c: Likewise.
6300         * posix/tst-rfc3484-3.c: Likewise.
6301
6302         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6303         process_vm_writev.
6304         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6305         process_vm_writev.
6306         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6307         process_vm_writev from libc using GLIBC_2.15 version.
6308
6309         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6310
6311 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6312
6313         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6314         stack usage.
6315
6316 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6317
6318         [BZ #13367]
6319         * nss/getent.c (initgroups_keys): Show error message in case no group
6320         names are given.
6321
6322         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6323         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6324         __bump_nl_timestamp.
6325         * nscd/connections (nscd_init): When host database is served open
6326         netlink socket and request notification about configuration changes.
6327         (main_loop_poll): Track netlink file descriptor and bump timestamp
6328         in case data becomes available.
6329         (main_loop_epoll): Likewise.
6330         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6331         (database_pers_head): Add extra_data fileds.
6332         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6333         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6334         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6335         Adjust caller.
6336         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6337         in6ai data, call __free_in6ai.
6338         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6339         Add -DHAVE_NETLINK.
6340         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6341         interface information.  Reuse previous data if netlink timestamp
6342         is not changed.
6343         (__bump_nl_timestamp): New function.
6344         (__free_in6ai): New function.
6345
6346 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6347
6348         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6349         close_not_cancel_no_status here.
6350         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6351
6352 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6353
6354         [BZ #13276]
6355         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6356         return value.
6357
6358         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6359         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6360         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6361
6362 2011-07-03  Andreas Jaeger  <aj@suse.de>
6363
6364         [BZ #10709]
6365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6366         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6367         * math/libm-test.inc (sin_test): Add test case.
6368
6369 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6370
6371         [BZ #13337]
6372         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6373         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6374
6375         * elf/chroot_canon.c (chroot_canon): Cleanups.
6376
6377         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6378
6379         [BZ #13335]
6380         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6381         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6382
6383         * string/test-strchr.c: Make usable for strchrnul testing.
6384         * string/test-strchrnul.c: New file.
6385         * string/Makefile (strop-tests): Add strchrnul.
6386
6387         * po/it.po: Update from translation team.
6388         * po/es.po: Likewise.
6389
6390 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6391
6392         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6393         the three constants needed as parameters.  Drop the others.
6394         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6395         __m128i_strloadu_tolower.
6396         Create and initialize variable zero and use it in all the places
6397         where _mm_setzero_si128 was used.
6398
6399         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6400         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6401         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6402         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6403         anymore.
6404         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6405         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6406         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6407         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6408         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6409         __mpranred, __mptan.
6410         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6411         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6412         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6413         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6414         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6415         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6416         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6417         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6418         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6419
6420 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6421
6422         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6423         redefine if SHARED.
6424         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6425
6426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6427         wide char related routines to wcsmbs subdir.
6428
6429 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6430
6431         [BZ #13344]
6432         * misc/sys/cdefs.h (__THROWNL): Define.
6433         * posix/unistd.h: Use __THREADNL instead of __THREAD
6434         for memory synchronization functions.
6435
6436 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6437
6438         [BZ #13349]
6439         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6440         doesn't exist.
6441         * manual/stdio.texi (Obstack Streams): Node removed.
6442
6443 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6444
6445         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6446         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6447         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6448
6449         * math/math_private.h (math_force_eval): Allow non-addressable
6450         arguments.
6451         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6452
6453 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6454
6455         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6456         file is not needed.
6457
6458         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6460         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6461         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6462         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6463         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6464         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6465         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6466         Add AVX variants.
6467         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6468         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6469         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6470         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6471         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6472         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6473         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6474         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6475         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6476         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6477         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6478         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6479         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6480         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6481         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6482         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6483         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6484         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6485         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6486
6487         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6488         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6489
6490         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6491         place.  Use VEX encoding when compiling for AVX.
6492
6493 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6494
6495         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6496         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6497
6498         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6499
6500 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6501
6502         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6503         useless if() expression.
6504         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6505         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6506         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6507         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6508         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6509         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6510         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6511         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6512         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6513         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6514         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6515         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6516         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6517         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6518         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6519         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6520         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6521         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6522         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6523
6524         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6525
6526 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6527
6528         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6529         condition.
6530         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6531
6532 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6533
6534         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6535         .text section.  Avoid duplicate constants.
6536         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6538         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6543         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6544         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6545         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6546         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6547         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6548         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6549         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6550         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6551         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6552         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6553         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6555         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6556         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6557         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6558         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6559         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6560         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6561         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6562         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6563         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6564         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6565         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6566         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6568         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6569         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6570         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6571         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6572         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6573         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6574         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6575         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6577         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6578         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6579         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6580         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6581
6582 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6583
6584         * sysdeps/x86_64/dla.h: Move to ...
6585         * sysdeps/x86_64/fpu/dla.h: ...here.
6586         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6587         situations.  Use __builtin_fma only for gcc 4.6 and up.
6588
6589         * config.make.in: Add have-mfma4 entry.
6590         * configure.in: Substitute libc_cv_cc_fma4.
6591         * math/Makefile (dbl-only-routines): Add sincostab.
6592         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6593         Use __sincostab not sincos.
6594         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6595         name is a macro.
6596         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6600         using __copysign.
6601         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6602         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6603         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6604         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6605         and __inv.
6606         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6607         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6608         __copysign.
6609         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6610         define aliases when function name is a macro.
6611         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6612         sysdeps/ieee754/dbl-64/sincos.tbl.
6613         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6614         fma4-enabled routines.
6615         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6616         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6617         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6618         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6619         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6620         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6622         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6624         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6625         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6626         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6627         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6628         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6629         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6630         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6631         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6632         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6633         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6635         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6636         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6638         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6639         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6640         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6642         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6643         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6644         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6645
6646         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6647         rename.
6648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6651         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6652         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6653         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6654         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6655         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6656
6657 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6658
6659         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6660
6661 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6662
6663         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6664
6665         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6666         prediction.
6667         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6668
6669         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6670         Remove unused variable magic_bits.
6671         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6672
6673         * string/strnlen.c: Define and use STRNLEN macro.
6674         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6675         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6676         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6677         * wcsmbs/wcslen.c: Define and use WCSLEN.
6678         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6679         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6680         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6681         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6682         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6683         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6684         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6685
6686 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6687
6688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6689         strnlen-sse2-no-bsf.
6690         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6691         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6692         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6693         Add strnlen support.
6694         (USE_AS_STRNLEN): New macro.
6695         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6696         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6697         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6698         * sysdeps/x86_64/wcslen.S: New file.
6699
6700 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6701
6702         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6703         XMM-moves are used for copying on small sizes.
6704
6705 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6706
6707         * wcsmbs/Makefile (strop-tests): Add wcschr.
6708         * wcsmbs/test-wcschr.c: New file.
6709         * string/test-strchr.c: Update.
6710         Add wcschr support.
6711         (WIDE): New macro.
6712
6713 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6714
6715         * wcsmbs/Makefile (strop-tests): Add wcslen.
6716         * wcsmbs/test-wcslen.c: New file.
6717         * string/test-strlen.c: Update.
6718         Add wcslen support.
6719         (WIDE): New macro.
6720
6721 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6722
6723         * po/it.po: Update from translation team.
6724
6725 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6726
6727         * sysdeps/x86_64/wcscmp.S: Update.
6728         Fix wrong comparison semantics.
6729         wcscmp shall use signed comparison not unsigned.
6730         Don't use substraction to avoid overflow bug.
6731         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6732         * wcsmbc/wcscmp.c: Likewise.
6733         * string/test-strcmp.c: Likewise.
6734         Add new tests to check cases with negative values.
6735
6736 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6737
6738         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6739         * sysdeps/x86_64/dla.h: ...here.  New file.
6740         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6748         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6749
6750 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6751
6752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6753         __ynl_finite aliases.
6754
6755 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6756
6757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6758
6759         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6760         define DLA_FMA.
6761         [DLA_FMA] (EMULV): Use DLA_FMA.
6762         [DLA_FMA] (MUL12): Use EMULV.
6763         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6764         that are not needed.
6765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6766         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6772
6773 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6774
6775         * math/s_nan.c: Undef __nan.
6776         * math/s_nanf.c: Undef __nanf.
6777         * math/s_nanl.c: Undef __nanl.
6778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6779         "math_private.h".
6780
6781 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6782
6783         * math/s_catan.c: Add branch predictions.
6784         * math/s_catanf.c: Likewise.
6785         * math/s_catanh.c: Likewise.
6786         * math/s_catanhf.c: Likewise.
6787         * math/s_catanhl.c: Likewise.
6788         * math/s_catanl.c: Likewise.
6789         * math/s_cexp.c: Likewise.
6790         * math/s_cexpf.c: Likewise.
6791         * math/s_cexpl.c: Likewise.
6792         * math/s_clog.c: Likewise.
6793         * math/s_clog10.c: Likewise.
6794         * math/s_clog10f.c: Likewise.
6795         * math/s_clog10l.c: Likewise.
6796         * math/s_clogf.c: Likewise.
6797         * math/s_clogl.c: Likewise.
6798         * math/s_csqrt.c: Likewise.
6799         * math/s_csqrtf.c: Likewise.
6800         * math/s_csqrtl.c: Likewise.
6801         * math/s_ctanf.c: Likewise.
6802         * math/s_ctanh.c: Likewise.
6803         * math/s_ctanhf.c: Likewise.
6804         * math/s_ctanhl.c: Likewise.
6805         * math/s_ctanl.c: Likewise.
6806
6807         * math/math_private.h: Define __nan, __nanf, __nanl.
6808         * math/s_cacosh.c: Include <math_private.h>.
6809         * math/s_cacoshl.c: Likewise.
6810         * math/s_casinh.c: Likewise.
6811         * math/s_casinhf.c: Likewise.
6812         * math/s_casinhl.c: Likewise.
6813         * math/s_ccos.c: Rely entire on ccosh.
6814         * math/s_ccosf.c: Rely entire on ccoshf.
6815         * math/s_ccosl.c: Rely entirely on ccoshl.
6816         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6817         Remove tests for FE_INVALID.
6818         * math/s_ccoshf.c: Likewise.
6819         * math/s_ccoshl.c: Likewise.
6820         * math/s_csin.c: Likewise.
6821         * math/s_csinf.c: Likewise.
6822         * math/s_csinh.c Likewise.
6823         * math/s_csinhf.c: Likewise.
6824         * math/s_csinhl.c: Likewise.
6825         * math/s_csinl.c: Likewise.
6826         * math/s_ctan.c: Likewise.
6827         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6828         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6829         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6830
6831 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6832
6833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6834         compilation problems.
6835
6836         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6837         __builtin_expect.
6838
6839 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6840
6841         * sysdeps/i386/configure.in: Test for -mfma4 option.
6842         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6843         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6844         COMMON_CPUID_INDEX_80000001.
6845         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6846         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6847         use it if FMA3 is not supported.
6848         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6849
6850         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6851         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6852
6853 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6854
6855         [BZ #12892]
6856         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6857         it would create a cycle with a link time dependency.
6858
6859 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6860
6861         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6862         instruction.
6863         * string/Makefile (strop-tests): Add rawmemchr.
6864         * string/test-rawmemchr.c: New file.
6865
6866         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6867         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6868         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6869         when compiling str{,n}casecmp and when AVX is available.  Hook up
6870         new optimized code in initializers.
6871
6872 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6873
6874         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6875         __feraiseexcept instead of feraiseexcept.
6876
6877 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6878
6879         * math/math_private.h: Define defaults for libc_fetestexcept and
6880         libc_feupdateenv.
6881         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6882         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6883         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6884         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6885         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6886         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6887         libc_fetestexcept and libc_feupdateenv.
6888
6889         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6890         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6891         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6892         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6893         libc_feholdexcept_setround.
6894
6895         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6896         Add s_nearbyint-c and s_nearbyintf-c.
6897         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6898         nearbyintf inlines.
6899         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6900         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6901         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6903
6904         * math/math_private.h: Define defaults for libc_fegetround,
6905         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6906         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6907         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6908         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6909         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6910         standard functions.
6911         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6912         Remove comments and hacks for old compiler versions.
6913         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6914         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6915         libc_feholdexceptl.
6916
6917 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6918
6919         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6920         (__feraiseexcept_renamed): Add __NTH.
6921         (feraiseexcept): Add __NTH.  Rename local variables to fix
6922         namespace violations.
6923
6924 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6925
6926         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6927
6928         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6929
6930         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6931         recently added interfaces.
6932         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6933
6934         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6935         about macro parameter expansion.
6936
6937         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6938         __NO_MATH_INLINES is defined.  Cleanups.
6939
6940         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6941         and __floorf is target has SSE4.1.
6942         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6943         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6944         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6945         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6946
6947         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6948         name.
6949         (floorf): Likewise.
6950
6951         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6952
6953 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6954
6955         * misc/sys/cdefs.h: Fix last change.
6956
6957         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6958         database lookup.
6959
6960 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6961
6962         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6963
6964         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6965         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6966         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6967         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6968         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6969         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6970         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6971         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6972         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6973         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6974         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6975         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6976         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6977         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6978         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6979         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6980         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6981         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6982         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6983         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6984         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6985         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6986
6987         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6988         ceil, ceilf, floor, floorf.
6989
6990         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6991         Perform IRELATIVE relocations last.
6992
6993         * elf/do-rel.h: Add another parameter nrelative, replacing the
6994         local variable with the same name.  Change name of the function
6995         to end in Rel or Rela (uppercase).
6996         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6997         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6998         elf_dynamic_do_##reloc function.
6999
7000 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7001
7002         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7003         is sufficient, at least on modern CPUs.
7004
7005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7006
7007         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7008         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7009
7010         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7011         __expl_finite.
7012         * math/bits/math-finite.h: Add entries for exp.
7013         * math/e_expl.c: Add __*_finite alias.
7014         * sysdeps/i386/fpu/e_exp.S: Likewise.
7015         * sysdeps/i386/fpu/e_expf.S: Likewise.
7016         * sysdeps/i386/fpu/e_expl.c: Likewise.
7017         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7018         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7019         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7020         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7021         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7022         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7023         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7024
7025         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7026         is sufficient, at least on modern CPUs.
7027
7028         * ctype/ctype-info.c (__ctype_init): Define.
7029         * include/ctype.h (__ctype_init): Declare.
7030         (__ctype_b_loc): The variable is always initialized.
7031         (__ctype_toupper_loc): Likewise.
7032         (__ctype_tolower_loc): Likewise.
7033         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7034         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7035
7036 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
7037
7038         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7039
7040         * configure.in: Also look in $cxxmachine/include for C++ system
7041         headers.
7042
7043 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7044
7045         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7046         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7047         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7048         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
7049         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7050         (USE_AS_WMEMCMP): New macro.
7051         Fixing indents.
7052         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7053         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7054         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7055         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7057         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7058         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7059         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7060         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7061         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7062         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7063         (USE_AS_WMEMCMP): New macro.
7064         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7065         * sysdeps/string/test-memcmp.c: Update.
7066         Fix simple_wmemcmp.
7067         Add new tests.
7068         * wcsmbs/wmemcmp.c: Update.
7069         (WMEMCMP): New macro.
7070         Fix overflow bug.
7071
7072 2011-10-12  Andreas Jaeger  <aj@suse.de>
7073
7074         [BZ #13268]
7075         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7076
7077 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7078
7079         * libio/iofwide.c (do_length): Avoid warning.
7080
7081         * ctype/ctype.h (__isctype_f): Add missing __THROW.
7082
7083 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
7084
7085         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7086
7087         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7088         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7089         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7090         * sysdeps/i386/i686/fpu/e_log.S: New file.
7091         * sysdeps/i386/i686/fpu/e_logf.S: New file.
7092         * sysdeps/i386/i686/fpu/e_logl.S: New file.
7093
7094         * ctype/ctype.h: Add support for inlined isXXX functions when
7095         compiling C++ code.
7096
7097 2011-10-14  Andreas Schwab  <schwab@redhat.com>
7098
7099         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7100
7101         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7102
7103 2011-10-13  Roland McGrath  <roland@hack.frob.com>
7104
7105         [BZ #13291]
7106         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7107
7108 2011-10-13  Andreas Schwab  <schwab@redhat.com>
7109
7110         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7111         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7112         feraiseexcept.
7113
7114         * sysdeps/x86_64/memrchr.S: Check for zero size.
7115
7116         * string/stratcliff.c: Add memrchr tests.
7117
7118 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7119
7120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7121         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7122         rawmemchr-sse2 rawmemchr-sse2-bsf.
7123         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7124         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7125         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7126         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7127         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7128         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7129         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7130         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7131         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7132         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7133         * string/memrchr.c (MEMRCHR): New macro.
7134
7135 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7136
7137         Add integration with gcc's -ffinite-math-only and optimize wrapper
7138         functions in libm.
7139         * Versions.def: Define GLIBC_2.15 version for libm.
7140         * math/Makefile (headers): Add bits/math-finite.h.
7141         * math/bits/math-finite.h: New file.
7142         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7143         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7144         * math/e_acoshl.c: Add __*_finite alias.
7145         * math/e_acosl.c: Likewise.
7146         * math/e_asinl.c: Likewise.
7147         * math/e_atan2l.c: Likewise.
7148         * math/e_atanhl.c: Likewise.
7149         * math/e_coshl.c: Likewise.
7150         * math/e_exp10.c: Likewise.
7151         * math/e_exp10f.c: Likewise.
7152         * math/e_exp10l.c: Likewise.
7153         * math/e_exp2l.c: Likewise.
7154         * math/e_fmodl.c: Likewise.
7155         * math/e_gammal_r.c: Likewise.
7156         * math/e_hypotl.c: Likewise.
7157         * math/e_j0l.c: Likewise.
7158         * math/e_j1l.c: Likewise.
7159         * math/e_jnl.c: Likewise.
7160         * math/e_lgammal_r.c: Likewise.
7161         * math/e_log10l.c: Likewise.
7162         * math/e_log2l.c: Likewise.
7163         * math/e_logl.c: Likewise.
7164         * math/e_powl.c: Likewise.
7165         * math/e_sinhl.c: Likewise.
7166         * math/e_sqrtl.c: Likewise.
7167         * math/e_scalb.c: Completely rewritten and optimized.
7168         * math/e_scalbf.c: Likewise.
7169         * math/e_scalbl.c: Likewise.
7170         * math/w_acos.c: Likewise.
7171         * math/w_acosf.c: Likewise.
7172         * math/w_acosl.c: Likewise.
7173         * math/w_acosh.c: Likewise.
7174         * math/w_acoshf.c: Likewise.
7175         * math/w_acoshl.c: Likewise.
7176         * math/w_asin.c: Likewise.
7177         * math/w_asinf.c: Likewise.
7178         * math/w_asinl.c: Likewise.
7179         * math/w_atan2.c: Likewise.
7180         * math/w_atan2f.c: Likewise.
7181         * math/w_atan2l.c: Likewise.
7182         * math/w_atanh.c: Likewise.
7183         * math/w_atanhf.c: Likewise.
7184         * math/w_atanhl.c: Likewise.
7185         * math/w_exp10.c: Likewise.
7186         * math/w_exp10f.c: Likewise.
7187         * math/w_exp10l.c: Likewise.
7188         * math/w_fmod.c: Likewise.
7189         * math/w_fmodf.c: Likewise.
7190         * math/w_fmodl.c: Likewise.
7191         * math/w_j0.c: Likewise.
7192         * math/w_j0f.c: Likewise.
7193         * math/w_j0l.c: Likewise.
7194         * math/w_j1.c: Likewise.
7195         * math/w_j1f.c: Likewise.
7196         * math/w_j1l.c: Likewise.
7197         * math/w_jn.c: Likewise.
7198         * math/w_jnf.c: Likewise.
7199         * math/w_log.c: Likewise.
7200         * math/w_logf.c: Likewise.
7201         * math/w_logl.c: Likewise.
7202         * math/w_log10.c: Likewise.
7203         * math/w_log10f.c: Likewise.
7204         * math/w_log10l.c: Likewise.
7205         * math/w_log2.c: Likewise.
7206         * math/w_log2f.c: Likewise.
7207         * math/w_log2l.c: Likewise.
7208         * math/w_pow.c: Likewise.
7209         * math/w_powf.c: Likewise.
7210         * math/w_powl.c: Likewise.
7211         * math/w_remainder.c: Likewise.
7212         * math/w_remainderf.c: Likewise.
7213         * math/w_remainderl.c: Likewise.
7214         * math/w_scalb.c: Likewise.
7215         * math/w_scalbf.c: Likewise.
7216         * math/w_scalbl.c: Likewise.
7217         * math/w_sqrt.c: Likewise.
7218         * math/w_sqrtf.c: Likewise.
7219         * math/w_sqrtl.c: Likewise.
7220         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7221         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7222         used.
7223         * math/math_private.h: Declare __kernel_standard_f.
7224         * math/w_cosh.c: Remove cruft and optimize a bit.
7225         * math/w_coshf.c: Likewise.
7226         * math/w_coshl.c: Likewise.
7227         * math/w_exp2.c: Likewise.
7228         * math/w_exp2f.c: Likewise.
7229         * math/w_exp2l.c: Likewise.
7230         * math/w_hypot.c: Likewise.
7231         * math/w_hypotf.c: Likewise.
7232         * math/w_hypotl.c: Likewise.
7233         * math/w_lgamma.c: Likewise.
7234         * math/w_lgamma_r.c: Likewise.
7235         * math/w_lgammaf.c: Likewise.
7236         * math/w_lgammaf_r.c: Likewise.
7237         * math/w_lgammal.c: Likewise.
7238         * math/w_lgammal_r.c: Likewise.
7239         * math/w_sinh.c: Likewise.
7240         * math/w_sinhf.c: Likewise.
7241         * math/w_sinhl.c: Likewise.
7242         * math/w_tgamma.c: Likewise.
7243         * math/w_tgammaf.c: Likewise.
7244         * math/w_tgammal.c: Likewise.
7245         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7246         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7247         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7248         Minor optimizations.  Pretty printing.  Remove cruft.
7249         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7250         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7251         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7252         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7253         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7254         * sysdeps/i386/fpu/e_asin.S: Likewise.
7255         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7256         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7257         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7258         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7259         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7260         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7261         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7262         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7263         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7264         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7265         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7266         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7267         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7268         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7269         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7270         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7271         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7272         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7273         * sysdeps/i386/fpu/e_log.S: Likewise.
7274         * sysdeps/i386/fpu/e_log10.S: Likewise.
7275         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7276         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7277         * sysdeps/i386/fpu/e_log2.S: Likewise.
7278         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7279         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7280         * sysdeps/i386/fpu/e_logf.S: Likewise.
7281         * sysdeps/i386/fpu/e_logl.S: Likewise.
7282         * sysdeps/i386/fpu/e_pow.S: Likewise.
7283         * sysdeps/i386/fpu/e_powf.S: Likewise.
7284         * sysdeps/i386/fpu/e_powl.S: Likewise.
7285         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7286         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7287         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7288         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7289         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7290         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7291         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7292         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7293         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7294         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7295         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7297         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7298         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7299         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7300         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7301         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7302         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7303         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7304         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7305         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7307         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7308         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7310         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7311         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7312         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7314         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7315         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7316         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7317         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7318         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7319         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7320         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7321         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7322         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7323         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7324         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7325         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7326         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7327         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7328         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7329         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7330         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7331         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7332         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7333         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7334         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7335         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7336         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7337         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7338         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7339         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7340         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7341         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7342         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7343         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7344         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7345         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7346         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7347         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7349         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7350         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7351         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7352         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7353         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7354         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7355         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7357         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7358         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7359         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7360         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7362         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7365         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7366         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7368         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7369         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7373         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7375         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7376         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7377         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7378         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7379         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7380         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7381         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7382         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7383         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7384         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7385         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7386         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7387         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7388         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7389         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7390         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7391         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7392         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7393         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7394         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7395         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7396         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7397         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7398         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7399         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7400         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7401         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7402         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7403         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7404         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7405         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7406         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7407         (__isnanf): Likewise.
7408         (__isinf_ns): Likewise.
7409         (__isinf_nsf): Likewise.
7410         (__finite): Likewise.
7411         (__finitef): Likewise.
7412         (__ieee754_sqrt): Define as macro.
7413         (__ieee754_sqrtf): Define as macro.
7414         (__ieee754_sqrtl): Define as macro.
7415         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7416         inlined copy.
7417         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7418         __FINITE_MATH_ONLY__ consistent.
7419         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7420
7421 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7422
7423         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7424         of rawmemchr.
7425
7426         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7427
7428 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7429
7430         * po/ja.po: Update from translation team.
7431
7432 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7433
7434         * locale/programs/locarchive.c (prepare_address_space): New function.
7435         (create_archive, enlarge_archive, open_archive): Use it.
7436
7437         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7438         inside [SHARED], where it is used.
7439
7440         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7441
7442         * nss/getent.c (netgroup_keys): Remove unused variable.
7443         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7444
7445 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7446
7447         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7448         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7450         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7451         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7452         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7453         * math/Makefile (libm-calls): Add s_isinf_ns.
7454         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7455         * math/multc3.c: Likewise.
7456         * math/s_casin.c: Likewise.
7457         * math/s_casinf.c: Likewise.
7458         * math/s_casinl.c: Likewise.
7459         * math/s_ccos.c: Likewise.
7460         * math/s_ccosf.c: Likewise.
7461         * math/s_ccosl.c: Likewise.
7462         * math/s_ctan.c: Likewise.
7463         * math/s_ctanf.c: Likewise.
7464         * math/s_ctanh.c: Likewise.
7465         * math/s_ctanhf.c: Likewise.
7466         * math/s_ctanhl.c: Likewise.
7467         * math/s_ctanl.c: Likewise.
7468         * math/w_fmod.c: Likewise.
7469         * math/w_fmodf.c: Likewise.
7470         * math/w_fmodl.c: Likewise.
7471         * math/w_remainder.c: Likewise.
7472         * math/w_remainderf.c: Likewise.
7473         * math/w_remainderl.c: Likewise.
7474         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7475         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7476         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7478         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7479         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7480         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7481         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7482
7483         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7484         of the number.
7485         * stdio-common/printf_fphex.c: Likewise.
7486         * stdio-common/printf_size.c: Likewise.
7487
7488         * math/e_exp10.c: Include math_private.h using <...> not "...".
7489         * math/e_exp10f.c: Likewise.
7490         * math/e_exp10l.c: Likewise.
7491         * math/e_exp2l.c: Likewise.
7492         * math/e_j0l.c: Likewise.
7493         * math/e_j1l.c: Likewise.
7494         * math/e_jnl.c: Likewise.
7495         * math/e_lgammal_r.c: Likewise.
7496         * math/e_rem_pio2l.c: Likewise.
7497         * math/e_scalb.c: Likewise.
7498         * math/e_scalbf.c: Likewise.
7499         * math/e_scalbl.c: Likewise.
7500         * math/k_cosl.c: Likewise.
7501         * math/k_sinl.c: Likewise.
7502         * math/k_tanl.c: Likewise.
7503         * math/s_cacoshf.c: Likewise.
7504         * math/s_catan.c: Likewise.
7505         * math/s_catanf.c: Likewise.
7506         * math/s_catanh.c: Likewise.
7507         * math/s_catanhf.c: Likewise.
7508         * math/s_catanhl.c: Likewise.
7509         * math/s_catanl.c: Likewise.
7510         * math/s_ccosh.c: Likewise.
7511         * math/s_ccoshf.c: Likewise.
7512         * math/s_ccoshl.c: Likewise.
7513         * math/s_cexp.c: Likewise.
7514         * math/s_cexpf.c: Likewise.
7515         * math/s_cexpl.c: Likewise.
7516         * math/s_clog.c: Likewise.
7517         * math/s_clog10.c: Likewise.
7518         * math/s_clog10f.c: Likewise.
7519         * math/s_clog10l.c: Likewise.
7520         * math/s_clogf.c: Likewise.
7521         * math/s_clogl.c: Likewise.
7522         * math/s_csin.c: Likewise.
7523         * math/s_csinf.c: Likewise.
7524         * math/s_csinh.c: Likewise.
7525         * math/s_csinhf.c: Likewise.
7526         * math/s_csinhl.c: Likewise.
7527         * math/s_csinl.c: Likewise.
7528         * math/s_csqrt.c: Likewise.
7529         * math/s_csqrtf.c: Likewise.
7530         * math/s_csqrtl.c: Likewise.
7531         * math/s_ctan.c: Likewise.
7532         * math/s_ctanf.c: Likewise.
7533         * math/s_ctanh.c: Likewise.
7534         * math/s_ctanhf.c: Likewise.
7535         * math/s_ctanhl.c: Likewise.
7536         * math/s_ctanl.c: Likewise.
7537         * math/s_ldexp.c: Likewise.
7538         * math/s_ldexpf.c: Likewise.
7539         * math/s_ldexpl.c: Likewise.
7540         * math/s_significand.c: Likewise.
7541         * math/s_significandf.c: Likewise.
7542         * math/s_significandl.c: Likewise.
7543         * math/w_acos.c: Likewise.
7544         * math/w_acosf.c: Likewise.
7545         * math/w_acosh.c: Likewise.
7546         * math/w_acoshf.c: Likewise.
7547         * math/w_acoshl.c: Likewise.
7548         * math/w_acosl.c: Likewise.
7549         * math/w_asin.c: Likewise.
7550         * math/w_asinf.c: Likewise.
7551         * math/w_asinl.c: Likewise.
7552         * math/w_atan2.c: Likewise.
7553         * math/w_atan2f.c: Likewise.
7554         * math/w_atan2l.c: Likewise.
7555         * math/w_atanh.c: Likewise.
7556         * math/w_atanhf.c: Likewise.
7557         * math/w_atanhl.c: Likewise.
7558         * math/w_cosh.c: Likewise.
7559         * math/w_coshf.c: Likewise.
7560         * math/w_coshl.c: Likewise.
7561         * math/w_dremf.c: Likewise.
7562         * math/w_exp10.c: Likewise.
7563         * math/w_exp10f.c: Likewise.
7564         * math/w_exp10l.c: Likewise.
7565         * math/w_exp2.c: Likewise.
7566         * math/w_exp2f.c: Likewise.
7567         * math/w_fmod.c: Likewise.
7568         * math/w_fmodf.c: Likewise.
7569         * math/w_fmodl.c: Likewise.
7570         * math/w_hypot.c: Likewise.
7571         * math/w_hypotf.c: Likewise.
7572         * math/w_hypotl.c: Likewise.
7573         * math/w_j0.c: Likewise.
7574         * math/w_j0f.c: Likewise.
7575         * math/w_j0l.c: Likewise.
7576         * math/w_j1.c: Likewise.
7577         * math/w_j1f.c: Likewise.
7578         * math/w_j1l.c: Likewise.
7579         * math/w_jn.c: Likewise.
7580         * math/w_jnf.c: Likewise.
7581         * math/w_jnl.c: Likewise.
7582         * math/w_lgamma.c: Likewise.
7583         * math/w_lgamma_r.c: Likewise.
7584         * math/w_lgammaf.c: Likewise.
7585         * math/w_lgammaf_r.c: Likewise.
7586         * math/w_lgammal.c: Likewise.
7587         * math/w_lgammal_r.c: Likewise.
7588         * math/w_log.c: Likewise.
7589         * math/w_log10.c: Likewise.
7590         * math/w_log10f.c: Likewise.
7591         * math/w_log10l.c: Likewise.
7592         * math/w_log2.c: Likewise.
7593         * math/w_log2f.c: Likewise.
7594         * math/w_log2l.c: Likewise.
7595         * math/w_logf.c: Likewise.
7596         * math/w_logl.c: Likewise.
7597         * math/w_pow.c: Likewise.
7598         * math/w_powf.c: Likewise.
7599         * math/w_powl.c: Likewise.
7600         * math/w_remainder.c: Likewise.
7601         * math/w_remainderf.c: Likewise.
7602         * math/w_remainderl.c: Likewise.
7603         * math/w_scalb.c: Likewise.
7604         * math/w_scalbf.c: Likewise.
7605         * math/w_scalbl.c: Likewise.
7606         * math/w_sinh.c: Likewise.
7607         * math/w_sinhf.c: Likewise.
7608         * math/w_sinhl.c: Likewise.
7609         * math/w_sqrt.c: Likewise.
7610         * math/w_sqrtf.c: Likewise.
7611         * math/w_sqrtl.c: Likewise.
7612         * math/w_tgamma.c: Likewise.
7613         * math/w_tgammaf.c: Likewise.
7614         * math/w_tgammal.c: Likewise.
7615
7616         * po/ja.po: Update from translation team.
7617
7618 2011-09-29  Andreas Jaeger  <aj@suse.de>
7619
7620         [BZ #13179]
7621         * sunrpc/netname.c (netname2host): Fix logic.
7622
7623         [BZ #6779]
7624         [BZ #6783]
7625         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7626         correctly.
7627         * math/w_remainder.c (__remainder): Likewise.
7628         * math/w_remainderf.c (__remainderf): Likewise.
7629         * math/libm-test.inc (remainder_test): Add test cases.
7630
7631 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7632
7633         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7634         sdiv_qrnnd.
7635
7636 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7637
7638         * string/test-memcmp.c: Avoid unncessary #defines.
7639         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7640
7641 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7642
7643         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7644         Use new sse2 version for core i3 - i7 as it's faster
7645         than sse42 version.
7646         (bit_Prefer_PMINUB_for_stringop): New.
7647         * sysdeps/x86_64/rawmemchr.S: Update.
7648         Replace with faster SSE2 version.
7649         * sysdeps/x86_64/memrchr.S: New file.
7650         * sysdeps/x86_64/memchr.S: Update.
7651         Replace with faster SSE2 version.
7652
7653 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7654
7655         * elf/dl-load.c (lose): Add cast to avoid warning.
7656
7657 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7658
7659         * po/ca.po: Update from translation team.
7660
7661         * inet/getnetgrent_r.c: Hook up nscd.
7662         * nscd/Makefile (routines): Add nscd_netgroup.
7663         (nscd-modules): Add netgroupcache.
7664         (CFLAGS-netgroupcache.c): Define.
7665         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7666         (cache_search): Add const to second parameter.
7667         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7668         INNETGR.
7669         (dbs): Add netgrdb entry.
7670         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7671         (verify_persistent_db): Handle netgrdb.
7672         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7673         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7674         GETFDNETGR.
7675         (netgroup_response_header): Define.
7676         (innetgroup_response_header): Define.
7677         (datahead): Add netgroup_response_header and innetgroup_response_header
7678         elements.
7679         * nscd/nscd.conf: Add entries for netgroup cache.
7680         * nscd/nscd.h (dbtype): Add netgrdb.
7681         (_PATH_NSCD_NETGROUP_DB): Define.
7682         (netgroup_iov_disabled): Declare.
7683         (xmalloc, xcalloc, xrealloc): Move declarations here.
7684         (cache_search): Adjust prototype.
7685         Add netgroup-related prototypes.
7686         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7687         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7688         (__nscd_innetgr): Declare.
7689         * nscd/selinux.c (perms): Use access_vector_t as element type and
7690         add netgroup-related initializers.
7691         * nscd/netgroupcache.c: New file.
7692         * nscd/nscd_netgroup.c: New file.
7693         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7694         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7695         For four parameters use innetgr.
7696         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7697         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7698         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7699         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7700
7701         * nscd/connections.c (register_traced_file): Don't register file
7702         for disabled databases.
7703
7704 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7705
7706         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7707
7708         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7709         from tree and freeing node.
7710
7711 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7712
7713         * nss/nsswitch.c (__nss_database_lookup): Handle
7714         nss_parse_service_list out of memory case.
7715
7716 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7717
7718         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7719         out of memory case.
7720
7721 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7722
7723         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7724         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7725         pass it down.
7726         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7727         elf_machine_rela, elf_machine_lazy_rel.
7728         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7729         (ELF_DYNAMIC_DO_REL): Likewise.
7730         (ELF_DYNAMIC_DO_RELA): Likewise.
7731         (ELF_DYNAMIC_RELOCATE): Likewise.
7732         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7733         to ELF_DYNAMIC_DO_REL.
7734         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7735         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7736         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7737         elf_machine_rela.
7738         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7739         skip_ifunc, don't call ifunc function if non-zero.
7740         (elf_machine_rela): Likewise.
7741         (elf_machine_lazy_rel): Likewise.
7742         (elf_machine_lazy_rela): Likewise.
7743         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7744         (elf_machine_lazy_rel): Likewise.
7745         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7746         Likewise.
7747         (elf_machine_lazy_rel): Likewise.
7748         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7749         Likewise.
7750         (elf_machine_lazy_rel): Likewise.
7751         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7752         (elf_machine_lazy_rel): Likewise.
7753         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7754         (elf_machine_lazy_rel): Likewise.
7755         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7756         (elf_machine_lazy_rel): Likewise.
7757         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7758         (elf_machine_lazy_rel): Likewise.
7759         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7760         (elf_machine_lazy_rel): Likewise.
7761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7762         (elf_machine_lazy_rel): Likewise.
7763
7764 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7765
7766         * nss/nss_files/files-init.c (_nss_files_init): Use static
7767         initialization for all the *_traced_file variables.
7768
7769 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7770
7771         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7772
7773 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7774
7775         [BZ #13226]
7776         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7777
7778 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7779
7780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7781         Reread the line before reparsing it.
7782
7783 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7784
7785         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7786
7787 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7788             Maxim Kuvyrkov  <maxim@codesourcery.com>
7789             Joseph Myers  <joseph@codesourcery.com>
7790
7791         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7792         if needed for __stack_chk_guard.
7793
7794 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7795
7796         * sysdeps/posix/spawni.c (script_execute): Always define it.
7797         It will be optimized away if unused.
7798         (maybe_script_execute): New function.
7799         (__spawni): Call it.
7800
7801         * Makerules: Don't include tls.make.
7802         (config-tls): Always set to thread.
7803         * tls.make.c: File removed.
7804
7805 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7806
7807         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7808         * config.make.in (CPPFLAGS-config): New substituted variable.
7809
7810 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7811
7812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7813
7814         [BZ #13192]
7815         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7816         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7817
7818 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7819
7820         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7821         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7822         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7823         (CALL_FAIL): Likewise.
7824         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7825         (CALL_FAIL): Macro removed.
7826         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7827
7828 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7829
7830         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7831         for __FINITE_MATH_ONLY__ == 1.
7832
7833 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7834
7835         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7836         __ieee754_sqrt instead of sqrt.
7837         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7838         __ieee754_sqrtf instead of sqrtf.
7839         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7840         __floorf instead of floorf.
7841         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7842         __floorf, __truncf instead of floorf, truncf.
7843
7844 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7845
7846         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7847
7848         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7849         __extern_always_inline.
7850         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7851         32-bit.
7852
7853 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7854
7855         * elf/rtld.c (dl_main): Also relocate in dependency order when
7856         doing symbol dependency testing.
7857
7858 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7859
7860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7861         Always define `refsym'.
7862
7863 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7864
7865         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7866         (__FD_ELT): Renamed from __FDELT.
7867         * misc/bits/select2.h (__FD_ELT): Likewise.
7868         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7869         __FD_MASK instead of __FDELT, __FDMASK.
7870         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7871         Likewise.
7872         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7873         Likewise.
7874
7875         * elf/Makefile (gen-ldd): Fix pattern.
7876
7877         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7878         (init_tls): Likewise.
7879
7880 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7881
7882         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7883
7884 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7885
7886         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7887         `struct cmsghdr *' instead of `void *'.
7888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7889         Likewise.
7890
7891 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7892
7893         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7894         if non-absolute.
7895         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7896         ldd_rewrite_script.
7897
7898 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7899
7900         * configure.in: Remove --with-tls option.
7901         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7902         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7903         out in case it is missing.
7904         * sysdeps/ia64/elf/configure.in: Likewise.
7905         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7906         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7907         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7908         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7909         * sysdeps/sh/elf/configure.in: Likewise.
7910         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7911         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7912         * sysdeps/x86_64/elf/configure.in: Likewise.
7913         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7914         * sysdeps/mach/hurd/tls.h: Likewise.
7915
7916         [BZ #13067]
7917         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7918
7919         [BZ #13090]
7920         * configure.in: Fix use of AC_INIT.
7921
7922         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7923
7924 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7925
7926         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7927         __set_errno.
7928         * malloc/hooks.c: Likewise.
7929
7930         [BZ #11929]
7931         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7932         variables statically.
7933         (narenas): Initialize.
7934         (list_lock): Initialize.
7935         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7936         initializtion of main_arena and list_lock.  Small cleanups.
7937         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7938         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7939         Add initializers to main_arena and mp_.
7940         (malloc_state): Remove pagesize member.  Change all users to use
7941         GLRO(dl_pagesize).
7942
7943         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7944         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7945         is always initialized.
7946
7947         * malloc/malloc.c: Removed unused configurations and dead code.
7948         * malloc/arena.c: Likewise.
7949         * malloc/hooks.c: Likewise.
7950         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7951
7952         * include/tls.h: Removed.  USE___THREAD must always be defined.
7953         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7954         * elf/dl-libc.c: Likewise.
7955         * elf/dl-tsd.c: Likewise.
7956         * include/errno.h: Likewise.
7957         * include/netdb.h: Likewise.
7958         * include/resolv.h: Likewise.
7959         * inet/herrno-loc.c: Likewise.
7960         * inet/herrno.c: Likewise.
7961         * malloc/arena.c: Likewise.
7962         * malloc/hooks.c: Likewise.
7963         * malloc/malloc.c: Likewise.
7964         * resolv/res-state.c: Likewise.
7965         * resolv/res_libc.c: Likewise.
7966         * sysdeps/i386/dl-machine.h: Likewise.
7967         * sysdeps/ia64/dl-machine.h: Likewise.
7968         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7969         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7970         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7971         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7972         * sysdeps/sh/dl-machine.h: Likewise.
7973         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7974         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7975         * sysdeps/unix/i386/sysdep.S: Likewise.
7976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7977         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7982         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7986         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7987         * sysdeps/x86_64/dl-machine.h: Likewise.
7988         * tls.make.c: Likewise.
7989
7990         * configure.in: Remove --with-__thread option.  Make tests for
7991         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7992         tls_model attribute fail if no support is available.  Remove
7993         USE_IN_LIBIO.
7994         * Makeconfig: Adjust for dropped configure option.  All features are
7995         now mandatory.
7996         * Makerules: Likewise.
7997         * Versions.def: Likewise.
7998         * argp/argp-fmtstream.c: Likewise.
7999         * argp/argp-fmtstream.h: Likewise.
8000         * argp/argp-help.c: Likewise.
8001         * assert/assert.c: Likewise.
8002         * config.h.in: Likewise.
8003         * config.make.in: Likewise.
8004         * configure: Likewise.
8005         * configure.in: Likewise.
8006         * csu/Versions: Likewise.
8007         * csu/init.c: Likewise.
8008         * elf/tst-audit2.c: Likewise.
8009         * elf/tst-tls10.c: Likewise.
8010         * elf/tst-tls10.h: Likewise.
8011         * elf/tst-tls11.c: Likewise.
8012         * elf/tst-tls12.c: Likewise.
8013         * elf/tst-tls14.c: Likewise.
8014         * elf/tst-tlsmod11.c: Likewise.
8015         * elf/tst-tlsmod12.c: Likewise.
8016         * elf/tst-tlsmod13.c: Likewise.
8017         * elf/tst-tlsmod13a.c: Likewise.
8018         * elf/tst-tlsmod14a.c: Likewise.
8019         * elf/tst-tlsmod15b.c: Likewise.
8020         * elf/tst-tlsmod16a.c: Likewise.
8021         * elf/tst-tlsmod16b.c: Likewise.
8022         * elf/tst-tlsmod7.c: Likewise.
8023         * elf/tst-tlsmod8.c: Likewise.
8024         * elf/tst-tlsmod9.c: Likewise.
8025         * gmon/gmon.c: Likewise.
8026         * grp/fgetgrent_r.c: Likewise.
8027         * grp/putgrent.c: Likewise.
8028         * hurd/fopenport.c: Likewise.
8029         * include/libc-symbols.h: Likewise.
8030         * include/tls.h: Likewise.
8031         * intl/gettextP.h: Likewise.
8032         * intl/loadinfo.h: Likewise.
8033         * locale/global-locale.c: Likewise.
8034         * locale/localeinfo.h: Likewise.
8035         * mach/devstream.c: Likewise.
8036         * malloc/arena.c: Likewise.
8037         * malloc/set-freeres.c: Likewise.
8038         * misc/err.c: Likewise.
8039         * misc/getttyent.c: Likewise.
8040         * misc/mntent_r.c: Likewise.
8041         * posix/getopt.c: Likewise.
8042         * posix/wordexp.c: Likewise.
8043         * pwd/fgetpwent_r.c: Likewise.
8044         * resolv/Versions: Likewise.
8045         * resolv/res_hconf.c: Likewise.
8046         * shadow/fgetspent_r.c: Likewise.
8047         * shadow/putspent.c: Likewise.
8048         * stdio-common/printf_fphex.c: Likewise.
8049         * stdio-common/tmpfile.c: Likewise.
8050         * stdlib/abort.c: Likewise.
8051         * stdlib/fmtmsg.c: Likewise.
8052         * sunrpc/auth_unix.c: Likewise.
8053         * sunrpc/clnt_perr.c: Likewise.
8054         * sunrpc/clnt_tcp.c: Likewise.
8055         * sunrpc/clnt_udp.c: Likewise.
8056         * sunrpc/clnt_unix.c: Likewise.
8057         * sunrpc/openchild.c: Likewise.
8058         * sunrpc/svc_simple.c: Likewise.
8059         * sunrpc/svc_tcp.c: Likewise.
8060         * sunrpc/svc_udp.c: Likewise.
8061         * sunrpc/svc_unix.c: Likewise.
8062         * sunrpc/xdr.c: Likewise.
8063         * sunrpc/xdr_array.c: Likewise.
8064         * sunrpc/xdr_rec.c: Likewise.
8065         * sunrpc/xdr_ref.c: Likewise.
8066         * sunrpc/xdr_stdio.c: Likewise.
8067
8068 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8069
8070         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8071
8072 2011-07-03  Andreas Jaeger  <aj@suse.de>
8073
8074         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8075         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8076         regenerate with gen-libm-tests.pl.
8077
8078 2010-05-12  Petr Baudis  <pasky@suse.cz>
8079
8080         [BZ #11589]
8081         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8082         around j0() zero points by switching to j1().
8083         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8084         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8085         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8087
8088 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8089
8090         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8091         instead of 0.
8092         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8093         instead of 0.                              .
8094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8095         Patch in part by Pavel Roskin <proski@gnu.org>.
8096
8097         [BZ #13138]
8098         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8099         realloc.
8100         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
8101         Free memory block if necessary.
8102
8103         [BZ #12847]
8104         * libio/genops.c (INTDEF): For string streams the _lock pointer can
8105         be NULL.  Don't lock in this case.
8106
8107 2011-09-09  Roland McGrath  <roland@hack.frob.com>
8108
8109         * elf/elf.h (ELFOSABI_GNU): New macro.
8110         (ELFOSABI_LINUX): Define to that.
8111
8112 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
8113
8114         * string/strncat.c (strncat): Undef the symbol in case it has been
8115         defined in bits/string.h.
8116
8117 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8118
8119         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8120
8121         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8122         link map.
8123
8124 2011-08-17  Andreas Jaeger  <aj@suse.de>
8125
8126         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8127
8128 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8129             Ian Lance Taylor  <iant@google.com>
8130
8131         * math/libm-test.inc (lround_test): New testcase.
8132         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8133
8134 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8135
8136         * Makefile: Remove support for automatic cvs check-ins.
8137         * Makerules: Likewise.
8138         * config.make.in: Likewise.
8139         * configure.in: Likewise.
8140         * intl/Makefile: Likewise.
8141         * locale/Makefile: Likewise.
8142         * po/Makefile: Likewise.
8143         * posix/Makefile: Likewise.
8144         * sysdeps/gnu/Makefile: Likewise.
8145         * sysdeps/mach/hurd/Makefile: Likewise.
8146         * sysdeps/sparc/sparc32/Makefile: Likewise.
8147
8148         [BZ #13118]
8149         * posix/Makefile (bug-regex32-ENV): Define.
8150         Patch by John Stanley <jpsinthemix@verizon.net>.
8151
8152         * misc/Makefile (headers): Add bits/select2.h.
8153         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8154         * misc/bits/select2.h: New file.
8155         * include/bits/select2.h: New file.
8156         * debug/Makefile (routines): Add fdelt_chk.
8157         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8158         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8159         FD_ISSET.
8160         * debug/fdelt_chk.c: New file.
8161
8162         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8163         * wcsmbs/test-wmemcmp.c: Likewise.
8164         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8165         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8166
8167 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8168
8169         * string/Makefile (strop-tests): Add memcmp.
8170         * string/test-wmemcmp.c: New file.
8171         * string/test-memcmp.c: Add wmemcmp support.
8172
8173 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8174
8175         [BZ #13153]
8176         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8177         2011-07-19 change.
8178
8179         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8180         garbage value in a __mach_port_mod_refs call in the cases of the
8181         task-self and thread-self ports.
8182
8183 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8184
8185         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8186
8187 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8188
8189         * elf/dl-load.c (lose): Check for non-null L.
8190
8191 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8192
8193         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8194
8195         * elf/dl-libc.c (dlerror_run): Pass back error code from
8196         dl_catch_error.
8197
8198         [BZ #13123]
8199         * elf/dl-load.c (lose): Free l_origin if it is valid.
8200
8201         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8202         names.
8203         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8204         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8205         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8206         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8207         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8208         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8209
8210 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8211
8212         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8213         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8214         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8215         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8216         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8217         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8218         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8219         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8220         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8221         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8222
8223 2011-08-15  Alan Modra  <amodra@gmail.com>
8224
8225         [BZ #13092]
8226         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8227         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8228         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8229         ppc_mcount to static-only-routines.
8230         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8231         __mcount_internal.
8232         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8233         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8234
8235 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8236
8237         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8238         for finite and infinity parameters.
8239
8240 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8241
8242         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8243         and add nop instructions for throughput optimization.
8244         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8245
8246 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8247
8248         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8249         aligned copy for power7 with vector-scalar instructions.
8250         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8251
8252 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8253
8254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8255         AVX check.
8256
8257 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8258
8259         [BZ #13144]
8260         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8261         last change.
8262
8263 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8264
8265         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8266         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8267         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8268         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8269         clock_gettime.
8270
8271 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8272
8273         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8274         Forgot to demangle the pointer.
8275
8276         * sysdeps/i386/sysdep.h: Define atom_text_section.
8277         * sysdeps/x86_64/sysdep.h: Likewise.
8278         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8279         section with atom_text_section.
8280         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8281         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8282         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8283         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8284         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8285
8286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8287         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8288         already be defined.  Change to take two parameters and don't assign
8289         result to variable.  Adjust all users.
8290         Define INTERNAL_GETTIME if not already defined.
8291         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8292         call.
8293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8294         HAVE_CLOCK_GETTIME_VSYSCALL.
8295         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8296
8297         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8298         gettimeofday vsyscall, just use time.
8299
8300 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8301
8302         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8303         <errno.h>.
8304
8305 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8306
8307         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8308         syscall on x86-64.
8309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8310         syscall.
8311         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8312         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8313         syscall if possible.
8314
8315 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8316
8317         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8318         e_ident.  Don't pass to find_mapsXX.
8319         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8320
8321 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8322
8323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8324         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8325         * sysdeps/x86_64/multiarch/strchr.S: Update.
8326         Check bit_slow_BSF bit.
8327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8328         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8329         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8330
8331 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8332
8333         [BZ #13134]
8334         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8335         before glibc 2.15.
8336         (tryshell): Define.
8337         (__spawni): Change last parameter to be flag.  Test
8338         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8339         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8340         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8341         * posix/spawni.c: Likewise.
8342         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8343         * posix/spawnp.c: Likewise.  Change normal version to use
8344         SPAWN_XFLAGS_USE_PATH.
8345         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8346         SPAWN_XFLAGS_TRY_SHELL.
8347
8348         [BZ #13150]
8349         * posix/glob.h: Remove gcc 1.x support.
8350
8351         [BZ #13068]
8352         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8353
8354 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8355
8356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8357         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8358         strrchr-sse2-bsf
8359         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8360         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8361         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8362         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8363         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8364         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8365
8366 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8367
8368         * sysdeps/x86_64/wcscmp.S: New file.
8369
8370         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8371         wcscmp-c wcscmp-sse2
8372         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8373         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8374         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8375         * wcsmbs/wcscmp.c: Allow renaming.
8376
8377 2011-09-05  David S. Miller  <davem@davemloft.net>
8378
8379         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8380         stack slot, rather than the struct return pointer slot.
8381         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8382         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8384         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8385
8386 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8387
8388         * po/ja.po: Update from translation team.
8389
8390         [BZ #13144]
8391         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8392         kernel in 64-bit binaries.
8393
8394 2011-09-01  David S. Miller  <davem@davemloft.net>
8395
8396         * elf/elf.h (HWCAP_SPARC_*): Move to..
8397         * sysdeps/sparc/sysdep.h: this new file and add new values.
8398         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8399         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8400         _DL_HWCAP_COUNT to 24.
8401         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8402         entries.
8403         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8404         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8405         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8406         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8407         instead of magic constants.
8408         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8409
8410 2011-08-31  David S. Miller  <davem@davemloft.net>
8411
8412         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8414         Reimplement to do errno handling inline.
8415         (SYSCALL_ERROR_HANDLER): New macro.
8416         (__SYSCALL_STRING): Do not do errno handling in asm.
8417         (__CLONE_SYSCALL_STRING): Delete.
8418         (__INTERNAL_SYSCALL_STRING): Delete.
8419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8420         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8421         (PSEUDO): Reimplement to do errno handling inline.
8422         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8423         (SYSCALL_ERROR_HANDLER): New macro.
8424         (__SYSCALL_STRING): Do not do errno handling in asm.
8425         (__CLONE_SYSCALL_STRING): Delete.
8426         (__INTERNAL_SYSCALL_STRING): Delete.
8427         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8428         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8429         i386.
8430         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8431         (inline_syscall*): Add 'err' argument.
8432         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8433         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8434         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8435         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8436
8437         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8438         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8439
8440 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8441
8442         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8443
8444 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8445
8446         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8447         directive.
8448
8449 2011-08-24  David S. Miller  <davem@davemloft.net>
8450
8451         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8452
8453 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8454
8455         * elf/Makefile: Add rules to build and run unload8 test.
8456         * elf/unload8.c: New file.
8457         * elf/unload8mod1.c: New file.
8458         * elf/unload8mod1x.c: New file.
8459         * elf/unload8mod2.c: New file.
8460         * elf/unload8mod3.c: New file.
8461
8462         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8463         it wasn't used.
8464
8465 2011-08-23  David S. Miller  <davem@davemloft.net>
8466
8467         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8468         subtract stack bias.
8469         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8470         %sp not %fp in calculations.
8471         (_JMPBUF_UNWINDS_ADJ): Likewise.
8472
8473         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8474         (aio_suspend): Call it to force an exception region around the
8475         AIO_MISC_WAIT() invocation.
8476
8477 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8478
8479         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8480         backslash.
8481
8482 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8483
8484         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8485         protection macro.
8486         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8487         and <dl-machine.h>.
8488         (Elf64_FuncDesc): Remove.
8489
8490 2011-08-22  David S. Miller  <davem@davemloft.net>
8491
8492         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8493         sigaltstack check, add missing cfi directives.
8494         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8495         missing cfi directives, and sigaltstack handling.
8496
8497 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8498
8499         [BZ #11724]
8500         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8501         object is seen twice.
8502         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8503
8504         * elf/Makefile (distribute): Add tst-initorder2.c.
8505         (tests): Add tst-initorder2.
8506         (modules-names): Add tst-initorder2a tst-initorder2b
8507         tst-initorder2c tst-initorder2d.  Add rules to build them.
8508         ($(objpfx)tst-initorder2.out): New rule.
8509         * elf/tst-initorder2.c: New file.
8510         * elf/tst-initorder2.exp: New file.
8511
8512 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8513
8514         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8515
8516         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8517         dependencies back to end of function.
8518
8519         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8520         $(elfobjdir)/ld.so.
8521
8522 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8523
8524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8525         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8526         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8527         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8528         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8529         of __vdso_gettimeofday.
8530         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8531         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8532         attribute_hidden.
8533         (_libc_vdso_platform_setup): Remove initialization of
8534         __vdso_gettimeofday and __vdso_time.
8535
8536 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8537
8538         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8539         and fgetc_unlocked.
8540         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8541         getc_unlocked.
8542
8543         * elf/dl-open.c (add_to_global): Report additions to the global scope
8544         for LD_DEBUG=scopes.
8545         (dl_open_worker): Also print scope of newly loaded dependencies.
8546         (_dl_show_scope): Indicate if there is no scope.
8547
8548         [BZ #13114]
8549         * stdio-common/Makefile (tests): Add bug24.
8550         * stdio-common/bug24.c: New file.
8551
8552 2011-08-19  Andreas Jaeger  <aj@suse.de>
8553
8554         [BZ #13114]
8555         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8556         non-existant file when using close-on-exec mode.
8557
8558 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8559
8560         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8561         the very first instruction.
8562
8563         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8564         the CFI state in the end.
8565         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8566         inclusion of dl-trampoline.h.
8567         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8568
8569 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8570
8571         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8572         expectations for long double.
8573
8574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8575         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8576
8577 2011-08-14  David S. Miller  <davem@davemloft.net>
8578
8579         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8580         artificual limit depends upon the system page size.
8581
8582 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8583
8584         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8585         * resolv/Makefile: Define CFLAGS-libresolv.
8586
8587 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8588
8589         * nss/makedb.c (compute_tables): Make variables used in nested
8590         function static.
8591
8592 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8593
8594         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8595         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8596         if buffer was too small.
8597
8598         * elf/pldd.c (main): Attach to all threads in the process.
8599         Rewrite /proc handling to use *at functions.
8600
8601 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8602
8603         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8604         specifies first scope to show.
8605         (dl_open_worker): Update callers.  Move printing scope of new
8606         object to before the relocation.
8607         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8608         * sysdeps/generic/ldsodefs.h: Update declaration.
8609
8610         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8611         string for the scope number.
8612
8613 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8614
8615         * nscd/servicescache.c (cache_addserv): Make sure written is always
8616         initialized.
8617
8618 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8619
8620         * sysdeps/i386/i486/bits/atomic.h
8621         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8622         statement expression, so as to suppress "set but not used" warning.
8623         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8624
8625         * string/strncat.c (STRNCAT): Use prototype definition.
8626
8627         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8628         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8629         -Iprograms here.
8630         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8631         (localedef-modules): Add localedef.
8632         (locale-modules): Add locale.
8633
8634         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8635         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8636         to avoid a warning.
8637
8638 2011-08-14  David S. Miller  <davem@davemloft.net>
8639
8640         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8641         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8642
8643 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8644
8645         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8646         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8647         * elf/rtld.c (dl_main): Set l_name of vDSO.
8648         Call _dl_show_scope when DL_DEBUG_SCOPES.
8649         (process_dl_debug): Recognize scopes flag and also set it for all.
8650         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8651         Declare _dl_show_scope.
8652
8653         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8654         (do_dlopen): Pass caller_dlopen to dl_open.
8655         (__libc_dlopen_mode): Initialize caller_dlopen.
8656
8657         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8658         of libc.  Make tolower call locale-independent.  Optimize a bit by
8659         using isdigit instead of isalnum.
8660         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8661
8662 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8663
8664         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8665         was a dependency or dynamically loaded.
8666
8667 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8668
8669         * intl/l10nflist.c: Allow architecture-specific pop function.
8670         * sysdeps/x86_64/l10nflist.c: New file.
8671
8672         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8673         classification.
8674
8675 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8676
8677         * include/dirent.h: Add libc_hidden_proto for scandirat and
8678         scandirat64.  Don't declare __scandirat64.
8679         * dirent/scandirat.c: Add libc_hidden_def.
8680         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8681         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8682
8683 2011-08-10  David S. Miller  <davem@davemloft.net>
8684
8685         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8686         enum.
8687         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8690
8691 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8692
8693         * Versions.def [libc]: Add GLIBC_2.15.
8694         * dirent/Makefile (routines): Add scandirat and scandirat64.
8695         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8696         GLIBC_2.15.
8697         * dirent/dirent.h: Declare scandirat and scandirat64.
8698         * dirent/scandirat.c: New file.
8699         * dirent/scandirat64.c: New file.
8700         * sysdeps/wordsize-64/scandirat.c: New file.
8701         * sysdeps/wordsize-64/scandirat64.c: New file.
8702         * dirent/opendir.c: Define opendirat.
8703         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8704         using scandirat.
8705         * dirent/scandir64.c: Adjust for scandir.c change.
8706         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8707         __scandirat64, and __scandir_cancel_handler.
8708         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8709         additional parameter and use openat instead of open (outside of ld.so).
8710         Add new __opendir as wrapper around __opendirat.
8711         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8712         here without requiring old scandirat implementation.
8713
8714 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8715
8716         * dirent/scandir.c (cancel_handler): Renamed to
8717         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8718         defined.  Adjust users.
8719         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8720         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8721
8722 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8723
8724         * string/test-string.h (IMPL): Use __STRING to expand name and then
8725         stringify it.
8726
8727         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8728         of cleanups.
8729
8730 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8731
8732         * string/Makefile: Update.
8733         (strop-tests): Append strncat.
8734         * string/test-wcscmp.c: New file.
8735         New comprehensive test for wcscmp.
8736         * string/test-strcmp.c: Update.
8737         (WIDE): New define.
8738
8739 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8740
8741         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8742         line.
8743
8744 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8745
8746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8747         encoding to ACE if AI_IDN.
8748
8749 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8750
8751         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8752         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8753
8754 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8755
8756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8757         Fix overflow bug in strncat.
8758         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8759
8760         * string/test-strncat.c: Update.
8761         Add new tests for checking overflow bugs.
8762
8763 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8764
8765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8766         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8767         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8768         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8769         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8770         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8771         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8772         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8773         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8774
8775         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8776         (USE_AS_STRCAT): Define.
8777         Add strcat and strncat support.
8778         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8779
8780 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8781
8782         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8783         __n bigger than INT_MAX+1.
8784         (__strncmp_g): Likewise.
8785
8786 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8787
8788         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8789         * libio/stido.h: Likewise.
8790
8791         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8792         (AF_NFC): Define.
8793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8794         (AF_NFC): Define.
8795
8796         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8797         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8798         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8799         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8800         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8801
8802         [BZ #13021]
8803         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8804         installed.
8805
8806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8807         typo.
8808         (_dl_x86_64_save_sse): Likewise.
8809
8810 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8811
8812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8813         OSXSAVE.
8814         (_dl_x86_64_save_sse): Likewise.
8815
8816         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8817
8818         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8819
8820 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8821
8822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8823         change.
8824         (_dl_x86_64_save_sse): Use correct AVX check.
8825
8826 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8827
8828         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8829         bug in strncpy/strncat.
8830         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8831
8832 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8833
8834         * string/tester.c (test_strcat): Add tests for different alignments
8835         of source and destination.
8836         (test_strncat): Likewise.
8837
8838 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8839
8840         [BZ #12852]
8841         * posix/glob.c (glob): Check passed in values before using them in
8842         expressions to avoid some overflows.
8843         (glob_in_dir): Likewise.
8844
8845         [BZ #13007]
8846         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8847         check for AVX enablement so that we don't crash with old kernels and
8848         new hardware.
8849         * elf/tst-audit4.c: Add same checks here.
8850         * elf/tst-audit6.c: Likewise.
8851
8852         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8853
8854 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8855
8856         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8857
8858 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8859
8860         * po/cs.po: Update from translation team.
8861         * po/bg.po: Likewise.
8862
8863 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8864
8865         * misc/sys/cdefs.h: Add support for const attribute.
8866         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8867         to gnu_dev_{major,minor,makedev} functions.
8868
8869 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8870
8871         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8872
8873 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8874
8875         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8876         strlen results.
8877
8878 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8879
8880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8881         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8882         register in order to avoid conflicts with the soft frame pointer
8883         being held in r11 when necessary.
8884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8885         (INTERNAL_VSYSCALL_NCS): Likewise.
8886
8887 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8888
8889         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8890         * elf/dl-fini.c (_dl_fini): Adjust caller.
8891         * elf/dl-close.c (_dl_close_worker): Likewise.
8892         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8893
8894 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8895
8896         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8897         "aux_cache->nlibs < 0".
8898
8899         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8900         in the reload-count case.
8901
8902 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8903
8904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8905         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8906         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8907         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8908         * sysdeps/x86_64/multiarch/strcat.S: New file.
8909         * sysdeps/x86_64/multiarch/strncat.S: New file.
8910         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8911         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8912         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8913         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8914         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8915         (USE_AS_STRCAT): Define.
8916         Add strcat and strncat support.
8917         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8918         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8919         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8920         * string/strncat.c: Update.
8921         (USE_AS_STRNCAT): Define.
8922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8923         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8924         and i7.
8925         * sysdeps/x86_64/multiarch/init-arch.h
8926         (bit_Prefer_PMINUB_for_stringop): New.
8927         (index_Prefer_PMINUB_for_stringop): Likewise.
8928         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8929         bit_Prefer_PMINUB_for_stringop.
8930
8931 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8932
8933         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8934         buffer64.
8935         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8936         of casting of buffer.
8937         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8938         buffer32 and buffer64.
8939         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8940         writes instead of casting of buffer.
8941         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8942         buffer32.
8943         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8944         casting of buffer.
8945
8946 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8947
8948         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8949
8950 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8951
8952         * nscd/nscd.c (termination_handler): Don't do anything for a database
8953         if it has not yet been initialized.
8954
8955 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8956
8957         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8958
8959 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8960
8961         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8962
8963 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8964
8965         * po/nl.po: Update from translation team.
8966         * po/sv.po: Likewise.
8967
8968 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8969
8970         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8971         now disallowed by GCC.
8972
8973         * configure.in (use-default-link): Default to yes if a test -shared
8974         link meets our qualifications.
8975         * configure: Regenerated.
8976
8977         * config.make.in (output-format): New variable.
8978         * configure.in: Check for ld --print-output-format support.
8979         * configure: Regenerated.
8980         * Makerules ($(common-objpfx)format.lds)
8981         [$(output-format) != unknown]: Just use $(output-format),
8982         instead of the linker-script munging.
8983
8984 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8985
8986         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8987         of $(common-objpfx)shlib.lds.
8988         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8989
8990         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8991         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8992
8993         * configure.in (-z relro check): Adjust test code to add a large
8994         writable data section after it.
8995         * configure: Regenerated.
8996
8997 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8998
8999         * configure.in (-z relro check): Fix test code to make the variable
9000         truly const.
9001         * configure: Regenerated.
9002
9003 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
9004
9005         * nscd/nscd.h (struct traced_file): Define.
9006         (struct database_dyn): Remove inotify_descr, reset_res, and filename
9007         elements.  Add traced_files.
9008         (inotify_fd): Declare.
9009         (register_traced_file): Declare.
9010         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9011         (inotify_fd): Export.
9012         (resolv_conf_descr): Remove.
9013         (nscd_init): Move inotify descriptor creation to main.
9014         Don't register files for notification here.
9015         (register_traced_file): New function.
9016         (invalidate_cache): Don't use reset_res to determine whether to call
9017         res_init, go through the list of registered files.
9018         (main_loop_poll): The inotify descriptors are now stored in the
9019         structures for the traced files.
9020         (main_loop_epoll): Likewise
9021         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
9022         to __nss_disable_nscd.
9023         * nscd/cache.c (prune_cache): There is no single inotify descriptor
9024         for a database anymore.  Check the records for all the registered
9025         files instead.
9026         * nss/Makefile (libnss_files-routines): Add files-init.
9027         (libnss_db-routines): Add db-init.
9028         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9029         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9030         * nss/nss_db/db-init.c: New file.
9031         * nss/nss_files/files-init.c: New file.
9032         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
9033         __nss_lookup_function.
9034         (__nss_lookup_function): Call nss_load_library.
9035         (nss_load_all_libraries): New function.
9036         (__nss_disable_nscd): Take parameter with callback function for files
9037         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
9038         used for the cached services.
9039         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9040         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9041         options for features to all the files in nscd.
9042
9043         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9044
9045 2011-07-10  Roland McGrath  <roland@hack.frob.com>
9046
9047         * csu/elf-init.c (__libc_csu_init): Comment typo.
9048
9049 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
9050
9051         * po/pl.po: Update from translation team.
9052         * po/ja.po: Likewise.
9053         * po/ru.po: Likewise.
9054         * po/ko.po: Likewise.
9055         * po/fr.po: Likewise.
9056
9057 2011-07-09  Roland McGrath  <roland@hack.frob.com>
9058
9059         * configure.in (.ctors/.dtors header and trailer check):
9060         Use an empirical test on a built program.
9061         * configure: Regenerated.
9062
9063         * configure.in (-z relro check): Use an empirical test on a built DSO.
9064         Detect, but do not require, on ia64.
9065         * configure: Regenerated.
9066
9067         * configure.in (READELF): Find it with AC_CHECK_TOOL.
9068         Update tests that use readelf to use $READELF instead.
9069         * configure: Regenerated.
9070
9071 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
9072
9073         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9074         if the result is not used.
9075
9076 2011-07-05  Andreas Jaeger  <aj@suse.de>
9077
9078         [BZ#9696]
9079         * stdlib/tst-strtod.c: Add testcase.
9080
9081 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
9082
9083         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9084         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9085         The latter has a higher limit.  Take additional parameter to pass to
9086         the new function.
9087         (__pathconf): Pass file to __statfs_link_max.
9088         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9089         __statfs_link_max.
9090         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9091         __statfs_link_max.
9092
9093         [BZ #12868]
9094         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9095         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9096         Handle Lustre.
9097         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9098         (__statfs_filesize_max): Likewise.
9099         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9100
9101 2011-07-05  Andreas Jaeger  <aj@suse.de>
9102
9103         * resolv/res_comp.c (dn_skipname): Remove unused variable.
9104
9105 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9106
9107         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9108         `status' variable.
9109         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9110         Likewise.
9111
9112 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9113
9114         * Makefile (strop-tests): Add strncat.
9115         * string/test-strncat.c: New file.
9116
9117 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9118
9119         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9120
9121 2011-06-21  Andreas Jaeger  <aj@suse.de>
9122
9123         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9124         Copy rule from iconvdata/Makefile.
9125
9126 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9127
9128         [BZ #12922]
9129         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9130         but no long options are defined, just return 'W'.
9131
9132 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9133
9134         [BZ #9696]
9135         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9136
9137 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9138
9139         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9140         netgroups to read.
9141         (innetgr): Likewise.
9142
9143 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9144
9145         * config.make.in (install_root): Default to $(DESTDIR).
9146
9147 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9148
9149         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9150
9151 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9152
9153         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9154
9155         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9156         containing directory rather than embedding absolute directory names.
9157
9158         * scripts/check-local-headers.sh: Rewritten using awk.
9159         Match by word, not by line.  Print error messages for matches.
9160         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9161
9162         * Makerules [shlib-lds-flags empty]:
9163         ($(common-objpfx)libc_pic.opts): New target.
9164         ($(common-objpfx)libc_pic.os.clean): New target.
9165         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9166
9167         * config.make.in (OBJCOPY): New variable.
9168         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9169         * configure: Regenerated.
9170
9171         * config.make.in (use-default-link): New variable.
9172         * configure.in (use_default_link): Grok --with-default-link to set it.
9173         * configure: Regenerated.
9174         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9175         (shlib-lds, shlib-lds-flags): Define to empty.
9176
9177         * Makerules (shlib-lds): New variable.
9178         (shlib-lds-flags): New variable.
9179         (build-shlib, build-moduile, build-module-asneeded): Use it.
9180         ($(common-objpfx)libc.so): Use $(shlib-lds).
9181         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9182         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9183
9184         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9185         DT_FLAGS/DT_FLAGS_1 with zero flags.
9186
9187         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9188         linker script munging.
9189
9190 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9191
9192         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9193         as 128-bit value.
9194         * crypt/sha512.c (sha512_process_block): Perform total addition using
9195         128-bit if possible.
9196         (__sha512_finish_ctx): Likewise.
9197         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9198         as 64-bit value.
9199         * crypt/sha256.c (SWAP64): Define.
9200         (sha256_process_block): Perform total addition using 64-bit if
9201         possible.
9202         (__sha256_finish_ctx): Likewise.
9203
9204 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9205
9206         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9207         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9208         * nscd/hstcache.c (cache_addhst): Likewise.
9209         * nscd/grpcache.c (cache_addgr): Likewise.
9210         * nscd/aicache.c (addhstaiX): Likewise
9211         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9212
9213 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9214
9215         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9217         * nscd/hstcache.c (cache_addhst): Likewise.
9218         * nscd/grpcache.c (cache_addgr): Likewise.
9219         * nscd/aicache.c (addhstaiX): Likewise
9220
9221 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9222
9223         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9224         domain only when needed.
9225
9226 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9227
9228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9229         is always restored.
9230
9231 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9232
9233         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9234         are re-adding the entry.
9235         * nscd/servicescache.c (cache_addserv): Likewise.
9236
9237 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9238
9239         * sysdeps/generic/dl-irel.h: fix protection against multiple
9240         inclusions.
9241         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9242
9243 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9244
9245         [BZ #12935]
9246         * malloc/memusage.sh: Fix quoting in message.
9247         * debug/xtrace.sh: Likewise.
9248
9249         * configure.in: Remove support for --experimental-malloc option, make
9250         it the default.
9251         * config.make.in: Likewise.
9252         * malloc/Makefile: Likewise.
9253
9254 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9255
9256         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9257         two-byte characters.
9258
9259 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9260
9261         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9262         AC_CACHE_CHECK invocation.
9263         * configure: Regenerated.
9264
9265         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9266
9267 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9268
9269         [BZ #12350]
9270         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9271         bit from old_res_options.
9272
9273         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9274
9275         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9276         value type for setfct.
9277
9278 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9279
9280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9281         __gettimeofday instead of gettimeofday.
9282
9283 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9284
9285         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9286
9287 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9288
9289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9290
9291         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9292         info.
9293
9294 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9295
9296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9297         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9298         strcpy-sse2-unaligned strncpy-sse2-unaligned
9299         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9300         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9301         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9302         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9303         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9306         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9307         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9308         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9309         (STRCPY): Support SSE2 and SSSE3 versions.
9310
9311 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9312
9313         [BZ #12874]
9314         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9315         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9316         kernels which artificially limit size of requests.
9317
9318 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9319
9320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9321         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9322         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9323         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9324         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9325         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9326         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9327         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9328         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9329         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9330         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9331         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9332         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9333         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9334         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9336         Enable unaligned load optimization for Intel Core i3, i5 and i7
9337         processors.
9338         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9339         Define.
9340         (index_Fast_Unaligned_Load): Define.
9341         (HAS_FAST_UNALIGNED_LOAD): Define.
9342
9343 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9344
9345         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9346
9347 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9348
9349         [BZ #12907]
9350         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9351         until it is clear that the information is realy needed.
9352         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9353
9354 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9355
9356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9357
9358 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9359
9360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9361         /sys/devices/system/cpu/online if it is usable.
9362
9363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9364         reading the information from the /proc filesystem to once a second.
9365
9366 2011-06-21  Andreas Jaeger  <aj@suse.de>
9367
9368         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9369         NULL after inclusion of kernel headers.
9370
9371 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9372
9373         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9374         calls to internal_setent.
9375
9376         [BZ #12885]
9377         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9378         addresses using gethostbyname4_r ignore IPv4 addresses.
9379
9380         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9381         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9382
9383         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9384
9385 2011-06-20  David S. Miller  <davem@davemloft.net>
9386
9387         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9388         inclusions.
9389         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9390
9391         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9392         (elf_irel): Use it.
9393         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9394         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9395         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9396         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9397         * sysdeps/x86_64/dl-irel.h: Likewise.
9398
9399         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9400         * elf/dl-sym.c: Likewise.
9401
9402 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9403
9404         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9405         need to dereference resplen2.
9406
9407 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9408
9409         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9410
9411 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9412
9413         * Makeconfig: Define vardbdir and inst_vardbdir.
9414         * nss/Makefile: Add rules to install db-Makefile.
9415
9416         * nss/nss_db/db-XXX.c: Cleanup.
9417
9418         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9419         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9420         GLIBC_PRIVATE.
9421         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9422         * nss/makedb.c: Implement -g option to specify that value strings
9423         are generated and should not be added to table iterated over for
9424         get*ent calls.
9425         * nss/nss_db/db-initgroups.c: New file.
9426
9427         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9428         interface.
9429
9430         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9431         (internal_getgrouplist): Adjust to name change.
9432         Update use_initgroups_entry if this is not the first call.
9433         * nss/databases.def: Add initgroups entry.
9434
9435         * nss/makedb.c (compute_tables): Check result of multiple hash table
9436         sizes to minimize maximum chain length.
9437
9438 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9439
9440         * Versions.def: Add entry for libnss_db.
9441         * shlib-versions: Likewise.
9442         * nss/Makefile: Add rules to build libnss_db.
9443         * nss/Versions: Add libnss_db information.  Organize libnss_files
9444         entries better.
9445         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9446         makedb progra.  Some minor improvements to generate smaller files.
9447         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9448         here from...
9449         * nss/makedb.c: ...here.
9450         Improve database format to be smaller and require less memory at
9451         runtime.
9452         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9453         db anymore.
9454         * nss/nss_db/db-netgrp.c: Likewise.
9455         * nss/nss_db/db-open.c: Likewise.
9456         * nss/nss_files/flies-XXX.x: Adjust comments.
9457         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9458         * nss/nss_files/files-grp.c: Likewise.
9459         * nss/nss_files/files-hosts.c: Likewise.
9460         * nss/nss_files/files-network.c: Likewise.
9461         * nss/nss_files/files-proto.c: Likewise.
9462         * nss/nss_files/files-pwd.c: Likewise.
9463         * nss/nss_files/files-rpc.c: Likewise.
9464         * nss/nss_files/files-service.c: Likewise.
9465         * nss/nss_files/files-sgrp.c: Likewise.
9466         * nss/nss_files/files-spwd.c: Likewise.
9467         * nss/nss_db/db-alias.c: Removed.
9468         * nss/nss_db/dummy-db.h: Removed.
9469
9470 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9471
9472         * nss/makedb.c: Rewritten to not use database library.
9473         * nss/Makefile: Update to build new makedb program.
9474
9475 2011-06-14  Andreas Jaeger  <aj@suse.de>
9476
9477         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9478         memset declaration.
9479
9480 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9481
9482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9483         tmpbuf.
9484
9485 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9486
9487         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9488         * elf/Makefile ($(objpfx)ld.so): Likewise.
9489
9490         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9491         Don't list ld.so twice in dependencies.
9492
9493         * posix/bug-regex31.c: Include <stdlib.h>.
9494
9495         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9496
9497         * nis/nss_compat/compat-spwd.c
9498         (getspent_next_nss_netgr): Remove unused variable.
9499         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9500
9501         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9502         nonmembers" output to use the right array.
9503
9504         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9505
9506         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9507
9508         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9509         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9510         * catgets/gencat.c (read_input_file): Likewise.
9511         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9512
9513         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9514         variable definition inside #if's controlling its use.
9515
9516         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9517
9518         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9519
9520         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9521
9522         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9523         unreachable code.
9524
9525         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9526
9527         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9528         * configure: Regenerated.
9529
9530         * Makerules: Revert last change.
9531         * elf/Makefile: Likewise.
9532
9533 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9534
9535         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9536         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9537         (reloc-link): Likewise.
9538
9539 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9540
9541         * elf/Makefile: Add rules to build pldd.
9542         * elf/pldd.c: New file.
9543         * elf/pldd-xx.c: New file.
9544
9545 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9546
9547         * version.h: Update for 2.15 development version.
9548
9549 2011-06-07  David S. Miller  <davem@davemloft.net>
9550
9551         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9552         ifuncs.
9553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9554         elf_machine_lazy_rel): Likewise.
9555         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9557         elf_machine_lazy_rel): Likewise.
9558         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9559         dl_hwcap via passed in argument.
9560         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9561         Likewise.
9562
9563 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9564
9565         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9566
9567 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9568
9569         [BZ #12849]
9570         * manual/fdl-1.1.texi: New file, verbatim from:
9571         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9572         * manual/lgpl-2.1.texi: New file, verbatim from:
9573         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9574         * manual/Makefile (licenses): New variable, list those new file names.
9575         (texis): Use it.
9576         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9577
9578         * manual/fdl.texi: File removed.
9579         * manual/lesser.texi: File removed.
9580         * manual/libc.texinfo (Copying, Documentation License):
9581         Use new @include file names, put @appendix directive before @include.
9582
9583 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9584
9585         [BZ #12841]
9586         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9587         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9588         (mq_open): Add __NTH.
9589
9590 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9591
9592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9593         Assume Intel Core i3/i5/i7 processor if AVX is available.
9594
9595 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9596
9597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9598         typo.
9599
9600 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9601
9602         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9603         memory.  Use alloca_account.  Fix memory leak when retrying.
9604
9605 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9606
9607         * version.h (RELEASE): Bump for 2.14 release.
9608         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9609
9610         * config.make.in (RANLIB): Remove entry.
9611
9612 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9613
9614         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9615         (libc.pot): Work around missing support for .ksh extension in xgettext.
9616
9617         [BZ #12684]
9618         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9619         if both request failed.
9620         (send_dg): In case of server errors clear resplen or *resplen2.
9621
9622         [BZ #12454]
9623         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9624         when there are multiple maps.
9625         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9626         (_dl_fini): Remove test here.
9627
9628         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9629
9630 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9631
9632         [BZ #12350]
9633         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9634         bit from old_res_options.
9635         (gaih_inet): Likewise.
9636
9637         [BZ #11099]
9638         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9639         as signed.
9640
9641         * resolv/res_init.c (res_setoptions): Make the code more compact.
9642
9643         [BZ #11558]
9644         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9645         set RES_USEVC.
9646
9647         [BZ #11634]
9648         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9649
9650         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9651
9652         [BZ #11781]
9653         * malloc/malloc.h: Declare malloc hook variables as volatile.
9654
9655         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9656         in last patch.
9657
9658         [BZ #11799]
9659         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9660         raise in the comment.
9661         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9662         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9663         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9664
9665 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9666
9667         [BZ #12811]
9668         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9669         grow the buffers more if it already has to be sufficient.
9670         (build_wcs_upper_buffer): Likewise.
9671         * posix/regexec.c (check_matching): Likewise.
9672         (clean_state_log_if_needed): Likewise.
9673         (extend_buffers): Don't enlarge buffers beyond size of the input
9674         buffer.
9675         Patches mostly by Emil Wojak <emil@wojak.eu>.
9676         * posix/bug-regex32.c: New file.
9677         * posix/Makefile (tests): Add bug-regex32.
9678
9679         * locale/findlocale.c (_nl_find_locale): Return right away if
9680         _nl_explode_name failed.
9681         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9682
9683         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9684
9685         * debug/xtrace.sh: Unify messages.
9686         * malloc/memusage.sh: Likewise.
9687
9688         [BZ #12813]
9689         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9690         time symbol from vDSO.  Substitute with vsyscall if not available.
9691         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9692         __vdso_time.
9693
9694         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9695         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9696         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9697         Add sendmmsg and internal_sendmmsg.
9698         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9699         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9700         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9701
9702         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9703         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9704         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9705
9706 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9707
9708         [BZ #12813]
9709         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9710         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9711         available.
9712         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9713         __vdso_getcpu.
9714
9715         [BZ #12814]
9716         * iconvdata/Makefile (tests): Add bug-iconv9.
9717         * iconvdata/bug-iconv9.c: New file.
9718
9719 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9720
9721         [BZ #12814]
9722         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9723
9724 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9725
9726         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9727         (struct user_regs_struct): Change intcs field back to cs.
9728
9729 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9730
9731         * po/ja.po: Update from translation team.
9732
9733 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9734
9735         [BZ #12795]
9736         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9737         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9738
9739 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9740
9741         * stdlib/longlong.h: Update from GCC.
9742
9743 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9744
9745         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9746         parameter name.
9747         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9748         Add parameter name.
9749         (__sysconf): Pass it down.
9750
9751 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9752
9753         [BZ #12671]
9754         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9755         some situations.
9756         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9757         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9758         add in in __libc_use_alloca calls.  Adjust callers.
9759         (glob): Use malloc in some situations.
9760
9761         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9762         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9763         pltexit.
9764
9765 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9766
9767         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9768         and CLOCK_BOOTTIME_ALARM.
9769
9770         [BZ #12782]
9771         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9772         is returned.
9773
9774         * string/_strerror.c (__strerror_r): Print negative errors as signed
9775         numbers.
9776
9777         [BZ #12777]
9778         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9779         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9780         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9781
9782         * configure.in: Fix typo in redirection and correct removal of test
9783         files in two cases.
9784
9785         [BZ #12788]
9786         * locale/setlocale.c (new_composite_name): Fix test to check for
9787         identical name of all categories.
9788
9789         [BZ #12792]
9790         * libio/filedoalloc.c (local_isatty): New function.
9791         (_IO_file_doallocate): Use local_isatty.
9792         * stdio-common/perror.c (perror): In case a new stream is used
9793         forward the stream error.
9794         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9795         error flag.
9796
9797 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9798
9799         [BZ #11869]
9800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9801         alloca.
9802         * include/alloca.h (extend_alloca_account): Define.
9803
9804         [BZ #11857]
9805         * posix/regex.h: Fix comments with documentation of user-accessible
9806         fields after compilation and describe correct free'ing of pattern
9807         after re_compile_pattern.
9808         Patch by Reuben Thomas <rrt@sc3d.org>.
9809
9810 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9811
9812         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9813         and -mno-altivec to prevent the compiler from using Altivec and/or
9814         VSX instructions when the corresponding registers are not available.
9815
9816 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9817
9818         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9819
9820 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9821
9822         * libio/freopen.c (freopen): Use __dup2, not dup2.
9823         * libio/freopen64.c (freopen64): Likewise.
9824
9825 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9826
9827         [BZ #12775]
9828         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9829         * math/Makefile (tests): Add test-powl.
9830         (CFLAGS-test-powl.c): Define.
9831         * math/test-powl.c: New file.
9832
9833 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9834
9835         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9836
9837 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9838
9839         [BZ #11837]
9840         * iconvdata/gb18030.c: Update to GB18020-2005.
9841
9842 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9843
9844         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9845         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9846         Patch by Aharon Robbins <arnold@skeeve.com>.
9847
9848         [BZ #11892]
9849         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9850         on the stack.
9851
9852         [BZ #11895]
9853         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9854         through underflows.
9855
9856         [BZ #12766]
9857         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9858         point to strings before performing equality test for error_one_per_line
9859         mode.
9860
9861         [BZ #11697]
9862         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9863
9864         [BZ #11820]
9865         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9866         (struct user_fpregs_struct): Avoid __uint*_t types.
9867
9868         [BZ #6420]
9869         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9870         symbol info.  Use it instead of calling _dl_addr locally.
9871         (lock_and_info): New function.
9872         (tr_freehook): Call lock_and_info and pass symbol info as additional
9873         parameter to tr_where.
9874         (tr_mallochook): Likewise.
9875         (tr_reallochook): Likewise.
9876         (tr_memalignhook): Likewise.
9877
9878         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9879         used and couldn't be at all thread-safe.
9880
9881 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9882
9883         * libio/freopen.c (freopen): Don't close old file descriptor
9884         before the new one is opened.  Instead dup the new file descriptor
9885         to the old one after the new stream is created.
9886         * libio/freopen64.c (freopen64): Likewise.
9887         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9888         * libio/fileops.c (_IO_new_file_close_it): Handle new
9889         _IO_FLAGS2_NOCLOSE flag.
9890         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9891         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9892         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9893         _IO_FLAGS2_NOCLOSE flag.
9894         * include/unistd.h: Add hidden_proto for dup3.
9895         Define __have_dup3.
9896         * io/dup3.c: Define hidden symbol.
9897         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9898
9899         [BZ #7101]
9900         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9901         when an incomplete long option is used.
9902         * posix/tst-getopt_long1.c: New file.
9903         * posix/Makefile (tests): Add tst-getopt_long1.
9904
9905         [BZ #10138]
9906         * scripts/config.guess: Update from autoconf-2.68.
9907         * scripts/config.sub: Likewise.
9908
9909         [BZ #10157]
9910         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9911         tests into ...
9912         (has_cpuclock): ...this.  New function.
9913         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9914         macro here based on has_cpuclock code.
9915
9916         [BZ #10149]
9917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9918         First byte (not low byte) is now always NUL.
9919         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9920
9921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9922         Use non-cancelable interfaces.
9923
9924         [BZ #9809]
9925         * locale/iso-639.def: Add entry for Sorani.
9926
9927         [BZ #11901]
9928         * include/stdlib.h: Move include protection to the right place.
9929         Define abort_msg_s.  Declare __abort_msg with it.
9930         * stdlib/abort.c (__abort_msg): Adjust type.
9931         * assert/assert.c (__assert_fail_base): New function.  Majority
9932         of code from __assert_fail.  Allocate memory for __abort_msg with
9933         mmap.
9934         (__assert_fail): Now call __assert_fail_base.
9935         * assert/assert-perr.c: Remove bulk of implementation.  Use
9936         __assert_fail_base.
9937         * include/assert.hL Declare __assert_fail_base.
9938         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9939         mmap.
9940         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9941
9942 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9943
9944         [BZ #11952]
9945         [BZ #12453]
9946         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9947         until all modules are registered in the DTV.
9948         * elf/Makefile: Add rules to build and run tst-tls19.
9949         * elf/tst-tls19.c: New file.
9950         * elf/tst-tls19mod1.c: New file.
9951         * elf/tst-tls19mod2.c: New file.
9952         * elf/tst-tls19mod3.c: New file.
9953         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9954
9955         [BZ #12083]
9956         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9957         correctly.
9958
9959         [BZ #12601]
9960         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9961         two-byte sequence errors.
9962         * iconvdata/Makefile (tests): Add bug-iconv8.
9963         * iconvdata/bug-iconv8.c: New file.
9964
9965         [BZ #12626]
9966         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9967         buf2 definition.
9968
9969         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9970
9971         [BZ #12432]
9972         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9973         (dummy_getcfa): New function.
9974         (init): Get _Unwind_GetCFA address, use dummy if not found.
9975         (backtrace_helper): In recursion check, also check whether CFA changes.
9976         (__backtrace): Completely initialize arg.
9977
9978         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9979         storing incomplete byte sequence in state object.  Avoid testing for
9980         guaranteed too small input if we know there is enough data available.
9981
9982 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9983
9984         * Makeconfig (+link-pie): Indent.
9985         * Rules (binaries-pie): Define if $(have-fpie) and
9986         $(build-shared).
9987         (binaries-shared): Also filter out $(binaries-pie).
9988         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9989         * nscd/Makefile (others-pie): Add nscd.
9990         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9991         ($(objpfx)nscd): Remove command override.
9992         * login/Makefile (others-pie): Add pt_chown.
9993         ($(objpfx)pt_chown): Remove command override.
9994         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9995         remove command overrides.
9996
9997 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9998
9999         * libio/tst_putwc.c: Fix error messages.
10000
10001         [BZ #12724]
10002         * libio/fileops.c (_IO_new_file_close_it): Always flush when
10003         currently writing and seek to current position when not.
10004         * libio/Makefile (tests): Add bug-fclose1.
10005         * libio/bug-fclose1.c: New file.
10006
10007 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
10008
10009         [BZ #12511]
10010         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10011         don't set DF_1_NODELETE here.
10012         (do_lookup_x): When entering new entry test for copy relocation
10013         and if necessary set DF_1_NODELETE flag.
10014         * elf/tst-unique4.cc: New file.
10015         * elf/tst-unique4.h: New file.
10016         * elf/tst-unique4lib.cc: New file.
10017         * elf/Makefile: Add rules to build and run tst-unique4.
10018         Patch by Piotr Bury <pbury@goahead.com>.
10019
10020 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
10021
10022         [BZ #12052]
10023         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10024
10025         [BZ #12625]
10026         * misc/mntent_r.c (addmntent): Flush the stream after the output
10027
10028         [BZ #12393]
10029         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10030         (is_trusted_path_normalize): Skip initial colon.  Append slash
10031         to empty buffer.  Duplicate is_trusted_path code but allow
10032         constructed patch to be prefix.
10033         (is_dst): Allow $ORIGIN followed by /.
10034         (_dl_dst_substitute): Correct clearing of check_for_trusted.
10035         Correct testing of result of is_trusted_path_normalize
10036         (decompose_rpath): Fix warning.
10037
10038 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
10039
10040         [BZ #11257]
10041         * grp/initgroups.c (internal_getgrouplist): When we found the service
10042         list through the initgroups entry in nsswitch.conf do not always
10043         continue on a successful lookup.  Don't always use the
10044         __nss_group_database value if it is set.
10045         * nss/nsswitch.conf (initgroups): Change action for successful db
10046         lookup to continue for compatibility.
10047
10048 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
10049
10050         [BZ #11532]
10051         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10052         and CP774 modules.
10053         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10054         and CP774 modules.
10055         * iconvdata/tst-tables.sh: Likewise.
10056         * iconvdata/cp770.c: New file.
10057         * iconvdata/cp771.c: New file.
10058         * iconvdata/cp772.c: New file.
10059         * iconvdata/cp773.c: New file.
10060         * iconvdata/cp774.c: New file.
10061         * iconvdata/testdata/CP770: New file.
10062         * iconvdata/testdata/CP770..UTF8: New file.
10063         * iconvdata/testdata/CP771: New file.
10064         * iconvdata/testdata/CP771..UTF8: New file.
10065         * iconvdata/testdata/CP772: New file.
10066         * iconvdata/testdata/CP772..UTF8: New file.
10067         * iconvdata/testdata/CP773: New file.
10068         * iconvdata/testdata/CP773..UTF8: New file.
10069         * iconvdata/testdata/CP774: New file.
10070         * iconvdata/testdata/CP774..UTF8: New file.
10071
10072         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10073         END CHARMAP line.
10074         * iconvdata/gen-8bit-gap.sh: Likewise.
10075         * iconvdata/gen-8bit.sh: Likewise.
10076
10077         * locale/iso-639.def: Add ary entry.
10078
10079         [BZ #11258]
10080         * locale/C-translit.h.in: Add U20A1 transliteration.
10081
10082         [BZ #12178]
10083         * locale/iso-639.def: Add wae entry.
10084         Patch by Kevin Bortis <bortis@translate-wae.ch>.
10085
10086         [BZ #12545]
10087         * locale/programs/localedef.c (construct_output_path): Use ssize_t
10088         for n.
10089
10090         [BZ #12711]
10091         * locale/C-translit.h.in: Add entry for U20B9.
10092         Patch by pravin.d.s@gmail.com.
10093
10094 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
10095
10096         [BZ #12713]
10097         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10098         ENAMETOOLONG use generic getcwd.
10099         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
10100         in rtld.  Use *stat64.
10101         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10102         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10103         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10104         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10105         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10106         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10107         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10108         __fstatat64 macros.
10109         * include/dirent.h: Add libc_hidden_proto for rewinddir.
10110         * dirent/rewinddir.c: Add libc_hidden_def.
10111         * sysdeps/mach/hurd/rewinddir.c: Likewise.
10112         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
10113
10114         * include/dirent.h (__alloc_dir): Add flags parameter.
10115         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10116         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10117         __alloc_dir.
10118         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10119         from fdopendir if O_CLOEXEC is already set.
10120
10121 2011-03-15  Alan Modra  <amodra@gmail.com>
10122
10123         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10124         l_tls_firstbyte_offset non-zero.  Save padding offset in
10125         l_tls_firstbyte_offset for later use.
10126         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10127         freeing static tls block.
10128
10129 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10130
10131         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10132         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10133         being defined by the kernel headers.
10134
10135 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10136
10137         [BZ #12734]
10138         * resolv/resolv.h: Define RES_NOTLDQUERY.
10139         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10140         no-tld-query and set RES_NOTLDQUERY.
10141         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10142         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10143         modern BIND to search name as TLD unless forbidden.
10144
10145 2011-05-07  Petr Baudis  <pasky@suse.cz>
10146             Ulrich Drepper  <drepper@gmail.com>
10147
10148         [BZ #12393]
10149         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10150         (is_trusted_path): ...to here.
10151         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10152         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10153         using is_trusted_path_normalize() in setuid scripts.
10154
10155 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10156
10157         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10158         __BEGIN/__END_DECLS.
10159
10160 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10161
10162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10163         NSS_STATUS_NOTFOUND if no record was found.
10164
10165 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10166
10167         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10168         (headers-not-in-tirpc): Remove rpc/netdb.h
10169         * resolv/netdb.h: Revert last change.
10170
10171 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10172
10173         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10174         circular dependency between libgcc.a and libc.a.
10175
10176 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10177
10178         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10179         * nis/Makefile: Don't install rpcsvc/*.
10180         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10181         instead of <rpc/types.h>.
10182         (MAXHOSTNAMELEN): Define.
10183
10184 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10185
10186         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10187
10188 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10189
10190         [BZ #12714]
10191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10192         gethostbyname4_r when IPv6 results are possible.
10193
10194 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10195
10196         [BZ #12723]
10197         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10198         _PC_PIPE_BUF handling.
10199
10200 2011-04-30  Bruno Haible  <bruno@clisp.org>
10201
10202         [BZ #12717]
10203         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10204         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10205         to 'int'.
10206         * inet/getnameinfo.c (getnameinfo): Likewise.
10207
10208 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10209
10210         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10211         to groups setting in database lookup.
10212         * nss/nsswitch.conf: Add initgroups entry.
10213
10214 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10215
10216         [BZ #12685]
10217         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10218         mode string.
10219         Patch by Eric Blake <eblake@redhat.com>.
10220
10221 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10222
10223         * sunrpc/Makefile (need-export-routines): Add svc_run.
10224         (routines): Remove svc_run.
10225         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10226         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10227         * sunrpc/svc_run.c (svc_run): Likewise.
10228         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10229
10230 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10231
10232         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10233         problem in reallocation in last patch.
10234
10235 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10236
10237         * sunrpc/Makefile: Move inclusion of Rules.
10238
10239 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10240
10241         * nss/nss_files/files-initgroups.c: New file.
10242         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10243         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10244         _nss_files_initgroups_dyn.
10245
10246 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10247
10248         * elf/elf.h (R_ARM_IRELATIVE): Define.
10249
10250 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10251
10252         * po/ru.po: Update from translation team.
10253
10254 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10255
10256         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10257         dependencies.
10258
10259 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10260
10261         [BZ #12653]
10262         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10263         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10265         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10266         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10267
10268 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10269
10270         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10271         differing bytes.
10272         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10274         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10275
10276 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10277
10278         [BZ #12420]
10279         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10280         storing it.
10281         * stdlib/bug-getcontext.c: New file.
10282         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10283
10284 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10285
10286         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10287         instructions into .machine "z9-109".
10288         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10289         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10290
10291 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10292
10293         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10294         between environment variables and auxiliary vector.
10295
10296 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10297
10298         * Makefile: Add rules to build linkobj/libc.so.
10299         * include/libc-symbols.h: Define libc_hidden_nolink.
10300         * include/rpc/auth.h: Mark functions which are to be hidden.
10301         * include/rpc/auth_des.h: Likewise.
10302         * include/rpc/auth_unix.h: Likewise.
10303         * include/rpc/clnt.h: Likewise.
10304         * include/rpc/des_crypt.h: Likewise.
10305         * include/rpc/key_prot.h: Likewise.
10306         * include/rpc/pmap_clnt.h: Likewise.
10307         * include/rpc/pmap_prot.h: Likewise.
10308         * include/rpc/pmap_rmt.h: Likewise.
10309         * include/rpc/rpc_msg.h: Likewise.
10310         * include/rpc/svc.h: Likewise.
10311         * include/rpc/svc_auth.h: Likewise.
10312         * include/rpc/xdr.h: Likewise.
10313         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10314         * nss/Makefile: Likewise.
10315         * sunrpc/Makefile: Don't install headers.  Build library with normal
10316         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10317         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10318         for the compat linking library.  Remove use of INTDEF/INTUSE.
10319         * sunrpc/auth_none.c: Likewise.
10320         * sunrpc/auth_unix.c: Likewise.
10321         * sunrpc/authdes_prot.c: Likewise.
10322         * sunrpc/authuxprot.c: Likewise.
10323         * sunrpc/clnt_gen.c: Likewise.
10324         * sunrpc/clnt_perr.c: Likewise.
10325         * sunrpc/clnt_raw.c: Likewise.
10326         * sunrpc/clnt_simp.c: Likewise.
10327         * sunrpc/clnt_tcp.c: Likewise.
10328         * sunrpc/clnt_udp.c: Likewise.
10329         * sunrpc/clnt_unix.c: Likewise.
10330         * sunrpc/des_crypt.c: Likewise.
10331         * sunrpc/des_soft.c: Likewise.
10332         * sunrpc/get_myaddr.c: Likewise.
10333         * sunrpc/key_call.c: Likewise.
10334         * sunrpc/key_prot.c: Likewise.
10335         * sunrpc/netname.c: Likewise.
10336         * sunrpc/pm_getmaps.c: Likewise.
10337         * sunrpc/pm_getport.c: Likewise.
10338         * sunrpc/pmap_clnt.c: Likewise.
10339         * sunrpc/pmap_prot.c: Likewise.
10340         * sunrpc/pmap_prot2.c: Likewise.
10341         * sunrpc/pmap_rmt.c: Likewise.
10342         * sunrpc/publickey.c: Likewise.
10343         * sunrpc/rpc_cmsg.c: Likewise.
10344         * sunrpc/rpc_common.c: Likewise.
10345         * sunrpc/rpc_dtable.c: Likewise.
10346         * sunrpc/rpc_prot.c: Likewise.
10347         * sunrpc/rpc_thread.c: Likewise.
10348         * sunrpc/rtime.c: Likewise.
10349         * sunrpc/svc.c: Likewise.
10350         * sunrpc/svc_auth.c: Likewise.
10351         * sunrpc/svc_authux.c: Likewise.
10352         * sunrpc/svc_raw.c: Likewise.
10353         * sunrpc/svc_run.c: Likewise.
10354         * sunrpc/svc_simple.c: Likewise.
10355         * sunrpc/svc_tcp.c: Likewise.
10356         * sunrpc/svc_udp.c: Likewise.
10357         * sunrpc/svc_unix.c: Likewise.
10358         * sunrpc/svcauth_des.c: Likewise.
10359         * sunrpc/xcrypt.c: Likewise.
10360         * sunrpc/xdr.c: Likewise.
10361         * sunrpc/xdr_array.c: Likewise.
10362         * sunrpc/xdr_float.c: Likewise.
10363         * sunrpc/xdr_intXX_t.c: Likewise.
10364         * sunrpc/xdr_mem.c: Likewise.
10365         * sunrpc/xdr_rec.c: Likewise.
10366         * sunrpc/xdr_ref.c: Likewise.
10367         * sunrpc/xdr_sizeof.c: Likewise.
10368         * sunrpc/xdr_stdio.c: Likewise.
10369
10370 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10371
10372         [BZ #12650]
10373         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10374         * sysdeps/ia64/dl-tls.h: Likewise.
10375         * sysdeps/powerpc/dl-tls.h: Likewise.
10376         * sysdeps/s390/dl-tls.h: Likewise.
10377         * sysdeps/sh/dl-tls.h: Likewise.
10378         * sysdeps/sparc/dl-tls.h: Likewise.
10379         * sysdeps/x86_64/dl-tls.h: Likewise.
10380         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10381
10382 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10383
10384         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10385         rpath element also skip the following colon.
10386         (expand_dynamic_string_token): Add is_path parameter and pass
10387         down to DL_DST_REQUIRED and _dl_dst_substitute.
10388         (decompose_rpath): Call expand_dynamic_string_token with
10389         non-zero is_path.  Ignore empty rpaths.
10390         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10391         with zero is_path.
10392
10393 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10394
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10396         Make cancelable.
10397
10398 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10399
10400         [BZ #12655]
10401         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10402         Patch by Filipe David Manana <fdmanana@apache.org>.
10403
10404 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10405
10406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10407         Maintain aligned stack.
10408         (CHECK_RSP): Remove unused macro.
10409
10410 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10411
10412         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10413         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10414
10415 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10416
10417         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10418
10419         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10420
10421 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10422
10423         [BZ #12518]
10424         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10425         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10426         * sysdeps/x86_64/memmove.c: New file.
10427         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10428         (memcpy): Renamed to ...
10429         (__new_memcpy): This.
10430         (memcpy): Provide GLIBC_2_14 memcpy.
10431         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10432         (memcpy): Provide GLIBC_2_2_5 memcpy.
10433
10434 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10435
10436         [BZ #12631]
10437         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10438
10439 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10440
10441         * misc/syncfs.c: New file.
10442         * misc/Makefile (routines): Add syncfs.
10443         * posix/unistd.h: Declare syncfs.
10444         * sysdeps/unix/syscalls.list: Add syncfs.
10445
10446 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10447
10448         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10449         open_by_handle_at.
10450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10451         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10453         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10455         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10456         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10457
10458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10459
10460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10461         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10462         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10466         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10467
10468         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10469         sync_file_range.c with -fexceptions.
10470         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10471         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10472         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10473         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10474         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10475         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10476         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10477         sync_file_range as cancellation point
10478         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10479         now a wrapper around __call_sync_file_range with cancellation handling.
10480         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10481         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10482         function name to __call_sync_file_range.
10483         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10484         Add call_sync_file_range.
10485
10486 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10487
10488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10489         bits/timex.h.
10490
10491 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10492
10493         * iconv/iconv.h: Fix typo in comment.
10494         * io/fcntl.h: Likewise.
10495         * libio/stdio.h: Likewise.
10496         * posix/spawn.h: Likewise.
10497         * posix/unistd.h: Likewise.
10498         * stdlib/stdlib.h: Likewise.
10499         * time/time.h: Likewise.
10500         * wcsmbs/wchar.h: Likewise.
10501
10502         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10503         open_by_handle): Add.
10504         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10505         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10506         Augment a few comments.
10507         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10508         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10509         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10510         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10511         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10512         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10513         open_by_handle.
10514
10515         * io/fcntl.h (AT_EMPTY_PATH): Define.
10516
10517 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10518
10519         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10520         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10521         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10522         to...
10523         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10524         * Versions.def: Add GLIBC_2.14.
10525         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10526         Export.
10527
10528 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10529
10530         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10531         round counter.
10532         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10533
10534 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10535
10536         [BZ #12597]
10537         * string/test-strncmp.c (do_page_test): New function.
10538         (check2): Likewise.
10539         (test_main): Call check2.
10540         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10541
10542 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10543
10544         [BZ #12587]
10545         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10546         Handle cache information in CPU leaf 4.
10547         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10548
10549 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10550
10551         [BZ #12583]
10552         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10553         character representation.
10554         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10555
10556 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10557
10558         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10559         END(__isnan) to END(__isnanf) to match function entry point/label
10560         EALIGN(__isnanf,...).
10561
10562 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10563
10564         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10565
10566 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10567
10568         [BZ #12510]
10569         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10570         copy from the symbol referenced in the relocation to initialize the
10571         used variable.
10572         Patch by Piotr Bury <pbury@goahead.com>.
10573         * elf/Makefile: Add rules to build and tst-unique3.
10574         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10575         * elf/tst-unique3.cc: New file.
10576         * elf/tst-unique3.h: New file.
10577         * elf/tst-unique3lib.cc: New file.
10578         * elf/tst-unique3lib2.cc: New file.
10579
10580         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10581
10582 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10583
10584         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10585         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10586         to _start.
10587
10588 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10589
10590         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10591         to-be-loaded object along a path to loader is ld.so.
10592
10593 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10594             Ulrich Drepper  <drepper@gmail.com>
10595
10596         * sysdeps/x86_64/memset.S: After aligning destination, code
10597         branches to different locations depending on the value of
10598         misalignment, when multiarch is enabled. Fix this.
10599
10600 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10601
10602         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10603         Set _x86_64_preferred_memory_instruction for AMD processsors.
10604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10605         Set bit_Prefer_SSE_for_memop for AMD processors.
10606
10607 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10608
10609         * libio/fmemopen.c (fmemopen): Optimize a bit.
10610
10611 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10612
10613         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10614
10615 2011-03-03  Roland McGrath  <roland@redhat.com>
10616
10617         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10618
10619 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10620
10621         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10622         __bzero_ultra1 instead of __memset_ultra1.
10623
10624 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10625             Ulrich Drepper  <drepper@gmail.com>
10626
10627         [BZ #12509]
10628         * include/link.h (struct link_map): Add l_orig_initfini.
10629         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10630         returning unsuccessfully.
10631         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10632         close of a file loaded at startup, restore the original l_initfini
10633         list.
10634         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10635         list, store the pointer.
10636         * elf/Makefile ($(objpfx)noload-mem): New rule.
10637         (noload-ENV): Define.
10638         (tests): Add $(objpfx)noload-mem.
10639         * elf/noload.c: Include <memcheck.h>.
10640         (main): Call mtrace.  Close all opened handles.
10641
10642 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10643
10644         [BZ #12454]
10645         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10646         dependencies are missing.
10647
10648 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10649
10650         Fix __if_freereq crash: Unlike the generic version which uses free,
10651         Hurd needs munmap.
10652         * sysdeps/mach/hurd/ifreq.h: New file.
10653
10654 2011-01-27  Petr Baudis  <pasky@suse.cz>
10655             Ulrich Drepper  <drepper@gmail.com>
10656
10657         [BZ 12445]#
10658         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10659         to extend_alloca().
10660         * stdio-common/bug23.c: New file.
10661         * stdio-common/Makefile (tests): Add bug23.
10662
10663 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10664             Ulrich Drepper  <drepper@gmail.com>
10665
10666         [BZ #12489]
10667         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10668         before performing relro protection.  At old place add assertion
10669         to make sure nothing changed.
10670
10671 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10672             Glauber de Oliveira Costa  <glommer@gmail.com>
10673
10674         * elf/elf.h: Add new ARM TLS relocs.
10675
10676 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10677
10678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10679         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10680         cast from r3.
10681         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10682         'tests' variable.
10683         * sysdeps/wordsize-64/tst-writev.c: New file.
10684
10685 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10686
10687         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10688         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10689         insns in _dl_start to prevent a TOC reference before relocs are
10690         resolved.
10691
10692 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10693
10694         [BZ #12469]
10695         * Makeconfig: Remove RANLIB definition.
10696         * Makerules: Don't use RANLIB.
10697         * aclocal.m4: Remove ranlib test.
10698         * configure.in: No need to check for ranlib.
10699         * elf/rtld-Rules: Don't use RANLIB.
10700
10701 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10702
10703         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10704         protection macro.
10705         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10706         inclusion protection macro.
10707
10708         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10709         SIGRTMIN and SIGRTMAX and print information in that case only when
10710         SIGRTMIN is defined.
10711
10712 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10713
10714         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10715         arginfo fn returning -1.
10716
10717         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10718         and thousands string is zero terminated.
10719
10720 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10721
10722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10723         sysdeps/unix/sysv/linux/bits/socket.h.
10724
10725 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10726
10727         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10728         (__CPU_COUNT): Remove old macros.
10729         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10730         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10731         (__CPU_ALLOC, __CPU_FREE): Add macros.
10732         (__sched_cpualloc, __sched_cpufree): Add declarations.
10733
10734 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10735
10736         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10737         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10738         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10739         (readdhstai): Return value of addhstaiX call.
10740         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10741         (addgrbyX): Return value returned by cache_addgr.
10742         (readdgrbyname): Return value returned by addgrbyX.
10743         (readdgrbygid): Likewise.
10744         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10745         (addpwbyX): Return value returned by cache_addpw.
10746         (readdpwbyname): Return value returned by addhstbyX.
10747         (readdpwbyuid): Likewise.
10748         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10749         (addservbyX): Return value returned by cache_addserv.
10750         (readdservbyname): Return value returned by addservbyX:
10751         (readdservbyport): Likewise.
10752         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10753         (addhstbyX): Return value returned by cache_addhst.
10754         (readdhstbyname): Return value returned by addhstbyX.
10755         (readdhstbyaddr): Likewise.
10756         (readdhstbynamev6): Likewise.
10757         (readdhstbyaddrv6): Likewise.
10758         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10759         (readdinitgroups): Return value returned by addinitgroupsX.
10760         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10761         (prune_cache): Keep track of timeout value of re-added entries.
10762         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10763         * nscd/nscd.h: Adjust prototypes of readd* functions.
10764
10765 2011-02-04  Roland McGrath  <roland@redhat.com>
10766
10767         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10768         (nis_stats): Likewise.
10769         * nis/nis_modify.c (nis_modify): Likewise.
10770         * nis/nis_remove.c (nis_remove): Likewise.
10771         * nis/nis_add.c (nis_add): Likewise.
10772
10773         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10774
10775         * posix/fnmatch_loop.c: Add some consts.
10776
10777         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10778
10779 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10780
10781         [BZ #12460]
10782         * config.make.in (config-cflags-novzeroupper): Define.
10783         * configure.in: Substitute libc_cv_cc_novzeroupper.
10784         * elf/Makefile (AVX-CFLAGS): Define.
10785         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10786         (CFLAGS-tst-auditmod4a.c): Likewise.
10787         (CFLAGS-tst-auditmod4b.c): Likewise.
10788         (CFLAGS-tst-auditmod6b.c): Likewise.
10789         (CFLAGS-tst-auditmod6c.c): Likewise.
10790         (CFLAGS-tst-auditmod7b.c): Likewise.
10791         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10792
10793 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10794
10795         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10796         function to the callback.
10797         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10798
10799 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10800
10801         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10802         of errno.
10803
10804 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10805
10806         [BZ #11724]
10807         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10808         of constructors.
10809         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10810         of destructors.
10811         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10812
10813         [BZ #11724]
10814         * elf/Makefile: Add rules to build and run new test.
10815         * elf/tst-initorder.c: New file.
10816         * elf/tst-initorder.exp: New file.
10817         * elf/tst-initordera1.c: New file.
10818         * elf/tst-initordera2.c: New file.
10819         * elf/tst-initordera3.c: New file.
10820         * elf/tst-initordera4.c: New file.
10821         * elf/tst-initorderb1.c: New file.
10822         * elf/tst-initorderb2.c: New file.
10823         * elf/tst-order-a1.c: New file.
10824         * elf/tst-order-a2.c: New file.
10825         * elf/tst-order-a3.c: New file.
10826         * elf/tst-order-a4.c: New file.
10827         * elf/tst-order-b1.c: New file.
10828         * elf/tst-order-b2.c: New file.
10829         * elf/tst-order-main.c: New file.
10830         New test case by George Gensure <werkt0@gmail.com>.
10831
10832 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10833
10834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10835         decoding ACE if AI_CANONIDN.
10836
10837 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10838
10839         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10840
10841 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10842
10843         * version.h (RELEASE): Bump for 2.13 release.
10844         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10845
10846         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10847
10848         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10849         MADV_NOHUGEPAGE.
10850         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10851         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10852         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10853         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10855         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10856
10857         * posix/getconf.c: Update copyright year.
10858         * catgets/gencat.c: Likewise.
10859         * csu/version.c: Likewise.
10860         * debug/catchsegv.sh: Likewise.
10861         * debug/xtrace.sh: Likewise.
10862         * elf/ldconfig.c: Likewise.
10863         * elf/ldd.bash.in: Likewise.
10864         * elf/sprof.c (print_version): Likewise.
10865         * iconv/iconv_prog.c: Likewise.
10866         * iconv/iconvconfig.c: Likewise.
10867         * locale/programs/locale.c: Likewise.
10868         * locale/programs/localedef.c: Likewise.
10869         * malloc/memusage.sh: Likewise.
10870         * malloc/mtrace.pl: Likewise.
10871         * nscd/nscd.c (print_version): Likewise.
10872         * nss/getent.c: Likewise.
10873
10874         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10875         PF_CAIF, and PF_ALG.
10876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10877
10878 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10879
10880         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10881         (modules-names): Use them.
10882         (ifunc-test-modules, ifunc-pie-tests): Define.
10883         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10884         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10885         (test-extras): Likewise.
10886         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10887         $(compile-command.c).
10888         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10889         (all-built-dso): Define.
10890         (check-textrel.out, check-execstack.out): Depend on it.
10891
10892         * configure.in: Don't override --enable-multi-arch.
10893
10894 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10895
10896         [BZ #6812]
10897         * nscd/hstcache.c (tryagain): Define.
10898         (cache_addhst): Return tryagain not notfound for temporary errors.
10899         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10900         failed.
10901
10902 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10903
10904         [BZ #10563]
10905         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10906         to make the syscall.
10907         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10908
10909         [BZ #12378]
10910         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10911         and fall back to matching as normal character if the string ends before
10912         the matching ']' is found.  This is what POSIX requires.
10913         * posix/testfnm.c: Adjust test result.
10914         * posix/globtest.sh: Adjust test result.  Add new test.
10915         * posix/tst-fnmatch.input: Likewise.
10916         * posix/tst-fnmatch2.c: Add new test.
10917
10918 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10919
10920         * elf/Makefile (check-execstack): Revert last change.  Depend on
10921         check-execstack.h.
10922         (check-execstack.h): New target.
10923         (generated): Add check-execstack.h.
10924         * elf/check-execstack.c: Include "check-execstack.h".
10925         (main): Revert last change.
10926         (handle_file): Return zero if GNU_STACK is absent and
10927         DEFAULT_STACK_PERMS doesn't include PF_X.
10928
10929 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10930
10931         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10932         in child fails because the descriptor is already closed.
10933         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10934         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10935         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10936
10937         [BZ #12397]
10938         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10939         syscall.
10940
10941         [BZ #10484]
10942         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10943         temporary buffer used to handle multi lookups locally.
10944         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10945
10946 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10947
10948         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10949         loader is ld.so.
10950
10951 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10952
10953         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10954         alignment for SSE2.
10955
10956 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10957
10958         [BZ #12394]
10959         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10960         characters.  When rounding increased number of integer digits recompute
10961         number of groups.
10962         * stdio-common/tst-grouping.c: New file.
10963         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10964
10965 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10966
10967         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10968         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10969
10970         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10971         void.
10972         * bits/select.h: Likewise.
10973
10974 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10975
10976         * po/ja.po: Update from translation team.
10977
10978 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10979
10980         [BZ #11155]
10981         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10982         implementation just like for lxstat, fxstatat, et al.
10983
10984 2010-12-27  Jim Meyering  <meyering@redhat.com>
10985
10986         [BZ #12348]
10987         * posix/regexec.c (build_trtable): Return failure indication upon
10988         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10989
10990 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10991
10992         [BZ #12201]
10993         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10994         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10995         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10996         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10997
10998         [BZ #12207]
10999         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11000
11001         [BZ #12204]
11002         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11003         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11004
11005 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11006
11007         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11008         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11009         script has SORT_BY_INIT_PRIORITY.
11010         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11011         NO_CTORS_DTORS_SECTIONS is defined.
11012         * elf/soinit.c: Likewise.
11013         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11014         NO_CTORS_DTORS_SECTIONS is defined.
11015         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11016         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11017         * sysdeps/sh/init-first.c: Likewise.
11018         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11019
11020 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
11021
11022         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11023         always use the slow path.
11024
11025 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
11026
11027         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11028         similar rule which adds the sysdep directories to the header search in
11029         order to pick up the correct platform stackinfo.h.
11030         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11031         perform test if it is, otherwise return successfully without testing.
11032         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11033         DEFAULT_STACK_PERMS define in stackinfo.h.
11034         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11035         defined in stackinfo.h.
11036         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11037         DEFAULT_STACK_PERMS defined in stackinfo.h.
11038         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11039         * sysdeps/ia64/stackinfo.h: Likewise.
11040         * sysdeps/s390/stackinfo.h: Likewise.
11041         * sysdeps/sh/stackinfo.h: Likewise.
11042         * sysdeps/sparc/stackinfo.h: Likewise.
11043         * sysdeps/x86_64/stackinfo.h: Likewise.
11044         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11045         PF_X for powerpc64.  Retain PF_X for powerpc32.
11046
11047 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
11048
11049         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11050         accurately.
11051         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11052         GETDENTS_64BIT_ALIGNED.
11053
11054 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
11055
11056         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11057
11058 2010-12-10  Andreas Schwab  <schwab@redhat.com>
11059
11060         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11061         _GNU_SOURCE.
11062
11063         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11064         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11065         Remove __restrict.
11066         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11067         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11068
11069 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
11070
11071         [BZ #11655]
11072         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11073         are initialized.
11074
11075 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
11076
11077         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11078
11079 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
11080
11081         * po/it.po: Update from translation team.
11082
11083 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11084
11085         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11086         unused codes.
11087
11088 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
11089
11090         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11091
11092 2010-11-24  Andreas Schwab  <schwab@redhat.com>
11093
11094         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11095         specially.
11096         (gaih_getanswer_slice): Likewise.
11097
11098 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
11099
11100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11101
11102 2010-05-31  Petr Baudis  <pasky@suse.cz>
11103
11104         [BZ #11149]
11105         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11106         silently even in the chroot mode.
11107
11108 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
11109
11110         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11111         last patch a bit.  Pretty printing
11112
11113 2010-05-31  Petr Baudis <pasky@suse.cz>
11114
11115         [BZ #10085]
11116         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11117         initialization of skip_initgroups_dyn.
11118
11119 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11120
11121         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11122         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11123
11124 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11125
11126         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11127
11128 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11129
11130         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11131         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11132         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11133         ($(objpfx)tst-fnmatch-mem): New rule.
11134         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11135         * posix/tst-fnmatch.c (main): Call mtrace.
11136
11137 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11138
11139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11140         Support Intel processor model 6 and model 0x2c.
11141
11142 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11143
11144         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11145           signed comparison.
11146
11147 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11148
11149         [BZ #12205]
11150         * string/test-strncasecmp.c (check_result): New function.
11151         (do_one_test): Use it.
11152         (check1): New function.
11153         (test_main): Use it.
11154         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11155         Support strcasecmp and strncasecmp.
11156
11157 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11158
11159         [BZ #12194]
11160         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11161         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11162
11163 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11164
11165         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11166         IFUNC support.
11167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11168         memset-x86-64.
11169         * sysdeps/x86_64/multiarch/bzero.S: New file.
11170         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11171         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11172         * sysdeps/x86_64/multiarch/memset.S: New file.
11173         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11175         Set bit_Prefer_SSE_for_memop for Intel processors.
11176         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11177         Define.
11178         (index_Prefer_SSE_for_memop): Define.
11179         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11180
11181 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11182
11183         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11184         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11185
11186 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11187
11188         [BZ #12191]
11189         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11190         (__x86_64_raw_data_cache_size_half): Likewise.
11191         (__x86_64_raw_shared_cache_size): Likewise.
11192         (__x86_64_raw_shared_cache_size_half): Likewise.
11193
11194         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11195         (__x86_64_raw_data_cache_size_half): Likewise.
11196         (__x86_64_raw_shared_cache_size): Likewise.
11197         (__x86_64_raw_shared_cache_size_half): Likewise.
11198         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11199         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11200         and __x86_64_raw_shared_cache_size_half.  Round
11201         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11202         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11203         to multiple of 256 bytes.
11204
11205 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11206
11207         [BZ #12167]
11208         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11209         of inacessible symlinks.  Verify result of symlink before returning it.
11210         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11211         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11212
11213 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11214
11215         * math/math.h (isinf): Fix typo in comment.
11216
11217 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11218
11219         * po/da.po: Update from translation team.
11220
11221 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11222
11223         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11224         is added to the list.
11225
11226 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11227             Ulrich Drepper  <drepper@gmail.com>
11228
11229         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11230         the global list here.  Move code to...
11231         (_dl_add_to_namespace_list): ...here.  New function.
11232         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11233         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11234         * elf/dl-load.c (lose): Don't remove the element from the list.
11235         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11236         (_dl_map_object): Likewise.
11237
11238 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11239
11240         [BZ #12159]
11241         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11242         into all bytes of SSE register.
11243         Patch by Richard Li <richardpku@gmail.com>.
11244
11245 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11246
11247         [BZ #12140]
11248         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11249         perturbing.
11250
11251 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11252
11253         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11254         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11255         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11256         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11258         submachine.
11259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11260
11261 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11262
11263         * include/dlfcn.h (__RTLD_SECURE): Define.
11264         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11265         mode & __RTLD_SECURE instead.
11266         (open_path): Rename preloaded parameter to secure.
11267         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11268         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11269         * elf/dl-deps.c (openaux): Likewise.
11270         * elf/rtld.c (struct map_args): Remove is_preloaded.
11271         (map_doit): Don't use it.
11272         (dl_main): Likewise.
11273         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11274         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11275
11276 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11277
11278         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11279         (sysd-rules-targets): Remove duplicates.
11280         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11281         rtld-%.$o dependency.
11282
11283 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11284
11285         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11286         _dl_map_object do it.
11287
11288 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11289
11290         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11291         fast fma builtins, define the macros in the C99 standard.
11292         (FP_FAST_FMAF): Likewise.
11293         (FP_FAST_FMAL): Likewise.
11294         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11295
11296         * bits/mathdef.h: Update copyright year.
11297         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11298
11299 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11300
11301         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11302         builtins, define the macros in the C99 standard.
11303         (FP_FAST_FMAF): Likewise.
11304         (FP_FAST_FMAL): Likewise.
11305         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11306         multiply/add.
11307         (FP_FAST_FMAF): Likewise.
11308
11309 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11310
11311         [BZ #3268]
11312         * math/libm-test.inc (fma_test): Some new testcases.
11313         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11314         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11315         y and infinite z.  Do multiplication by C already in long double.
11316         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11318         y and infinite z.  Do bitwise or of inexact bit into u.d.
11319         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11320         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11321         * sysdeps/i386/fpu/s_fma.S: Removed.
11322         * sysdeps/i386/fpu/s_fmal.S: Removed.
11323
11324 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11325
11326         [BZ #3268]
11327         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11329         computation is not scheduled after fetestexcept.  Fix value
11330         of minimum denormal long double.
11331
11332 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11333
11334         [BZ #3268]
11335         * math/libm-test.inc (fma_test): Add some more tests.
11336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11337         correctly.
11338
11339 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11340
11341         * scripts/data/localplt-s390-linux-gnu.data: New file.
11342         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11343
11344 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11345
11346         [BZ #3268]
11347         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11348         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11349         instead of dbl-64.
11350         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11351         inlines.
11352         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11354         if one of x and y is very large and the other is subnormal.
11355         * sysdeps/s390/fpu/s_fmaf.c: New file.
11356         * sysdeps/s390/fpu/s_fma.c: New file.
11357         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11358         * sysdeps/powerpc/fpu/s_fma.S: New file.
11359         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11360         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11361         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11362
11363 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11364
11365         [BZ #3268]
11366         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11367         fma tests.
11368         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11369         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11370         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11371         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11372         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11373         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11374         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11375
11376 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11377
11378         [BZ #12078]
11379         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11380         * posix/bug-regex31.input: Add test case.
11381
11382 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11383
11384         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11385         * posix/bug-regex31.input: New file.
11386
11387         [BZ #12078]
11388         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11389         (parse_sub_exp): Fix last change, use postorder.
11390
11391         * posix/bug-regex31.c: New file.
11392         * posix/Makefile: Add rules to build and run bug-regex31.
11393
11394         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11395
11396         [BZ #12078]
11397         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11398
11399         [BZ #12108]
11400         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11401         to have entries in sys_siglist.
11402
11403         [BZ #12093]
11404         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11405         be NULL.
11406
11407 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11408
11409         [BZ #3268]
11410         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11411         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11412         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11413         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11414         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11415         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11416         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11417         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11418         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11419         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11420         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11421         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11422         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11423         * math/ftestexcept.c (fetestexcept): Likewise.
11424         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11425         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11426         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11427         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11428         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11429         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11430         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11431
11432 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11433
11434         [BZ #12107]
11435         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11436         newline.
11437
11438 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11439
11440         * string/bug-strstr1.c: New file.
11441         * string/Makefile: Add rules to build and run bug-strstr1.
11442
11443 2010-10-05  Eric Blake  <eblake@redhat.com>
11444
11445         [BZ #12092]
11446         * string/str-two-way.h (two_way_long_needle): Always clear memory
11447         when skipping input due to the shift table.
11448
11449 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11450
11451         [BZ #12005]
11452         * malloc/mcheck.c: Handle large requests.
11453
11454         [BZ #12077]
11455         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11456         for strncmp and strncasecmp.
11457         * string/stratcliff.c: Add tests for strcmp and strncmp.
11458         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11459
11460 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11461
11462         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11463         __set_fpscr.
11464
11465 2010-09-30  Andreas Jaeger  <aj@suse.de>
11466
11467         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11468         (CGROUP_SUPER_MAGIC): Define.
11469         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11470         Handle btrfs and cgroup file systems.
11471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11472         Likewise.
11473
11474 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11475
11476         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11477         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11478
11479 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11480
11481         [BZ #12067]
11482         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11483         trying to locate the ELF header.
11484
11485 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11486
11487         [BZ #11611]
11488         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11489         Mask out sign-bit copies when constructing f_fsid.
11490
11491 2010-09-24  Petr Baudis <pasky@suse.cz>
11492
11493         * debug/stack_chk_fail_local.c: Add missing licence exception.
11494         * debug/warning-nop.c: Likewise.
11495
11496 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11497
11498         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11499         implementing getdents64 using getdents syscall, set d_type if
11500         __ASSUME_GETDENTS32_D_TYPE.
11501
11502 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11503
11504         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11505         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11506
11507 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11508
11509         [BZ #12037]
11510         * posix/unistd.h: Undo change of feature selection for ftruncate from
11511         2010-01-11.
11512
11513 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11514
11515         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11516         detection.
11517
11518 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11519
11520         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11521         fanotify_mark.
11522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11523
11524 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11525
11526         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11527         variables after CHECK_SP call.
11528         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11529
11530 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11531             Ulrich Drepper  <drepper@redhat.com>
11532
11533         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11534         re-relocationg ld.so.
11535         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11536         _dl_init_paths call.
11537         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11538         here anymore.
11539
11540 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11541
11542         * resolv/res_init.c (__res_vinit): Count the default server we added.
11543
11544 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11545             Ulrich Drepper  <drepper@redhat.com>
11546
11547         [BZ #11968]
11548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11549         (____longjmp_chk): Use %ebx for saving value across system call.
11550         Add unwind info.
11551
11552 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11553
11554         * manual/Makefile: Don't mix pattern rules with normal rules.
11555
11556 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11557
11558         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11559         operation.
11560         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11561         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11562         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11563         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11565         Likewise.
11566
11567 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11568
11569         [BZ #11979]
11570         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11571         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11572
11573 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11574
11575         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11576         * sysdeps/x86_64/addmul_1.S: Likewise.
11577         * sysdeps/x86_64/lshift.S: Likewise.
11578         * sysdeps/x86_64/mul_1.S: Likewise.
11579         * sysdeps/x86_64/rshift.S: Likewise.
11580         * sysdeps/x86_64/sub_n.S: Likewise.
11581         * sysdeps/x86_64/submul_1.S: Likewise.
11582
11583 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11584
11585         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11586         Define __sched_param instead of SCHED_* and sched_param when
11587         <bits/sched.h> is included with __need_schedparam defined.
11588         * bits/sched.h [__need_schedparam]
11589         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11590         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11591         (__defined_schedparam): Define to 1.
11592         (__sched_param): New structure, identical to sched_param.
11593         (__need_schedparam): Undefine.
11594
11595 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11596
11597         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11598         (epoll_create1): Declare.
11599
11600         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11601
11602 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11603
11604         [BZ #7066]
11605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11606         shifting retval into place.
11607
11608 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11609
11610         * nis/rpcsvc/nis.h: Update copyright notice.
11611         * nis/rpcsvc/nis.x: Likewise.
11612         * nis/rpcsvc/nis_callback.h: Likewise.
11613         * nis/rpcsvc/nis_callback.x: Likewise.
11614         * nis/rpcsvc/nis_object.x: Likewise.
11615         * nis/rpcsvc/nis_tags.h: Likewise.
11616         * nis/rpcsvc/yp.h: Likewise.
11617         * nis/rpcsvc/yp.x: Likewise.
11618         * nis/rpcsvc/ypupd.h: Likewise.
11619         * nis/yp_xdr.c: Likewise.
11620         * nis/ypupdate_xdr.c: Likewise.
11621
11622         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11623         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11624         (pmap_getport): Use __libc_rpc_getport.
11625         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11626         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11627         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11628
11629 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11630
11631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11632         fanotify_mark.
11633
11634 2010-08-27  Roland McGrath  <roland@redhat.com>
11635
11636         * sysdeps/i386/i686/multiarch/Makefile
11637         (CFLAGS-varshift.c): New variable.
11638
11639 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11640
11641         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11642         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11643
11644         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11645
11646         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11647
11648 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11649
11650         * sysdeps/x86_64/strlen.S: Unroll the loop.
11651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11652         strlen-sse2 strlen-sse2-bsf.
11653         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11654         __strlen_no_bsf if bit_Slow_BSF is set.
11655         (__strlen_sse42): Removed.
11656         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11657         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11658
11659 2010-08-25  Roland McGrath  <roland@redhat.com>
11660
11661         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11662         * sysdeps/x86_64/multiarch/varshift.c: New file.
11663         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11664         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11665         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11666         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11667
11668 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11669
11670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11671         strlen-sse2 strlen-sse2-bsf.
11672         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11673         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11674         (__strlen_sse2): Removed.
11675         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11676         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11678         bit_Slow_BSF for Atom.
11679         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11680         (index_Slow_BSF): Define.
11681         (HAS_SLOW_BSF): Define.
11682
11683 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11684
11685         [BZ #10851]
11686         * resolv/res_init.c (__res_vinit): When no server address at all
11687         is given default to loopback.
11688
11689 2010-08-24  Roland McGrath  <roland@redhat.com>
11690
11691         * configure.in: Remove config-name.h generation.
11692         * configure: Regenerated.
11693         * config-name.in: File removed.
11694         * scripts/config-uname.sh: New file.
11695         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11696         ($(objdir)config-name.h): New target.
11697
11698         * sunrpc/rpc_parse.h: Avoid nested comment.
11699
11700 2010-08-24  Richard Henderson  <rth@redhat.com>
11701             Ulrich Drepper  <drepper@redhat.com>
11702             H.J. Lu  <hongjiu.lu@intel.com>
11703
11704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11706         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11707         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11708         _mm_alignr_epi8 with _mm_loadu_si128.
11709         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11710         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11711         (__m128i_shift_right): Removed.
11712         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11713         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11714         * sysdeps/x86_64/multiarch/varshift.h: New file.
11715         * sysdeps/x86_64/multiarch/varshift.S: New file.
11716
11717 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11718
11719         * configure.in: Move assembler checks to before sysdep dir checking.
11720
11721 2010-08-20  Petr Baudis  <pasky@suse.cz>
11722
11723         * LICENSES: Sync the sunrpc license.
11724
11725 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11726
11727         * sunrpc/auth_des.c: Update copyright notice once again.
11728         * sunrpc/auth_none.c: Likewise.
11729         * sunrpc/auth_unix.c: Likewise.
11730         * sunrpc/authdes_prot.c: Likewise.
11731         * sunrpc/authuxprot.c: Likewise.
11732         * sunrpc/bindrsvprt.c: Likewise.
11733         * sunrpc/clnt_gen.c: Likewise.
11734         * sunrpc/clnt_perr.c: Likewise.
11735         * sunrpc/clnt_raw.c: Likewise.
11736         * sunrpc/clnt_simp.c: Likewise.
11737         * sunrpc/clnt_tcp.c: Likewise.
11738         * sunrpc/clnt_udp.c: Likewise.
11739         * sunrpc/clnt_unix.c: Likewise.
11740         * sunrpc/des_crypt.c: Likewise.
11741         * sunrpc/des_soft.c: Likewise.
11742         * sunrpc/get_myaddr.c: Likewise.
11743         * sunrpc/getrpcport.c: Likewise.
11744         * sunrpc/key_call.c: Likewise.
11745         * sunrpc/key_prot.c: Likewise.
11746         * sunrpc/openchild.c: Likewise.
11747         * sunrpc/pm_getmaps.c: Likewise.
11748         * sunrpc/pm_getport.c: Likewise.
11749         * sunrpc/pmap_clnt.c: Likewise.
11750         * sunrpc/pmap_prot.c: Likewise.
11751         * sunrpc/pmap_prot2.c: Likewise.
11752         * sunrpc/pmap_rmt.c: Likewise.
11753         * sunrpc/rpc/auth.h: Likewise.
11754         * sunrpc/rpc/auth_unix.h: Likewise.
11755         * sunrpc/rpc/clnt.h: Likewise.
11756         * sunrpc/rpc/des_crypt.h: Likewise.
11757         * sunrpc/rpc/key_prot.h: Likewise.
11758         * sunrpc/rpc/netdb.h: Likewise.
11759         * sunrpc/rpc/pmap_clnt.h: Likewise.
11760         * sunrpc/rpc/pmap_prot.h: Likewise.
11761         * sunrpc/rpc/pmap_rmt.h: Likewise.
11762         * sunrpc/rpc/rpc.h: Likewise.
11763         * sunrpc/rpc/rpc_des.h: Likewise.
11764         * sunrpc/rpc/rpc_msg.h: Likewise.
11765         * sunrpc/rpc/svc.h: Likewise.
11766         * sunrpc/rpc/svc_auth.h: Likewise.
11767         * sunrpc/rpc/types.h: Likewise.
11768         * sunrpc/rpc/xdr.h: Likewise.
11769         * sunrpc/rpc_clntout.c: Likewise.
11770         * sunrpc/rpc_cmsg.c: Likewise.
11771         * sunrpc/rpc_common.c: Likewise.
11772         * sunrpc/rpc_cout.c: Likewise.
11773         * sunrpc/rpc_dtable.c: Likewise.
11774         * sunrpc/rpc_hout.c: Likewise.
11775         * sunrpc/rpc_main.c: Likewise.
11776         * sunrpc/rpc_parse.c: Likewise.
11777         * sunrpc/rpc_parse.h: Likewise.
11778         * sunrpc/rpc_prot.c: Likewise.
11779         * sunrpc/rpc_sample.c: Likewise.
11780         * sunrpc/rpc_scan.c: Likewise.
11781         * sunrpc/rpc_scan.h: Likewise.
11782         * sunrpc/rpc_svcout.c: Likewise.
11783         * sunrpc/rpc_tblout.c: Likewise.
11784         * sunrpc/rpc_util.c: Likewise.
11785         * sunrpc/rpc_util.h: Likewise.
11786         * sunrpc/rpcinfo.c: Likewise.
11787         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11788         * sunrpc/rpcsvc/key_prot.x: Likewise.
11789         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11790         * sunrpc/rpcsvc/mount.x: Likewise.
11791         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11792         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11793         * sunrpc/rpcsvc/rex.x: Likewise.
11794         * sunrpc/rpcsvc/rstat.x: Likewise.
11795         * sunrpc/rpcsvc/rusers.x: Likewise.
11796         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11797         * sunrpc/rpcsvc/spray.x: Likewise.
11798         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11799         * sunrpc/rtime.c: Likewise.
11800         * sunrpc/svc.c: Likewise.
11801         * sunrpc/svc_auth.c: Likewise.
11802         * sunrpc/svc_authux.c: Likewise.
11803         * sunrpc/svc_raw.c: Likewise.
11804         * sunrpc/svc_run.c: Likewise.
11805         * sunrpc/svc_simple.c: Likewise.
11806         * sunrpc/svc_tcp.c: Likewise.
11807         * sunrpc/svc_udp.c: Likewise.
11808         * sunrpc/svc_unix.c: Likewise.
11809         * sunrpc/svcauth_des.c: Likewise.
11810         * sunrpc/xcrypt.c: Likewise.
11811         * sunrpc/xdr.c: Likewise.
11812         * sunrpc/xdr_array.c: Likewise.
11813         * sunrpc/xdr_float.c: Likewise.
11814         * sunrpc/xdr_mem.c: Likewise.
11815         * sunrpc/xdr_rec.c: Likewise.
11816         * sunrpc/xdr_ref.c: Likewise.
11817         * sunrpc/xdr_sizeof.c: Likewise.
11818         * sunrpc/xdr_stdio.c: Likewise.
11819
11820         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11821         handling.
11822
11823 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11824
11825         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11826
11827 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11828
11829         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11830         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11831         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11832         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11833         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11834         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11835         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11836         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11837         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11838         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11839         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11840         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11841         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11842         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11843
11844 2010-07-26  Anton Blanchard  <anton@samba.org>
11845
11846         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11847         * malloc/arena.c (heap_trim): Likewise.
11848
11849 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11850
11851         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11852         here.  Not...
11853         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11854         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11855
11856 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11857
11858         * sysdeps/i386/elf/Makefile: New file.
11859
11860 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11861
11862         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11863         from fanotify_init.
11864         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11866
11867 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11868
11869         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11870         of strncasecmp_l.
11871         * sysdeps/multiarch/strcmp.S: Likewise.
11872
11873 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11874
11875         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11876         strncase_l-nonascii.
11877         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11878         Add strncase_l-ssse3.
11879         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11880         * sysdeps/x86_64/strcmp.S: Likewise.
11881         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11882         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11883         * sysdeps/x86_64/strncase.S: New file.
11884         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11885         * sysdeps/x86_64/strncase_l.S: New file.
11886         * string/Makefile (strop-tests): Add strncasecmp.
11887         * string/test-strncasecmp.c: New file.
11888
11889         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11890         warning.
11891
11892         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11893         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11894
11895 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11896
11897         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11898
11899 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11900
11901         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11902         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11903         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11904
11905 2010-05-01  Alan Modra  <amodra@gmail.com>
11906
11907         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11908         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11909         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11910         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11911         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11912         tidying.  Don't tail-call __sigjmp_save for static lib.
11913         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11914         save location.
11915         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11916         (CALL_MCOUNT): Add eh info, and nop after bl.
11917         (TAIL_CALL_SYSCALL_ERROR): New macro.
11918         (PSEUDO_RET): Use it.
11919         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11920         Correct save location of integer regs and cr.
11921         (_dl_profile_resolve): Correct cr save location.  Delete nops
11922         after bl when SHARED.  Reduce cfi size a little by better
11923         placement of cfi directives.
11924         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11925         make a stack frame.  Instead use parm save area as a temp.
11926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11927         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11929         Don't make a stack frame for parent, use parm save area.
11930         Increase child stack frame to 112 bytes.  Don't save unused reg,
11931         and adjust reg usage.  Set up cfi on error recovery and
11932         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11934         (__makecontext): Add dummy nop after jump to exit.
11935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11936         Use correct parm save area and cr save, reduce stack frame.
11937         Correct cfi for possible PSEUDO_RET frame setup.
11938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11939         Branch to local label emitted by PSEUDO_RET rather than
11940         __syscall_error.
11941
11942 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11943
11944         [BZ #11904]
11945         * locale/programs/locale.c (print_assignment): New function.
11946         (show_locale_vars): Use it.
11947
11948 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11949
11950         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11951         field.
11952         (struct statfs64): Likewise.
11953         (_STATFS_F_FLAGS): Define.
11954         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11955         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11956         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11957         (ST_VALID): Define locally.
11958         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11959         __statvfs_getflags, use the provided value.
11960         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11961         __ASSUME_STATFS_F_FLAGS.
11962
11963         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11964
11965         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11966         Add sys/fanotify.h.
11967         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11968         fanotify_mask for GLIBC_2.13.
11969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11970         fanotify_init and fanotify_mark.
11971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11972         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11973
11974         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11975         Add prlimit.
11976         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11977         prlimit64 for GLIBC_2.13.
11978         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11979         prlimit64.
11980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11981         syscall.
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11984         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11985         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11987         add prlimit alias.
11988         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11989
11990         [BZ #11903]
11991         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11992         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11993
11994         * nss/Makefile: Add rules to build and run tst-nss-test1.
11995         * shlib-versions: Add entry for libnss_test1.
11996         * nss/nss_test1.c: New file.
11997         * nss/tst-nss-test1.c: New file.
11998
11999         * nss/nsswitch.c (__nss_database_custom): Define new variable.
12000         (__nss_configure_lookup): Set appropriate entry in
12001         __nss_configure_lookup to true.
12002         * nss/nsswitch.h: Define enum with indeces of databases in
12003         databases and __nss_database_custom arrays.  Declare
12004         __nss_database_custom.
12005         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12006         to avoid using nscd when custom rules are installed.
12007         * nss/getXXbyYY_r.c: Likewise.
12008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12009
12010         * nss/nss_files/files-parse.c: Whitespace fixes.
12011
12012 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
12013
12014         [BZ #11883]
12015         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12016         * posix/fnmatch_loop.c: Likewise.
12017
12018 2010-07-17  Andi Kleen  <ak@linux.intel.com>
12019
12020         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12021         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12022         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12023         * Versions.def [GLIBC_2.13]: Add.
12024
12025 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
12026
12027         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12028         Also fail if tpwd after pwuid call is NULL.
12029
12030 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12031
12032         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12033         when converting to ms.
12034
12035 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12036
12037         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12038         EOPNOTSUPP errors with ENOTTY.
12039         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12040         EOPNOTSUPP errors with ENOTTY.
12041
12042 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
12043
12044         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12045         Add strcasecmp_l-ssse3.
12046         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12047         strcasecmp.
12048         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12049         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12050         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12051
12052 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
12053
12054         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12055
12056         * string/Makefile (strop-tests): Add strcasecmp.
12057         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12058         strcasecmp_l-nonascii.
12059         (gen-as-const-headers): Add locale-defines.sym.
12060         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12061         * sysdeps/x86_64/strcasecmp.S: New file.
12062         * sysdeps/x86_64/strcasecmp_l.S: New file.
12063         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12064         * sysdeps/x86_64/locale-defines.sym: New file.
12065         * string/test-strcasecmp.c: New file.
12066
12067         * string/test-strcasestr.c: Test both ends of the range of characters.
12068         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12069
12070 2010-07-29  Roland McGrath  <roland@redhat.com>
12071
12072         [BZ #11856]
12073         * manual/locale.texi (Yes-or-No Questions): Fix example code.
12074
12075 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
12076
12077         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12078         for ld.so.
12079
12080 2010-07-27  Andreas Schwab  <schwab@redhat.com>
12081
12082         * manual/memory.texi (Malloc Tunable Parameters): Document
12083         M_PERTURB.
12084
12085 2010-07-26  Roland McGrath  <roland@redhat.com>
12086
12087         [BZ #11840]
12088         * configure.in (-fgnu89-inline check): Set and substitute
12089         gnu89_inline, not libc_cv_gnu89_inline.
12090         * configure: Regenerated.
12091         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12092
12093 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
12094
12095         * string/test-strnlen.c: New file.
12096         * string/Makefile (strop-tests): Add strnlen.
12097         * string/tester.c (test_strnlen): Add a few more test cases.
12098         * string/tst-strlen.c: Better error reporting.
12099
12100         * sysdeps/x86_64/strnlen.S: New file.
12101
12102 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
12103
12104         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12105         lower-latency instructions.
12106
12107 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
12108
12109         * string/test-strcasestr.c: New file.
12110         * string/test-strstr.c: New file.
12111         * string/Makefile (strop-tests): Add strstr and strcasestr.
12112         * string/str-two-way.h: Don't undefine MAX.
12113         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12114
12115 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12116
12117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12118         strcasestr-nonascii.
12119         (CFLAGS-strcasestr-nonascii.c): Define.
12120         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12122         Remove unused attribute.
12123
12124 2010-07-20  Roland McGrath  <roland@redhat.com>
12125
12126         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12127         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12128         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12129         like LD_HWCAP_MASK can disable hwcaps.
12130
12131 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12132
12133         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12134
12135 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12136
12137         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12138         call in strcasestr.
12139         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12140         __strcasestr_sse42_nonascii.
12141         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12142         strcasestr-nonascii.c.
12143         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12144
12145 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12146
12147         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12149         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12151
12152 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12153
12154         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12155         fcntl.
12156
12157 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12158
12159         [BZ #11577]
12160         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12161         dl_signal_cerror.
12162
12163 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12164
12165         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12166         _PC_PIPE_BUF using F_GETPIPE_SZ.
12167
12168 2010-07-05  Roland McGrath  <roland@redhat.com>
12169
12170         * manual/arith.texi (Rounding Functions): Fix rint description
12171         implicit in round description.
12172
12173 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12174
12175         * elf/Makefile: Fix linking for a few tests to make recent linker
12176         happy.
12177
12178 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12179
12180         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12181         $(common-objpfx)libc_nonshared.a.
12182
12183 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12184
12185         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12186         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12187         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12188         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12189         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12190         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12191         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12192         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12207         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12208         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12209         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12210         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12211         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12212         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12213         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12214         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12215         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12216         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12217         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12218         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12233
12234 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12235
12236         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12237         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12238         * string/memmove.c (memmove): Renamed to ...
12239         (MEMMOVE): ...this.  Default to memmove.
12240         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12241         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12242         (END_CHK): Define.
12243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12244         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12245         mempcpy-ssse3-back memmove-ssse3-back.
12246         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12247         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12249         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12250         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12251         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12252         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12253         * sysdeps/x86_64/multiarch/memmove.c: New file.
12254         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12255         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12256         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12257         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12258         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12260         Define.
12261         (index_Fast_Copy_Backward): Define.
12262         (HAS_ARCH_FEATURE): Define.
12263         (HAS_FAST_REP_STRING): Define.
12264         (HAS_FAST_COPY_BACKWARD): Define.
12265
12266 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12267
12268         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12269         Restore proper fallback handling.
12270
12271 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12272
12273         [BZ #11701]
12274         * posix/group_member.c (__group_member): Correct checking loop.
12275
12276         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12277         OOM in getpwuid_r correctly.  Return error number when the caller
12278         should return, otherwise -1.
12279         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12280         call returning > 0 value.
12281         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12282
12283 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12284
12285         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12286         libc_nonshared.a from targets in modules-names.
12287
12288 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12289
12290         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12291         requires it.
12292
12293 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12294
12295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12296         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12298         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12299
12300 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12301
12302         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12303
12304 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12305
12306         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12307         and F_GETPIPE_SZ.
12308         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12309         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12312         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12313         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12314
12315 2010-06-14  Roland McGrath  <roland@redhat.com>
12316
12317         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12318
12319 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12320
12321         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12322         __REDIRECT followed by __THROW.
12323         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12324         * posix/getopt.h (getopt): Likewise.
12325
12326 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12327
12328         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12329         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12330         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12331         in AT_FLAGS.
12332         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12333         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12334
12335 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12336
12337         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12338
12339 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12340
12341         [BZ #11640]
12342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12343         Properly check family and model.
12344
12345 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12346
12347         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12348
12349 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12350
12351         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12352
12353 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12354
12355         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12356         symbol reference.
12357
12358 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12359
12360         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12361         symbol reference.
12362
12363 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12364
12365         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12366         and internal_recvmmsg.
12367         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12368         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12369         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12370         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12371
12372         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12373         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12374         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12375
12376 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12377
12378         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12379
12380 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12381
12382         POWER7 optimizations.
12383         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12384         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12385
12386 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12387
12388         * version.h: Update for 2.13 development version.
12389
12390 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12391
12392         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12393         exceptions.  Return 0.
12394
12395 2010-05-07  Roland McGrath  <roland@redhat.com>
12396
12397         * elf/ldconfig.c (main): Add a const.
12398
12399 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12400
12401         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12402         (args_options): Add no-idn option.
12403         (ahosts_keys_int): Add idn_flags to ai_flags.
12404         (parse_option): Handle 'i' option to clear idn_flags.
12405
12406         * malloc/malloc.c (_int_free): Possible race in the most recently
12407         added check.  Only act on the data if no current modification
12408         happened.
12409
12410 See ChangeLog.17 for earlier changes.