c58e919738fe7a16581e5001ed9d9a2dd3fac3ad
[platform/upstream/glibc.git] / ChangeLog
1 2012-03-16  David S. Miller  <davem@davemloft.net>
2
3         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4         warnings.
5
6         [BZ #6471]
7         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8         properly.
9         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11         sysdep_routines when subdir is sysvipc.
12         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13         __getshmlba helper.
14
15         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16
17 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18
19         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20         [__LP64__].
21
22 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23
24         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26         (__lround): Renamed to ...
27         (__llround): This.  Replace long int with long long int.
28         Define lround functions as aliases of llround functions.
29         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30
31 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32
33         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35         adresses to uintptr_t.  Replace "long int" and "unsigned long
36         int" with "greg_t" on va_arg.
37
38 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39
40         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42
43         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44         Move e_machine check before EI_CLASS check.  Handle x32
45         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47         SKIP_EM_IA_64 and include
48         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49
50         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52         (add_system_dir): New macro.
53
54         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56
57 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58
59         [BZ #2551]
60         [BZ #2552]
61         [BZ #2553]
62         [BZ #2554]
63         [BZ #2562]
64         [BZ #2563]
65         [BZ #2565]
66         [BZ #2566]
67         [BZ #2576]
68         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69         (y0): Likewise.
70         * math/w_j0f.c (j0f): Likewise.
71         (y0f): Likewise.
72         * math/w_j0l.c (__j0l): Likewise.
73         (__y0l): Likewise.
74         * math/w_j1.c (j1): Likewise.
75         (y1): Likewise.
76         * math/w_j1f.c (j1f): Likewise.
77         (y1f): Likewise.
78         * math/w_j1l.c (__j1l): Likewise.
79         (__y1l): Likewise.
80         * math/w_jn.c (jn): Likewise.
81         (yn): Likewise.
82         * math/w_jnf.c (jnf): Likewise.
83         (ynf): Likewise.
84         * math/w_jnl.c (__jnl): Likewise.
85         (__ynl): Likewise.
86         * math/libm-test.inc (j0_test): Add more tests.
87         (j1_test): Likewise.
88         (jn_test): Likewise.  Add trailing semicolon to existing test.
89         (y0_test): Likewise.
90         (y1_test): Likewise.
91         * sysdeps/i386/fpu/libm-test-ulps: Update.
92         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93
94         [BZ #13851]
95         [BZ #13854]
96         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
97         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
98         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
99         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
100         (__tanl): Set errno for infinite argument.
101         * sysdeps/i386/fpu/mptan.c: Remove.
102         * sysdeps/i386/fpu/s_tan.S: Likewise.
103         * sysdeps/i386/fpu/s_tanl.S: Likewise.
104         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
105         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
106         * math/libm-test.inc (tan_test): Add more tests and enable more
107         tests for double and long double.
108         * sysdeps/i386/fpu/libm-test-ulps: Update.
109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
110
111 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
112
113         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
114         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
115
116 2012-03-16  Roland McGrath  <roland@hack.frob.com>
117
118         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
119         * configure.in: Use it for both main tree and add-ons.
120         * configure: Regenerated.
121
122 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
123
124         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
125
126 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
127
128         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
129         in comment.
130
131         [BZ #13851]
132         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
133         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
134         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
135         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
136         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
137         infinite argument.
138         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
139         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
140         != 0 for prec == 2.
141         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
142         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
143         * sysdeps/i386/fpu/s_cosl.S: Likewise.
144         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
145         * sysdeps/i386/fpu/s_sinl.S: Likewise.
146         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
147         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
148         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
149         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
150         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
151         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
152         * math/libm-test.inc (cos_test): Add more tests and enable more
153         tests for long double.
154         (sin_test): Likewise.
155         (sincos_test): Likewise.
156         * sysdeps/i386/fpu/libm-test-ulps: Update.
157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
158
159 2012-03-16  David S. Miller  <davem@davemloft.net>
160
161         * sysdeps/sparc/fpu/math_private.h: New file.
162
163 2012-03-15  David S. Miller  <davem@davemloft.net>
164
165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
166         file.
167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
169         file.
170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
176         sysdep routines.
177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
178
179         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
180         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
181
182         * sysdeps/sparc/sparc-ifunc.h: New file.
183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
184         sparc-ifunc.h
185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
187         Likewise.
188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
189         Likewise.
190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
194         Likewise.
195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
200         Likewise.
201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
202         Likewise.
203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
209         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
210         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
220         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
221         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
224         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
225         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
226         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
227
228 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
229
230         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
231         scaling.
232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
233
234 2012-03-15  Andreas Jaeger  <aj@suse.de>
235
236         [BZ #13852]
237         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
238         ieee754/flt-32 implementation for sin, cos and sincos.
239         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
240         * sysdeps/i386/fpu/s_cosf.S: Likewise.
241         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
242         * sysdeps/i386/fpu/s_sinf.S: Likewise.
243         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
244         ieee754/flt-32 implementation for tan.
245
246         * math/libm-test.inc (cos_test): Enable some large input tests for
247         float as well
248         (sin_test): Likewise.
249         (sincos_test): Likewise.
250         (tan_test): Add tests for large input.
251
252         * sysdeps/i386/fpu/libm-test-ulps: Update.
253
254 2012-03-15  Andreas Jaeger  <aj@suse.de>
255
256         [BZ #13658]
257         * math/libm-test.inc (cos_test): Add more test cases.
258         (sin_test): Likewise.
259         (sincos_test): Likewise.
260
261 2012-03-15  Andreas Jaeger  <aj@suse.de>
262
263         [BZ #13837]
264         * math/libm-test.inc (cos_test): Add a test case for large input
265         value.
266         (sin_test): Likewise.
267         (sincos_test): Likewise.
268
269 2012-03-15  Andreas Jaeger  <aj@suse.de>,
270         Joseph Myers  <joseph@codesourcery.com>
271
272         [BZ #13658]
273         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
274         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
275         * sysdeps/i386/fpu/branred.c: Likewise.
276         * sysdeps/i386/fpu/dosincos.c: Likewise.
277         * sysdeps/i386/fpu/mpa.c: Likewise.
278         * sysdeps/i386/fpu/s_cos.S: Likewise.
279         * sysdeps/i386/fpu/s_sin.S: Likewise.
280         * sysdeps/i386/fpu/s_sincos.S: Likewise.
281         * sysdeps/i386/fpu/sincos32.c: Likewise.
282
283         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
284         Define.
285         (libc_feupdateenv_53bit): Define.
286         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
287         Define.
288         (libc_feupdateenv_53bit): Define.
289
290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
291         53 bit (without extend i386 double precision).
292
293         * math/libm-test.inc (sincos_test): Add tests for large input.
294         (sin): Likewise.
295         (cos): Likewise.
296
297         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
298
299 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
300
301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
302
303 2012-03-15  David S. Miller  <davem@davemloft.net>
304
305         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
306         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
307         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
308         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
321         file.
322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
324         file.
325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
327         file.
328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
330         file.
331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
332         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
333         fmin/fmax sysdep routines.
334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
335
336 2012-03-14  David S. Miller  <davem@davemloft.net>
337
338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
341         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
344         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
345         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
354         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
358         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
359         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
361         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
364         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
365         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
366         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
367         routines.
368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
369         file.
370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
372         file.
373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
375         file.
376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
378         file.
379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
381         file.
382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
384         file.
385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
386         file.
387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
388         file.
389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
390         file.
391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
392         New file.
393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
394         file.
395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
396         file.
397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
399         file.
400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
402         file.
403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
405         file.
406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
408         VIS3 routines.
409
410         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
411         New file.
412
413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
414
415         * sysdeps/sparc/configure.in: New file.
416         * sysdeps/sparc/configure: Generate.
417         * configure.in (libc_cv_sparc_as_vis3): Substitute.
418         * configure: Regenerate.
419         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
420         * config.make.in (have-as-vis3): New.
421         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
422         available use -Av9d instead of -Av9a.
423         * sysdeps/sparc/sparc64/Makefile: Likewise.
424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
426         New file.
427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
428         file.
429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
430         New file.
431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
432         file.
433         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
436         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
437         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
438
439         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
440         fzeros/fnegs to load 0x80000000 into a float register instead of
441         using the stack.
442         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
443
444 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
445
446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
447         bits/syscall.h.
448         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
449         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
450         ($(inst_includedir)/bits/syscall.h): Remove rule.
451         ($(objpfx)bits/syscall.d): Include instead of
452         $(objpfx)syscall-list.d.
453         (generated): Change syscall-list.h and syscall-list.d to
454         bits/syscall.h and bits/syscall.d.
455
456 2012-03-14  Roland McGrath  <roland@hack.frob.com>
457
458         [BZ #13846]
459         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
460
461 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
462
463         [BZ #13841]
464         * math/s_csqrt.c: Include <float.h>.
465         (__csqrt): Scale large or subnormal inputs.
466         * math/s_csqrtf.c: Likewise.
467         * math/s_csqrtl.c: Likewise.
468         * math/libm-test.inc (csqrt_test): Add more tests.
469         * sysdeps/i386/fpu/libm-test-ulps: Update.
470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
471
472         [BZ #13840]
473         * math/libm-test.inc (hypot_test): Add more tests.
474
475 2012-03-13  David S. Miller  <davem@davemloft.net>
476
477         [BZ #13840]
478         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
479         double-precision for the calculation instead of scaling.
480
481 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
482
483         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
484         manipulate bits before adding and subtracting TWO52[sx].
485         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
486         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
487         Likewise.
488         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
489
490 2012-03-13  David S. Miller  <davem@davemloft.net>
491
492         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
493         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
494         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
495         rtld-global-offsets.h
496         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
497
498         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
499         large parameters.
500
501         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
502
503         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
504         'err' in the ifdef scope in which it is actually used.
505
506         * nss/nss_db/db-init.c: Include string.h
507
508 2012-03-12  David S. Miller  <davem@davemloft.net>
509
510         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
511         masking out of the most significant byte of random value used.
512         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
513         Fix coding style in previous change.
514
515         * sysdeps/unix/sysv/linux/kernel-features.h
516         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
517         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
518         expression.
519         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
520         later.
521
522 2012-03-11  David S. Miller  <davem@davemloft.net>
523
524         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
525         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
526         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
527         for 'resultvar' otherwise things get truncated on 64-bit.
528
529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
530         Fix masking out of the most significant byte of random value used.
531
532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
533
534 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
535
536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
537
538 2012-03-09  David S. Miller  <davem@davemloft.net>
539
540         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
541         variables with appropriate CPP guards.
542         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
543         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
544         on resulting framesize and the management of the outregs buffer for pltexit.
545         Preserve floating point return values across _dl_call_pltexit call.
546         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
547         framesize and the management of the outregs buffer for pltexit.
548         Preserve floating point return values across _dl_call_pltexit
549         call.
550         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
551         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
552         (print_exit): Fix format string for return register value.
553
554 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
555
556         * sunrpc/Makefile (others): Add rpcgen.
557         ($(objpfx)rpcgen): Remove special build rule and dependency on
558         libc.
559         * sunrpc/rpcgen.c: New file.
560
561 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
562
563         [BZ #13673]
564         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
565         * stdio-common/bug-vfprintf-nargs.c: Likewise.
566         * sysdeps/i386/crti.S: Likewise.
567         * sysdeps/i386/crtn.S: Likewise.
568         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
569         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
570         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
571         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
572         * sysdeps/sh/crti.S: Likewise.
573         * sysdeps/sh/crtn.S: Likewise.
574         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
575
576         [BZ #13673]
577         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
578         with URL.
579         * locale/programs/locfile-kw.gperf: Likewise.
580         * locale/programs/charmap-kw.h: Regenerated.
581         * locale/programs/locfile-kw.h: Likewise.
582
583         [BZ #13673]
584         * intl/plural.y: Replace FSF snail mail address with URL.
585         * intl/plural.c: Regenerated.
586
587 2012-03-09  Richard Henderson  <rth@twiddle.net>
588
589         * include/math_private.h: Remove file.
590         * math/math_private.h: Move file ...
591         * sysdeps/generic/math_private.h: ... here.
592
593         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
594         * sysdeps/powerpc/fpu/math_private.h: Likewise.
595         * sysdeps/x86_64/fpu/math_private.h: Likewise.
596
597         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
598         and <math_private.h>.
599         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
600         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
601         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
602         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
603         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
604         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
605         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
606         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
607         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
608         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
610         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
611         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
612         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
613         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
614         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
615         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
616         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
617         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
618         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
619         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
620         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
621         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
623         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
624         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
625         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
626         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
628         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
629         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
630         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
631         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
632         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
633         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
634         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
635         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
636         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
637         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
638         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
639         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
640         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
641         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
642         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
643         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
644         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
645         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
646         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
647         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
648         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
649         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
650         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
651         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
652         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
653         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
654         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
655         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
656         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
657         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
658         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
659         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
660         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
662         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
663         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
664         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
665         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
666         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
667         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
668         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
670         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
671         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
672         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
673         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
675         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
677         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
678         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
679         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
680         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
681         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
682         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
683         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
684         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
686         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
687         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
688         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
689         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
690         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
691         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
692         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
693         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
694         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
695         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
696         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
697         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
699         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
700         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
701         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
702         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
703         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
704         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
705         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
706         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
707         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
708         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
709         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
710         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
711         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
712         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
713         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
714         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
715         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
716         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
717         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
718         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
719         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
720         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
721         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
722         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
723         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
724         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
725         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
726         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
727         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
728         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
729         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
730         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
731         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
732         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
733         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
734         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
735         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
736         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
737         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
738         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
739         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
740         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
741         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
742         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
743         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
744         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
745         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
746         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
747         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
748         * sysdeps/ieee754/k_standard.c: Likewise.
749         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
750         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
751         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
752         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
753         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
754         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
755         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
756         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
757         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
759         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
760         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
761         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
762         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
763         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
764         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
765         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
766         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
767         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
768         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
769         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
770         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
771         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
772         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
773         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
774         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
775         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
776         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
777         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
778         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
779         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
780         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
781         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
782         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
783         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
784         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
785         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
786         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
787         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
788         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
789         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
790         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
791         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
792         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
793         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
794         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
795         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
796         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
797         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
798         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
799         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
800         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
801         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
802         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
803         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
804         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
805         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
806         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
807         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
808         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
809         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
810         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
811         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
812         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
813         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
815         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
817         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
818         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
819         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
821         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
822         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
823         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
825         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
826         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
827         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
828         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
829         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
830         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
831         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
832         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
833         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
834         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
835         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
836         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
837         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
838         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
839         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
840         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
841         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
842         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
843         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
844         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
845         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
846         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
847         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
848         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
850         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
851         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
852         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
853         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
856         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
857         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
858         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
859         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
860         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
861         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
862         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
863         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
864         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
865         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
866         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
867         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
868         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
869         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
870         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
871         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
872         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
873         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
874         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
875         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
876         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
877         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
878         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
879         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
880         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
881         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
882         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
883         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
884         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
885         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
886         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
887         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
888         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
889         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
890         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
891         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
892         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
893         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
894         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
895         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
896         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
897         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
898         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
899         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
900         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
901         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
902         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
903         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
904         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
905         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
906         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
907         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
908         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
909         * sysdeps/ieee754/s_lib_version.c: Likewise.
910         * sysdeps/ieee754/s_matherr.c: Likewise.
911         * sysdeps/ieee754/s_signgam.c: Likewise.
912         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
913         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
914         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
915         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
916         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
917         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
918         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
919         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
920         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
921         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
922         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
923         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
924         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
925         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
926         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
927         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
928         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
929         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
930         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
931         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
932         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
933
934 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
935
936         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
937         * sunrpc/rpc_main.c: Likewise.
938         * sunrpc/rpc_svcout.c: Likewise.
939
940 2012-03-09  David S. Miller  <davem@davemloft.net>
941
942         * include/math_private.h: New file.
943
944 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
945
946         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
947         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
948         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
949         from <bits/socket_type.h>.
950         (enum __socket_type): Don't define here.
951         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
953         bits/socket_type.h.
954
955         [BZ #13566]
956         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
957         checking __USE_GNU.
958
959         * Makerules ($(inst_includedir)/%.h): New rule.
960         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
961         (install-others): Remove variable setting.
962         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
963
964 2012-03-08  Richard Henderson  <rth@twiddle.net>
965
966         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
967         from macro to inline function; merge with the
968         !__LIBC_INTERNAL_MATH_INLINES version.
969         (__ieee754_sqrtf): Likewise.
970
971         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
972         to inline function.
973         (__rintf, __floor, __floorf): Likewise.
974
975         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
976         macro to inline function.
977         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
978
979         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
980         not <math/math_private.h>.
981
982 2012-03-08  David S. Miller  <davem@davemloft.net>
983
984         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
985         copyright year.
986         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
987
988 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
989
990         * resolv/gai_misc.c (handle_requests): Fix struct timespec
991         normalization.
992         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
993         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
994
995 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
996
997         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
998         be defined individually, they must be defined as a block.  Define
999         S for printing a string instead of hidint the different by using a
1000         macro for adding the 'l'.
1001         * stdio-common/tst-fphex-wide.c: Adjust.
1002
1003 2012-03-07  Marek Polacek  <polacek@redhat.com>
1004
1005         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1006
1007 2012-03-08  Marek Polacek  <polacek@redhat.com>
1008
1009         [BZ #13806]
1010         * stdio-common/Makefile (tests): Add tst-fphex-wide.
1011         * stdio-common/tst-fphex.c: Define a few macros to make the
1012         test reusable.  Use them.
1013         * stdio-common/tst-fphex-wide.c: New file.
1014
1015 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
1016
1017         [BZ #6911]
1018         * manual/macros.texi (gnusystems): New macro.
1019         (nongnusystems): Likewise.
1020         (gnulinuxhurdsystems): Likewise.
1021         (gnuhurdsystems): Likewise..
1022         (gnulinuxsystems): Likewise.
1023         * manual/charset.texi: Use new macros or @theglibc{} to refer to
1024         variants of the GNU system, not "GNU system".
1025         * manual/conf.texi: Likewise.
1026         * manual/errno.texi: Likewise.  Update example of errno macro
1027         expansion.
1028         * manual/filesys.texi: Likewise.
1029         (getumask): Document as specific to GNU/Hurd.
1030         * manual/install.texi: Likewise.  Reword some references to
1031         GNU/Linux.
1032         * manual/intro.texi: Likewise.
1033         * manual/io.texi: Likewise.
1034         (File Name Portability): Detail which constraints are inapplicable
1035         to all GNU systems and which are only inapplicable to GNU/Hurd.
1036         * manual/job.texi: Likewise.
1037         * manual/llio.texi: Likewise.
1038         (O_NOCTTY): Document as present on GNU/Linux.
1039         * manual/maint.texi: Likewise.
1040         * manual/memory.texi: Likewise.
1041         * manual/pattern.texi: Likewise.
1042         * manual/pipe.texi: Likewise.
1043         * manual/process.texi: Likewise.
1044         * manual/resource.texi: Likewise.
1045         (RUSAGE_CHILDREN): Remove statement about specifying a particular
1046         child on GNU/Hurd.
1047         * manual/setjmp.texi: Likewise.
1048         * manual/signal.texi: Likewise.
1049         * manual/startup.texi: Likewise.
1050         * manual/stdio.texi: Likewise.
1051         * manual/terminal.texi: Likewise.
1052         (ONLCR): Document as POSIX.
1053         (OXTABS): Document availability on GNU/Linux as XTABS.
1054         (ONOEOT): Document availability separately from other bits.
1055         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1056         * manual/time.texi: Likewise.
1057         * manual/users.texi: Likewise.
1058         * INSTALL: Regenerated.
1059         * sysdeps/gnu/errlist.c: Regenerated.
1060
1061         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1062         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1063         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
1064         puts.
1065         * configure: Regenerated.
1066
1067 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
1068
1069         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1070         default includes instead of AC_HEADER_CHECK.
1071         * sysdeps/i386/configure: Regenerated.
1072
1073         [BZ #10716]
1074         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1075         * math/s_cacoshf.c (__cacoshf): Likewise.
1076         * math/s_cacoshl.c (__cacoshl): Likewise.
1077         * math/s_casinh.c (__casinh): Set signs of result from argument.
1078         * math/s_casinhf.c (__casinhf): Likewise.
1079         * math/s_casinhl.c (__casinhl): Likewise.
1080         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1081         (casinh_test): Add more tests.
1082         * sysdeps/i386/fpu/libm-test-ulps: Update.
1083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1084
1085 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
1086
1087         * po/zh_TW.po: Update from translation team.
1088
1089         * login/Makefile (distribute): Remove variable.
1090         * catgets/Makefile: Likewise.
1091         * mach/Makefile: Likewise.
1092         * malloc/Makefile: Likewise.
1093         * misc/Makefile: Likewise.
1094         * iconv/Makefile: Likewise.
1095         * nscd/Makefile: Likewise.
1096         * hurd/Makefile: Likewise.
1097         * manual/Makefile: Likewise.
1098         * locale/Makefile: Likewise.
1099         * intl/Makefile: Likewise.
1100         * conform/Makefile: Likewise.
1101         * nss/Makefile: Likewise.
1102         * time/Makefile: Likewise.
1103         * soft-fp/Makefile: Likewise.
1104         * dirent/Makefile: Likewise.
1105         * gmon/Makefile: Likewise.
1106         * po/Makefile: Likewise.
1107         * rt/Makefile: Likewise.
1108         * socket/Makefile: Likewise.
1109         * math/Makefile: Likewise.
1110         * signal/Makefile: Likewise.
1111         * debug/Makefile: Likewise.
1112         * elf/Makefile: Likewise.
1113         * timezone/Makefile: Likewise.
1114         * stdlib/Makefile: Likewise.
1115         * iconvdata/Makefile: Likewise.
1116         * sunrpc/Makefile: Likewise.
1117         * io/Makefile: Likewise.
1118         * argp/Makefile: Likewise.
1119         * inet/Makefile: Likewise.
1120         * hesiod/Makefile: Likewise.
1121         * grp/Makefile: Likewise.
1122         * csu/Makefile: Likewise.
1123         * wctype/Makefile: Likewise.
1124         * crypt/Makefile: Likewise.
1125         * libio/Makefile: Likewise.
1126         * string/Makefile: Likewise.
1127         * nis/Makefile: Likewise.
1128         * resolv/Makefile: Likewise.
1129         * stdio-common/Makefile: Likewise.
1130         * wcsmbs/Makefile: Likewise.
1131         * dlfcn/Makefile: Likewise.
1132         * posix/Makefile: Likewise.
1133
1134         * timezone/Makefile: Don't install timezone files, just the programs
1135         and scripts.
1136
1137 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
1138
1139         * nss/databases.def: Add missing gshadow entry.
1140
1141         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
1142
1143 2012-03-06  Marek Polacek  <polacek@redhat.com>
1144
1145         [BZ #13726]
1146         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1147         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1148         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1149         * stdio-common/tst-long-dbl-fphex.c: New file.
1150
1151 2012-03-06  David S. Miller  <davem@davemloft.net>
1152
1153         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1154         (set_obp_int): New function.
1155         (get_obp_int): New function.
1156         (__get_clockfreq_via_dev_openprom): Likewise.
1157         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1158         Avoid unused variable warnings on 'val' and use builtin_expect.
1159         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1160         __builtin_expect.
1161         (INLINE_CLONE_SYSCALL): Likewise.
1162
1163 2012-03-05  David S. Miller  <davem@davemloft.net>
1164
1165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1166
1167 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
1168
1169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1170
1171         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1172         only for |x| >= 40.
1173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1174
1175 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1176
1177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1178         Replace gettimeofday with __vdso_gettimeofday.
1179
1180         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1181         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1182         __vdso_clock_gettime and __vdso_getcpu.
1183
1184         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1185         time with __vdso_time.
1186
1187 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1188
1189         * manual/lang.texi (size_t): Note types to which size_t may be
1190         equivalent with the GNU C Library, but do not describe when
1191         differences between them are significant.
1192
1193 2012-03-05  Andreas Jaeger  <aj@suse.de>
1194
1195         * sysdeps/i386/fpu/libm-test-ulps: Update.
1196
1197 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
1198
1199         [BZ #3976]
1200         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1201         (__ieee754_pow): Save and restore rounding mode and use
1202         round-to-nearest for main computations.
1203         * math/libm-test.inc (pow_test_tonearest): New function.
1204         (pow_test_towardzero): Likewise.
1205         (pow_test_downward): Likewise.
1206         (pow_test_upward): Likewise.
1207         (main): Call the new functions.
1208         * sysdeps/i386/fpu/libm-test-ulps: Update.
1209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210
1211         [BZ #3976]
1212         * math/libm-test.inc (cosh_test_tonearest): New function.
1213         (cosh_test_towardzero): Likewise.
1214         (cosh_test_downward): Likewise.
1215         (cosh_test_upward): Likewise.
1216         (sinh_test_tonearest): Likewise.
1217         (sinh_test_towardzero): Likewise.
1218         (sinh_test_downward): Likewise.
1219         (sinh_test_upward): Likewise.
1220         (main): Call the new functions.
1221         * sysdeps/i386/fpu/libm-test-ulps: Update.
1222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223
1224 2012-03-05  Tom de Vries  <tom@codesourcery.com>
1225
1226         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1227         default stack guard is set in last bytes.
1228         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1229
1230 2012-03-05  Kees Cook  <keescook@chromium.org>
1231
1232         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1233
1234         [BZ #13656]
1235         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1236         possibly allocate from heap instead of stack.
1237         * stdio-common/bug-vfprintf-nargs.c: New file.
1238         * stdio-common/Makefile (tests): Add nargs overflow test.
1239
1240 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
1241
1242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1243
1244 2012-03-03  Marek Polacek  <polacek@redhat.com>
1245
1246         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1247         * math/math_private.h: Likewise.
1248         * stdlib/tst-strtod.c: Likewise.
1249         * sysdeps/i386/i486/bits/atomic.h: Likewise.
1250         * sysdeps/x86_64/bits/atomic.h: Likewise.
1251
1252 2012-03-02  David S. Miller  <davem@davemloft.net>
1253
1254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1258         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1259         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1260         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1261         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1262
1263 2012-03-02  Roland McGrath  <roland@hack.frob.com>
1264
1265         [BZ #13792]
1266         * manual/examples/README: New file, says the example source files
1267         can be used under GPL>=2.
1268         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1269         line containing just "*/".
1270         * manual/examples/add.c: Add copyright header (GPL>=2).
1271         * manual/examples/argp-ex1.c: Likewise.
1272         * manual/examples/argp-ex2.c: Likewise.
1273         * manual/examples/argp-ex3.c: Likewise.
1274         * manual/examples/argp-ex4.c: Likewise.
1275         * manual/examples/atexit.c: Likewise.
1276         * manual/examples/db.c: Likewise.
1277         * manual/examples/dir.c: Likewise.
1278         * manual/examples/dir2.c: Likewise.
1279         * manual/examples/execinfo.c: Likewise.
1280         * manual/examples/filecli.c: Likewise.
1281         * manual/examples/filesrv.c: Likewise.
1282         * manual/examples/fmtmsgexpl.c: Likewise.
1283         * manual/examples/genpass.c: Likewise.
1284         * manual/examples/inetcli.c: Likewise.
1285         * manual/examples/inetsrv.c: Likewise.
1286         * manual/examples/isockad.c: Likewise.
1287         * manual/examples/longopt.c: Likewise.
1288         * manual/examples/memopen.c: Likewise.
1289         * manual/examples/memstrm.c: Likewise.
1290         * manual/examples/mkfsock.c: Likewise.
1291         * manual/examples/mkisock.c: Likewise.
1292         * manual/examples/mygetpass.c: Likewise.
1293         * manual/examples/pipe.c: Likewise.
1294         * manual/examples/popen.c: Likewise.
1295         * manual/examples/rprintf.c: Likewise.
1296         * manual/examples/search.c: Likewise.
1297         * manual/examples/select.c: Likewise.
1298         * manual/examples/setjmp.c: Likewise.
1299         * manual/examples/sigh1.c: Likewise.
1300         * manual/examples/sigusr.c: Likewise.
1301         * manual/examples/stpcpy.c: Likewise.
1302         * manual/examples/strdupa.c: Likewise.
1303         * manual/examples/strftim.c: Likewise.
1304         * manual/examples/strncat.c: Likewise.
1305         * manual/examples/subopt.c: Likewise.
1306         * manual/examples/swapcontext.c: Likewise.
1307         * manual/examples/termios.c: Likewise.
1308         * manual/examples/testopt.c: Likewise.
1309         * manual/examples/testpass.c: Likewise.
1310         * manual/examples/timeval_subtract.c: Likewise.
1311
1312         [BZ #13792]
1313         * manual/time.texi (Elapsed Time): Move timeval_subtract example
1314         function to ...
1315         * manual/timeval_subtract.c.texi: ... here, new file.
1316
1317 2012-03-02  David S. Miller  <davem@davemloft.net>
1318
1319         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1320
1321 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
1322
1323         [BZ #3976]
1324         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1325         (__sin): Save and restore rounding mode and use round-to-nearest
1326         for all computations.
1327         (__cos): Save and restore rounding mode and use round-to-nearest
1328         for all computations.
1329         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1330         <fenv.h>.
1331         (tan): Save and restore rounding mode and use round-to-nearest for
1332         all computations.
1333         * math/libm-test.inc (cos_test_tonearest): New function.
1334         (cos_test_towardzero): Likewise.
1335         (cos_test_downward): Likewise.
1336         (cos_test_upward): Likewise.
1337         (sin_test_tonearest): Likewise.
1338         (sin_test_towardzero): Likewise.
1339         (sin_test_downward): Likewise.
1340         (sin_test_upward): Likewise.
1341         (tan_test_tonearest): Likewise.
1342         (tan_test_towardzero): Likewise.
1343         (tan_test_downward): Likewise.
1344         (tan_test_upward): Likewise.
1345         (main): Call the new functions.
1346         * sysdeps/i386/fpu/libm-test-ulps: Update.
1347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348
1349         [BZ #10135]
1350         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1351         small n, then large n, before computing and testing k+n.
1352         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1353         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1354         Likewise.
1355         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1356         Likewise.
1357         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1358         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1363         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1364         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1365         * math/libm-test.inc (scalbn_test): Add more tests.
1366         (scalbln_test): Likewise.
1367
1368         * manual/filesys.texi (mode_t): Describe constraints on size and
1369         signedness, not exact equivalence to a particular type.
1370         (ino_t): Likewise.
1371         (ino64_t): Likewise.
1372         (dev_t): Likewise.
1373         (nlink_t): Likewise.
1374         (blkcnt_t): Likewise.
1375         (blkcnt64_t): Likewise.
1376         * manual/llio.texi (off_t): Likewise.
1377
1378         [BZ #3976]
1379         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1380         (__ieee754_exp): Save and restore rounding mode and use
1381         round-to-nearest for all computations.
1382         * math/libm-test.inc (exp_test_tonearest): New function.
1383         (exp_test_towardzero): Likewise.
1384         (exp_test_downward): Likewise.
1385         (exp_test_upward): Likewise.
1386         (main): Call the new functions.
1387         * sysdeps/i386/fpu/libm-test-ulps: Update.
1388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1389
1390 2012-03-01  Chris Demetriou  <cgd@google.com>
1391
1392         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1393         have predictable order.
1394
1395 2012-03-01  David S. Miller  <davem@davemloft.net>
1396
1397         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1398
1399         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1400         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1401         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1402         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1403
1404         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1405         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1406         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1408         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1409         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1410         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1411         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1412         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1413
1414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1415
1416         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1417         * sysdeps/sparc/fpu/libm-test-ulps: to here.
1418         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1419
1420         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1421         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1422         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1423         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1424         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1425         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1426         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1427         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1428         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1429         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1430         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1431         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1433         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1434         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1436         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1437         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1438         * sysdeps/sparc/elf/configure: Regenerated.
1439
1440 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
1441
1442         * configure.in (AS, LD): Require binutils 2.20 or later.
1443         * configure: Regenerated.
1444         * manual/install.texi (Tools for Compilation): Give binutils 2.20
1445         as required minimum version.
1446         * INSTALL: Regenerated.
1447
1448         [BZ #2541]
1449         [BZ #4108]
1450         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1451         before squaring exponent.
1452         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1453         bottom long double and 27 bits of top long double before squaring
1454         exponent.
1455         * math/libm-test.inc (erfc_test): Add more tests.
1456         * sysdeps/i386/fpu/libm-test-ulps: Update.
1457         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1459
1460 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1461
1462         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1463         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1464         containing bit-fields.
1465         * soft-fp/extended.h (_FP_UNION_E): Likewise.
1466         * soft-fp/single.h (_FP_UNION_S): Likewise.
1467         * soft-fp/double.h (_FP_UNION_D): Likewise.
1468
1469 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1470
1471         [BZ #13786]
1472         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1473         not include ../strcmp.S.
1474         [USE_AS_STRNCASECMP_L]: Likewise.
1475         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1476         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1477         * sysdeps/i386/i686/multiarch/strncase_l-c.c
1478         (__strncasecmp_l_ia32): Define as alias to
1479         __strncasecmp_l_nonascii.
1480
1481         [BZ #5794]
1482         * math/libm-test.inc (expm1_test): Add test for bug 5794.
1483         * sysdeps/i386/fpu/libm-test-ulps: Update.
1484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1485
1486         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1488
1489 2012-02-29  Jeff Law  <law@redhat.com>
1490
1491         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1492         out of bounds read.
1493
1494 2012-02-29  Marek Polacek  <polacek@redhat.com>
1495
1496         [BZ #13706]
1497         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1498         * elf/Makefile: Add rules to run tst-unused-dep.out.
1499
1500 2012-02-28  David S. Miller  <davem@davemloft.net>
1501
1502         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1503         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1504         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1505         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1506         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1507         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1508
1509 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
1510
1511         * math/libm-test.inc (llround_test): Move one test from
1512         lround_test.  Use TEST_f_L in moved test.
1513         (lround_test): Move misplaced test to llround_test.  Add testcase
1514         from bug 2561.
1515
1516 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
1517
1518         * sysdeps/x86_64/fpu/e_expf.S: New file.
1519         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1520
1521 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
1522
1523         [BZ #13637]
1524         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1525         of remain_len that may cause incomplete multi-byte character and
1526         false match.
1527         * posix/bug-regex33.c: New file.
1528         * posix/Makefile (tests): Add bug-regex33.
1529
1530 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
1531
1532         * manual/macros.texi: New file.
1533         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1534         * manual/libc.texinfo: Include macros.texi.
1535         * manual/creatute.texi: Likewise.
1536         * manual/install.texi: Likewise.
1537         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1538         @glibcadj{} in references to the GNU C Library.
1539         * manual/charset.texi: Likewise.
1540         * manual/conf.texi: Likewise.
1541         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
1542         when not using those macros.
1543         * manual/creature.texi: Likewise.
1544         * manual/crypt.texi: Likewise.
1545         * manual/errno.texi: Likewise.
1546         * manual/filesys.texi: Likewise.
1547         * manual/header.texi: Likewise.
1548         * manual/install.texi: Likewise.
1549         * manual/intro.texi: Likewise.
1550         * manual/io.texi: Likewise.
1551         * manual/job.texi: Likewise.
1552         * manual/lang.texi: Likewise.
1553         * manual/libc.texiinfo: Likewise.
1554         * manual/llio.texi: Likewise.
1555         * manual/locale.texi: Likewise.
1556         * manual/maint.texi: Likewise.
1557         * manual/math.texi: Likewise.
1558         * manual/memory.texi: Likewise.
1559         * manual/message.texi: Likewise.
1560         * manual/nss.texi: Likewise.
1561         * manual/pattern.texi: Likewise.
1562         * manual/process.texi: Likewise.
1563         * manual/resource.texi: Likewise.
1564         * manual/search.texi: Likewise.
1565         * manual/setjmp.texi: Likewise.
1566         * manual/signal.texi: Likewise.
1567         * manual/socket.texi: Likewise.
1568         * manual/startup.texi: Likewise.
1569         * manual/stdio.texi: Likewise.
1570         * manual/string.texi: Likewise.
1571         * manual/sysinfo.texi: Likewise.
1572         * manual/syslog.texi: Likewise.
1573         * manual/terminal.texi: Likewise.
1574         * manual/time.texi: Likewise.
1575         * manual/users.texi: Likewise.
1576         * INSTALL: Regenerated.
1577         * NOTES: Regenerated.
1578         * sysdeps/gnu/errlist.c: Regenerated.
1579
1580 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1581
1582         * include/dirent.h: Include <dirstream.h> before
1583         <dirent/dirent.h>.
1584
1585 2012-02-28  David S. Miller  <davem@davemloft.net>
1586
1587         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1588         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1589         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1590         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1591
1592 2012-02-27  David S. Miller  <davem@davemloft.net>
1593
1594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1596         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1597         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1598
1599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1600         frame pointer instead of stack pointer relative arg slot.
1601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1602         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1603         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1604
1605 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
1606
1607         [BZ #3992]
1608         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1609
1610 2012-02-27  David S. Miller  <davem@davemloft.net>
1611
1612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1618         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1619         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1620
1621 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1622
1623         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1624         later.  Allow versions 5-9.
1625         * configure: Regenerated.
1626         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1627         required minimum version and 4.6 as recommended version.  Do not
1628         mention bugs in GCC 2.7 and 2.8.
1629         * INSTALL: Regenerated.
1630
1631 2012-02-27  David S. Miller  <davem@davemloft.net>
1632
1633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1637         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1638         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1639         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1640         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1641
1642         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1643         manipulate bits before adding and subtracting TWO112[sx].
1644         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1645
1646 2012-02-27  Roland McGrath  <roland@hack.frob.com>
1647
1648         [BZ #13775]
1649         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1650         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1651         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1652         being in POSIX, because they are in 1003.1-2008.
1653
1654         * rt/tst-aio.c: Include <fcntl.h>.
1655         * rt/tst-aio7.c: Likewise.
1656         * rt/tst-aio64.c: Likewise.
1657
1658         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1659
1660 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1661
1662         * manual/install.texi (--with-headers): Describe headers as
1663         interface headers, not private headers.
1664         (Specific advice for GNU/Linux systems): Describe use of headers
1665         from "make headers_install", not private headers from older
1666         kernels.
1667         * INSTALL: Regenerated.
1668         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1669         Change to 2.6.19.
1670         * sysdeps/unix/sysv/linux/configure: Regenerated.
1671
1672         * manual/llio.texi (fclean): Remove documentation.
1673
1674         * manual/Makefile (libc-texi-generated): New variable.  Include
1675         version.texi.
1676         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1677         $(libc-texi-generated), not duplicated list of files.
1678         (version.texi, stamp-version): New rules.
1679         (realclean): Remove $(libc-texi-generated), not individual files
1680         from that list.  Do not remove dir-add.texinfo.
1681         * manual/libc.texinfo: Comment out uses of edition numbers and
1682         references to printed manual.  Remove last-updated dates.
1683         (EDITION): Comment out.
1684         (ISBN): Likewise.
1685         (VERSION, UPDATED): Remove.
1686         (version.texi): Include.
1687
1688 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
1689
1690         * sysdeps/posix/spawni.c: Include <signal.h>.
1691         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1692         * sysdeps/pthread/aio_fsync.c: Likewise.
1693
1694 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
1695
1696         * conform/Makefile (tests): Run only when not cross-compiling and
1697         when fast-check is not defined.
1698
1699         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1700         * conform/data/limits.h-data: Fixes for POSIX2008.
1701         * conform/run-conformtest.sh: Run all tests.
1702         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1703         headers.
1704         * include/bits/dlfcn.h: Likewise.
1705         * include/langinfo.h: Likewise.
1706         * include/monetary.h: Likewise.
1707         * include/sys/poll.h: Likewise.
1708
1709         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1710         for __USE_GNU.
1711         * posix/spawn.h: Define __need_sigset_t.
1712         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1713         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1714         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
1715         to get sigevent_t only.
1716         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1717         only for __USE_GNU.
1718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1719         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1720         process_vm_writev only for __USE_GNU.
1721         * termios/termios.h: Declare tcgetsid also for POSIX2008.
1722
1723         * conform/Makefile: For now ignore errors from run-conformtest.
1724         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
1725         POSIX to avoid namespace pollution.  Don't prepend headers.
1726         * conform/data/aio.h-data: Fixes for POSIX testing.
1727         * conform/data/fcntl.h-data: Likewise.
1728         * conform/data/glob.h-data: Likewise.
1729         * conform/data/grp.h-data: Likewise.
1730         * conform/data/pthread.h-data: Likewise.
1731         * conform/data/pwd.h-data: Likewise.
1732         * conform/data/signal.h-data: Likewise.
1733         * conform/data/spawn.h-data: Likewise.
1734         * conform/data/stdio.h-data: Likewise.
1735         * conform/data/stdlib.h-data: Likewise.
1736         * conform/data/stropts.h-data: Likewise.
1737         * conform/data/sys/mman.h-data: Likewise.
1738         * conform/data/sys/stat.h-data: Likewise.
1739         * conform/data/sys/types.h-data: Likewise.
1740         * conform/data/sys/wait.h-data: Likewise.
1741         * conform/data/time.h-data: Likewise.
1742         * conform/data/unistd.h-data: Likewise.
1743         * conform/data/utime.h-data: Likewise.
1744
1745         * io/sys/stat.h: fchmod was always in POSIX.
1746         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1747         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1748         * rt/aio.h: Define __need_timespec before including <time.h>.
1749         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1750         struct.  Add forward declaration of pthread_attr_t and use it in
1751         sigevent.
1752         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1754         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1755         always remove CLK_TCK definition.
1756
1757 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
1758
1759         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1760
1761 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
1762
1763         * conform/run-conformtest.sh: New file.
1764         * conform/Makefile: Run run-conformtest for tests.
1765         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
1766         support.
1767
1768         * conform/data/uchar.h-data: New file.
1769         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1770         * conform/data/arpa/inet.h-data: Likewise.
1771         * conform/data/assert.h-data: Likewise.
1772         * conform/data/complex.h-data: Likewise.
1773         * conform/data/cpio.h-data: Likewise.
1774         * conform/data/ctype.h-data: Likewise.
1775         * conform/data/dirent.h-data: Likewise.
1776         * conform/data/dlfcn.h-data: Likewise.
1777         * conform/data/errno.h-data: Likewise.
1778         * conform/data/fcntl.h-data: Likewise.
1779         * conform/data/float.h-data: Likewise.
1780         * conform/data/fmtmsg.h-data: Likewise.
1781         * conform/data/fnmatch.h-data: Likewise.
1782         * conform/data/ftw.h-data: Likewise.
1783         * conform/data/glob.h-data: Likewise.
1784         * conform/data/grp.h-data: Likewise.
1785         * conform/data/iconv.h-data: Likewise.
1786         * conform/data/inttypes.h-data: Likewise.
1787         * conform/data/langinfo.h-data: Likewise.
1788         * conform/data/libgen.h-data: Likewise.
1789         * conform/data/limits.h-data: Likewise.
1790         * conform/data/locale.h-data: Likewise.
1791         * conform/data/math.h-data: Likewise.
1792         * conform/data/monetary.h-data: Likewise.
1793         * conform/data/mqueue.h-data: Likewise.
1794         * conform/data/ndbm.h-data: Likewise.
1795         * conform/data/net/if.h-data: Likewise.
1796         * conform/data/netdb.h-data: Likewise.
1797         * conform/data/netinet/in.h-data: Likewise.
1798         * conform/data/nl_types.h-data: Likewise.
1799         * conform/data/poll.h-data: Likewise.
1800         * conform/data/pthread.h-data: Likewise.
1801         * conform/data/pwd.h-data: Likewise.
1802         * conform/data/regex.h-data: Likewise.
1803         * conform/data/sched.h-data: Likewise.
1804         * conform/data/search.h-data: Likewise.
1805         * conform/data/semaphore.h-data: Likewise.
1806         * conform/data/setjmp.h-data: Likewise.
1807         * conform/data/signal.h-data: Likewise.
1808         * conform/data/spawn.h-data: Likewise.
1809         * conform/data/stdarg.h-data: Likewise.
1810         * conform/data/stdio.h-data: Likewise.
1811         * conform/data/stdlib.h-data: Likewise.
1812         * conform/data/string.h-data: Likewise.
1813         * conform/data/strings.h-data: Likewise.
1814         * conform/data/stropts.h-data: Likewise.
1815         * conform/data/sys/ipc.h-data: Likewise.
1816         * conform/data/sys/mman.h-data: Likewise.
1817         * conform/data/sys/msg.h-data: Likewise.
1818         * conform/data/sys/resource.h-data: Likewise.
1819         * conform/data/sys/select.h-data: Likewise.
1820         * conform/data/sys/sem.h-data: Likewise.
1821         * conform/data/sys/shm.h-data: Likewise.
1822         * conform/data/sys/socket.h-data: Likewise.
1823         * conform/data/sys/stat.h-data: Likewise.
1824         * conform/data/sys/statvfs.h-data: Likewise.
1825         * conform/data/sys/time.h-data: Likewise.
1826         * conform/data/sys/timeb.h-data: Likewise.
1827         * conform/data/sys/times.h-data: Likewise.
1828         * conform/data/sys/types.h-data: Likewise.
1829         * conform/data/sys/uio.h-data: Likewise.
1830         * conform/data/sys/un.h-data: Likewise.
1831         * conform/data/sys/utsname.h-data: Likewise.
1832         * conform/data/sys/wait.h-data: Likewise.
1833         * conform/data/syslog.h-data: Likewise.
1834         * conform/data/tar.h-data: Likewise.
1835         * conform/data/termios.h-data: Likewise.
1836         * conform/data/utime.h-data: Likewise.
1837         * conform/data/utmpx.h-data: Likewise.
1838         * conform/data/varargs.h-data: Likewise.
1839         * conform/data/wchar.h-data: Likewise.
1840         * conform/data/wctype.h-data: Likewise.
1841         * conform/data/wordexp.h-data: Likewise.
1842
1843         * include/stropts.h: New file.
1844         * include/uchar.h: New file.
1845         * include/aio.h: Changes to allow conformtest.pl to use the headers.
1846         * include/assert.h: Likewise.
1847         * include/ctype.h: Likewise.
1848         * include/dirent.h: Likewise.
1849         * include/dlfcn.h: Likewise.
1850         * include/fcntl.h: Likewise.
1851         * include/fnmatch.h: Likewise.
1852         * include/glob.h: Likewise.
1853         * include/grp.h: Likewise.
1854         * include/libio.h: Likewise.
1855         * include/locale.h: Likewise.
1856         * include/math.h: Likewise.
1857         * include/net/if.h: Likewise.
1858         * include/netdb.h: Likewise.
1859         * include/netinet/in.h: Likewise.
1860         * include/pthread.h: Likewise.
1861         * include/pwd.h: Likewise.
1862         * include/regex.h: Likewise.
1863         * include/sched.h: Likewise.
1864         * include/search.h: Likewise.
1865         * include/setjmp.h: Likewise.
1866         * include/signal.h: Likewise.
1867         * include/stdio.h: Likewise.
1868         * include/stdlib.h: Likewise.
1869         * include/string.h: Likewise.
1870         * include/sys/cdefs.h: Likewise.
1871         * include/sys/mman.h: Likewise.
1872         * include/sys/msg.h: Likewise.
1873         * include/sys/resource.h: Likewise.
1874         * include/sys/select.h: Likewise.
1875         * include/sys/socket.h: Likewise.
1876         * include/sys/stat.h: Likewise.
1877         * include/sys/statvfs.h: Likewise.
1878         * include/sys/time.h: Likewise.
1879         * include/sys/times.h: Likewise.
1880         * include/sys/uio.h: Likewise.
1881         * include/sys/utsname.h: Likewise.
1882         * include/sys/wait.h: Likewise.
1883         * include/termios.h: Likewise.
1884         * include/time.h: Likewise.
1885         * include/ulimit.h: Likewise.
1886         * include/unistd.h: Likewise.
1887         * include/utime.h: Likewise.
1888         * include/wchar.h: Likewise.
1889         * include/wctype.h: Likewise.
1890         * include/wordexp.h: Likewise.
1891
1892         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1893
1894         * time/time.h: TIME_UTC must be a macro.
1895         Make timespec_get available for ISO C11 only as well.
1896
1897 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
1898
1899         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1900         Reported by Peng Haitao <penght@cn.fujitsu.com>.
1901
1902 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
1903
1904         * configure.in: Use -o not -a in test for unsupported multi-arch.
1905
1906 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
1907
1908         * manual/texinfo.tex: Update to version 2012-01-19.16.
1909
1910 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
1911
1912         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1913
1914 2012-02-24  Roland McGrath  <roland@hack.frob.com>
1915
1916         [BZ #13738]
1917         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1918         * manual/fdl-1.3.texi: New file.
1919         * manual/fdl-1.1.texi: File removed.
1920
1921         [BZ #13738]
1922         * manual/libc.texinfo (FDL_VERSION): New @set.
1923         Use it for mention of FDL in cover text.
1924         (Documentation License): Use it in @include file name.
1925
1926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1927             Roland McGrath  <roland@hack.frob.com>
1928
1929         [BZ #5461]
1930         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1931         not LONG_LONG_MAX and LONG_LONG_MIN.
1932         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1933         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
1934         name.
1935         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1936
1937 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1938
1939         [BZ #2547]
1940         [BZ #11365]
1941         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1942         manipulate bits before adding and subtracting TWO23[sx].
1943         * math/libm-test.inc (nearbyint_test): Add more tests.
1944
1945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1946
1947         [BZ #2548]
1948         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1949         bits before adding and subtracting TWO23[sx].
1950         * math/libm-test.inc (rint_test): Add more tests.
1951         (rint_test_tonearest): Likewise.
1952         (rint_test_towardzero): Likewise.
1953         (rint_test_downward): Likewise.
1954         (rint_test_upward: Likewise.
1955
1956 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1957
1958         [BZ #10110]
1959         * include/stdc-predef.h: New file.  Extracted from features.h.
1960         * include/features.h: Include stdc-predef.h.
1961         * Makefile (headers): Add stdc-predef.h.
1962         * CONFORMANCE (Compiler limitations): Update.
1963
1964 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1965
1966         * manual/libc.texinfo (VERSION, UPDATED): Revert.
1967
1968 2012-02-21  David S. Miller  <davem@davemloft.net>
1969
1970         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1971         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1972
1973 2012-02-20  David S. Miller  <davem@davemloft.net>
1974
1975         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1976         using a normal save/restore sequence, rather than allocating a
1977         dummy stack frame just to store a frame pointer and restore.
1978         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1979
1980 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1981
1982         * manual/install.texi: Fix stray word in line-wrapped comment.
1983
1984 2012-02-20  David S. Miller  <davem@davemloft.net>
1985
1986         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1987         both binutils and gcc support GOTDATA.
1988
1989         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1990         "rd %pc" in the PIC register setup sequences.
1991
1992         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1993         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1994         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1995         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1996         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1997         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1998         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2001         (SYSCALL_ERROR_HANDLER): Likewise.
2002         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2003         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2005         (SYSCALL_ERROR_HANDLER): Likewise.
2006
2007         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2008         (HAVE_GCC_GOTDATA): New.
2009         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2010         relocation support in both binutils and gcc.
2011         * sysdeps/sparc/elf/configure: Regenerate.
2012
2013         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2014         * sysdeps/sparc/sparc32/elf/configure: Delete.
2015         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2016         * sysdeps/sparc/sparc64/elf/configure: Delete.
2017         * sysdeps/sparc/elf/configure.in: New file.
2018         * sysdeps/sparc/elf/configure: Generate.
2019
2020         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2021         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2022         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2023         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2024         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2025
2026 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2027
2028         * manual/install.texi: Do not mention specific glibc version
2029         numbers.
2030         * manual/libc.texinfo (VERSION, UPDATED): Update.
2031         (@copying): Use @copyright{} and range of years.
2032
2033 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
2034
2035         [BZ #13695]
2036         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2037         [crti.S not in sysdirs] (generated): Do not append.
2038         [crti.S not in sysdirs] (omit-deps): Likewise.
2039         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2040         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2041         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2042         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2043         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2044         Likewise.
2045         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2046         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2047         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2048         * csu/defs.awk: Remove file.
2049         * sysdeps/generic/initfini.c: Likewise.
2050         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2051         variable.
2052         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2053         Likewise.
2054
2055 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2056
2057         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2058         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2059         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2061         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2062         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2063         <bits/epoll.h>.
2064         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2065         (__EPOLL_PACKED): Define to empty if not defined by
2066         <bits/epoll.h>.
2067         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2069         bits/epoll.h.
2070
2071 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2072
2073         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2074         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2075         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2076         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2077         <bits/timerfd.h>.
2078         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2080         bits/timerfd.h.
2081
2082 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
2083
2084         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2085         in C locale.
2086         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2087         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2088         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2090
2091 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
2092
2093         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2094         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2095
2096 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
2097
2098         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2099         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2100         defined.
2101         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2102         Likewise.
2103         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2104         entry for 2.16.
2105
2106 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
2107
2108         * math/w_acos.c: Use non-signaling floating-point comparisons.
2109         * math/w_acosf.c: Likewise.
2110         * math/w_acosh.c: Likewise.
2111         * math/w_acoshf.c: Likewise.
2112         * math/w_acoshl.c: Likewise.
2113         * math/w_acosl.c: Likewise.
2114         * math/w_asin.c: Likewise.
2115         * math/w_asinf.c: Likewise.
2116         * math/w_asinl.c: Likewise.
2117         * math/w_atanh.c: Likewise.
2118         * math/w_atanhf.c: Likewise.
2119         * math/w_atanhl.c: Likewise.
2120         * math/w_exp2.c: Likewise.
2121         * math/w_exp2f.c: Likewise.
2122         * math/w_exp2l.c: Likewise.
2123         * math/w_j0.c: Likewise.
2124         * math/w_j0f.c: Likewise.
2125         * math/w_j0l.c: Likewise.
2126         * math/w_j1.c: Likewise.
2127         * math/w_j1f.c: Likewise.
2128         * math/w_j1l.c: Likewise.
2129         * math/w_jn.c: Likewise.
2130         * math/w_jnf.c: Likewise.
2131         * math/w_log.c: Likewise.
2132         * math/w_log10.c: Likewise.
2133         * math/w_log10f.c: Likewise.
2134         * math/w_log10l.c: Likewise.
2135         * math/w_log2.c: Likewise.
2136         * math/w_log2f.c: Likewise.
2137         * math/w_log2l.c: Likewise.
2138         * math/w_logf.c: Likewise.
2139         * math/w_logl.c: Likewise.
2140         * math/w_sqrt.c: Likewise.
2141         * math/w_sqrtf.c: Likewise.
2142         * math/w_sqrtl.c: Likewise.
2143         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2144         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2145         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2146         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2147         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2148
2149 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2150
2151         [BZ #9739]
2152         * manual/string.texi (strnlen): Use correct parameter name in
2153         equivalent expression.
2154
2155 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2156
2157         [BZ #11174]
2158         * manual/users.texi (seteuid): Consistently use neweuid for
2159         argument name.
2160
2161 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
2162
2163         [BZ #13704]
2164         * manual/nss.texi (Services in the NSS configuration): Correct
2165         list of services in example configuration file.
2166
2167 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
2168
2169         [BZ #11322]
2170         * manual/arith.texi: Remove statements about negative zero
2171         behaving identically to zero.
2172
2173 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2174
2175         [BZ #5993]
2176         * manual/install.texi: Do not document upgrading from libc5.
2177
2178 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
2179
2180         [BZ #4596]
2181         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2182
2183 2012-02-18  David S. Miller  <davem@davemloft.net>
2184
2185         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2186         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2187         %o7 across the call.
2188         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2189         instead.
2190         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2191         SETUP_PIC_REG_LEAF.
2192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2193         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2194         * sysdeps/sparc/crtn.S: Likewise.
2195
2196 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
2197
2198         * aout/Makefile: Remove.
2199
2200 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
2201
2202         [BZ #13058]
2203         * manual/examples/argp-ex1.c (main): Format definition in GNU
2204         style.
2205         * manual/examples/argp-ex2.c (main): Likewise.
2206         * manual/examples/argp-ex3.c (main): Likewise.
2207         * manual/examples/argp-ex4.c (main): Likewise.
2208         * manual/examples/longopt.c (main): Use new-style prototype
2209         definition.
2210         * manual/examples/strncat.c (main): Specify return type and use
2211         (void) for arguments.
2212         * manual/examples/subopt.c (main): Use char **argv argument.
2213
2214 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2215
2216         [BZ #5077]
2217         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2218         rounding modes.
2219
2220 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
2221
2222         [BZ #6907]
2223         * manual/string.texi (strchr): Change when strchrnul is
2224         recommended.
2225
2226 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
2227
2228         [BZ #174]
2229         * manual/locale.texi (setlocale): Document LOCPATH.
2230
2231 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2232
2233         [BZ #10210]
2234         * manual/process.texi (execle): Move @dots{} before last argument.
2235
2236 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
2237
2238         [BZ #12047]
2239         * manual/charset.texi (Generic Charset Conversion): Fix typo
2240         (LC_TYPE -> LC_CTYPE).
2241
2242 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
2243
2244         [BZ #5805]
2245         * manual/arith.texi (scalbn): Use @var{} on parameter names.
2246         (scalbnf): Likewise.
2247         (scalbnl): Likewise.
2248         (scalbln): Likewise.
2249         (scalblnf): Likewise.
2250         (scalblnl): Likewise.
2251         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2252         (vwarnx): Likewise.
2253         (verr): Likewise.
2254         (verrx): Likewise.
2255         * manual/filesys.texi (telldir): Use braces around return type.
2256         * manual/llio.texi (mmap): Add space after comma.
2257         (mmap64): Likewise.
2258         * manual/math.texi (jn): Use @var{} on parameter names.
2259         (jnf): Likewise.
2260         (jnl): Likewise.
2261         (yn): Likewise.
2262         (ynf): Likewise.
2263         (ynl): Likewise.
2264         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2265         line.
2266         * manual/resource.texi (ulimit): Use @dots{} instead of literal
2267         "...".
2268         (sched_get_priority_min): Remove semicolon on @deftypefun line.
2269         (sched_get_priority_max): Likewise.
2270         * manual/signal.texi (sigvec): Add space after comma.
2271         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2272         names.
2273         (if_indextoname): Likewise.
2274         (if_freenameindex): Likewise.
2275         (sendto): Use ',' instead of '.' in prototype.
2276         * manual/startup.texi (syscall): Use @dots{} instead of literal
2277         "...".
2278         * manual/stdio.texi (__fpending): Separate initial words of
2279         paragraph from @deftypefun line.
2280         * manual/syslog.texi (syslog): Use @dots{} instead of literal
2281         "...".
2282         (vsyslog): Use @var{} on parameter names.
2283         * manual/terminal.texi (stty): Use @var{} on parameter names.
2284         * manual/users.texi (getutmp): Use @var{} on parameter names.
2285         (getutmpx): Likewise.
2286
2287 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2288
2289         [BZ #6884]
2290         * manual/stdio.texi (fopen): Fix typos in description of
2291         ",ccs=STRING".
2292
2293 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
2294
2295         [BZ #4026]
2296         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2297         get clock_id definition.
2298
2299 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
2300
2301         [BZ #4822]
2302         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2303         (madvise): Cast every argument to void on its own.
2304
2305 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2306
2307         [BZ #9902]
2308         * manual/startup.texi (Exit Status): Fix typo.
2309
2310 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
2311
2312         [BZ #10140]
2313         * manual/examples/argp-ex1.c: Include <stdlib.h>.
2314         * manual/examples/argp-ex2.c: Likewise.
2315         * manual/examples/argp-ex3.c: Likewise.
2316
2317 2012-02-16  Richard Henderson  <rth@redhat.com>
2318
2319         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2320         * sysdeps/s390/s390-32/initfini.c: Remove.
2321         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2322         * sysdeps/s390/s390-64/initfini.c: Remove.
2323
2324 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2325
2326         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2327         compiler output for sysdeps/generic/initfini.c.
2328         * sysdeps/sh/elf/initfini.c: Remove file.
2329
2330 2012-02-16  David S. Miller  <davem@davemloft.net>
2331
2332         [BZ #11494]
2333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2334
2335         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2336         * sysdeps/sparc/crti.S: New file.
2337         * sysdeps/sparc/crtn.S: New file.
2338         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2339         * sysdeps/sparc/sparc64/Makefile: Likewise.
2340
2341 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
2342
2343         [BZ #3335]
2344         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2345
2346 2012-02-15  Roland McGrath  <roland@hack.frob.com>
2347
2348         [BZ #4822]
2349         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2350
2351         * mach/devstream.c (cookie_io_functions_t): Macro removed.
2352         (write, read, close): Likewise.
2353         Patch by Aurelien Jarno <aurelien@aurel32.net>.
2354
2355 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
2356
2357         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2358         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2359         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2360         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2361         <bits/signalfd.h>.
2362         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2364         bits/signalfd.h.
2365
2366 2012-02-14  Marek Polacek  <polacek@redhat.com>
2367
2368         * sysdeps/x86_64/crti.S: New file.
2369         * sysdeps/x86_64/crtn.S: New file.
2370         * sysdeps/x86_64/elf/initfini.c: Remove file.
2371
2372 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2373
2374         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2375         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2376         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2377         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2378         <bits/inotify.h>.
2379         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2381         bits/inotify.h.
2382
2383 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
2384
2385         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2386         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2387         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2388         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2389         <bits/eventfd.h>.
2390         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2391         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2392         bits/eventfd.h.
2393
2394 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
2395
2396         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2397         __feraiseexcept instead of feraiseexcept.
2398
2399         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2400         nanosleep invocations.
2401         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2402         strings, and add error checking for a nanosleep invocations.
2403
2404 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
2405
2406         Replace FSF snail mail address with URLs, as per GNU coding standards.
2407         Most of the snail mail addresses were wrong anyway, and omitting
2408         them makes the source code easier to maintain.  Almost all of the
2409         changes are to license notices and to locale LC_IDENTIFICATION
2410         addresses, except for this one:
2411         * manual/libc.texinfo: In "Published by", give the FSF's URL,
2412         not its snail mail address.
2413
2414 2012-02-09  Richard Henderson  <rth@twiddle.net>
2415
2416         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2417         of kernel-features.h.
2418
2419         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2420
2421 2012-02-08  Marek Polacek  <polacek@redhat.com>
2422
2423         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2424         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2425         * sysdeps/gnu/_G_config.h: Likewise.
2426         * sysdeps/generic/_G_config.h: Likewise.
2427
2428 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
2429
2430         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2431         tests.
2432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2433
2434         * sysdeps/powerpc/powerpc32/crti.S: New file.
2435         * sysdeps/powerpc/powerpc32/crtn.S: New file.
2436         * sysdeps/powerpc/powerpc64/crti.S: New file.
2437         * sysdeps/powerpc/powerpc64/crtn.S: New file.
2438
2439         * Makeconfig (have-initfini): Don't set.
2440         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2441         * configure.in (nopic_initfini): Don't substitute.
2442         * config.h.in (HAVE_INITFINI): Don't #undef.
2443         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2444         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2445
2446 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
2447
2448         Support crti.S and crtn.S provided directly by architectures.
2449         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2450         [crti.S in sysdirs] (omit-deps): Likewise.
2451         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2452         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2453         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2454         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2455         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2456         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2457         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2458         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2459         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2460         compiler output for sysdeps/generic/initfini.c.
2461         * sysdeps/i386/elf/Makefile: Remove file.
2462         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2463
2464 2012-02-07  Marek Polacek  <polacek@redhat.com>
2465
2466         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2467         * sysdeps/gnu/_G_config.h: Likewise.
2468         * sysdeps/mach/hurd/_G_config.h: Likewise.
2469
2470 2012-02-07  Marek Polacek  <polacek@redhat.com>
2471
2472         * math/Makefile (tests): Add tst-CMPLX2.
2473         * math/tst-CMPLX2.c: New file.
2474
2475 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
2476
2477         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2478
2479         * math/libm-test.inc (jn_test): Add missing L suffix.
2480
2481 2012-02-06  Marek Polacek  <polacek@redhat.com>
2482
2483         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2484         * sysdeps/i386/fpu/e_powf.S: Likewise.
2485         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2486         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2487         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2488         * sysdeps/i386/fpu/e_pow.S: Likewise.
2489         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2490         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2491         * sysdeps/i386/fpu/s_expm1.S: Likewise.
2492         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2493         * sysdeps/i386/fpu/e_log2.S: Likewise.
2494         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2495         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2496         * sysdeps/i386/fpu/e_powl.S: Likewise.
2497         * sysdeps/i386/fpu/s_log1p.S: Likewise.
2498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2499         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2500         * sysdeps/i386/fpu/e_logl.S: Likewise.
2501         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2502         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2503         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2504         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2505         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2506         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2507         * sysdeps/i386/fpu/e_log.S: Likewise.
2508         * sysdeps/i386/fpu/s_cexp.S: Likewise.
2509         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2510         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2511         * sysdeps/i386/fpu/e_logf.S: Likewise.
2512         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2513         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2514         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2515         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2516         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2517         * sysdeps/i386/fpu/e_log10.S: Likewise.
2518         * sysdeps/i386/fpu/s_frexp.S: Likewise.
2519         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2520         * sysdeps/i386/fpu/s_asinh.S: Likewise.
2521         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2522         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2523         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2524         * sysdeps/i386/asm-syntax.h: Likewise.
2525         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2527         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2528         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2529         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2530         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2531         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2532         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2533         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2534         * sysdeps/powerpc/sysdep.h: Likewise.
2535         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2536         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2537
2538 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2539
2540         [BZ #411]
2541         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2542
2543 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2544
2545         * sysdeps/i386/sysdep.h: Include <features.h>.
2546         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2547         version.
2548
2549 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
2550
2551         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2552         Define.
2553         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2554         LOAD_PIC_REG_STR.
2555
2556 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2557
2558         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2559         (SETUP_PIC_REG): Use GET_PC_THUNK.
2560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2561         macro.
2562
2563 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2564
2565         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2566         for non-PIC compilation.
2567         (SETUP_PIC_REG): Add .p2align directive.
2568         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2569         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2570         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2571         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2572         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2573         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2574         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2575         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2576         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2577         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2578         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2579         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2580         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2581         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2582         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2583         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2584         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2585         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2586         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2587         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2588         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2590         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2591         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2592         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2593         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2594         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2595         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2596         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2597         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2598         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2599         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2600         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2601         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2602         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2603         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2604         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2605         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2606         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2607         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2608         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2609
2610 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2611
2612         * math/tst-CMPLX.c: Include <stdio.h>.
2613
2614 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
2615
2616         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2617         float.
2618         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2619         * sysdeps/sparc/bits/mathdef.h: Likewise.
2620
2621 2012-01-31  Marek Polacek  <polacek@redhat.com>
2622
2623         * libio/libio.h: Don't define _PARAMS.
2624         * locale/programs/config.h: Don't define PARAMS.
2625         * stdlib/strtol_l.c: Likewise.
2626         (__strtol_l): Remove PARAMS from the prototype.
2627
2628 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
2629
2630         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
2631         names.  Just use the correct names.  Remove unnecessary wrapper
2632         functions.
2633         * malloc/arena.c: Likewise.
2634         * malloc/hooks.c: Likewise.
2635
2636         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2637         ARENA_TEST says not to.  Simplify test for creation of a new arena.
2638         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2639
2640 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
2641
2642         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2643         into tail calls.
2644         (update_get_addr): New function.
2645         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2646         GET_ADDR_MODULE parameter.
2647
2648 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2649
2650         * crypt/cert.c: Remove __STDC__ conditionals.
2651         * crypt/crypt-entry.c: Likewise.
2652         * crypt/crypt_util.c: Likewise.
2653         * libio/filedoalloc.c: Likewise.
2654         * libio/fileops.c: Likewise.
2655         * libio/genops.c: Likewise.
2656         * libio/iofclose.c: Likewise.
2657         * libio/iofdopen.c: Likewise.
2658         * libio/iofopen.c: Likewise.
2659         * libio/iofopen64.c: Likewise.
2660         * libio/iogetdelim.c: Likewise.
2661         * libio/iopopen.c: Likewise.
2662         * libio/obprintf.c: Likewise.
2663         * libio/oldfileops.c: Likewise.
2664         * libio/oldiofclose.c: Likewise.
2665         * libio/oldiofdopen.c: Likewise.
2666         * libio/oldiofopen.c: Likewise.
2667         * libio/oldiopopen.c: Likewise.
2668         * libio/wfiledoalloc.c: Likewise.
2669         * libio/wgenops.c: Likewise.
2670         * locale/programs/xmalloc.c: Likewise.
2671         * misc/syslog.c: Likewise.
2672         * stdio-common/xbug.c: Likewise.
2673         * string/memchr.c: Likewise.
2674         * string/memcmp.c: Likewise.
2675         * string/memrchr.c: Likewise.
2676         * string/rawmemchr.c: Likewise.
2677         * sysdeps/posix/getcwd.c: Likewise.
2678         * time/strftime_l.c: Likewise.
2679
2680 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2681
2682         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2683         * config.make.in (config-cflags-sse2avx): Define.
2684         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2685         Fix typo.
2686
2687 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
2688
2689         * scripts/config.guess: Update from upstream config git repository.
2690         * scripts/config.sub: Likewise.
2691
2692 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
2693
2694         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2695         (EM_NUM): Update.
2696         (R_TILEPRO_*, R_TILEGX_*): New macros.
2697
2698         * scripts/firstversions.awk: Fix bug in version range handling.
2699
2700         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2701
2702         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2703
2704         * include/sys/epoll.h: New file.
2705         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2706         libc_hidden_def.
2707
2708 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
2709
2710         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2711         Avoid unnecessary __WORDSIZE == 64 test.
2712         (fmaxf): Use VEX format if possible.
2713         (fmax): Likewise.
2714         (fminf): Likewise.
2715         (fmin): Likewise.
2716
2717         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2718         * math/math_private.h: Remove libc_fegetround* and
2719         libc_fesetround*.
2720         * sysdeps/i386/configure.in: Check for -msse2avx.
2721         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2722         also if SSE2AVX is defined.
2723         Remove libc_fegetround* and libc_fesetround*.
2724         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2725         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
2726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2727         of HAS_YMM_USABLE.
2728         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2729         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2730         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2731         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2732         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2733
2734         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2735
2736 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2737
2738         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2739         size is not set.
2740         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2741
2742 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
2743
2744         [BZ #13618]
2745         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2746         relocation.
2747         * Makeconfig (libm): Define.
2748         * elf/Makefile: Add rules to build and run tst-relsort1.
2749         * elf/tst-relsort1.c: New file.
2750         * elf/tst-relsort1mod1.c: New file.
2751         * elf/tst-relsort1mod2.c: New file.
2752
2753 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
2754
2755         * math/s_ldexp.c: Remove __STDC__ conditionals.
2756         * math/s_ldexpf.c: Likewise.
2757         * math/s_ldexpl.c: Likewise.
2758         * math/s_nextafter.c: Likewise.
2759         * math/s_nexttowardf.c: Likewise.
2760         * math/s_significand.c: Likewise.
2761         * math/s_significandf.c: Likewise.
2762         * math/s_significandl.c: Likewise.
2763         * math/w_jnl.c: Likewise.
2764         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2765         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2766         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2767         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2768         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2775         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2776         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2777         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2778         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2780         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2781         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2783         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2784         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2785         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2786         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2787         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2788         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2789         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2790         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2791         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2792         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2793         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2794         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2795         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2796         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2797         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2798         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2799         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2800         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2801         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2802         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2803         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2804         * sysdeps/ieee754/k_standard.c: Likewise.
2805         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2806         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2807         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2822         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2823         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2824         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2827         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2828         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2829         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2830         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2832         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2834         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2837         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2842         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2844         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2845         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2846         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2852         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2866         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2871         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2879         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2880         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2884         * sysdeps/ieee754/s_matherr.c: Likewise.
2885         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2886         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2887         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2889
2890 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
2891
2892         * crypt/md5.h: Remove __STDC__ conditionals.
2893         * libio/libioP.h: Likewise.
2894         * locale/programs/config.h: Likewise.
2895         * sysdeps/generic/sysdep.h: Likewise.
2896         * sysdeps/i386/asm-syntax.h: Likewise.
2897         * sysdeps/s390/asm-syntax.h: Likewise.
2898         * sysdeps/unix/sysdep.h: Likewise.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2901
2902 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
2903
2904         * libio/libio.h: Remove __STDC__ conditionals.
2905         * malloc/obstack.h: Likewise.
2906         * math/complex.h: Likewise.
2907         * math/math.h: Likewise.
2908         * sysdeps/generic/_G_config.h: Likewise.
2909         * sysdeps/gnu/_G_config.h: Likewise.
2910         * sysdeps/mach/hurd/_G_config.h: Likewise.
2911         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2912         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2913         * sysdeps/sparc/bits/mathdef.h: Likewise.
2914
2915 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
2916
2917         [BZ #13583]
2918         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2919         Clean up HAS_* macros.
2920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2921         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2922         possible.
2923         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2924         HAS_AVX.
2925         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2926         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2927         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2928         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2929         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2930
2931 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
2932
2933         * elf/tst-unique3.cc (gets): Remove declaration.
2934         * elf/tst-unique3lib.cc (gets): Likewise.
2935         * elf/tst-unique3lib2.cc (gets): Likewise.
2936         * elf/tst-unique4.cc (gets): Likewise.
2937
2938 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
2939
2940         * include/stdio.h: Add C++ protection.  Add gets declarations and
2941         definitions.
2942         * debug/tst-chk1.c: Don't declare gets here.
2943         * stdio-common/tst-gets.c: Likewise.
2944
2945 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
2946
2947         * posix/glob: Remove directory.
2948
2949 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
2950
2951         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2952
2953 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
2954
2955         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2956         of the non-standard EPFNOSUPPORT.
2957
2958 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2959
2960         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2961         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2962         ANYWHERE set to 1 only on KERN_NO_SPACE error.
2963
2964 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
2965
2966         * wcsmbs/uchar.h: Test __STDC_VERSION__.
2967
2968 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
2969
2970         * nscd/aicache.c (addhstaiX): Do not cache negative results of
2971         transient errors.
2972         * nscd/grpcache.c (cache_addgr): Likewise.
2973         * nscd/hstcache.c (cache_addhst): Likewise.
2974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2975         * nscd/pwdcache.c (cache_addpw): Likewise.
2976         * nscd/servicescache.c (cache_addserv): Likewise.
2977
2978 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
2979
2980         * malloc/malloc.c: Various cleanups.
2981         * malloc/hooks.c: Likewise.
2982
2983         * stdlib/Makefile (tests): Add bug-fmtmsg1.
2984         * stdlib/bug-fmtmsg1.c: New file.
2985
2986         * stdlib/fmtmsg.c (init): Add missing unlock.
2987         Patch by Peng Haitao <penght@cn.fujitsu.com>.
2988
2989 2012-01-12  Marek Polacek  <polacek@redhat.com>
2990
2991         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2992         and _GNU_SOURCE.
2993
2994 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
2995
2996         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2997         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2998         macro to ensure uniqueness of label name.
2999         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3000         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3001
3002 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
3003
3004         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3005
3006         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3007         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3008         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3009         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3010
3011 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
3012
3013         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3014
3015         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3016         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3017         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3018
3019         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3020
3021         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3022         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3023         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3024         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3025
3026         * math/bits/math-finite.h: Add ldexp support.
3027
3028 2012-01-10  Marek Polacek  <polacek@redhat.com>
3029
3030         * locale/programs/localedef.h (show_archive_content): Add noreturn
3031         attribute.
3032
3033 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
3034
3035         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3036
3037 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3038
3039         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3040
3041         * io/Makefile (headers): Add bits/poll2.h.
3042
3043 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
3044
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3046         typo #include statement.
3047
3048 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3049
3050         * include/sys/cdefs.h: Define __attribute_alloc_size.
3051         * catgets/gencat.c: Add alloc_size attribute and apply consistently
3052         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3053         * elf/pldd.c: Likewise.
3054         * iconv/iconv_charmap.c: Likewise.
3055         * iconv/iconvconfig.c: Likewise.
3056         * iconv/strtab.c: Likewise.
3057         * locale/programs/locale.c: Likewise.
3058         * locale/programs/localedef.h: Likewise.
3059         * locale/programs/simple-hash.c: Likewise.
3060         * nscd/nscd.h: Likewise.
3061         * nss/makedb.c: Likewise.
3062         * sysdeps/generic/ldconfig.h: Likewise.
3063         * locale/programs/localedef.c: Remove xmalloc prototype.
3064         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3065
3066 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3067
3068         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3069         appropriate.
3070
3071 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
3072
3073         * math/Makefile (tests): Add tst-CMPLX.
3074         * math/tst-CMPLX.c: New file.
3075
3076         * math/complex.h (CMPLXL): Fix typo.
3077
3078         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3079         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3080         GLIBC_2.16.
3081         * debug/tst-chk1.c: Add poll and ppoll tests.
3082         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3083         * include/sys/poll.h: Add hidden proto for ppoll.
3084         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3085         * sysdeps/mach/hurd/ppoll.c: Likewise.
3086         * io/ppoll.c: Likewise.
3087         * debug/poll_chk.c: New file.
3088         * debug/ppoll_chk.c: New file.
3089         * include/bits/poll2.h: New file.
3090         * io/bits/poll2.h: New file.
3091
3092         [BZ #1350]
3093         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3094
3095         * configure.in: static is always set to yes.  Remove.
3096         * config.make.in: Don't set build-static.
3097         * Makeconfig: Remove use of build-static.
3098         * dlfcn/Makefile: Likewise.
3099         * elf/Makefile: Likewise.
3100         * math/Makefile: Likewise.
3101         * misc/Makefile: Likewise.
3102         * nptl/Makefile: Likewise.
3103         * sysdeps/mach/hurd/Makefile: Likewise.
3104
3105         * configure.in: PWD_P is not used anymore.
3106         * config.make.in: Remove PWD_P entry.
3107
3108         * configure.in: Remove last remnants of RANLIB.
3109         No need to check for signed size_t anymore.
3110         Don't set libc_commonpagesize and libc_relro_required here for Alpha
3111         and IA-64.
3112         Remove __builtin_expect test because we require at least gcc 3.4.
3113         * aclocal.m4: Likewise.
3114
3115         * wcsmbs/mbrtoc16.c: Implement using towc function.
3116         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3117         * wcsmbs/wcsmbsload.c: Likewise.
3118         * iconv/gconv_simple.c: Likewise.
3119         * iconv/gconv_int.h: Likewise.
3120         * iconv/gconv_builtin.h: Likewise.
3121         * iconv/iconv_prog.c: Remove CHAR16 handling.
3122
3123         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3124
3125         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3126
3127         * configure.in: Remove --with-elf and --enable-bounded options.
3128         Dont set base_machine for ia64.  More non-ELF conditions removed.
3129         Remove testing and setting of leading underscore information.
3130         * config.make.in (build-bounded): Set to no.
3131         * config.h.in: Remove NO_UNDERSCORES entry.
3132         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
3133         them.
3134         * csu/start.c: Remove !NO_UNDERSCORE code.
3135         * locale/localeinfo.h: Likewise.
3136         * sysdeps/generic/machine-gmon.h: Likewise.
3137         * sysdeps/generic/sysdep.h: Likewise.
3138         * sysdeps/i386/sysdep.h: Likewise.
3139         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3140         * sysdeps/mach/sysdep.h: Likewise.
3141         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3142         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3143         * sysdeps/sh/sysdep.h: Likewise.
3144         * sysdeps/sparc/sparc32/alloca.S: Likewise.
3145         * sysdeps/unix/i386/sysdep.S: Likewise.
3146         * sysdeps/unix/sparc/start.c: Likewise.
3147         * sysdeps/unix/sparc/sysdep.S: Likewise.
3148         * sysdeps/unix/sparc/sysdep.h: Likewise.
3149         * sysdeps/unix/start.c: Likewise.
3150         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3151         * sysdeps/x86_64/sysdep.h: Likewise.
3152
3153 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
3154
3155         [BZ #13553]
3156         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3157         for non-gcc.
3158         * argp/argp-fmtstream.h: Use const instead __const.
3159         * argp/argp.h: Likewise.
3160         * assert/assert.h: Likewise.
3161         * bits/fenv.h: Likewise.
3162         * bits/sched.h: Likewise.
3163         * bits/sigset.h: Likewise.
3164         * bits/sigthread.h: Likewise.
3165         * catgets/nl_types.h: Likewise.
3166         * conform/data/pthread.h-data: Likewise.
3167         * crypt/crypt-private.h: Likewise.
3168         * crypt/crypt.h: Likewise.
3169         * crypt/crypt_util.c: Likewise.
3170         * ctype/ctype.h: Likewise.
3171         * debug/execinfo.h: Likewise.
3172         * debug/mbsnrtowcs_chk.c: Likewise.
3173         * debug/mbsrtowcs_chk.c: Likewise.
3174         * debug/wcsnrtombs_chk.c: Likewise.
3175         * debug/wcsrtombs_chk.c: Likewise.
3176         * debug/wcstombs_chk.c: Likewise.
3177         * dirent/dirent.h: Likewise.
3178         * dlfcn/dlfcn.h: Likewise.
3179         * elf/neededtest4.c: Likewise.
3180         * grp/grp.h: Likewise.
3181         * gshadow/gshadow.h: Likewise.
3182         * iconv/gconv.h: Likewise.
3183         * iconv/gconv_int.h: Likewise.
3184         * iconv/gconv_simple.c: Likewise.
3185         * iconv/iconv.h: Likewise.
3186         * iconv/loop.c: Likewise.
3187         * iconv/skeleton.c: Likewise.
3188         * include/aio.h: Likewise.
3189         * include/aliases.h: Likewise.
3190         * include/argz.h: Likewise.
3191         * include/arpa/inet.h: Likewise.
3192         * include/assert.h: Likewise.
3193         * include/dirent.h: Likewise.
3194         * include/dlfcn.h: Likewise.
3195         * include/execinfo.h: Likewise.
3196         * include/fcntl.h: Likewise.
3197         * include/fenv.h: Likewise.
3198         * include/glob.h: Likewise.
3199         * include/grp.h: Likewise.
3200         * include/libintl.h: Likewise.
3201         * include/mntent.h: Likewise.
3202         * include/netdb.h: Likewise.
3203         * include/pwd.h: Likewise.
3204         * include/rpc/netdb.h: Likewise.
3205         * include/sched.h: Likewise.
3206         * include/search.h: Likewise.
3207         * include/shadow.h: Likewise.
3208         * include/signal.h: Likewise.
3209         * include/stdio.h: Likewise.
3210         * include/stdlib.h: Likewise.
3211         * include/string.h: Likewise.
3212         * include/sys/socket.h: Likewise.
3213         * include/sys/stat.h: Likewise.
3214         * include/sys/statfs.h: Likewise.
3215         * include/sys/statvfs.h: Likewise.
3216         * include/sys/syslog.h: Likewise.
3217         * include/sys/time.h: Likewise.
3218         * include/sys/uio.h: Likewise.
3219         * include/time.h: Likewise.
3220         * include/unistd.h: Likewise.
3221         * include/utmp.h: Likewise.
3222         * include/wchar.h: Likewise.
3223         * include/wctype.h: Likewise.
3224         * inet/aliases.h: Likewise.
3225         * inet/arpa/inet.h: Likewise.
3226         * inet/netinet/ether.h: Likewise.
3227         * inet/netinet/in.h: Likewise.
3228         * intl/libintl.h: Likewise.
3229         * io/bits/fcntl2.h: Likewise.
3230         * io/fcntl.h: Likewise.
3231         * io/ftw.h: Likewise.
3232         * io/sys/poll.h: Likewise.
3233         * io/sys/stat.h: Likewise.
3234         * io/sys/statfs.h: Likewise.
3235         * io/sys/statvfs.h: Likewise.
3236         * io/utime.h: Likewise.
3237         * libio/bits/stdio.h: Likewise.
3238         * libio/bits/stdio2.h: Likewise.
3239         * libio/libio.h: Likewise.
3240         * libio/libioP.h: Likewise.
3241         * libio/stdio.h: Likewise.
3242         * locale/lc-ctype.c: Likewise.
3243         * locale/locale.h: Likewise.
3244         * login/utmp.h: Likewise.
3245         * malloc/arena.c: Likewise.
3246         * malloc/malloc.c: Likewise.
3247         * malloc/malloc.h: Likewise.
3248         * malloc/mcheck.c: Likewise.
3249         * malloc/mtrace.c: Likewise.
3250         * math/bits/mathcalls.h: Likewise.
3251         * math/fenv.h: Likewise.
3252         * math/math_private.h: Likewise.
3253         * misc/bits/error.h: Likewise.
3254         * misc/bits/syslog.h: Likewise.
3255         * misc/err.h: Likewise.
3256         * misc/error.h: Likewise.
3257         * misc/fstab.h: Likewise.
3258         * misc/mntent.h: Likewise.
3259         * misc/regexp.h: Likewise.
3260         * misc/search.h: Likewise.
3261         * misc/sgtty.h: Likewise.
3262         * misc/sys/mman.h: Likewise.
3263         * misc/sys/syslog.h: Likewise.
3264         * misc/sys/uio.h: Likewise.
3265         * misc/sys/xattr.h: Likewise.
3266         * misc/ttyent.h: Likewise.
3267         * nis/rpcsvc/ypclnt.h: Likewise.
3268         * nss/nss.h: Likewise.
3269         * posix/bits/unistd.h: Likewise.
3270         * posix/fnmatch.h: Likewise.
3271         * posix/glob.h: Likewise.
3272         * posix/sched.h: Likewise.
3273         * posix/spawn.h: Likewise.
3274         * posix/sys/wait.h: Likewise.
3275         * posix/unistd.h: Likewise.
3276         * posix/wordexp.h: Likewise.
3277         * pwd/pwd.h: Likewise.
3278         * resolv/netdb.h: Likewise.
3279         * resource/sys/resource.h: Likewise.
3280         * rt/aio.h: Likewise.
3281         * rt/bits/mqueue2.h: Likewise.
3282         * rt/mqueue.h: Likewise.
3283         * shadow/shadow.h: Likewise.
3284         * signal/signal.h: Likewise.
3285         * socket/send.c: Likewise.
3286         * socket/sendto.c: Likewise.
3287         * socket/sys/socket.h: Likewise.
3288         * stdio-common/printf.h: Likewise.
3289         * stdlib/bits/stdlib.h: Likewise.
3290         * stdlib/fmtmsg.h: Likewise.
3291         * stdlib/monetary.h: Likewise.
3292         * stdlib/stdlib.h: Likewise.
3293         * stdlib/ucontext.h: Likewise.
3294         * streams/stropts.h: Likewise.
3295         * string/argz.h: Likewise.
3296         * string/bits/string2.h: Likewise.
3297         * string/string.h: Likewise.
3298         * string/strings.h: Likewise.
3299         * sunrpc/rpc/auth.h: Likewise.
3300         * sunrpc/rpc/auth_des.h: Likewise.
3301         * sunrpc/rpc/clnt.h: Likewise.
3302         * sunrpc/rpc/netdb.h: Likewise.
3303         * sunrpc/rpc/pmap_clnt.h: Likewise.
3304         * sunrpc/rpc/xdr.h: Likewise.
3305         * sysdeps/generic/inttypes.h: Likewise.
3306         * sysdeps/generic/net/if.h: Likewise.
3307         * sysdeps/generic/sys/swap.h: Likewise.
3308         * sysdeps/gnu/net/if.h: Likewise.
3309         * sysdeps/gnu/utmpx.h: Likewise.
3310         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3311         * sysdeps/i386/i486/bits/string.h: Likewise.
3312         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3313         * sysdeps/s390/bits/string.h: Likewise.
3314         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3315         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3316         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3317         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3318         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3319         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3320         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3321         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3322         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3323         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3324         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3325         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3326         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3327         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3328         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3329         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3330         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3332         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3333         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3334         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3335         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3336         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3337         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3338         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3339         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3340         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3341         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3342         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3343         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3344         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3345         * sysvipc/sys/ipc.h: Likewise.
3346         * sysvipc/sys/msg.h: Likewise.
3347         * sysvipc/sys/sem.h: Likewise.
3348         * sysvipc/sys/shm.h: Likewise.
3349         * termios/termios.h: Likewise.
3350         * time/sys/time.h: Likewise.
3351         * time/time.h: Likewise.
3352         * wcsmbs/bits/wchar2.h: Likewise.
3353         * wcsmbs/uchar.h: Likewise.
3354         * wcsmbs/wchar.h: Likewise.
3355         * wctype/wctype.h: Likewise.
3356
3357         [BZ #13551]
3358         * Makeconfig: Remove all but ELF support including AIX support.
3359         * Makerules: Likewise.
3360         * config.h.in: Likewise.
3361         * config.make.in: Likewise.
3362         * configure: Likewise.
3363         * configure.in: Likewise.
3364         * csu/Makefile: Likewise.
3365         * csu/version.c: Likewise.
3366         * debug/Makefile: Likewise.
3367         * dlfcn/Makefile: Likewise.
3368         * elf/Makefile: Likewise.
3369         * extra-lib.mk: Likewise.
3370         * iconv/Makefile: Likewise.
3371         * include/libc-symbols.h: Likewise.
3372         * include/shlib-compat.h: Likewise.
3373         * resolv/Makefile: Likewise.
3374         * resolv/res_libc.c: Likewise.
3375         * rt/Makefile: Likewise.
3376         * sysdeps/i386/asm-syntax.h: Likewise.
3377         * sysdeps/i386/sysdep.h: Likewise.
3378         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3379         * sysdeps/mach/sysdep.h: Likewise.
3380         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3381         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3382         * sysdeps/s390/asm-syntax.h: Likewise.
3383         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3384         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3385         * sysdeps/sh/sysdep.h: Likewise.
3386         * sysdeps/unix/sparc/sysdep.h: Likewise.
3387         * sysdeps/wordsize-32/divdi3.c: Likewise.
3388         * sysdeps/x86_64/sysdep.h: Likewise.
3389
3390         * argp/Versions: Remove _argp_unlock_xxx.
3391
3392         [BZ #13559]
3393         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
3394         * abilist/libBrokenLocale.abilist: Likewise.
3395         * abilist/libanl.abilist: Likewise.
3396         * abilist/libc.abilist: Likewise.
3397         * abilist/libcrypt.abilist: Likewise.
3398         * abilist/libdl.abilist: Likewise.
3399         * abilist/libm.abilist: Likewise.
3400         * abilist/libnsl.abilist: Likewise.
3401         * abilist/libpthread.abilist: Likewise.
3402         * abilist/libresolv.abilist: Likewise.
3403         * abilist/librt.abilist: Likewise.
3404         * abilist/libthread_db.abilist: Likewise.
3405         * abilist/libutil.abilist: Likewise.
3406         * abilist/libnss_db.abilist: New file.
3407
3408         * scripts/abilist.awk: Add support for indirect functions.
3409
3410         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3411
3412         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3413
3414         * shlib-versions: Remove entries for ports architectures.
3415
3416         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
3417         files in ports.
3418         * elf/stackguard-macros.h: Remove support for IA-64.
3419         * elf/tst-auditmod1.c: Likewise.
3420         * sysdeps/generic/ldsodefs.h: Likewise.
3421
3422         * sysdeps/unix/sysv/linux/configure.in: Ports should define
3423         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3424         configure files.
3425
3426         [BZ #13552]
3427         * configure.in: Remove --enable-omitfp support.
3428         * FAQ.in: Adjust.
3429         * config.make.in: Likewise.
3430         * Makeconfig: Likewise.
3431         * manual/install.texi: Likewise.
3432
3433         In case anyone cares, the IA-64 architecture could move to ports.
3434         * sysdeps/ia64/*: Removed.
3435         * sysdeps/unix/sysv/linux/ia64/*: Removed.
3436         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3437
3438         [BZ #13555]
3439         * configure.in: Remove entries for unsupported architectures.
3440
3441         [BZ #13533]
3442         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3443         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
3444         routines.
3445         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3446         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3447         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
3448         fall back to using wcrtomb.
3449         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3450         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
3451         renaming.
3452         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3453         * wcsmbs/tst-c16c32-1.c: New file.
3454
3455         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3456         local variable.
3457
3458         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3459
3460         * elf/tst-unique3.cc: Add explicit declaration of gets.
3461         * elf/tst-unique3lib.cc: Likewise.
3462         * elf/tst-unique3lib2.cc: Likewise.
3463         * elf/tst-unique4.cc: Likewise.
3464
3465         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3466
3467 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
3468
3469         [BZ #13566]
3470         * assert/assert.h (static_assert): Don't define for C++.
3471         * libio/stdio.h (gets): Do declare for C++ <= C++11.
3472         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3473
3474 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
3475
3476         * iconv/loop.c (single loop): Fix assertion in storing of
3477         remaining bytes.
3478
3479         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3480
3481 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
3482
3483         * posix/getconf.c: Update copyright year.
3484         * nss/getent.c: Likewise.
3485         * nss/makedb.c: Likewise.
3486         * iconv/iconvconfig.c: Likewise.
3487         * iconv/iconv_prog.c: Likewise.
3488         * elf/ldconfig.c: Likewise.
3489         * elf/pldd.c: Likewise.
3490         * elf/sotruss.ksh: Likewise.
3491         * catgets/gencat.c: Likewise.
3492         * csu/version.c: Likewise.
3493         * elf/ldd.bash.in: Likewise.
3494         * elf/sprof.c (print_version): Likewise.
3495         * locale/programs/locale.c: Likewise.
3496         * locale/programs/localedef.c: Likewise.
3497         * login/programs/pt_chown.c: Likewise.
3498         * nscd/nscd.c (print_version): Likewise.
3499         * debug/xtrace.sh: Likewise.
3500         * malloc/memusage.sh: Likewise.
3501         * malloc/mtrace.pl: Likewise.
3502         * debug/catchsegv.sh: Likewise.
3503
3504 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
3505
3506         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3507         pure attribute.
3508
3509 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
3510
3511         [BZ #13533]
3512         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3513         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3514         transformations.
3515         * iconv/gconv_int.h: Likewise.
3516         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3517         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3518         from libc for GLIBC_2.16.
3519         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3520         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3521         * wcsmbs/uchar.h: Really define mbstate_t.
3522         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3523         * wcsmbs/c16rtomb.c: New file.
3524         * wcsmbs/mbrtoc16.c: New file.
3525         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3526         for C/POSIX locale.
3527         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3528         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3529
3530         * wcsmbs/wchar.h: Add missing __restrict.
3531
3532 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3533
3534         [BZ #13532]
3535         * time/Makefile (routines): Add timespec_get.
3536         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3537         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
3538         timespec for ISO C11.
3539         * time/timespec_get.c: New file.
3540         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3541         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3542
3543         [BZ #13531]
3544         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3545         * stdlib/stdlib.h: Declare aligned_alloc.
3546         * Versions.def: Add GLIBC_2.16 for libc.
3547         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3548
3549         [BZ 13527]
3550         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3551         ISO C11.
3552
3553         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3554         code.
3555
3556         [BZ #13528]
3557         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3558
3559         [BZ #13529]
3560         * assert/assert.h (static_assert): Define.
3561
3562         * version.h: Update for 2.16 development version.
3563
3564         [BZ #13526]
3565         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3566         _ISOC11_SOURCE.
3567
3568         * version.h (RELEASE): Bump for 2.15 release.
3569         * include/features.h (__GLIBC_MINOR__): Bump to 15.
3570
3571         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3572         Patch by Marek Polacek <mpolacek@redhat.com>.
3573
3574         * bits/byteswap.h: Protect long long constants with __extension__.
3575         * sysdeps/i386/bits/byteswap.h: Likewise.
3576         * sysdeps/ia64/bits/byteswap.h: Likewise.
3577         * sysdeps/s390/bits/byteswap.h: Likewise.
3578         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3579
3580 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3581
3582         [BZ #13540]
3583         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3584         destination buffer.
3585         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3586
3587 2011-12-23  Marek Polacek  <polacek@redhat.com>
3588
3589         * elf/dl-addr.c (determine_info): Add inline keyword.
3590         * elf/tst-auditmod4b.c (check_avx): Likewise.
3591         * elf/tst-auditmod6b.c (check_avx): Likewise.
3592         * elf/tst-auditmod6c.c (check_avx): Likewise.
3593         * elf/tst-auditmod7b.c (check_avx): Likewise.
3594
3595 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3596
3597         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3598         !__SSE_MATH__.
3599
3600 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3601
3602         [BZ #13540]
3603         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3604         processing for last bytes.
3605
3606 2011-08-06  Bruno Haible  <bruno@clisp.org>
3607
3608         [BZ #13061]
3609         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3610         U+0385, not to U+1FEE.
3611
3612         [BZ #13062]
3613         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3614         entry for U+00A5 U+0301.
3615
3616 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3617
3618         [BZ #13166]
3619         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3620         buffer for the output is too small.
3621
3622         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3623         optimization.
3624
3625         [BZ #13185]
3626         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3627         SSE flags if possible.
3628
3629 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3630
3631         [BZ #13540]
3632         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3633         processing for last bytes.
3634
3635 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
3636
3637         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3638         (syscall-list-default-options, syscall-list-default-condition)
3639         (syscall-list-includes): Define.
3640         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3641         list of ABIs and options and #if conditions for each ABI.  Do not
3642         handle common syscalls between ABIs specially.
3643         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3644         Remove.
3645         (syscall-list-variants, syscall-list-32bit-options)
3646         (syscall-list-32bit-condition, syscall-list-64bit-options)
3647         (syscall-list-64bit-condition): Define.
3648         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3649         (syscall-list-variants, syscall-list-32bit-options)
3650         (syscall-list-32bit-condition, syscall-list-64bit-options)
3651         (syscall-list-64bit-condition): Define.
3652         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3653         Remove.
3654         (syscall-list-variants, syscall-list-32bit-options)
3655         (syscall-list-32bit-condition, syscall-list-64bit-options)
3656         (syscall-list-64bit-condition): Define.
3657         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3658         Remove.
3659         (syscall-list-variants, syscall-list-32bit-options)
3660         (syscall-list-32bit-condition, syscall-list-64bit-options)
3661         (syscall-list-64bit-condition): Define.
3662
3663 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3664
3665         * locale/iso-639.def: Add brx entry.
3666
3667         [BZ #13328]
3668         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3669         Proposed by Mariusz_Cukr <marcukr@op.pl>.
3670
3671         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3672         __feraiseexcept_renamed.
3673
3674 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3675
3676         [BZ #13538]
3677         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3678         EPOLLET with unsigned values.
3679         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3680         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3681
3682         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3683         to large cancellation.
3684         * math/s_cacoshf.c: Likewise.
3685         * math/s_cacoshl.c: Likewise.
3686
3687 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
3688
3689         [BZ #13305]
3690         [BZ #12786]
3691         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3692         * math/s_cacoshf.c: Likewise.
3693         * math/s_cacoshl.c: Likewise.
3694
3695 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3696
3697         [BZ #13439]
3698         * iconv/gconv.h: Define __GCONV_SWAP.
3699         * iconvdata/unicode.c: The swap bit must be stored in __flags.
3700         * iconvdata/utf-16.c: Likewise.
3701         * iconvdata/utf-32.c: Likewise.
3702
3703 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3704
3705         [BZ #13524]
3706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3707         numerator after shifting it by one limb.
3708
3709 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
3710
3711         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3712         under [__USE_EXTERN_INLINES].
3713
3714 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3715
3716         [BZ #13446]
3717         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3718
3719 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3720
3721         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3722         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3723         optimized code.
3724         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3725         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3726         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3727         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3728         for strncasecmp/strncasecmp_l compilation.
3729         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3730         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3731
3732 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
3733
3734         [BZ #13484]
3735         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3736         of __asm__.
3737
3738 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3739
3740         [BZ #13506]
3741         * time/tzfile.c (__tzfile_read): Check values from file header.
3742
3743 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3744
3745         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3746         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3747         * powerpc/powerpc32/dl-start.S: Likewise.
3748         * powerpc/powerpc32/elf/start.S: Likewise.
3749         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3750         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3751         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3752         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3753         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3754         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3755         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3756         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3757         * powerpc/powerpc32/fpu/s_round.S: Likewise.
3758         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3759         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3760         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3761         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3762         * powerpc/powerpc32/memset.S: Likewise.
3763         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3764         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3765         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3766         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3767         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3768         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3769         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3770         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3771         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3772         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3773         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3774         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3775         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3776
3777 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3778
3779         * math/libm-test.inc: Added more nearbyint tests.
3780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3781         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3782         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3783         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3784
3785 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
3786
3787         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3788         FD_CLOEXEC.
3789
3790 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3791
3792         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3793         Add wcscpy-ssse3 wcscpy-c.
3794         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3795         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3796         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3797         * sysdeps/x86_64/wcschr.S: New file.
3798         * sysdeps/x86_64/wcsrchr.S: New file.
3799         * string/test-strcmp.c: Remove checking of wcscmp function for
3800         wrong alignments.
3801         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3802         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3803         wcsrchr-sse2 wcsrchr-c.
3804         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3805         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3806         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3807         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3808         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3809         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3810         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3811         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3812         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3813         * wcsmbc/wcschr.c (WCSCHR): New macro.
3814
3815 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3816
3817         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3818         * wcsmbs/test-wcsrchr.c: New file.
3819         * string/test-strrchr.c: Add wcsrchr support.
3820         (WIDE): New macro.
3821         * wcsmbs/test-wcscpy.c: New file.
3822         * string/test-strcpy.c: Add wcscpy support.
3823         (WIDE): New macro.
3824
3825 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
3826
3827         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3828         the inner loop.
3829
3830 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
3831
3832         [BZ #13472]
3833         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3834
3835 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
3836
3837         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3838         Minor optimizations.
3839
3840         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3841         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3842         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3843
3844 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
3845
3846         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3847         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3848         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3849         for gcc to avoid warnings.
3850         * inet/Makefile (tests): Add tst-checks.
3851         * inet/tst-checks.c: New file.
3852
3853         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3854         warning.
3855
3856         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3857         __wmemcmp_sse2.
3858
3859         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3860         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3861
3862         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3863
3864 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
3865
3866         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3867         problem.
3868
3869         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3870
3871 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
3872
3873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3874         conditional on GCC version.
3875         (__arch_compare_and_exchange_val_8_acq)
3876         (__arch_compare_and_exchange_val_16_acq)
3877         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3878         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3879         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3880
3881 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
3882
3883         * sysdeps/sh/backtrace.c: New file.
3884
3885 2011-12-02  Andreas Schwab  <schwab@redhat.com>
3886
3887         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
3888         parenthesis.
3889
3890 2011-12-01  Andreas Schwab  <schwab@redhat.com>
3891
3892         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3893         falling back to utime.
3894
3895 2011-11-30  Andreas Schwab  <schwab@redhat.com>
3896
3897         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3898         expectations for float.
3899
3900 2011-11-29  Andreas Schwab  <schwab@redhat.com>
3901
3902         * locale/weight.h (findidx): Add parameter len.
3903         * locale/weightwc.h (findidx): Likewise.
3904         * posix/fnmatch_loop.c (FCT): Adjust caller.
3905         * posix/regcomp.c (build_equiv_class): Likewise.
3906         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3907         * posix/regexec.c (check_node_accept_bytes): Likewise.
3908         * string/strcoll_l.c (STRCOLL): Likewise.
3909         * string/strxfrm_l.c (STRXFRM): Likewise.
3910
3911 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
3912
3913         * Makefile.in: Remove CVSOPT handling.
3914         * configure.in: Remove use of AC_REVISION.
3915         * iconvdata/Makefile (distribute): No need to filter out CVS.
3916         * scripts/list-sources.sh: Remove CVS, subversion and monotone
3917         handling.
3918
3919 2011-11-16  Andreas Schwab  <schwab@redhat.com>
3920
3921         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3922         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3923         [USE_AS_STRNCASECMP_L]: Likewise.
3924         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3925         NO_TLS_DIRECT_SEG_REFS.
3926         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3927         Fix argument offsets for non-PIC.
3928         [USE_AS_STRNCASECMP_L]: Likewise.
3929         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3930         NO_TLS_DIRECT_SEG_REFS.
3931
3932 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
3933
3934         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3935         O_CLOEXEC.
3936         * locale/loadlocale.c (_nl_load_locale): Likewise.
3937
3938 2011-11-15  Andreas Schwab  <schwab@redhat.com>
3939
3940         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3941         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3942         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3943         (SYSCALL_GETTIME): Set errno on error.
3944
3945         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3946         count references to noai6ai_cached.
3947
3948 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
3949
3950         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3951
3952         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3953         FD_CLOEXEC for /proc/self/maps.
3954
3955         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3956         FD_CLOEXEC for /proc/meminfo.
3957
3958         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3959         gai.conf.
3960
3961         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
3962         FD_CLOEXEC for given file.
3963
3964         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3965
3966         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3967         FD_CLOEXEC for /etc/hosts.
3968         (_gethtent): Likewise.
3969
3970         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3971
3972         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3973         cancellation and set FD_CLOEXEC for /etc/netgroup.
3974
3975         * nss/nss_files/files-key.c (search): Don't allow cancellation when
3976         reading /etc/publickey.
3977
3978         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3979         allow cancellation when reading /etc/group.
3980
3981         * nss/nss_files/files-alias.c (internal_setent): Don't allow
3982         cancellation.
3983         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
3984
3985         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3986         when using data file.
3987
3988         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3989
3990         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3991         (write_nis_obj): Use "c" and "e" in fopen.
3992
3993         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3994
3995         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3996
3997         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3998
3999         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4000
4001         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4002         locale.alias.
4003
4004         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4005
4006         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4007
4008         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4009
4010         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4011         file parsing and set FD_CLOEXEC.
4012
4013 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4014
4015         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4016
4017 2011-11-14  Andreas Schwab  <schwab@redhat.com>
4018
4019         * malloc/arena.c (arena_get2): Don't call reused_arena when
4020         _int_new_arena failed.
4021
4022 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
4023
4024         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4025         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4026         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4030         to compile strcasecmp and strncasecmp.
4031         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4032         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4033
4034         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4035
4036 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
4037
4038         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4039         locale-defines.sym to gen-as-const-headers.
4040         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4041         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4043         to compile strcasecmp and strncasecmp.
4044         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4045         strcasecmp_l and strncasecmp_l.
4046         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4047         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4048         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4049         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4050         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4051         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4052         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4053         * sysdeps/i386/i686/multiarch/strncase.S: New file.
4054         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4055         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4056         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4057
4058 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
4059
4060         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4061         result of SYSDEP_GETTIME_CPU to retval.
4062         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4063         parameter list to macro.  Remove trailing semicolon.  Adjust users.
4064
4065         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4066         variable.
4067
4068         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4069         mantissa words.
4070         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4071
4072         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4073         from unused variable.
4074
4075         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4076         DWARF definitions.
4077         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4078         for assembling.
4079
4080         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4081         over namespaces.
4082
4083         * sunrpc/rpc_prot.c (rejected): Fix case value.
4084
4085         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4086         unsigned long long int to avoid warnings in shift.
4087
4088         * posix/regex_internal.c (re_string_reconstruct): Actually use result
4089         of use of trans.
4090         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4091         variable tmp.
4092
4093         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4094         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4095         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4096
4097         * nis/nis_table.c (nis_list): Use variable of correct type for
4098         result of __follow_path call.
4099
4100 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4101
4102         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4103         of math functions ceil, trunc, floor, round, and sqrt, when
4104         avaliable on the platform.
4105         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4106         name clash.
4107         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4108         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4109         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4110
4111 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
4112
4113         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4114         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4115
4116 2011-11-11  Roland McGrath  <roland@hack.frob.com>
4117
4118         * include/unistd.h: Fix __readlink return type.
4119         Reported by Chris Metcalf <cmetcalf@tilera.com>.
4120
4121 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
4122
4123         * stdlib/ucontext.h: Undo last change for makecontext.
4124
4125 2011-11-11  Andreas Schwab  <schwab@redhat.com>
4126
4127         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4128
4129         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4130         * setjmp/setjmp.h: Mark functions as non-leaf.
4131         * setjmp/bits/setjmp2.h: Likewise.
4132         * stdlib/ucontext.h: Likewise.
4133
4134 2011-11-10  Andreas Schwab  <schwab@redhat.com>
4135
4136         * malloc/arena.c (_int_new_arena): Don't increment narenas.
4137         (reused_arena): Don't check arena limit.
4138         (arena_get2): Atomically check arena limit.
4139
4140 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
4141
4142         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4143         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4144
4145         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4146         instructions.
4147
4148 2011-11-07  Andreas Schwab  <schwab@redhat.com>
4149
4150         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4151         handler when locking.
4152
4153         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4154         Fix size of allocated buffer.
4155
4156 2011-11-04  Andreas Schwab  <schwab@redhat.com>
4157
4158         [BZ #10103]
4159         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4160         declarations for long double functions.
4161         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4162
4163         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4164
4165 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4166
4167         * nscd/nscd.c (main): Don't start AVC thread until credentials are
4168         installed.
4169
4170         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4171         is disabled.
4172
4173 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4174
4175         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4176
4177 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
4178
4179         * include/alloca.h (stackinfo_alloca_round): Define.
4180         (extend_alloca): Use it.
4181         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4182         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4183         here.
4184
4185         * scripts/check-local-headers.sh: Ignore libaudit.h.
4186
4187         * nscd/Makefile (extra-objs): Make recursively expanded.
4188
4189 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
4190
4191         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4193
4194         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4195         * posix/tst-rfc3484-2.c: Likewise.
4196         * posix/tst-rfc3484-3.c: Likewise.
4197
4198         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4199         process_vm_writev.
4200         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4201         process_vm_writev.
4202         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4203         process_vm_writev from libc using GLIBC_2.15 version.
4204
4205         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4206
4207 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
4208
4209         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4210         stack usage.
4211
4212 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
4213
4214         [BZ #13367]
4215         * nss/getent.c (initgroups_keys): Show error message in case no group
4216         names are given.
4217
4218         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4219         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4220         __bump_nl_timestamp.
4221         * nscd/connections (nscd_init): When host database is served open
4222         netlink socket and request notification about configuration changes.
4223         (main_loop_poll): Track netlink file descriptor and bump timestamp
4224         in case data becomes available.
4225         (main_loop_epoll): Likewise.
4226         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4227         (database_pers_head): Add extra_data fileds.
4228         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4229         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4230         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4231         Adjust caller.
4232         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4233         in6ai data, call __free_in6ai.
4234         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4235         Add -DHAVE_NETLINK.
4236         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
4237         interface information.  Reuse previous data if netlink timestamp
4238         is not changed.
4239         (__bump_nl_timestamp): New function.
4240         (__free_in6ai): New function.
4241
4242 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
4243
4244         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4245         close_not_cancel_no_status here.
4246         (__check_pf): Reorganize code a bit to not call close twice if OOM.
4247
4248 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4249
4250         [BZ #13276]
4251         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4252         return value.
4253
4254         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4255         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4256         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4257
4258 2011-07-03  Andreas Jaeger  <aj@suse.de>
4259
4260         [BZ #10709]
4261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4262         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4263         * math/libm-test.inc (sin_test): Add test case.
4264
4265 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
4266
4267         [BZ #13337]
4268         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4269         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4270
4271         * elf/chroot_canon.c (chroot_canon): Cleanups.
4272
4273         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4274
4275         [BZ #13335]
4276         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4277         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4278
4279         * string/test-strchr.c: Make usable for strchrnul testing.
4280         * string/test-strchrnul.c: New file.
4281         * string/Makefile (strop-tests): Add strchrnul.
4282
4283         * po/it.po: Update from translation team.
4284         * po/es.po: Likewise.
4285
4286 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
4287
4288         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4289         the three constants needed as parameters.  Drop the others.
4290         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4291         __m128i_strloadu_tolower.
4292         Create and initialize variable zero and use it in all the places
4293         where _mm_setzero_si128 was used.
4294
4295         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4296         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4297         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4298         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4299         anymore.
4300         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4301         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4302         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4303         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4304         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4305         __mpranred, __mptan.
4306         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4307         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4308         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4309         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4310         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4311         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4313         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4314         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4315
4316 2011-10-28  Andreas Schwab  <schwab@redhat.com>
4317
4318         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4319         redefine if SHARED.
4320         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4321
4322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4323         wide char related routines to wcsmbs subdir.
4324
4325 2011-10-27  Andreas Schwab  <schwab@redhat.com>
4326
4327         [BZ #13344]
4328         * misc/sys/cdefs.h (__THROWNL): Define.
4329         * posix/unistd.h: Use __THREADNL instead of __THREAD
4330         for memory synchronization functions.
4331
4332 2011-10-26  Roland McGrath  <roland@hack.frob.com>
4333
4334         [BZ #13349]
4335         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4336         doesn't exist.
4337         * manual/stdio.texi (Obstack Streams): Node removed.
4338
4339 2011-10-26  Andreas Schwab  <schwab@redhat.com>
4340
4341         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4342         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4343         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4344
4345         * math/math_private.h (math_force_eval): Allow non-addressable
4346         arguments.
4347         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4348
4349 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4350
4351         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4352         file is not needed.
4353
4354         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4355         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4356         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4357         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4358         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4359         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4360         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4361         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4362         Add AVX variants.
4363         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4364         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4365         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4366         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4367         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4368         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4369         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4370         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4371         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4372         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4373         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4374         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4375         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4376         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4377         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4378         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4379         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4380         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4381         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4382
4383         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4384         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
4385
4386         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4387         place.  Use VEX encoding when compiling for AVX.
4388
4389 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4390
4391         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4392         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4393
4394         * string/test-strchr.c (do_test): Don't generate NUL bytes.
4395
4396 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4397
4398         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4399         useless if() expression.
4400         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4401         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4402         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4403         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4404         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4405         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4406         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4407         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4408         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4409         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4410         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4412         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4413         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4414         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4415         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4416         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4418         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4419
4420         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4421
4422 2011-10-25  Andreas Schwab  <schwab@redhat.com>
4423
4424         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4425         condition.
4426         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4427
4428 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
4429
4430         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4431         .text section.  Avoid duplicate constants.
4432         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4434         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4436         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4440         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4441         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4442         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4443         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4444         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4445         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4446         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4447         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4448         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4449         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4450         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4452         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4453         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4454         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4455         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4456         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4457         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4458         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4459         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4460         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4461         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4462         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4463         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4464         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4465         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4466         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4467         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4468         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4469         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4470         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4471         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4472         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4474         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4475         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4476         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4477
4478 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
4479
4480         * sysdeps/x86_64/dla.h: Move to ...
4481         * sysdeps/x86_64/fpu/dla.h: ...here.
4482         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4483         situations.  Use __builtin_fma only for gcc 4.6 and up.
4484
4485         * config.make.in: Add have-mfma4 entry.
4486         * configure.in: Substitute libc_cv_cc_fma4.
4487         * math/Makefile (dbl-only-routines): Add sincostab.
4488         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4489         Use __sincostab not sincos.
4490         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4491         name is a macro.
4492         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
4496         using __copysign.
4497         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
4498         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
4499         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4500         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4501         and __inv.
4502         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4503         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4504         __copysign.
4505         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
4506         define aliases when function name is a macro.
4507         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4508         sysdeps/ieee754/dbl-64/sincos.tbl.
4509         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4510         fma4-enabled routines.
4511         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4512         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4513         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4514         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4515         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4516         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4517         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4518         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4519         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4520         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4521         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4522         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4523         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4524         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4525         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4526         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4527         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4528         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4529         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4530         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4531         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4532         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4533         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4535         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4536         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4537         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4538         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4539         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4540         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4541
4542         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4543         rename.
4544         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4547         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4548         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4551         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4552
4553 2011-10-24  Andreas Schwab  <schwab@redhat.com>
4554
4555         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4556
4557 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4558
4559         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4560
4561         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4562         prediction.
4563         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4564
4565         * string/strnlen.c: Don't define STRNLEN, reverse logic.
4566         Remove unused variable magic_bits.
4567         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4568
4569         * string/strnlen.c: Define and use STRNLEN macro.
4570         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4571         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4573         * wcsmbs/wcslen.c: Define and use WCSLEN.
4574         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4575         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4576         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4577         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4578         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4579         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4580         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4581
4582 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4583
4584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4585         strnlen-sse2-no-bsf.
4586         Rename strlen-no-bsf to strlen-sse2-no-bsf.
4587         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4588         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4589         Add strnlen support.
4590         (USE_AS_STRNLEN): New macro.
4591         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4592         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4593         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4594         * sysdeps/x86_64/wcslen.S: New file.
4595
4596 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
4597
4598         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4599         XMM-moves are used for copying on small sizes.
4600
4601 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4602
4603         * wcsmbs/Makefile (strop-tests): Add wcschr.
4604         * wcsmbs/test-wcschr.c: New file.
4605         * string/test-strchr.c: Update.
4606         Add wcschr support.
4607         (WIDE): New macro.
4608
4609 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4610
4611         * wcsmbs/Makefile (strop-tests): Add wcslen.
4612         * wcsmbs/test-wcslen.c: New file.
4613         * string/test-strlen.c: Update.
4614         Add wcslen support.
4615         (WIDE): New macro.
4616
4617 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4618
4619         * po/it.po: Update from translation team.
4620
4621 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4622
4623         * sysdeps/x86_64/wcscmp.S: Update.
4624         Fix wrong comparison semantics.
4625         wcscmp shall use signed comparison not unsigned.
4626         Don't use substraction to avoid overflow bug.
4627         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4628         * wcsmbc/wcscmp.c: Likewise.
4629         * string/test-strcmp.c: Likewise.
4630         Add new tests to check cases with negative values.
4631
4632 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4633
4634         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4635         * sysdeps/x86_64/dla.h: ...here.  New file.
4636         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4637         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4639         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4641         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4645
4646 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
4647
4648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4649         __ynl_finite aliases.
4650
4651 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4652
4653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4654
4655         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4656         define DLA_FMA.
4657         [DLA_FMA] (EMULV): Use DLA_FMA.
4658         [DLA_FMA] (MUL12): Use EMULV.
4659         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4660         that are not needed.
4661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4666         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4668
4669 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
4670
4671         * math/s_nan.c: Undef __nan.
4672         * math/s_nanf.c: Undef __nanf.
4673         * math/s_nanl.c: Undef __nanl.
4674         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4675         "math_private.h".
4676
4677 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4678
4679         * math/s_catan.c: Add branch predictions.
4680         * math/s_catanf.c: Likewise.
4681         * math/s_catanh.c: Likewise.
4682         * math/s_catanhf.c: Likewise.
4683         * math/s_catanhl.c: Likewise.
4684         * math/s_catanl.c: Likewise.
4685         * math/s_cexp.c: Likewise.
4686         * math/s_cexpf.c: Likewise.
4687         * math/s_cexpl.c: Likewise.
4688         * math/s_clog.c: Likewise.
4689         * math/s_clog10.c: Likewise.
4690         * math/s_clog10f.c: Likewise.
4691         * math/s_clog10l.c: Likewise.
4692         * math/s_clogf.c: Likewise.
4693         * math/s_clogl.c: Likewise.
4694         * math/s_csqrt.c: Likewise.
4695         * math/s_csqrtf.c: Likewise.
4696         * math/s_csqrtl.c: Likewise.
4697         * math/s_ctanf.c: Likewise.
4698         * math/s_ctanh.c: Likewise.
4699         * math/s_ctanhf.c: Likewise.
4700         * math/s_ctanhl.c: Likewise.
4701         * math/s_ctanl.c: Likewise.
4702
4703         * math/math_private.h: Define __nan, __nanf, __nanl.
4704         * math/s_cacosh.c: Include <math_private.h>.
4705         * math/s_cacoshl.c: Likewise.
4706         * math/s_casinh.c: Likewise.
4707         * math/s_casinhf.c: Likewise.
4708         * math/s_casinhl.c: Likewise.
4709         * math/s_ccos.c: Rely entire on ccosh.
4710         * math/s_ccosf.c: Rely entire on ccoshf.
4711         * math/s_ccosl.c: Rely entirely on ccoshl.
4712         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
4713         Remove tests for FE_INVALID.
4714         * math/s_ccoshf.c: Likewise.
4715         * math/s_ccoshl.c: Likewise.
4716         * math/s_csin.c: Likewise.
4717         * math/s_csinf.c: Likewise.
4718         * math/s_csinh.c Likewise.
4719         * math/s_csinhf.c: Likewise.
4720         * math/s_csinhl.c: Likewise.
4721         * math/s_csinl.c: Likewise.
4722         * math/s_ctan.c: Likewise.
4723         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4724         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4725         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4726
4727 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
4728
4729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4730         compilation problems.
4731
4732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4733         __builtin_expect.
4734
4735 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
4736
4737         * sysdeps/i386/configure.in: Test for -mfma4 option.
4738         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4739         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4740         COMMON_CPUID_INDEX_80000001.
4741         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4742         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4743         use it if FMA3 is not supported.
4744         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4745
4746         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4747         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4748
4749 2011-10-20  Andreas Schwab  <schwab@redhat.com>
4750
4751         [BZ #12892]
4752         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4753         it would create a cycle with a link time dependency.
4754
4755 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
4756
4757         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4758         instruction.
4759         * string/Makefile (strop-tests): Add rawmemchr.
4760         * string/test-rawmemchr.c: New file.
4761
4762         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4763         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
4764         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
4765         when compiling str{,n}casecmp and when AVX is available.  Hook up
4766         new optimized code in initializers.
4767
4768 2011-10-19  Andreas Schwab  <schwab@redhat.com>
4769
4770         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4771         __feraiseexcept instead of feraiseexcept.
4772
4773 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
4774
4775         * math/math_private.h: Define defaults for libc_fetestexcept and
4776         libc_feupdateenv.
4777         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4778         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4779         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4780         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4781         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4782         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4783         libc_fetestexcept and libc_feupdateenv.
4784
4785         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4786         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4787         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4788         * sysdeps/x86_64/fpu/math_private.h: Define special version of
4789         libc_feholdexcept_setround.
4790
4791         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4792         Add s_nearbyint-c and s_nearbyintf-c.
4793         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4794         nearbyintf inlines.
4795         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4796         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4797         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4798         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4799
4800         * math/math_private.h: Define defaults for libc_fegetround,
4801         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4802         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4803         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4804         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4805         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4806         standard functions.
4807         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4808         Remove comments and hacks for old compiler versions.
4809         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4810         libc_fegetround, libc_fesetround, libc_feholdexcept, and
4811         libc_feholdexceptl.
4812
4813 2011-10-18  Andreas Schwab  <schwab@redhat.com>
4814
4815         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4816         (__feraiseexcept_renamed): Add __NTH.
4817         (feraiseexcept): Add __NTH.  Rename local variables to fix
4818         namespace violations.
4819
4820 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
4821
4822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4823
4824         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4825
4826         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4827         recently added interfaces.
4828         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4829
4830         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4831         about macro parameter expansion.
4832
4833         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4834         __NO_MATH_INLINES is defined.  Cleanups.
4835
4836         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4837         and __floorf is target has SSE4.1.
4838         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4839         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4840         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4841         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4842
4843         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4844         name.
4845         (floorf): Likewise.
4846
4847         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4848
4849 2011-10-17  Andreas Schwab  <schwab@redhat.com>
4850
4851         * misc/sys/cdefs.h: Fix last change.
4852
4853         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4854         database lookup.
4855
4856 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
4857
4858         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4859
4860         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4861         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4862         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4863         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4865         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4866         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4867         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4868         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4869         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4870         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4871         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4872         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4873         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4874         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4875         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4876         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4877         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4878         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4879         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4880         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4881         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4882
4883         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4884         ceil, ceilf, floor, floorf.
4885
4886         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4887         Perform IRELATIVE relocations last.
4888
4889         * elf/do-rel.h: Add another parameter nrelative, replacing the
4890         local variable with the same name.  Change name of the function
4891         to end in Rel or Rela (uppercase).
4892         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4893         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
4894         elf_dynamic_do_##reloc function.
4895
4896 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
4897
4898         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4899         is sufficient, at least on modern CPUs.
4900
4901         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4902
4903         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4904         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4905
4906         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4907         __expl_finite.
4908         * math/bits/math-finite.h: Add entries for exp.
4909         * math/e_expl.c: Add __*_finite alias.
4910         * sysdeps/i386/fpu/e_exp.S: Likewise.
4911         * sysdeps/i386/fpu/e_expf.S: Likewise.
4912         * sysdeps/i386/fpu/e_expl.c: Likewise.
4913         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4914         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4915         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4917         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4918         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4919         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4920
4921         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4922         is sufficient, at least on modern CPUs.
4923
4924         * ctype/ctype-info.c (__ctype_init): Define.
4925         * include/ctype.h (__ctype_init): Declare.
4926         (__ctype_b_loc): The variable is always initialized.
4927         (__ctype_toupper_loc): Likewise.
4928         (__ctype_tolower_loc): Likewise.
4929         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4930         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4931
4932 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
4933
4934         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4935
4936         * configure.in: Also look in $cxxmachine/include for C++ system
4937         headers.
4938
4939 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4940
4941         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4942         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4943         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4944         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
4945         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4946         (USE_AS_WMEMCMP): New macro.
4947         Fixing indents.
4948         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4949         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4950         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4951         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4953         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4954         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4955         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4956         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4957         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4958         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4959         (USE_AS_WMEMCMP): New macro.
4960         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4961         * sysdeps/string/test-memcmp.c: Update.
4962         Fix simple_wmemcmp.
4963         Add new tests.
4964         * wcsmbs/wmemcmp.c: Update.
4965         (WMEMCMP): New macro.
4966         Fix overflow bug.
4967
4968 2011-10-12  Andreas Jaeger  <aj@suse.de>
4969
4970         [BZ #13268]
4971         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4972
4973 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
4974
4975         * libio/iofwide.c (do_length): Avoid warning.
4976
4977         * ctype/ctype.h (__isctype_f): Add missing __THROW.
4978
4979 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
4980
4981         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4982
4983         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4984         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4985         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4986         * sysdeps/i386/i686/fpu/e_log.S: New file.
4987         * sysdeps/i386/i686/fpu/e_logf.S: New file.
4988         * sysdeps/i386/i686/fpu/e_logl.S: New file.
4989
4990         * ctype/ctype.h: Add support for inlined isXXX functions when
4991         compiling C++ code.
4992
4993 2011-10-14  Andreas Schwab  <schwab@redhat.com>
4994
4995         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4996
4997         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4998
4999 2011-10-13  Roland McGrath  <roland@hack.frob.com>
5000
5001         [BZ #13291]
5002         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5003
5004 2011-10-13  Andreas Schwab  <schwab@redhat.com>
5005
5006         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5007         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5008         feraiseexcept.
5009
5010         * sysdeps/x86_64/memrchr.S: Check for zero size.
5011
5012         * string/stratcliff.c: Add memrchr tests.
5013
5014 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5015
5016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5017         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5018         rawmemchr-sse2 rawmemchr-sse2-bsf.
5019         * sysdeps/i386/i686/multiarch/memchr.S: New file.
5020         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5021         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5022         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5023         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5024         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5025         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5026         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5027         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5028         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5029         * string/memrchr.c (MEMRCHR): New macro.
5030
5031 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
5032
5033         Add integration with gcc's -ffinite-math-only and optimize wrapper
5034         functions in libm.
5035         * Versions.def: Define GLIBC_2.15 version for libm.
5036         * math/Makefile (headers): Add bits/math-finite.h.
5037         * math/bits/math-finite.h: New file.
5038         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5039         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5040         * math/e_acoshl.c: Add __*_finite alias.
5041         * math/e_acosl.c: Likewise.
5042         * math/e_asinl.c: Likewise.
5043         * math/e_atan2l.c: Likewise.
5044         * math/e_atanhl.c: Likewise.
5045         * math/e_coshl.c: Likewise.
5046         * math/e_exp10.c: Likewise.
5047         * math/e_exp10f.c: Likewise.
5048         * math/e_exp10l.c: Likewise.
5049         * math/e_exp2l.c: Likewise.
5050         * math/e_fmodl.c: Likewise.
5051         * math/e_gammal_r.c: Likewise.
5052         * math/e_hypotl.c: Likewise.
5053         * math/e_j0l.c: Likewise.
5054         * math/e_j1l.c: Likewise.
5055         * math/e_jnl.c: Likewise.
5056         * math/e_lgammal_r.c: Likewise.
5057         * math/e_log10l.c: Likewise.
5058         * math/e_log2l.c: Likewise.
5059         * math/e_logl.c: Likewise.
5060         * math/e_powl.c: Likewise.
5061         * math/e_sinhl.c: Likewise.
5062         * math/e_sqrtl.c: Likewise.
5063         * math/e_scalb.c: Completely rewritten and optimized.
5064         * math/e_scalbf.c: Likewise.
5065         * math/e_scalbl.c: Likewise.
5066         * math/w_acos.c: Likewise.
5067         * math/w_acosf.c: Likewise.
5068         * math/w_acosl.c: Likewise.
5069         * math/w_acosh.c: Likewise.
5070         * math/w_acoshf.c: Likewise.
5071         * math/w_acoshl.c: Likewise.
5072         * math/w_asin.c: Likewise.
5073         * math/w_asinf.c: Likewise.
5074         * math/w_asinl.c: Likewise.
5075         * math/w_atan2.c: Likewise.
5076         * math/w_atan2f.c: Likewise.
5077         * math/w_atan2l.c: Likewise.
5078         * math/w_atanh.c: Likewise.
5079         * math/w_atanhf.c: Likewise.
5080         * math/w_atanhl.c: Likewise.
5081         * math/w_exp10.c: Likewise.
5082         * math/w_exp10f.c: Likewise.
5083         * math/w_exp10l.c: Likewise.
5084         * math/w_fmod.c: Likewise.
5085         * math/w_fmodf.c: Likewise.
5086         * math/w_fmodl.c: Likewise.
5087         * math/w_j0.c: Likewise.
5088         * math/w_j0f.c: Likewise.
5089         * math/w_j0l.c: Likewise.
5090         * math/w_j1.c: Likewise.
5091         * math/w_j1f.c: Likewise.
5092         * math/w_j1l.c: Likewise.
5093         * math/w_jn.c: Likewise.
5094         * math/w_jnf.c: Likewise.
5095         * math/w_log.c: Likewise.
5096         * math/w_logf.c: Likewise.
5097         * math/w_logl.c: Likewise.
5098         * math/w_log10.c: Likewise.
5099         * math/w_log10f.c: Likewise.
5100         * math/w_log10l.c: Likewise.
5101         * math/w_log2.c: Likewise.
5102         * math/w_log2f.c: Likewise.
5103         * math/w_log2l.c: Likewise.
5104         * math/w_pow.c: Likewise.
5105         * math/w_powf.c: Likewise.
5106         * math/w_powl.c: Likewise.
5107         * math/w_remainder.c: Likewise.
5108         * math/w_remainderf.c: Likewise.
5109         * math/w_remainderl.c: Likewise.
5110         * math/w_scalb.c: Likewise.
5111         * math/w_scalbf.c: Likewise.
5112         * math/w_scalbl.c: Likewise.
5113         * math/w_sqrt.c: Likewise.
5114         * math/w_sqrtf.c: Likewise.
5115         * math/w_sqrtl.c: Likewise.
5116         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5117         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
5118         used.
5119         * math/math_private.h: Declare __kernel_standard_f.
5120         * math/w_cosh.c: Remove cruft and optimize a bit.
5121         * math/w_coshf.c: Likewise.
5122         * math/w_coshl.c: Likewise.
5123         * math/w_exp2.c: Likewise.
5124         * math/w_exp2f.c: Likewise.
5125         * math/w_exp2l.c: Likewise.
5126         * math/w_hypot.c: Likewise.
5127         * math/w_hypotf.c: Likewise.
5128         * math/w_hypotl.c: Likewise.
5129         * math/w_lgamma.c: Likewise.
5130         * math/w_lgamma_r.c: Likewise.
5131         * math/w_lgammaf.c: Likewise.
5132         * math/w_lgammaf_r.c: Likewise.
5133         * math/w_lgammal.c: Likewise.
5134         * math/w_lgammal_r.c: Likewise.
5135         * math/w_sinh.c: Likewise.
5136         * math/w_sinhf.c: Likewise.
5137         * math/w_sinhl.c: Likewise.
5138         * math/w_tgamma.c: Likewise.
5139         * math/w_tgammaf.c: Likewise.
5140         * math/w_tgammal.c: Likewise.
5141         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5142         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5143         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5144         Minor optimizations.  Pretty printing.  Remove cruft.
5145         * sysdeps/i386/fpu/e_acosf.S: Likewise.
5146         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5147         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5148         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5149         * sysdeps/i386/fpu/e_acosl.c: Likewise.
5150         * sysdeps/i386/fpu/e_asin.S: Likewise.
5151         * sysdeps/i386/fpu/e_asinf.S: Likewise.
5152         * sysdeps/i386/fpu/e_atan2.S: Likewise.
5153         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5154         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5155         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5156         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5157         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5158         * sysdeps/i386/fpu/e_exp10.S: Likewise.
5159         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5160         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5161         * sysdeps/i386/fpu/e_exp2.S: Likewise.
5162         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5163         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5164         * sysdeps/i386/fpu/e_fmod.S: Likewise.
5165         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5166         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5167         * sysdeps/i386/fpu/e_hypot.S: Likewise.
5168         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5169         * sysdeps/i386/fpu/e_log.S: Likewise.
5170         * sysdeps/i386/fpu/e_log10.S: Likewise.
5171         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5172         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5173         * sysdeps/i386/fpu/e_log2.S: Likewise.
5174         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5175         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5176         * sysdeps/i386/fpu/e_logf.S: Likewise.
5177         * sysdeps/i386/fpu/e_logl.S: Likewise.
5178         * sysdeps/i386/fpu/e_pow.S: Likewise.
5179         * sysdeps/i386/fpu/e_powf.S: Likewise.
5180         * sysdeps/i386/fpu/e_powl.S: Likewise.
5181         * sysdeps/i386/fpu/e_remainder.S: Likewise.
5182         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5183         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5184         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5185         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5186         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5187         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5188         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5189         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5190         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5191         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5192         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5193         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5194         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5195         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5196         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5197         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5198         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5199         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5200         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5201         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5203         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5204         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5206         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5207         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5208         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5209         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5210         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5211         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5214         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5215         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5216         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5217         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5218         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5219         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5220         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5221         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5222         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5223         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5224         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5225         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5226         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5227         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5228         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5229         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5230         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5231         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5232         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5233         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5235         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5236         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5237         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5238         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5240         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5241         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5242         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5243         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5244         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5245         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5246         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5247         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5248         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5249         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5250         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5251         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5254         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5255         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5256         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5257         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5258         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5259         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5260         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5261         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5262         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5264         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5265         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5266         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5267         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5268         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5269         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5270         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5271         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5272         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5273         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5274         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5275         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5276         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5277         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5278         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5279         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5280         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5281         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5282         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5283         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5284         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5285         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5286         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5287         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5288         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5289         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5290         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5291         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5292         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5293         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5294         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5295         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5296         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5297         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5298         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5299         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5300         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
5301         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5302         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5303         (__isnanf): Likewise.
5304         (__isinf_ns): Likewise.
5305         (__isinf_nsf): Likewise.
5306         (__finite): Likewise.
5307         (__finitef): Likewise.
5308         (__ieee754_sqrt): Define as macro.
5309         (__ieee754_sqrtf): Define as macro.
5310         (__ieee754_sqrtl): Define as macro.
5311         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5312         inlined copy.
5313         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5314         __FINITE_MATH_ONLY__ consistent.
5315         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5316
5317 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
5318
5319         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5320         of rawmemchr.
5321
5322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5323
5324 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
5325
5326         * po/ja.po: Update from translation team.
5327
5328 2011-10-08  Roland McGrath  <roland@hack.frob.com>
5329
5330         * locale/programs/locarchive.c (prepare_address_space): New function.
5331         (create_archive, enlarge_archive, open_archive): Use it.
5332
5333         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5334         inside [SHARED], where it is used.
5335
5336         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5337
5338         * nss/getent.c (netgroup_keys): Remove unused variable.
5339         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5340
5341 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
5342
5343         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5344         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5346         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5347         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5348         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5349         * math/Makefile (libm-calls): Add s_isinf_ns.
5350         * math/divtc3.c: Use __isinf_nsl instead of isinf.
5351         * math/multc3.c: Likewise.
5352         * math/s_casin.c: Likewise.
5353         * math/s_casinf.c: Likewise.
5354         * math/s_casinl.c: Likewise.
5355         * math/s_ccos.c: Likewise.
5356         * math/s_ccosf.c: Likewise.
5357         * math/s_ccosl.c: Likewise.
5358         * math/s_ctan.c: Likewise.
5359         * math/s_ctanf.c: Likewise.
5360         * math/s_ctanh.c: Likewise.
5361         * math/s_ctanhf.c: Likewise.
5362         * math/s_ctanhl.c: Likewise.
5363         * math/s_ctanl.c: Likewise.
5364         * math/w_fmod.c: Likewise.
5365         * math/w_fmodf.c: Likewise.
5366         * math/w_fmodl.c: Likewise.
5367         * math/w_remainder.c: Likewise.
5368         * math/w_remainderf.c: Likewise.
5369         * math/w_remainderl.c: Likewise.
5370         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5371         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5372         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5374         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5375         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5376         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5377         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5378
5379         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5380         of the number.
5381         * stdio-common/printf_fphex.c: Likewise.
5382         * stdio-common/printf_size.c: Likewise.
5383
5384         * math/e_exp10.c: Include math_private.h using <...> not "...".
5385         * math/e_exp10f.c: Likewise.
5386         * math/e_exp10l.c: Likewise.
5387         * math/e_exp2l.c: Likewise.
5388         * math/e_j0l.c: Likewise.
5389         * math/e_j1l.c: Likewise.
5390         * math/e_jnl.c: Likewise.
5391         * math/e_lgammal_r.c: Likewise.
5392         * math/e_rem_pio2l.c: Likewise.
5393         * math/e_scalb.c: Likewise.
5394         * math/e_scalbf.c: Likewise.
5395         * math/e_scalbl.c: Likewise.
5396         * math/k_cosl.c: Likewise.
5397         * math/k_sinl.c: Likewise.
5398         * math/k_tanl.c: Likewise.
5399         * math/s_cacoshf.c: Likewise.
5400         * math/s_catan.c: Likewise.
5401         * math/s_catanf.c: Likewise.
5402         * math/s_catanh.c: Likewise.
5403         * math/s_catanhf.c: Likewise.
5404         * math/s_catanhl.c: Likewise.
5405         * math/s_catanl.c: Likewise.
5406         * math/s_ccosh.c: Likewise.
5407         * math/s_ccoshf.c: Likewise.
5408         * math/s_ccoshl.c: Likewise.
5409         * math/s_cexp.c: Likewise.
5410         * math/s_cexpf.c: Likewise.
5411         * math/s_cexpl.c: Likewise.
5412         * math/s_clog.c: Likewise.
5413         * math/s_clog10.c: Likewise.
5414         * math/s_clog10f.c: Likewise.
5415         * math/s_clog10l.c: Likewise.
5416         * math/s_clogf.c: Likewise.
5417         * math/s_clogl.c: Likewise.
5418         * math/s_csin.c: Likewise.
5419         * math/s_csinf.c: Likewise.
5420         * math/s_csinh.c: Likewise.
5421         * math/s_csinhf.c: Likewise.
5422         * math/s_csinhl.c: Likewise.
5423         * math/s_csinl.c: Likewise.
5424         * math/s_csqrt.c: Likewise.
5425         * math/s_csqrtf.c: Likewise.
5426         * math/s_csqrtl.c: Likewise.
5427         * math/s_ctan.c: Likewise.
5428         * math/s_ctanf.c: Likewise.
5429         * math/s_ctanh.c: Likewise.
5430         * math/s_ctanhf.c: Likewise.
5431         * math/s_ctanhl.c: Likewise.
5432         * math/s_ctanl.c: Likewise.
5433         * math/s_ldexp.c: Likewise.
5434         * math/s_ldexpf.c: Likewise.
5435         * math/s_ldexpl.c: Likewise.
5436         * math/s_significand.c: Likewise.
5437         * math/s_significandf.c: Likewise.
5438         * math/s_significandl.c: Likewise.
5439         * math/w_acos.c: Likewise.
5440         * math/w_acosf.c: Likewise.
5441         * math/w_acosh.c: Likewise.
5442         * math/w_acoshf.c: Likewise.
5443         * math/w_acoshl.c: Likewise.
5444         * math/w_acosl.c: Likewise.
5445         * math/w_asin.c: Likewise.
5446         * math/w_asinf.c: Likewise.
5447         * math/w_asinl.c: Likewise.
5448         * math/w_atan2.c: Likewise.
5449         * math/w_atan2f.c: Likewise.
5450         * math/w_atan2l.c: Likewise.
5451         * math/w_atanh.c: Likewise.
5452         * math/w_atanhf.c: Likewise.
5453         * math/w_atanhl.c: Likewise.
5454         * math/w_cosh.c: Likewise.
5455         * math/w_coshf.c: Likewise.
5456         * math/w_coshl.c: Likewise.
5457         * math/w_dremf.c: Likewise.
5458         * math/w_exp10.c: Likewise.
5459         * math/w_exp10f.c: Likewise.
5460         * math/w_exp10l.c: Likewise.
5461         * math/w_exp2.c: Likewise.
5462         * math/w_exp2f.c: Likewise.
5463         * math/w_fmod.c: Likewise.
5464         * math/w_fmodf.c: Likewise.
5465         * math/w_fmodl.c: Likewise.
5466         * math/w_hypot.c: Likewise.
5467         * math/w_hypotf.c: Likewise.
5468         * math/w_hypotl.c: Likewise.
5469         * math/w_j0.c: Likewise.
5470         * math/w_j0f.c: Likewise.
5471         * math/w_j0l.c: Likewise.
5472         * math/w_j1.c: Likewise.
5473         * math/w_j1f.c: Likewise.
5474         * math/w_j1l.c: Likewise.
5475         * math/w_jn.c: Likewise.
5476         * math/w_jnf.c: Likewise.
5477         * math/w_jnl.c: Likewise.
5478         * math/w_lgamma.c: Likewise.
5479         * math/w_lgamma_r.c: Likewise.
5480         * math/w_lgammaf.c: Likewise.
5481         * math/w_lgammaf_r.c: Likewise.
5482         * math/w_lgammal.c: Likewise.
5483         * math/w_lgammal_r.c: Likewise.
5484         * math/w_log.c: Likewise.
5485         * math/w_log10.c: Likewise.
5486         * math/w_log10f.c: Likewise.
5487         * math/w_log10l.c: Likewise.
5488         * math/w_log2.c: Likewise.
5489         * math/w_log2f.c: Likewise.
5490         * math/w_log2l.c: Likewise.
5491         * math/w_logf.c: Likewise.
5492         * math/w_logl.c: Likewise.
5493         * math/w_pow.c: Likewise.
5494         * math/w_powf.c: Likewise.
5495         * math/w_powl.c: Likewise.
5496         * math/w_remainder.c: Likewise.
5497         * math/w_remainderf.c: Likewise.
5498         * math/w_remainderl.c: Likewise.
5499         * math/w_scalb.c: Likewise.
5500         * math/w_scalbf.c: Likewise.
5501         * math/w_scalbl.c: Likewise.
5502         * math/w_sinh.c: Likewise.
5503         * math/w_sinhf.c: Likewise.
5504         * math/w_sinhl.c: Likewise.
5505         * math/w_sqrt.c: Likewise.
5506         * math/w_sqrtf.c: Likewise.
5507         * math/w_sqrtl.c: Likewise.
5508         * math/w_tgamma.c: Likewise.
5509         * math/w_tgammaf.c: Likewise.
5510         * math/w_tgammal.c: Likewise.
5511
5512         * po/ja.po: Update from translation team.
5513
5514 2011-09-29  Andreas Jaeger  <aj@suse.de>
5515
5516         [BZ #13179]
5517         * sunrpc/netname.c (netname2host): Fix logic.
5518
5519         [BZ #6779]
5520         [BZ #6783]
5521         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5522         correctly.
5523         * math/w_remainder.c (__remainder): Likewise.
5524         * math/w_remainderf.c (__remainderf): Likewise.
5525         * math/libm-test.inc (remainder_test): Add test cases.
5526
5527 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5528
5529         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
5530         sdiv_qrnnd.
5531
5532 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5533
5534         * string/test-memcmp.c: Avoid unncessary #defines.
5535         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5536
5537 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5538
5539         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5540         Use new sse2 version for core i3 - i7 as it's faster
5541         than sse42 version.
5542         (bit_Prefer_PMINUB_for_stringop): New.
5543         * sysdeps/x86_64/rawmemchr.S: Update.
5544         Replace with faster SSE2 version.
5545         * sysdeps/x86_64/memrchr.S: New file.
5546         * sysdeps/x86_64/memchr.S: Update.
5547         Replace with faster SSE2 version.
5548
5549 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
5550
5551         * elf/dl-load.c (lose): Add cast to avoid warning.
5552
5553 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5554
5555         * po/ca.po: Update from translation team.
5556
5557         * inet/getnetgrent_r.c: Hook up nscd.
5558         * nscd/Makefile (routines): Add nscd_netgroup.
5559         (nscd-modules): Add netgroupcache.
5560         (CFLAGS-netgroupcache.c): Define.
5561         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5562         (cache_search): Add const to second parameter.
5563         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5564         INNETGR.
5565         (dbs): Add netgrdb entry.
5566         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5567         (verify_persistent_db): Handle netgrdb.
5568         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5569         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5570         GETFDNETGR.
5571         (netgroup_response_header): Define.
5572         (innetgroup_response_header): Define.
5573         (datahead): Add netgroup_response_header and innetgroup_response_header
5574         elements.
5575         * nscd/nscd.conf: Add entries for netgroup cache.
5576         * nscd/nscd.h (dbtype): Add netgrdb.
5577         (_PATH_NSCD_NETGROUP_DB): Define.
5578         (netgroup_iov_disabled): Declare.
5579         (xmalloc, xcalloc, xrealloc): Move declarations here.
5580         (cache_search): Adjust prototype.
5581         Add netgroup-related prototypes.
5582         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5583         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5584         (__nscd_innetgr): Declare.
5585         * nscd/selinux.c (perms): Use access_vector_t as element type and
5586         add netgroup-related initializers.
5587         * nscd/netgroupcache.c: New file.
5588         * nscd/nscd_netgroup.c: New file.
5589         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5590         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5591         For four parameters use innetgr.
5592         * nss/nss_files/files-init.c: Add definition and callback for netgr.
5593         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5594         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5595         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5596
5597         * nscd/connections.c (register_traced_file): Don't register file
5598         for disabled databases.
5599
5600 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
5601
5602         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5603
5604         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5605         from tree and freeing node.
5606
5607 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
5608
5609         * nss/nsswitch.c (__nss_database_lookup): Handle
5610         nss_parse_service_list out of memory case.
5611
5612 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
5613
5614         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5615         out of memory case.
5616
5617 2011-10-04  Andreas Schwab  <schwab@redhat.com>
5618
5619         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5620         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5621         pass it down.
5622         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5623         elf_machine_rela, elf_machine_lazy_rel.
5624         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5625         (ELF_DYNAMIC_DO_REL): Likewise.
5626         (ELF_DYNAMIC_DO_RELA): Likewise.
5627         (ELF_DYNAMIC_RELOCATE): Likewise.
5628         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5629         to ELF_DYNAMIC_DO_REL.
5630         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5631         (dl_main): In trace mode always set __RTLD_NOIFUNC.
5632         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5633         elf_machine_rela.
5634         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5635         skip_ifunc, don't call ifunc function if non-zero.
5636         (elf_machine_rela): Likewise.
5637         (elf_machine_lazy_rel): Likewise.
5638         (elf_machine_lazy_rela): Likewise.
5639         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5640         (elf_machine_lazy_rel): Likewise.
5641         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5642         Likewise.
5643         (elf_machine_lazy_rel): Likewise.
5644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5645         Likewise.
5646         (elf_machine_lazy_rel): Likewise.
5647         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5648         (elf_machine_lazy_rel): Likewise.
5649         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5650         (elf_machine_lazy_rel): Likewise.
5651         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5652         (elf_machine_lazy_rel): Likewise.
5653         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5654         (elf_machine_lazy_rel): Likewise.
5655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5656         (elf_machine_lazy_rel): Likewise.
5657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5658         (elf_machine_lazy_rel): Likewise.
5659
5660 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
5661
5662         * nss/nss_files/files-init.c (_nss_files_init): Use static
5663         initialization for all the *_traced_file variables.
5664
5665 2011-09-28  Andreas Schwab  <schwab@redhat.com>
5666
5667         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5668
5669 2011-09-27  Roland McGrath  <roland@hack.frob.com>
5670
5671         [BZ #13226]
5672         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5673
5674 2011-09-27  Andreas Schwab  <schwab@redhat.com>
5675
5676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5677         Reread the line before reparsing it.
5678
5679 2011-09-26  Andreas Schwab  <schwab@redhat.com>
5680
5681         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5682
5683 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
5684             Maxim Kuvyrkov  <maxim@codesourcery.com>
5685             Joseph Myers  <joseph@codesourcery.com>
5686
5687         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5688         if needed for __stack_chk_guard.
5689
5690 2011-09-19  Roland McGrath  <roland@hack.frob.com>
5691
5692         * sysdeps/posix/spawni.c (script_execute): Always define it.
5693         It will be optimized away if unused.
5694         (maybe_script_execute): New function.
5695         (__spawni): Call it.
5696
5697         * Makerules: Don't include tls.make.
5698         (config-tls): Always set to thread.
5699         * tls.make.c: File removed.
5700
5701 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
5702
5703         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5704         * config.make.in (CPPFLAGS-config): New substituted variable.
5705
5706 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5707
5708         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5709
5710         [BZ #13192]
5711         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5712         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5713
5714 2011-09-15  Roland McGrath  <roland@hack.frob.com>
5715
5716         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5717         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5718         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5719         (CALL_FAIL): Likewise.
5720         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5721         (CALL_FAIL): Macro removed.
5722         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5723
5724 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5725
5726         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5727         for __FINITE_MATH_ONLY__ == 1.
5728
5729 2011-09-15  Andreas Schwab  <schwab@redhat.com>
5730
5731         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5732         __ieee754_sqrt instead of sqrt.
5733         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5734         __ieee754_sqrtf instead of sqrtf.
5735         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5736         __floorf instead of floorf.
5737         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5738         __floorf, __truncf instead of floorf, truncf.
5739
5740 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
5741
5742         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5743
5744         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5745         __extern_always_inline.
5746         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5747         32-bit.
5748
5749 2011-09-14  Andreas Schwab  <schwab@redhat.com>
5750
5751         * elf/rtld.c (dl_main): Also relocate in dependency order when
5752         doing symbol dependency testing.
5753
5754 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
5755
5756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5757         Always define `refsym'.
5758
5759 2011-09-13  Andreas Schwab  <schwab@redhat.com>
5760
5761         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5762         (__FD_ELT): Renamed from __FDELT.
5763         * misc/bits/select2.h (__FD_ELT): Likewise.
5764         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5765         __FD_MASK instead of __FDELT, __FDMASK.
5766         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5767         Likewise.
5768         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5769         Likewise.
5770
5771         * elf/Makefile (gen-ldd): Fix pattern.
5772
5773         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5774         (init_tls): Likewise.
5775
5776 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
5777
5778         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5779
5780 2011-09-12  Andreas Schwab  <schwab@redhat.com>
5781
5782         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5783         `struct cmsghdr *' instead of `void *'.
5784         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5785         Likewise.
5786
5787 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5788
5789         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5790         if non-absolute.
5791         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5792         ldd_rewrite_script.
5793
5794 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
5795
5796         * configure.in: Remove --with-tls option.
5797         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5798         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5799         out in case it is missing.
5800         * sysdeps/ia64/elf/configure.in: Likewise.
5801         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5802         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5803         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5804         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5805         * sysdeps/sh/elf/configure.in: Likewise.
5806         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5807         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5808         * sysdeps/x86_64/elf/configure.in: Likewise.
5809         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5810         * sysdeps/mach/hurd/tls.h: Likewise.
5811
5812         [BZ #13067]
5813         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5814
5815         [BZ #13090]
5816         * configure.in: Fix use of AC_INIT.
5817
5818         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5819
5820 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
5821
5822         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5823         __set_errno.
5824         * malloc/hooks.c: Likewise.
5825
5826         [BZ #11929]
5827         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
5828         variables statically.
5829         (narenas): Initialize.
5830         (list_lock): Initialize.
5831         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
5832         initializtion of main_arena and list_lock.  Small cleanups.
5833         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5834         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
5835         Add initializers to main_arena and mp_.
5836         (malloc_state): Remove pagesize member.  Change all users to use
5837         GLRO(dl_pagesize).
5838
5839         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5840         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
5841         is always initialized.
5842
5843         * malloc/malloc.c: Removed unused configurations and dead code.
5844         * malloc/arena.c: Likewise.
5845         * malloc/hooks.c: Likewise.
5846         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5847
5848         * include/tls.h: Removed.  USE___THREAD must always be defined.
5849         * bits/libc-tsd.h: Don't handle !USE___THREAD.
5850         * elf/dl-libc.c: Likewise.
5851         * elf/dl-tsd.c: Likewise.
5852         * include/errno.h: Likewise.
5853         * include/netdb.h: Likewise.
5854         * include/resolv.h: Likewise.
5855         * inet/herrno-loc.c: Likewise.
5856         * inet/herrno.c: Likewise.
5857         * malloc/arena.c: Likewise.
5858         * malloc/hooks.c: Likewise.
5859         * malloc/malloc.c: Likewise.
5860         * resolv/res-state.c: Likewise.
5861         * resolv/res_libc.c: Likewise.
5862         * sysdeps/i386/dl-machine.h: Likewise.
5863         * sysdeps/ia64/dl-machine.h: Likewise.
5864         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5865         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5866         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5867         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5868         * sysdeps/sh/dl-machine.h: Likewise.
5869         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5870         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5871         * sysdeps/unix/i386/sysdep.S: Likewise.
5872         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5873         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5874         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5878         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5882         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5883         * sysdeps/x86_64/dl-machine.h: Likewise.
5884         * tls.make.c: Likewise.
5885
5886         * configure.in: Remove --with-__thread option.  Make tests for
5887         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5888         tls_model attribute fail if no support is available.  Remove
5889         USE_IN_LIBIO.
5890         * Makeconfig: Adjust for dropped configure option.  All features are
5891         now mandatory.
5892         * Makerules: Likewise.
5893         * Versions.def: Likewise.
5894         * argp/argp-fmtstream.c: Likewise.
5895         * argp/argp-fmtstream.h: Likewise.
5896         * argp/argp-help.c: Likewise.
5897         * assert/assert.c: Likewise.
5898         * config.h.in: Likewise.
5899         * config.make.in: Likewise.
5900         * configure: Likewise.
5901         * configure.in: Likewise.
5902         * csu/Versions: Likewise.
5903         * csu/init.c: Likewise.
5904         * elf/tst-audit2.c: Likewise.
5905         * elf/tst-tls10.c: Likewise.
5906         * elf/tst-tls10.h: Likewise.
5907         * elf/tst-tls11.c: Likewise.
5908         * elf/tst-tls12.c: Likewise.
5909         * elf/tst-tls14.c: Likewise.
5910         * elf/tst-tlsmod11.c: Likewise.
5911         * elf/tst-tlsmod12.c: Likewise.
5912         * elf/tst-tlsmod13.c: Likewise.
5913         * elf/tst-tlsmod13a.c: Likewise.
5914         * elf/tst-tlsmod14a.c: Likewise.
5915         * elf/tst-tlsmod15b.c: Likewise.
5916         * elf/tst-tlsmod16a.c: Likewise.
5917         * elf/tst-tlsmod16b.c: Likewise.
5918         * elf/tst-tlsmod7.c: Likewise.
5919         * elf/tst-tlsmod8.c: Likewise.
5920         * elf/tst-tlsmod9.c: Likewise.
5921         * gmon/gmon.c: Likewise.
5922         * grp/fgetgrent_r.c: Likewise.
5923         * grp/putgrent.c: Likewise.
5924         * hurd/fopenport.c: Likewise.
5925         * include/libc-symbols.h: Likewise.
5926         * include/tls.h: Likewise.
5927         * intl/gettextP.h: Likewise.
5928         * intl/loadinfo.h: Likewise.
5929         * locale/global-locale.c: Likewise.
5930         * locale/localeinfo.h: Likewise.
5931         * mach/devstream.c: Likewise.
5932         * malloc/arena.c: Likewise.
5933         * malloc/set-freeres.c: Likewise.
5934         * misc/err.c: Likewise.
5935         * misc/getttyent.c: Likewise.
5936         * misc/mntent_r.c: Likewise.
5937         * posix/getopt.c: Likewise.
5938         * posix/wordexp.c: Likewise.
5939         * pwd/fgetpwent_r.c: Likewise.
5940         * resolv/Versions: Likewise.
5941         * resolv/res_hconf.c: Likewise.
5942         * shadow/fgetspent_r.c: Likewise.
5943         * shadow/putspent.c: Likewise.
5944         * stdio-common/printf_fphex.c: Likewise.
5945         * stdio-common/tmpfile.c: Likewise.
5946         * stdlib/abort.c: Likewise.
5947         * stdlib/fmtmsg.c: Likewise.
5948         * sunrpc/auth_unix.c: Likewise.
5949         * sunrpc/clnt_perr.c: Likewise.
5950         * sunrpc/clnt_tcp.c: Likewise.
5951         * sunrpc/clnt_udp.c: Likewise.
5952         * sunrpc/clnt_unix.c: Likewise.
5953         * sunrpc/openchild.c: Likewise.
5954         * sunrpc/svc_simple.c: Likewise.
5955         * sunrpc/svc_tcp.c: Likewise.
5956         * sunrpc/svc_udp.c: Likewise.
5957         * sunrpc/svc_unix.c: Likewise.
5958         * sunrpc/xdr.c: Likewise.
5959         * sunrpc/xdr_array.c: Likewise.
5960         * sunrpc/xdr_rec.c: Likewise.
5961         * sunrpc/xdr_ref.c: Likewise.
5962         * sunrpc/xdr_stdio.c: Likewise.
5963
5964 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
5965
5966         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5967
5968 2011-07-03  Andreas Jaeger  <aj@suse.de>
5969
5970         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5971         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5972         regenerate with gen-libm-tests.pl.
5973
5974 2010-05-12  Petr Baudis  <pasky@suse.cz>
5975
5976         [BZ #11589]
5977         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5978         around j0() zero points by switching to j1().
5979         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5980         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5982         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5983
5984 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
5985
5986         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5987         instead of 0.
5988         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5989         instead of 0.                              .
5990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5991         Patch in part by Pavel Roskin <proski@gnu.org>.
5992
5993         [BZ #13138]
5994         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5995         realloc.
5996         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
5997         Free memory block if necessary.
5998
5999         [BZ #12847]
6000         * libio/genops.c (INTDEF): For string streams the _lock pointer can
6001         be NULL.  Don't lock in this case.
6002
6003 2011-09-09  Roland McGrath  <roland@hack.frob.com>
6004
6005         * elf/elf.h (ELFOSABI_GNU): New macro.
6006         (ELFOSABI_LINUX): Define to that.
6007
6008 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
6009
6010         * string/strncat.c (strncat): Undef the symbol in case it has been
6011         defined in bits/string.h.
6012
6013 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
6014
6015         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6016
6017         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6018         link map.
6019
6020 2011-08-17  Andreas Jaeger  <aj@suse.de>
6021
6022         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6023
6024 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6025             Ian Lance Taylor  <iant@google.com>
6026
6027         * math/libm-test.inc (lround_test): New testcase.
6028         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6029
6030 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
6031
6032         * Makefile: Remove support for automatic cvs check-ins.
6033         * Makerules: Likewise.
6034         * config.make.in: Likewise.
6035         * configure.in: Likewise.
6036         * intl/Makefile: Likewise.
6037         * locale/Makefile: Likewise.
6038         * po/Makefile: Likewise.
6039         * posix/Makefile: Likewise.
6040         * sysdeps/gnu/Makefile: Likewise.
6041         * sysdeps/mach/hurd/Makefile: Likewise.
6042         * sysdeps/sparc/sparc32/Makefile: Likewise.
6043
6044         [BZ #13118]
6045         * posix/Makefile (bug-regex32-ENV): Define.
6046         Patch by John Stanley <jpsinthemix@verizon.net>.
6047
6048         * misc/Makefile (headers): Add bits/select2.h.
6049         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6050         * misc/bits/select2.h: New file.
6051         * include/bits/select2.h: New file.
6052         * debug/Makefile (routines): Add fdelt_chk.
6053         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6054         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6055         FD_ISSET.
6056         * debug/fdelt_chk.c: New file.
6057
6058         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
6059         * wcsmbs/test-wmemcmp.c: Likewise.
6060         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6061         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6062
6063 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6064
6065         * string/Makefile (strop-tests): Add memcmp.
6066         * string/test-wmemcmp.c: New file.
6067         * string/test-memcmp.c: Add wmemcmp support.
6068
6069 2011-09-08  Roland McGrath  <roland@hack.frob.com>
6070
6071         [BZ #13153]
6072         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6073         2011-07-19 change.
6074
6075         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6076         garbage value in a __mach_port_mod_refs call in the cases of the
6077         task-self and thread-self ports.
6078
6079 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6080
6081         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6082
6083 2011-09-08  Andreas Schwab  <schwab@redhat.com>
6084
6085         * elf/dl-load.c (lose): Check for non-null L.
6086
6087 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6088
6089         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6090
6091         * elf/dl-libc.c (dlerror_run): Pass back error code from
6092         dl_catch_error.
6093
6094         [BZ #13123]
6095         * elf/dl-load.c (lose): Free l_origin if it is valid.
6096
6097         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6098         names.
6099         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6100         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6101         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6102         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6103         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6104         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6105
6106 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6107
6108         * sysdeps/powerpc/fpu/e_hypot.c: New file.
6109         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6110         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6111         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6112         * sysdeps/powerpc/fpu/k_cosf.c: New file.
6113         * sysdeps/powerpc/fpu/k_sinf.c: New file.
6114         * sysdeps/powerpc/fpu/s_cosf.c: New file.
6115         * sysdeps/powerpc/fpu/s_sinf.c: New file.
6116         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6117         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6118
6119 2011-08-15  Alan Modra  <amodra@gmail.com>
6120
6121         [BZ #13092]
6122         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6123         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6124         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
6125         ppc_mcount to static-only-routines.
6126         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6127         __mcount_internal.
6128         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6129         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
6130
6131 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
6132
6133         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6134         for finite and infinity parameters.
6135
6136 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6137
6138         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6139         and add nop instructions for throughput optimization.
6140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6141
6142 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
6143
6144         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6145         aligned copy for power7 with vector-scalar instructions.
6146         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6147
6148 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
6149
6150         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6151         AVX check.
6152
6153 2011-09-07  Andreas Schwab  <schwab@redhat.com>
6154
6155         [BZ #13144]
6156         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6157         last change.
6158
6159 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
6160
6161         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6162         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6163         syscall wrapper around clock_gettime in __vdso_clock_gettime.
6164         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6165         clock_gettime.
6166
6167 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6168
6169         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6170         Forgot to demangle the pointer.
6171
6172         * sysdeps/i386/sysdep.h: Define atom_text_section.
6173         * sysdeps/x86_64/sysdep.h: Likewise.
6174         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6175         section with atom_text_section.
6176         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6177         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6178         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6179         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6180         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6181
6182         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6183         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6184         already be defined.  Change to take two parameters and don't assign
6185         result to variable.  Adjust all users.
6186         Define INTERNAL_GETTIME if not already defined.
6187         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6188         call.
6189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6190         HAVE_CLOCK_GETTIME_VSYSCALL.
6191         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6192
6193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6194         gettimeofday vsyscall, just use time.
6195
6196 2011-09-06  Andreas Schwab  <schwab@redhat.com>
6197
6198         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6199         <errno.h>.
6200
6201 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
6202
6203         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6204         syscall on x86-64.
6205         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6206         syscall.
6207         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6208         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6209         syscall if possible.
6210
6211 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6212
6213         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6214         e_ident.  Don't pass to find_mapsXX.
6215         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6216
6217 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6218
6219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6220         strchr-sse2-no-bsf strrchr-sse2-no-bsf
6221         * sysdeps/x86_64/multiarch/strchr.S: Update.
6222         Check bit_slow_BSF bit.
6223         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6224         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6225         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6226
6227 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6228
6229         [BZ #13134]
6230         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6231         before glibc 2.15.
6232         (tryshell): Define.
6233         (__spawni): Change last parameter to be flag.  Test
6234         SPAWN_XFLAGS_USE_PATH flag to use path or not.
6235         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6236         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6237         * posix/spawni.c: Likewise.
6238         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6239         * posix/spawnp.c: Likewise.  Change normal version to use
6240         SPAWN_XFLAGS_USE_PATH.
6241         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6242         SPAWN_XFLAGS_TRY_SHELL.
6243
6244         [BZ #13150]
6245         * posix/glob.h: Remove gcc 1.x support.
6246
6247         [BZ #13068]
6248         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6249
6250 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6251
6252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6253         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6254         strrchr-sse2-bsf
6255         * sysdeps/i386/i686/multiarch/strchr.S: New file.
6256         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6257         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6258         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6259         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6260         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6261
6262 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6263
6264         * sysdeps/x86_64/wcscmp.S: New file.
6265
6266         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6267         wcscmp-c wcscmp-sse2
6268         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6269         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6270         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6271         * wcsmbs/wcscmp.c: Allow renaming.
6272
6273 2011-09-05  David S. Miller  <davem@davemloft.net>
6274
6275         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6276         stack slot, rather than the struct return pointer slot.
6277         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6278         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6280         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6281
6282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
6283
6284         * po/ja.po: Update from translation team.
6285
6286         [BZ #13144]
6287         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6288         kernel in 64-bit binaries.
6289
6290 2011-09-01  David S. Miller  <davem@davemloft.net>
6291
6292         * elf/elf.h (HWCAP_SPARC_*): Move to..
6293         * sysdeps/sparc/sysdep.h: this new file and add new values.
6294         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6295         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6296         _DL_HWCAP_COUNT to 24.
6297         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6298         entries.
6299         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6300         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6301         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6303         instead of magic constants.
6304         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6305
6306 2011-08-31  David S. Miller  <davem@davemloft.net>
6307
6308         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6310         Reimplement to do errno handling inline.
6311         (SYSCALL_ERROR_HANDLER): New macro.
6312         (__SYSCALL_STRING): Do not do errno handling in asm.
6313         (__CLONE_SYSCALL_STRING): Delete.
6314         (__INTERNAL_SYSCALL_STRING): Delete.
6315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6316         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6317         (PSEUDO): Reimplement to do errno handling inline.
6318         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6319         (SYSCALL_ERROR_HANDLER): New macro.
6320         (__SYSCALL_STRING): Do not do errno handling in asm.
6321         (__CLONE_SYSCALL_STRING): Delete.
6322         (__INTERNAL_SYSCALL_STRING): Delete.
6323         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6324         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6325         i386.
6326         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6327         (inline_syscall*): Add 'err' argument.
6328         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6329         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6330         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6331         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6332
6333         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6334         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6335
6336 2011-08-30  Andreas Schwab  <schwab@redhat.com>
6337
6338         * elf/rtld.c (dl_main): Relocate objects in dependency order.
6339
6340 2011-08-29  Jiri Olsa <jolsa@redhat.com>
6341
6342         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6343         directive.
6344
6345 2011-08-24  David S. Miller  <davem@davemloft.net>
6346
6347         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6348
6349 2011-08-24  Andreas Schwab  <schwab@redhat.com>
6350
6351         * elf/Makefile: Add rules to build and run unload8 test.
6352         * elf/unload8.c: New file.
6353         * elf/unload8mod1.c: New file.
6354         * elf/unload8mod1x.c: New file.
6355         * elf/unload8mod2.c: New file.
6356         * elf/unload8mod3.c: New file.
6357
6358         * elf/dl-close.c (_dl_close_worker): Reset private search list if
6359         it wasn't used.
6360
6361 2011-08-23  David S. Miller  <davem@davemloft.net>
6362
6363         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6364         subtract stack bias.
6365         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6366         %sp not %fp in calculations.
6367         (_JMPBUF_UNWINDS_ADJ): Likewise.
6368
6369         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6370         (aio_suspend): Call it to force an exception region around the
6371         AIO_MISC_WAIT() invocation.
6372
6373 2011-08-23  Andreas Schwab  <schwab@redhat.com>
6374
6375         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6376         backslash.
6377
6378 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
6379
6380         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6381         protection macro.
6382         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6383         and <dl-machine.h>.
6384         (Elf64_FuncDesc): Remove.
6385
6386 2011-08-22  David S. Miller  <davem@davemloft.net>
6387
6388         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6389         sigaltstack check, add missing cfi directives.
6390         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6391         missing cfi directives, and sigaltstack handling.
6392
6393 2011-08-16  Andreas Schwab  <schwab@redhat.com>
6394
6395         [BZ #11724]
6396         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6397         object is seen twice.
6398         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6399
6400         * elf/Makefile (distribute): Add tst-initorder2.c.
6401         (tests): Add tst-initorder2.
6402         (modules-names): Add tst-initorder2a tst-initorder2b
6403         tst-initorder2c tst-initorder2d.  Add rules to build them.
6404         ($(objpfx)tst-initorder2.out): New rule.
6405         * elf/tst-initorder2.c: New file.
6406         * elf/tst-initorder2.exp: New file.
6407
6408 2011-08-22  Andreas Schwab  <schwab@redhat.com>
6409
6410         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6411
6412         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6413         dependencies back to end of function.
6414
6415         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6416         $(elfobjdir)/ld.so.
6417
6418 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
6419
6420         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6421         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6422         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6423         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6424         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6425         of __vdso_gettimeofday.
6426         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6427         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
6428         attribute_hidden.
6429         (_libc_vdso_platform_setup): Remove initialization of
6430         __vdso_gettimeofday and __vdso_time.
6431
6432 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6433
6434         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6435         and fgetc_unlocked.
6436         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6437         getc_unlocked.
6438
6439         * elf/dl-open.c (add_to_global): Report additions to the global scope
6440         for LD_DEBUG=scopes.
6441         (dl_open_worker): Also print scope of newly loaded dependencies.
6442         (_dl_show_scope): Indicate if there is no scope.
6443
6444         [BZ #13114]
6445         * stdio-common/Makefile (tests): Add bug24.
6446         * stdio-common/bug24.c: New file.
6447
6448 2011-08-19  Andreas Jaeger  <aj@suse.de>
6449
6450         [BZ #13114]
6451         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6452         non-existant file when using close-on-exec mode.
6453
6454 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
6455
6456         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6457         the very first instruction.
6458
6459         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6460         the CFI state in the end.
6461         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6462         inclusion of dl-trampoline.h.
6463         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6464
6465 2011-08-19  Andreas Schwab  <schwab@redhat.com>
6466
6467         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6468         expectations for long double.
6469
6470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6471         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6472
6473 2011-08-14  David S. Miller  <davem@davemloft.net>
6474
6475         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6476         artificual limit depends upon the system page size.
6477
6478 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6479
6480         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6481         * resolv/Makefile: Define CFLAGS-libresolv.
6482
6483 2011-08-17  Andreas Schwab  <schwab@redhat.com>
6484
6485         * nss/makedb.c (compute_tables): Make variables used in nested
6486         function static.
6487
6488 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
6489
6490         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6491         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6492         if buffer was too small.
6493
6494         * elf/pldd.c (main): Attach to all threads in the process.
6495         Rewrite /proc handling to use *at functions.
6496
6497 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
6498
6499         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6500         specifies first scope to show.
6501         (dl_open_worker): Update callers.  Move printing scope of new
6502         object to before the relocation.
6503         * elf/rtld.c (dl_main): Update _dl_show_scope call.
6504         * sysdeps/generic/ldsodefs.h: Update declaration.
6505
6506         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6507         string for the scope number.
6508
6509 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
6510
6511         * nscd/servicescache.c (cache_addserv): Make sure written is always
6512         initialized.
6513
6514 2011-08-14  Roland McGrath  <roland@hack.frob.com>
6515
6516         * sysdeps/i386/i486/bits/atomic.h
6517         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6518         statement expression, so as to suppress "set but not used" warning.
6519         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6520
6521         * string/strncat.c (STRNCAT): Use prototype definition.
6522
6523         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6524         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6525         -Iprograms here.
6526         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6527         (localedef-modules): Add localedef.
6528         (locale-modules): Add locale.
6529
6530         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6531         * elf/rtld.c (dl_main): Invert order of assignment in last change,
6532         to avoid a warning.
6533
6534 2011-08-14  David S. Miller  <davem@davemloft.net>
6535
6536         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6537         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6538
6539 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
6540
6541         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6542         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6543         * elf/rtld.c (dl_main): Set l_name of vDSO.
6544         Call _dl_show_scope when DL_DEBUG_SCOPES.
6545         (process_dl_debug): Recognize scopes flag and also set it for all.
6546         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6547         Declare _dl_show_scope.
6548
6549         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6550         (do_dlopen): Pass caller_dlopen to dl_open.
6551         (__libc_dlopen_mode): Initialize caller_dlopen.
6552
6553         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6554         of libc.  Make tolower call locale-independent.  Optimize a bit by
6555         using isdigit instead of isalnum.
6556         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6557
6558 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
6559
6560         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6561         was a dependency or dynamically loaded.
6562
6563 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
6564
6565         * intl/l10nflist.c: Allow architecture-specific pop function.
6566         * sysdeps/x86_64/l10nflist.c: New file.
6567
6568         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6569         classification.
6570
6571 2011-08-10  Andreas Schwab  <schwab@redhat.com>
6572
6573         * include/dirent.h: Add libc_hidden_proto for scandirat and
6574         scandirat64.  Don't declare __scandirat64.
6575         * dirent/scandirat.c: Add libc_hidden_def.
6576         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6577         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6578
6579 2011-08-10  David S. Miller  <davem@davemloft.net>
6580
6581         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6582         enum.
6583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6584         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6586
6587 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
6588
6589         * Versions.def [libc]: Add GLIBC_2.15.
6590         * dirent/Makefile (routines): Add scandirat and scandirat64.
6591         * dirent/Versions [libc]: Export scandirat and scandirat64 for
6592         GLIBC_2.15.
6593         * dirent/dirent.h: Declare scandirat and scandirat64.
6594         * dirent/scandirat.c: New file.
6595         * dirent/scandirat64.c: New file.
6596         * sysdeps/wordsize-64/scandirat.c: New file.
6597         * sysdeps/wordsize-64/scandirat64.c: New file.
6598         * dirent/opendir.c: Define opendirat.
6599         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
6600         using scandirat.
6601         * dirent/scandir64.c: Adjust for scandir.c change.
6602         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
6603         __scandirat64, and __scandir_cancel_handler.
6604         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
6605         additional parameter and use openat instead of open (outside of ld.so).
6606         Add new __opendir as wrapper around __opendirat.
6607         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6608         here without requiring old scandirat implementation.
6609
6610 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
6611
6612         * dirent/scandir.c (cancel_handler): Renamed to
6613         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
6614         defined.  Adjust users.
6615         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6616         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6617
6618 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
6619
6620         * string/test-string.h (IMPL): Use __STRING to expand name and then
6621         stringify it.
6622
6623         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
6624         of cleanups.
6625
6626 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6627
6628         * string/Makefile: Update.
6629         (strop-tests): Append strncat.
6630         * string/test-wcscmp.c: New file.
6631         New comprehensive test for wcscmp.
6632         * string/test-strcmp.c: Update.
6633         (WIDE): New define.
6634
6635 2011-07-22  Andreas Schwab  <schwab@redhat.com>
6636
6637         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6638         line.
6639
6640 2011-07-26  Andreas Schwab  <schwab@redhat.com>
6641
6642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6643         encoding to ACE if AI_IDN.
6644
6645 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
6646
6647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6648         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6649
6650 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6651
6652         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6653         Fix overflow bug in strncat.
6654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6655
6656         * string/test-strncat.c: Update.
6657         Add new tests for checking overflow bugs.
6658
6659 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6660
6661         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6662         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6663         * sysdeps/i386/i686/multiarch/strcat.S: New file.
6664         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6665         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6666         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6667         * sysdeps/i386/i686/multiarch/strncat.S: New file.
6668         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6669         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6670
6671         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6672         (USE_AS_STRCAT): Define.
6673         Add strcat and strncat support.
6674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6675
6676 2011-07-25  Andreas Schwab  <schwab@redhat.com>
6677
6678         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6679         __n bigger than INT_MAX+1.
6680         (__strncmp_g): Likewise.
6681
6682 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
6683
6684         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6685         * libio/stido.h: Likewise.
6686
6687         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6688         (AF_NFC): Define.
6689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6690         (AF_NFC): Define.
6691
6692         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6693         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6694         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6695         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6697
6698         [BZ #13021]
6699         * scripts/test-installation.pl: Don't expect libnss_test1 to be
6700         installed.
6701
6702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6703         typo.
6704         (_dl_x86_64_save_sse): Likewise.
6705
6706 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
6707
6708         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6709         OSXSAVE.
6710         (_dl_x86_64_save_sse): Likewise.
6711
6712         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6713
6714         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6715
6716 2011-07-21  Andreas Schwab  <schwab@redhat.com>
6717
6718         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6719         change.
6720         (_dl_x86_64_save_sse): Use correct AVX check.
6721
6722 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6723
6724         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6725         bug in strncpy/strncat.
6726         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6727
6728 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
6729
6730         * string/tester.c (test_strcat): Add tests for different alignments
6731         of source and destination.
6732         (test_strncat): Likewise.
6733
6734 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6735
6736         [BZ #12852]
6737         * posix/glob.c (glob): Check passed in values before using them in
6738         expressions to avoid some overflows.
6739         (glob_in_dir): Likewise.
6740
6741         [BZ #13007]
6742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6743         check for AVX enablement so that we don't crash with old kernels and
6744         new hardware.
6745         * elf/tst-audit4.c: Add same checks here.
6746         * elf/tst-audit6.c: Likewise.
6747
6748         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6749
6750 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
6751
6752         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6753
6754 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6755
6756         * po/cs.po: Update from translation team.
6757         * po/bg.po: Likewise.
6758
6759 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
6760
6761         * misc/sys/cdefs.h: Add support for const attribute.
6762         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6763         to gnu_dev_{major,minor,makedev} functions.
6764
6765 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
6766
6767         * intl/dcigettext.c (get_output_charset): Add missing bracket.
6768
6769 2011-07-20  Andreas Schwab  <schwab@redhat.com>
6770
6771         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6772         strlen results.
6773
6774 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6775
6776         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6777         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6778         register in order to avoid conflicts with the soft frame pointer
6779         being held in r11 when necessary.
6780         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6781         (INTERNAL_VSYSCALL_NCS): Likewise.
6782
6783 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
6784
6785         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6786         * elf/dl-fini.c (_dl_fini): Adjust caller.
6787         * elf/dl-close.c (_dl_close_worker): Likewise.
6788         * sysdeps/generic/ldsodefs.h: Adjust declaration.
6789
6790 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
6791
6792         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6793         "aux_cache->nlibs < 0".
6794
6795         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6796         in the reload-count case.
6797
6798 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6799
6800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6801         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6802         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6803         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6804         * sysdeps/x86_64/multiarch/strcat.S: New file.
6805         * sysdeps/x86_64/multiarch/strncat.S: New file.
6806         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6807         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6808         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6809         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6810         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6811         (USE_AS_STRCAT): Define.
6812         Add strcat and strncat support.
6813         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6814         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6815         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6816         * string/strncat.c: Update.
6817         (USE_AS_STRNCAT): Define.
6818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6819         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6820         and i7.
6821         * sysdeps/x86_64/multiarch/init-arch.h
6822         (bit_Prefer_PMINUB_for_stringop): New.
6823         (index_Prefer_PMINUB_for_stringop): Likewise.
6824         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6825         bit_Prefer_PMINUB_for_stringop.
6826
6827 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
6828
6829         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6830         buffer64.
6831         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6832         of casting of buffer.
6833         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6834         buffer32 and buffer64.
6835         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6836         writes instead of casting of buffer.
6837         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6838         buffer32.
6839         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6840         casting of buffer.
6841
6842 2011-07-19  Andreas Schwab  <schwab@redhat.com>
6843
6844         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6845
6846 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
6847
6848         * nscd/nscd.c (termination_handler): Don't do anything for a database
6849         if it has not yet been initialized.
6850
6851 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
6852
6853         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6854
6855 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
6856
6857         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6858
6859 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
6860
6861         * po/nl.po: Update from translation team.
6862         * po/sv.po: Likewise.
6863
6864 2011-07-16  Roland McGrath  <roland@hack.frob.com>
6865
6866         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6867         now disallowed by GCC.
6868
6869         * configure.in (use-default-link): Default to yes if a test -shared
6870         link meets our qualifications.
6871         * configure: Regenerated.
6872
6873         * config.make.in (output-format): New variable.
6874         * configure.in: Check for ld --print-output-format support.
6875         * configure: Regenerated.
6876         * Makerules ($(common-objpfx)format.lds)
6877         [$(output-format) != unknown]: Just use $(output-format),
6878         instead of the linker-script munging.
6879
6880 2011-07-14  Roland McGrath  <roland@hack.frob.com>
6881
6882         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6883         of $(common-objpfx)shlib.lds.
6884         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6885
6886         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6887         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6888
6889         * configure.in (-z relro check): Adjust test code to add a large
6890         writable data section after it.
6891         * configure: Regenerated.
6892
6893 2011-07-11  Roland McGrath  <roland@hack.frob.com>
6894
6895         * configure.in (-z relro check): Fix test code to make the variable
6896         truly const.
6897         * configure: Regenerated.
6898
6899 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
6900
6901         * nscd/nscd.h (struct traced_file): Define.
6902         (struct database_dyn): Remove inotify_descr, reset_res, and filename
6903         elements.  Add traced_files.
6904         (inotify_fd): Declare.
6905         (register_traced_file): Declare.
6906         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6907         (inotify_fd): Export.
6908         (resolv_conf_descr): Remove.
6909         (nscd_init): Move inotify descriptor creation to main.
6910         Don't register files for notification here.
6911         (register_traced_file): New function.
6912         (invalidate_cache): Don't use reset_res to determine whether to call
6913         res_init, go through the list of registered files.
6914         (main_loop_poll): The inotify descriptors are now stored in the
6915         structures for the traced files.
6916         (main_loop_epoll): Likewise
6917         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
6918         to __nss_disable_nscd.
6919         * nscd/cache.c (prune_cache): There is no single inotify descriptor
6920         for a database anymore.  Check the records for all the registered
6921         files instead.
6922         * nss/Makefile (libnss_files-routines): Add files-init.
6923         (libnss_db-routines): Add db-init.
6924         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6925         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6926         * nss/nss_db/db-init.c: New file.
6927         * nss/nss_files/files-init.c: New file.
6928         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
6929         __nss_lookup_function.
6930         (__nss_lookup_function): Call nss_load_library.
6931         (nss_load_all_libraries): New function.
6932         (__nss_disable_nscd): Take parameter with callback function for files
6933         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
6934         used for the cached services.
6935         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6936         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6937         options for features to all the files in nscd.
6938
6939         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6940
6941 2011-07-10  Roland McGrath  <roland@hack.frob.com>
6942
6943         * csu/elf-init.c (__libc_csu_init): Comment typo.
6944
6945 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
6946
6947         * po/pl.po: Update from translation team.
6948         * po/ja.po: Likewise.
6949         * po/ru.po: Likewise.
6950         * po/ko.po: Likewise.
6951         * po/fr.po: Likewise.
6952
6953 2011-07-09  Roland McGrath  <roland@hack.frob.com>
6954
6955         * configure.in (.ctors/.dtors header and trailer check):
6956         Use an empirical test on a built program.
6957         * configure: Regenerated.
6958
6959         * configure.in (-z relro check): Use an empirical test on a built DSO.
6960         Detect, but do not require, on ia64.
6961         * configure: Regenerated.
6962
6963         * configure.in (READELF): Find it with AC_CHECK_TOOL.
6964         Update tests that use readelf to use $READELF instead.
6965         * configure: Regenerated.
6966
6967 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
6968
6969         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6970         if the result is not used.
6971
6972 2011-07-05  Andreas Jaeger  <aj@suse.de>
6973
6974         [BZ#9696]
6975         * stdlib/tst-strtod.c: Add testcase.
6976
6977 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
6978
6979         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6980         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6981         The latter has a higher limit.  Take additional parameter to pass to
6982         the new function.
6983         (__pathconf): Pass file to __statfs_link_max.
6984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6985         __statfs_link_max.
6986         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6987         __statfs_link_max.
6988
6989         [BZ #12868]
6990         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6991         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6992         Handle Lustre.
6993         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6994         (__statfs_filesize_max): Likewise.
6995         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6996
6997 2011-07-05  Andreas Jaeger  <aj@suse.de>
6998
6999         * resolv/res_comp.c (dn_skipname): Remove unused variable.
7000
7001 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
7002
7003         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7004         `status' variable.
7005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7006         Likewise.
7007
7008 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7009
7010         * Makefile (strop-tests): Add strncat.
7011         * string/test-strncat.c: New file.
7012
7013 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
7014
7015         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7016
7017 2011-06-21  Andreas Jaeger  <aj@suse.de>
7018
7019         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7020         Copy rule from iconvdata/Makefile.
7021
7022 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7023
7024         [BZ #12922]
7025         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7026         but no long options are defined, just return 'W'.
7027
7028 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
7029
7030         [BZ #9696]
7031         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7032
7033 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
7034
7035         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7036         netgroups to read.
7037         (innetgr): Likewise.
7038
7039 2011-07-05  Roland McGrath  <roland@hack.frob.com>
7040
7041         * config.make.in (install_root): Default to $(DESTDIR).
7042
7043 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
7044
7045         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7046
7047 2011-07-02  Roland McGrath  <roland@hack.frob.com>
7048
7049         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7050
7051         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7052         containing directory rather than embedding absolute directory names.
7053
7054         * scripts/check-local-headers.sh: Rewritten using awk.
7055         Match by word, not by line.  Print error messages for matches.
7056         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7057
7058         * Makerules [shlib-lds-flags empty]:
7059         ($(common-objpfx)libc_pic.opts): New target.
7060         ($(common-objpfx)libc_pic.os.clean): New target.
7061         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7062
7063         * config.make.in (OBJCOPY): New variable.
7064         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7065         * configure: Regenerated.
7066
7067         * config.make.in (use-default-link): New variable.
7068         * configure.in (use_default_link): Grok --with-default-link to set it.
7069         * configure: Regenerated.
7070         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7071         (shlib-lds, shlib-lds-flags): Define to empty.
7072
7073         * Makerules (shlib-lds): New variable.
7074         (shlib-lds-flags): New variable.
7075         (build-shlib, build-moduile, build-module-asneeded): Use it.
7076         ($(common-objpfx)libc.so): Use $(shlib-lds).
7077         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7078         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7079
7080         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7081         DT_FLAGS/DT_FLAGS_1 with zero flags.
7082
7083         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7084         linker script munging.
7085
7086 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
7087
7088         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7089         as 128-bit value.
7090         * crypt/sha512.c (sha512_process_block): Perform total addition using
7091         128-bit if possible.
7092         (__sha512_finish_ctx): Likewise.
7093         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7094         as 64-bit value.
7095         * crypt/sha256.c (SWAP64): Define.
7096         (sha256_process_block): Perform total addition using 64-bit if
7097         possible.
7098         (__sha256_finish_ctx): Likewise.
7099
7100 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
7101
7102         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
7103         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7104         * nscd/hstcache.c (cache_addhst): Likewise.
7105         * nscd/grpcache.c (cache_addgr): Likewise.
7106         * nscd/aicache.c (addhstaiX): Likewise
7107         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7108
7109 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
7110
7111         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7112         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7113         * nscd/hstcache.c (cache_addhst): Likewise.
7114         * nscd/grpcache.c (cache_addgr): Likewise.
7115         * nscd/aicache.c (addhstaiX): Likewise
7116
7117 2011-07-01  Andreas Schwab  <schwab@redhat.com>
7118
7119         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7120         domain only when needed.
7121
7122 2011-06-30  Andreas Schwab  <schwab@redhat.com>
7123
7124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7125         is always restored.
7126
7127 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
7128
7129         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7130         are re-adding the entry.
7131         * nscd/servicescache.c (cache_addserv): Likewise.
7132
7133 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7134
7135         * sysdeps/generic/dl-irel.h: fix protection against multiple
7136         inclusions.
7137         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7138
7139 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
7140
7141         [BZ #12935]
7142         * malloc/memusage.sh: Fix quoting in message.
7143         * debug/xtrace.sh: Likewise.
7144
7145         * configure.in: Remove support for --experimental-malloc option, make
7146         it the default.
7147         * config.make.in: Likewise.
7148         * malloc/Makefile: Likewise.
7149
7150 2011-06-27  Andreas Schwab  <schwab@redhat.com>
7151
7152         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7153         two-byte characters.
7154
7155 2011-06-27  Roland McGrath  <roland@hack.frob.com>
7156
7157         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7158         AC_CACHE_CHECK invocation.
7159         * configure: Regenerated.
7160
7161         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7162
7163 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
7164
7165         [BZ #12350]
7166         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
7167         bit from old_res_options.
7168
7169         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7170
7171         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7172         value type for setfct.
7173
7174 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
7175
7176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7177         __gettimeofday instead of gettimeofday.
7178
7179 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
7180
7181         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7182
7183 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7184
7185         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7186
7187         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7188         info.
7189
7190 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7191
7192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7193         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7194         strcpy-sse2-unaligned strncpy-sse2-unaligned
7195         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7196         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7197         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7198         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7199         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7200         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7201         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7202         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7203         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7204         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7205         (STRCPY): Support SSE2 and SSSE3 versions.
7206
7207 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
7208
7209         [BZ #12874]
7210         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7211         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7212         kernels which artificially limit size of requests.
7213
7214 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
7215
7216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7217         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7218         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7219         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7220         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7221         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7222         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7223         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7224         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7225         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7226         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7227         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7228         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7229         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7230         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7232         Enable unaligned load optimization for Intel Core i3, i5 and i7
7233         processors.
7234         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7235         Define.
7236         (index_Fast_Unaligned_Load): Define.
7237         (HAS_FAST_UNALIGNED_LOAD): Define.
7238
7239 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7240
7241         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7242
7243 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7244
7245         [BZ #12907]
7246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7247         until it is clear that the information is realy needed.
7248         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7249
7250 2011-06-22  Andreas Schwab  <schwab@redhat.com>
7251
7252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7253
7254 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
7255
7256         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7257         /sys/devices/system/cpu/online if it is usable.
7258
7259         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7260         reading the information from the /proc filesystem to once a second.
7261
7262 2011-06-21  Andreas Jaeger  <aj@suse.de>
7263
7264         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7265         NULL after inclusion of kernel headers.
7266
7267 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
7268
7269         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7270         calls to internal_setent.
7271
7272         [BZ #12885]
7273         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7274         addresses using gethostbyname4_r ignore IPv4 addresses.
7275
7276         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7277         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
7278
7279         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7280
7281 2011-06-20  David S. Miller  <davem@davemloft.net>
7282
7283         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7284         inclusions.
7285         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7286
7287         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7288         (elf_irel): Use it.
7289         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7290         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7291         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7292         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7293         * sysdeps/x86_64/dl-irel.h: Likewise.
7294
7295         * elf/dl-runtime.c: Use elf_ifunc_invoke.
7296         * elf/dl-sym.c: Likewise.
7297
7298 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7299
7300         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
7301         need to dereference resplen2.
7302
7303 2011-06-14  Andreas Schwab  <schwab@redhat.com>
7304
7305         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7306
7307 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
7308
7309         * Makeconfig: Define vardbdir and inst_vardbdir.
7310         * nss/Makefile: Add rules to install db-Makefile.
7311
7312         * nss/nss_db/db-XXX.c: Cleanup.
7313
7314         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7315         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7316         GLIBC_PRIVATE.
7317         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7318         * nss/makedb.c: Implement -g option to specify that value strings
7319         are generated and should not be added to table iterated over for
7320         get*ent calls.
7321         * nss/nss_db/db-initgroups.c: New file.
7322
7323         * nss/getent.c: Add support for initgroups lookups through getgrouplist
7324         interface.
7325
7326         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7327         (internal_getgrouplist): Adjust to name change.
7328         Update use_initgroups_entry if this is not the first call.
7329         * nss/databases.def: Add initgroups entry.
7330
7331         * nss/makedb.c (compute_tables): Check result of multiple hash table
7332         sizes to minimize maximum chain length.
7333
7334 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
7335
7336         * Versions.def: Add entry for libnss_db.
7337         * shlib-versions: Likewise.
7338         * nss/Makefile: Add rules to build libnss_db.
7339         * nss/Versions: Add libnss_db information.  Organize libnss_files
7340         entries better.
7341         * nss/db-Makefile: Add gshadow support.  Change rules for the new
7342         makedb progra.  Some minor improvements to generate smaller files.
7343         * nss/nss_db/nss_db.h: Move NSS database header data structures to
7344         here from...
7345         * nss/makedb.c: ...here.
7346         Improve database format to be smaller and require less memory at
7347         runtime.
7348         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
7349         db anymore.
7350         * nss/nss_db/db-netgrp.c: Likewise.
7351         * nss/nss_db/db-open.c: Likewise.
7352         * nss/nss_files/flies-XXX.x: Adjust comments.
7353         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7354         * nss/nss_files/files-grp.c: Likewise.
7355         * nss/nss_files/files-hosts.c: Likewise.
7356         * nss/nss_files/files-network.c: Likewise.
7357         * nss/nss_files/files-proto.c: Likewise.
7358         * nss/nss_files/files-pwd.c: Likewise.
7359         * nss/nss_files/files-rpc.c: Likewise.
7360         * nss/nss_files/files-service.c: Likewise.
7361         * nss/nss_files/files-sgrp.c: Likewise.
7362         * nss/nss_files/files-spwd.c: Likewise.
7363         * nss/nss_db/db-alias.c: Removed.
7364         * nss/nss_db/dummy-db.h: Removed.
7365
7366 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
7367
7368         * nss/makedb.c: Rewritten to not use database library.
7369         * nss/Makefile: Update to build new makedb program.
7370
7371 2011-06-14  Andreas Jaeger  <aj@suse.de>
7372
7373         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7374         memset declaration.
7375
7376 2011-06-10  Andreas Schwab  <schwab@redhat.com>
7377
7378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7379         tmpbuf.
7380
7381 2011-06-10  Roland McGrath  <roland@hack.frob.com>
7382
7383         * Makerules (shlib.lds): Fail if the linker script comes out empty.
7384         * elf/Makefile ($(objpfx)ld.so): Likewise.
7385
7386         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7387         Don't list ld.so twice in dependencies.
7388
7389         * posix/bug-regex31.c: Include <stdlib.h>.
7390
7391         * nscd/hstcache.c (cache_addhst): Remove unused variable.
7392
7393         * nis/nss_compat/compat-spwd.c
7394         (getspent_next_nss_netgr): Remove unused variable.
7395         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7396
7397         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7398         nonmembers" output to use the right array.
7399
7400         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7401
7402         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7403
7404         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7405         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7406         * catgets/gencat.c (read_input_file): Likewise.
7407         * locale/programs/locarchive.c (enlarge_archive): Likewise.
7408
7409         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7410         variable definition inside #if's controlling its use.
7411
7412         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7413
7414         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7415
7416         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7417
7418         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7419         unreachable code.
7420
7421         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7422
7423         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7424         * configure: Regenerated.
7425
7426         * Makerules: Revert last change.
7427         * elf/Makefile: Likewise.
7428
7429 2011-06-09  Roland McGrath  <roland@hack.frob.com>
7430
7431         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7432         * elf/Makefile ($(objpfx)librtld.os): Likewise.
7433         (reloc-link): Likewise.
7434
7435 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
7436
7437         * elf/Makefile: Add rules to build pldd.
7438         * elf/pldd.c: New file.
7439         * elf/pldd-xx.c: New file.
7440
7441 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
7442
7443         * version.h: Update for 2.15 development version.
7444
7445 2011-06-07  David S. Miller  <davem@davemloft.net>
7446
7447         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7448         ifuncs.
7449         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7450         elf_machine_lazy_rel): Likewise.
7451         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7453         elf_machine_lazy_rel): Likewise.
7454         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7455         dl_hwcap via passed in argument.
7456         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7457         Likewise.
7458
7459 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7460
7461         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
7462
7463 2011-06-06  Roland McGrath  <roland@hack.frob.com>
7464
7465         [BZ #12849]
7466         * manual/fdl-1.1.texi: New file, verbatim from:
7467         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7468         * manual/lgpl-2.1.texi: New file, verbatim from:
7469         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7470         * manual/Makefile (licenses): New variable, list those new file names.
7471         (texis): Use it.
7472         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7473
7474         * manual/fdl.texi: File removed.
7475         * manual/lesser.texi: File removed.
7476         * manual/libc.texinfo (Copying, Documentation License):
7477         Use new @include file names, put @appendix directive before @include.
7478
7479 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
7480
7481         [BZ #12841]
7482         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7483         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7484         (mq_open): Add __NTH.
7485
7486 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
7487
7488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7489         Assume Intel Core i3/i5/i7 processor if AVX is available.
7490
7491 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7492
7493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7494         typo.
7495
7496 2011-05-31  Andreas Schwab  <schwab@redhat.com>
7497
7498         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7499         memory.  Use alloca_account.  Fix memory leak when retrying.
7500
7501 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
7502
7503         * version.h (RELEASE): Bump for 2.14 release.
7504         * include/features.h (__GLIBC_MINOR__): Bump to 14.
7505
7506         * config.make.in (RANLIB): Remove entry.
7507
7508 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
7509
7510         * po/Makefile (po-sed-cmd): Add ksh to extensions.
7511         (libc.pot): Work around missing support for .ksh extension in xgettext.
7512
7513         [BZ #12684]
7514         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7515         if both request failed.
7516         (send_dg): In case of server errors clear resplen or *resplen2.
7517
7518         [BZ #12454]
7519         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7520         when there are multiple maps.
7521         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7522         (_dl_fini): Remove test here.
7523
7524         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7525
7526 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
7527
7528         [BZ #12350]
7529         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7530         bit from old_res_options.
7531         (gaih_inet): Likewise.
7532
7533         [BZ #11099]
7534         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7535         as signed.
7536
7537         * resolv/res_init.c (res_setoptions): Make the code more compact.
7538
7539         [BZ #11558]
7540         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7541         set RES_USEVC.
7542
7543         [BZ #11634]
7544         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7545
7546         * malloc/malloc.h: Mark malloc hook variables as deprecated.
7547
7548         [BZ #11781]
7549         * malloc/malloc.h: Declare malloc hook variables as volatile.
7550
7551         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7552         in last patch.
7553
7554         [BZ #11799]
7555         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7556         raise in the comment.
7557         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7558         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7559         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7560
7561 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
7562
7563         [BZ #12811]
7564         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7565         grow the buffers more if it already has to be sufficient.
7566         (build_wcs_upper_buffer): Likewise.
7567         * posix/regexec.c (check_matching): Likewise.
7568         (clean_state_log_if_needed): Likewise.
7569         (extend_buffers): Don't enlarge buffers beyond size of the input
7570         buffer.
7571         Patches mostly by Emil Wojak <emil@wojak.eu>.
7572         * posix/bug-regex32.c: New file.
7573         * posix/Makefile (tests): Add bug-regex32.
7574
7575         * locale/findlocale.c (_nl_find_locale): Return right away if
7576         _nl_explode_name failed.
7577         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7578
7579         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7580
7581         * debug/xtrace.sh: Unify messages.
7582         * malloc/memusage.sh: Likewise.
7583
7584         [BZ #12813]
7585         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7586         time symbol from vDSO.  Substitute with vsyscall if not available.
7587         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7588         __vdso_time.
7589
7590         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7591         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7592         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7593         Add sendmmsg and internal_sendmmsg.
7594         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7595         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7596         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7597
7598         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7599         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7600         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7601
7602 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
7603
7604         [BZ #12813]
7605         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7606         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
7607         available.
7608         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7609         __vdso_getcpu.
7610
7611         [BZ #12814]
7612         * iconvdata/Makefile (tests): Add bug-iconv9.
7613         * iconvdata/bug-iconv9.c: New file.
7614
7615 2011-05-27  Andreas Schwab  <schwab@redhat.com>
7616
7617         [BZ #12814]
7618         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7619
7620 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
7621
7622         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7623         (struct user_regs_struct): Change intcs field back to cs.
7624
7625 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
7626
7627         * po/ja.po: Update from translation team.
7628
7629 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
7630
7631         [BZ #12795]
7632         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7633         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7634
7635 2011-05-20  Andreas Schwab  <schwab@redhat.com>
7636
7637         * stdlib/longlong.h: Update from GCC.
7638
7639 2011-05-23  Andreas Schwab  <schwab@redhat.com>
7640
7641         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7642         parameter name.
7643         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7644         Add parameter name.
7645         (__sysconf): Pass it down.
7646
7647 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
7648
7649         [BZ #12671]
7650         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7651         some situations.
7652         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7653         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7654         add in in __libc_use_alloca calls.  Adjust callers.
7655         (glob): Use malloc in some situations.
7656
7657         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7658         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7659         pltexit.
7660
7661 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
7662
7663         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7664         and CLOCK_BOOTTIME_ALARM.
7665
7666         [BZ #12782]
7667         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7668         is returned.
7669
7670         * string/_strerror.c (__strerror_r): Print negative errors as signed
7671         numbers.
7672
7673         [BZ #12777]
7674         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7675         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7676         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7677
7678         * configure.in: Fix typo in redirection and correct removal of test
7679         files in two cases.
7680
7681         [BZ #12788]
7682         * locale/setlocale.c (new_composite_name): Fix test to check for
7683         identical name of all categories.
7684
7685         [BZ #12792]
7686         * libio/filedoalloc.c (local_isatty): New function.
7687         (_IO_file_doallocate): Use local_isatty.
7688         * stdio-common/perror.c (perror): In case a new stream is used
7689         forward the stream error.
7690         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7691         error flag.
7692
7693 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
7694
7695         [BZ #11869]
7696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7697         alloca.
7698         * include/alloca.h (extend_alloca_account): Define.
7699
7700         [BZ #11857]
7701         * posix/regex.h: Fix comments with documentation of user-accessible
7702         fields after compilation and describe correct free'ing of pattern
7703         after re_compile_pattern.
7704         Patch by Reuben Thomas <rrt@sc3d.org>.
7705
7706 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
7707
7708         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7709         and -mno-altivec to prevent the compiler from using Altivec and/or
7710         VSX instructions when the corresponding registers are not available.
7711
7712 2011-05-19  Andreas Schwab  <schwab@redhat.com>
7713
7714         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7715
7716 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
7717
7718         * libio/freopen.c (freopen): Use __dup2, not dup2.
7719         * libio/freopen64.c (freopen64): Likewise.
7720
7721 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7722
7723         [BZ #12775]
7724         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7725         * math/Makefile (tests): Add test-powl.
7726         (CFLAGS-test-powl.c): Define.
7727         * math/test-powl.c: New file.
7728
7729 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7730
7731         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7732
7733 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
7734
7735         [BZ #11837]
7736         * iconvdata/gb18030.c: Update to GB18020-2005.
7737
7738 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
7739
7740         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7741         RE_SYNTAX_POSIX_AWK): Update to match recent development.
7742         Patch by Aharon Robbins <arnold@skeeve.com>.
7743
7744         [BZ #11892]
7745         * stdlib/putenv.c (putenv): Don't always create copy of the variable
7746         on the stack.
7747
7748         [BZ #11895]
7749         * misc/pselect.c (__pselect): Handle timeout value errors hidden
7750         through underflows.
7751
7752         [BZ #12766]
7753         * misc/error.c (error_at_line): Ensure file_name and old_file_name
7754         point to strings before performing equality test for error_one_per_line
7755         mode.
7756
7757         [BZ #11697]
7758         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7759
7760         [BZ #11820]
7761         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7762         (struct user_fpregs_struct): Avoid __uint*_t types.
7763
7764         [BZ #6420]
7765         * malloc/mtrace.c (tr_where): Add additional parameter to point to
7766         symbol info.  Use it instead of calling _dl_addr locally.
7767         (lock_and_info): New function.
7768         (tr_freehook): Call lock_and_info and pass symbol info as additional
7769         parameter to tr_where.
7770         (tr_mallochook): Likewise.
7771         (tr_reallochook): Likewise.
7772         (tr_memalignhook): Likewise.
7773
7774         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
7775         used and couldn't be at all thread-safe.
7776
7777 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
7778
7779         * libio/freopen.c (freopen): Don't close old file descriptor
7780         before the new one is opened.  Instead dup the new file descriptor
7781         to the old one after the new stream is created.
7782         * libio/freopen64.c (freopen64): Likewise.
7783         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7784         * libio/fileops.c (_IO_new_file_close_it): Handle new
7785         _IO_FLAGS2_NOCLOSE flag.
7786         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7787         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7788         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7789         _IO_FLAGS2_NOCLOSE flag.
7790         * include/unistd.h: Add hidden_proto for dup3.
7791         Define __have_dup3.
7792         * io/dup3.c: Define hidden symbol.
7793         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7794
7795         [BZ #7101]
7796         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7797         when an incomplete long option is used.
7798         * posix/tst-getopt_long1.c: New file.
7799         * posix/Makefile (tests): Add tst-getopt_long1.
7800
7801         [BZ #10138]
7802         * scripts/config.guess: Update from autoconf-2.68.
7803         * scripts/config.sub: Likewise.
7804
7805         [BZ #10157]
7806         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7807         tests into ...
7808         (has_cpuclock): ...this.  New function.
7809         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7810         macro here based on has_cpuclock code.
7811
7812         [BZ #10149]
7813         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7814         First byte (not low byte) is now always NUL.
7815         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7816
7817         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7818         Use non-cancelable interfaces.
7819
7820         [BZ #9809]
7821         * locale/iso-639.def: Add entry for Sorani.
7822
7823         [BZ #11901]
7824         * include/stdlib.h: Move include protection to the right place.
7825         Define abort_msg_s.  Declare __abort_msg with it.
7826         * stdlib/abort.c (__abort_msg): Adjust type.
7827         * assert/assert.c (__assert_fail_base): New function.  Majority
7828         of code from __assert_fail.  Allocate memory for __abort_msg with
7829         mmap.
7830         (__assert_fail): Now call __assert_fail_base.
7831         * assert/assert-perr.c: Remove bulk of implementation.  Use
7832         __assert_fail_base.
7833         * include/assert.hL Declare __assert_fail_base.
7834         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7835         mmap.
7836         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7837
7838 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
7839
7840         [BZ #11952]
7841         [BZ #12453]
7842         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7843         until all modules are registered in the DTV.
7844         * elf/Makefile: Add rules to build and run tst-tls19.
7845         * elf/tst-tls19.c: New file.
7846         * elf/tst-tls19mod1.c: New file.
7847         * elf/tst-tls19mod2.c: New file.
7848         * elf/tst-tls19mod3.c: New file.
7849         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7850
7851         [BZ #12083]
7852         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7853         correctly.
7854
7855         [BZ #12601]
7856         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7857         two-byte sequence errors.
7858         * iconvdata/Makefile (tests): Add bug-iconv8.
7859         * iconvdata/bug-iconv8.c: New file.
7860
7861         [BZ #12626]
7862         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7863         buf2 definition.
7864
7865         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7866
7867         [BZ #12432]
7868         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7869         (dummy_getcfa): New function.
7870         (init): Get _Unwind_GetCFA address, use dummy if not found.
7871         (backtrace_helper): In recursion check, also check whether CFA changes.
7872         (__backtrace): Completely initialize arg.
7873
7874         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7875         storing incomplete byte sequence in state object.  Avoid testing for
7876         guaranteed too small input if we know there is enough data available.
7877
7878 2011-05-11  Andreas Schwab  <schwab@redhat.com>
7879
7880         * Makeconfig (+link-pie): Indent.
7881         * Rules (binaries-pie): Define if $(have-fpie) and
7882         $(build-shared).
7883         (binaries-shared): Also filter out $(binaries-pie).
7884         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7885         * nscd/Makefile (others-pie): Add nscd.
7886         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7887         ($(objpfx)nscd): Remove command override.
7888         * login/Makefile (others-pie): Add pt_chown.
7889         ($(objpfx)pt_chown): Remove command override.
7890         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7891         remove command overrides.
7892
7893 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
7894
7895         * libio/tst_putwc.c: Fix error messages.
7896
7897         [BZ #12724]
7898         * libio/fileops.c (_IO_new_file_close_it): Always flush when
7899         currently writing and seek to current position when not.
7900         * libio/Makefile (tests): Add bug-fclose1.
7901         * libio/bug-fclose1.c: New file.
7902
7903 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
7904
7905         [BZ #12511]
7906         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7907         don't set DF_1_NODELETE here.
7908         (do_lookup_x): When entering new entry test for copy relocation
7909         and if necessary set DF_1_NODELETE flag.
7910         * elf/tst-unique4.cc: New file.
7911         * elf/tst-unique4.h: New file.
7912         * elf/tst-unique4lib.cc: New file.
7913         * elf/Makefile: Add rules to build and run tst-unique4.
7914         Patch by Piotr Bury <pbury@goahead.com>.
7915
7916 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
7917
7918         [BZ #12052]
7919         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7920
7921         [BZ #12625]
7922         * misc/mntent_r.c (addmntent): Flush the stream after the output
7923
7924         [BZ #12393]
7925         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7926         (is_trusted_path_normalize): Skip initial colon.  Append slash
7927         to empty buffer.  Duplicate is_trusted_path code but allow
7928         constructed patch to be prefix.
7929         (is_dst): Allow $ORIGIN followed by /.
7930         (_dl_dst_substitute): Correct clearing of check_for_trusted.
7931         Correct testing of result of is_trusted_path_normalize
7932         (decompose_rpath): Fix warning.
7933
7934 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
7935
7936         [BZ #11257]
7937         * grp/initgroups.c (internal_getgrouplist): When we found the service
7938         list through the initgroups entry in nsswitch.conf do not always
7939         continue on a successful lookup.  Don't always use the
7940         __nss_group_database value if it is set.
7941         * nss/nsswitch.conf (initgroups): Change action for successful db
7942         lookup to continue for compatibility.
7943
7944 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
7945
7946         [BZ #11532]
7947         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7948         and CP774 modules.
7949         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7950         and CP774 modules.
7951         * iconvdata/tst-tables.sh: Likewise.
7952         * iconvdata/cp770.c: New file.
7953         * iconvdata/cp771.c: New file.
7954         * iconvdata/cp772.c: New file.
7955         * iconvdata/cp773.c: New file.
7956         * iconvdata/cp774.c: New file.
7957         * iconvdata/testdata/CP770: New file.
7958         * iconvdata/testdata/CP770..UTF8: New file.
7959         * iconvdata/testdata/CP771: New file.
7960         * iconvdata/testdata/CP771..UTF8: New file.
7961         * iconvdata/testdata/CP772: New file.
7962         * iconvdata/testdata/CP772..UTF8: New file.
7963         * iconvdata/testdata/CP773: New file.
7964         * iconvdata/testdata/CP773..UTF8: New file.
7965         * iconvdata/testdata/CP774: New file.
7966         * iconvdata/testdata/CP774..UTF8: New file.
7967
7968         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7969         END CHARMAP line.
7970         * iconvdata/gen-8bit-gap.sh: Likewise.
7971         * iconvdata/gen-8bit.sh: Likewise.
7972
7973         * locale/iso-639.def: Add ary entry.
7974
7975         [BZ #11258]
7976         * locale/C-translit.h.in: Add U20A1 transliteration.
7977
7978         [BZ #12178]
7979         * locale/iso-639.def: Add wae entry.
7980         Patch by Kevin Bortis <bortis@translate-wae.ch>.
7981
7982         [BZ #12545]
7983         * locale/programs/localedef.c (construct_output_path): Use ssize_t
7984         for n.
7985
7986         [BZ #12711]
7987         * locale/C-translit.h.in: Add entry for U20B9.
7988         Patch by pravin.d.s@gmail.com.
7989
7990 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
7991
7992         [BZ #12713]
7993         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7994         ENAMETOOLONG use generic getcwd.
7995         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
7996         in rtld.  Use *stat64.
7997         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7998         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7999         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8000         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8001         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8002         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8003         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8004         __fstatat64 macros.
8005         * include/dirent.h: Add libc_hidden_proto for rewinddir.
8006         * dirent/rewinddir.c: Add libc_hidden_def.
8007         * sysdeps/mach/hurd/rewinddir.c: Likewise.
8008         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
8009
8010         * include/dirent.h (__alloc_dir): Add flags parameter.
8011         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8012         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8013         __alloc_dir.
8014         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
8015         from fdopendir if O_CLOEXEC is already set.
8016
8017 2011-03-15  Alan Modra  <amodra@gmail.com>
8018
8019         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8020         l_tls_firstbyte_offset non-zero.  Save padding offset in
8021         l_tls_firstbyte_offset for later use.
8022         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8023         freeing static tls block.
8024
8025 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
8026
8027         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8028         where #ifdef was intended.  The intent is to prevent ARG_MAX from
8029         being defined by the kernel headers.
8030
8031 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
8032
8033         [BZ #12734]
8034         * resolv/resolv.h: Define RES_NOTLDQUERY.
8035         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8036         no-tld-query and set RES_NOTLDQUERY.
8037         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8038         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8039         modern BIND to search name as TLD unless forbidden.
8040
8041 2011-05-07  Petr Baudis  <pasky@suse.cz>
8042             Ulrich Drepper  <drepper@gmail.com>
8043
8044         [BZ #12393]
8045         * elf/dl-load.c (fillin_rpath): Move trusted path check...
8046         (is_trusted_path): ...to here.
8047         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8048         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8049         using is_trusted_path_normalize() in setuid scripts.
8050
8051 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8052
8053         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8054         __BEGIN/__END_DECLS.
8055
8056 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
8057
8058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8059         NSS_STATUS_NOTFOUND if no record was found.
8060
8061 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8062
8063         * sunrpc/Makefile (headers): Add rpc/netdb.h.
8064         (headers-not-in-tirpc): Remove rpc/netdb.h
8065         * resolv/netdb.h: Revert last change.
8066
8067 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8068
8069         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8070         circular dependency between libgcc.a and libc.a.
8071
8072 2011-05-05  Andreas Schwab  <schwab@redhat.com>
8073
8074         * resolv/netdb.h: Don't include <rpc/netdb.h>.
8075         * nis/Makefile: Don't install rpcsvc/*.
8076         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8077         instead of <rpc/types.h>.
8078         (MAXHOSTNAMELEN): Define.
8079
8080 2011-05-03  Andreas Schwab  <schwab@redhat.com>
8081
8082         * elf/ldconfig.c (add_dir): Don't crash on empty path.
8083
8084 2011-04-28  Maciej Babinski  <mbabinski@google.com>
8085
8086         [BZ #12714]
8087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8088         gethostbyname4_r when IPv6 results are possible.
8089
8090 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
8091
8092         [BZ #12723]
8093         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8094         _PC_PIPE_BUF handling.
8095
8096 2011-04-30  Bruno Haible  <bruno@clisp.org>
8097
8098         [BZ #12717]
8099         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8100         * resolv/netdb.h (getnameinfo): Change type of flags parameter
8101         to 'int'.
8102         * inet/getnameinfo.c (getnameinfo): Likewise.
8103
8104 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
8105
8106         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8107         to groups setting in database lookup.
8108         * nss/nsswitch.conf: Add initgroups entry.
8109
8110 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
8111
8112         [BZ #12685]
8113         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8114         mode string.
8115         Patch by Eric Blake <eblake@redhat.com>.
8116
8117 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
8118
8119         * sunrpc/Makefile (need-export-routines): Add svc_run.
8120         (routines): Remove svc_run.
8121         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8122         * sunrpc/clnt_perr.c (clnt_perrno): Export.
8123         * sunrpc/svc_run.c (svc_run): Likewise.
8124         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8125
8126 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
8127
8128         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8129         problem in reallocation in last patch.
8130
8131 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
8132
8133         * sunrpc/Makefile: Move inclusion of Rules.
8134
8135 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8136
8137         * nss/nss_files/files-initgroups.c: New file.
8138         * nss/Makefile (libnss_files-routines): Add files-initgroups.
8139         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8140         _nss_files_initgroups_dyn.
8141
8142 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
8143
8144         * elf/elf.h (R_ARM_IRELATIVE): Define.
8145
8146 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
8147
8148         * po/ru.po: Update from translation team.
8149
8150 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8151
8152         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8153         dependencies.
8154
8155 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
8156
8157         [BZ #12653]
8158         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8159         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8160         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8163
8164 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8165
8166         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8167         differing bytes.
8168         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8169         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8170         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8171
8172 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
8173
8174         [BZ #12420]
8175         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8176         storing it.
8177         * stdlib/bug-getcontext.c: New file.
8178         * stdlib/Makefile: Add rules to build and run bug-getcontext.
8179
8180 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8181
8182         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8183         instructions into .machine "z9-109".
8184         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8185         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8186
8187 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8188
8189         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8190         between environment variables and auxiliary vector.
8191
8192 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
8193
8194         * Makefile: Add rules to build linkobj/libc.so.
8195         * include/libc-symbols.h: Define libc_hidden_nolink.
8196         * include/rpc/auth.h: Mark functions which are to be hidden.
8197         * include/rpc/auth_des.h: Likewise.
8198         * include/rpc/auth_unix.h: Likewise.
8199         * include/rpc/clnt.h: Likewise.
8200         * include/rpc/des_crypt.h: Likewise.
8201         * include/rpc/key_prot.h: Likewise.
8202         * include/rpc/pmap_clnt.h: Likewise.
8203         * include/rpc/pmap_prot.h: Likewise.
8204         * include/rpc/pmap_rmt.h: Likewise.
8205         * include/rpc/rpc_msg.h: Likewise.
8206         * include/rpc/svc.h: Likewise.
8207         * include/rpc/svc_auth.h: Likewise.
8208         * include/rpc/xdr.h: Likewise.
8209         * nis/Makefile: Link all DSOs against linkobj/libc.so.
8210         * nss/Makefile: Likewise.
8211         * sunrpc/Makefile: Don't install headers.  Build library with normal
8212         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
8213         * sunrpc/auth_des.c: Hide exported symbols by default, export some
8214         for the compat linking library.  Remove use of INTDEF/INTUSE.
8215         * sunrpc/auth_none.c: Likewise.
8216         * sunrpc/auth_unix.c: Likewise.
8217         * sunrpc/authdes_prot.c: Likewise.
8218         * sunrpc/authuxprot.c: Likewise.
8219         * sunrpc/clnt_gen.c: Likewise.
8220         * sunrpc/clnt_perr.c: Likewise.
8221         * sunrpc/clnt_raw.c: Likewise.
8222         * sunrpc/clnt_simp.c: Likewise.
8223         * sunrpc/clnt_tcp.c: Likewise.
8224         * sunrpc/clnt_udp.c: Likewise.
8225         * sunrpc/clnt_unix.c: Likewise.
8226         * sunrpc/des_crypt.c: Likewise.
8227         * sunrpc/des_soft.c: Likewise.
8228         * sunrpc/get_myaddr.c: Likewise.
8229         * sunrpc/key_call.c: Likewise.
8230         * sunrpc/key_prot.c: Likewise.
8231         * sunrpc/netname.c: Likewise.
8232         * sunrpc/pm_getmaps.c: Likewise.
8233         * sunrpc/pm_getport.c: Likewise.
8234         * sunrpc/pmap_clnt.c: Likewise.
8235         * sunrpc/pmap_prot.c: Likewise.
8236         * sunrpc/pmap_prot2.c: Likewise.
8237         * sunrpc/pmap_rmt.c: Likewise.
8238         * sunrpc/publickey.c: Likewise.
8239         * sunrpc/rpc_cmsg.c: Likewise.
8240         * sunrpc/rpc_common.c: Likewise.
8241         * sunrpc/rpc_dtable.c: Likewise.
8242         * sunrpc/rpc_prot.c: Likewise.
8243         * sunrpc/rpc_thread.c: Likewise.
8244         * sunrpc/rtime.c: Likewise.
8245         * sunrpc/svc.c: Likewise.
8246         * sunrpc/svc_auth.c: Likewise.
8247         * sunrpc/svc_authux.c: Likewise.
8248         * sunrpc/svc_raw.c: Likewise.
8249         * sunrpc/svc_run.c: Likewise.
8250         * sunrpc/svc_simple.c: Likewise.
8251         * sunrpc/svc_tcp.c: Likewise.
8252         * sunrpc/svc_udp.c: Likewise.
8253         * sunrpc/svc_unix.c: Likewise.
8254         * sunrpc/svcauth_des.c: Likewise.
8255         * sunrpc/xcrypt.c: Likewise.
8256         * sunrpc/xdr.c: Likewise.
8257         * sunrpc/xdr_array.c: Likewise.
8258         * sunrpc/xdr_float.c: Likewise.
8259         * sunrpc/xdr_intXX_t.c: Likewise.
8260         * sunrpc/xdr_mem.c: Likewise.
8261         * sunrpc/xdr_rec.c: Likewise.
8262         * sunrpc/xdr_ref.c: Likewise.
8263         * sunrpc/xdr_sizeof.c: Likewise.
8264         * sunrpc/xdr_stdio.c: Likewise.
8265
8266 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
8267
8268         [BZ #12650]
8269         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8270         * sysdeps/ia64/dl-tls.h: Likewise.
8271         * sysdeps/powerpc/dl-tls.h: Likewise.
8272         * sysdeps/s390/dl-tls.h: Likewise.
8273         * sysdeps/sh/dl-tls.h: Likewise.
8274         * sysdeps/sparc/dl-tls.h: Likewise.
8275         * sysdeps/x86_64/dl-tls.h: Likewise.
8276         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8277
8278 2011-03-14  Andreas Schwab  <schwab@redhat.com>
8279
8280         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8281         rpath element also skip the following colon.
8282         (expand_dynamic_string_token): Add is_path parameter and pass
8283         down to DL_DST_REQUIRED and _dl_dst_substitute.
8284         (decompose_rpath): Call expand_dynamic_string_token with
8285         non-zero is_path.  Ignore empty rpaths.
8286         (_dl_map_object_from_fd): Call expand_dynamic_string_token
8287         with zero is_path.
8288
8289 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
8290
8291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8292         Make cancelable.
8293
8294 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
8295
8296         [BZ #12655]
8297         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8298         Patch by Filipe David Manana <fdmanana@apache.org>.
8299
8300 2011-04-07  Andreas Schwab  <schwab@redhat.com>
8301
8302         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8303         Maintain aligned stack.
8304         (CHECK_RSP): Remove unused macro.
8305
8306 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
8307
8308         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8309         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8310
8311 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
8312
8313         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8314
8315         * include/features.h: Mention __USE_XOPEN2K8 in comment.
8316
8317 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
8318
8319         [BZ #12518]
8320         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8321         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8322         * sysdeps/x86_64/memmove.c: New file.
8323         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8324         (memcpy): Renamed to ...
8325         (__new_memcpy): This.
8326         (memcpy): Provide GLIBC_2_14 memcpy.
8327         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8328         (memcpy): Provide GLIBC_2_2_5 memcpy.
8329
8330 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8331
8332         [BZ #12631]
8333         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8334
8335 2011-03-30  Andreas Schwab  <schwab@redhat.com>
8336
8337         * misc/syncfs.c: New file.
8338         * misc/Makefile (routines): Add syncfs.
8339         * posix/unistd.h: Declare syncfs.
8340         * sysdeps/unix/syscalls.list: Add syncfs.
8341
8342 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8343
8344         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8345         open_by_handle_at.
8346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8347         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8351         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8352         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8353
8354 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8355
8356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8357         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8358         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8360         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8362         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8363
8364         * io/Makefile: Compile fallocate.c, fallocate64.c, and
8365         sync_file_range.c with -fexceptions.
8366         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8367         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8368         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8369         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8370         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8371         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8373         sync_file_range as cancellation point
8374         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
8375         now a wrapper around __call_sync_file_range with cancellation handling.
8376         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8377         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
8378         function name to __call_sync_file_range.
8379         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8380         Add call_sync_file_range.
8381
8382 2011-04-01  Andreas Schwab  <schwab@redhat.com>
8383
8384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8385         bits/timex.h.
8386
8387 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
8388
8389         * iconv/iconv.h: Fix typo in comment.
8390         * io/fcntl.h: Likewise.
8391         * libio/stdio.h: Likewise.
8392         * posix/spawn.h: Likewise.
8393         * posix/unistd.h: Likewise.
8394         * stdlib/stdlib.h: Likewise.
8395         * time/time.h: Likewise.
8396         * wcsmbs/wchar.h: Likewise.
8397
8398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8399         open_by_handle): Add.
8400         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8401         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
8402         Augment a few comments.
8403         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8404         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8405         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8406         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8408         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8409         open_by_handle.
8410
8411         * io/fcntl.h (AT_EMPTY_PATH): Define.
8412
8413 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
8414
8415         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8416         * sysdeps/unix/sysv/linux/bits/time.h: New file.
8417         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8418         to...
8419         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
8420         * Versions.def: Add GLIBC_2.14.
8421         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8422         Export.
8423
8424 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
8425
8426         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8427         round counter.
8428         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8429
8430 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8431
8432         [BZ #12597]
8433         * string/test-strncmp.c (do_page_test): New function.
8434         (check2): Likewise.
8435         (test_main): Call check2.
8436         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8437
8438 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
8439
8440         [BZ #12587]
8441         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8442         Handle cache information in CPU leaf 4.
8443         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8444
8445 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
8446
8447         [BZ #12583]
8448         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8449         character representation.
8450         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8451
8452 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
8453
8454         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8455         END(__isnan) to END(__isnanf) to match function entry point/label
8456         EALIGN(__isnanf,...).
8457
8458 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
8459
8460         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8461
8462 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
8463
8464         [BZ #12510]
8465         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8466         copy from the symbol referenced in the relocation to initialize the
8467         used variable.
8468         Patch by Piotr Bury <pbury@goahead.com>.
8469         * elf/Makefile: Add rules to build and tst-unique3.
8470         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8471         * elf/tst-unique3.cc: New file.
8472         * elf/tst-unique3.h: New file.
8473         * elf/tst-unique3lib.cc: New file.
8474         * elf/tst-unique3lib2.cc: New file.
8475
8476         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8477
8478 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
8479
8480         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8481         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
8482         to _start.
8483
8484 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
8485
8486         * elf/dl-load.c (_dl_map_object): If we are looking for the first
8487         to-be-loaded object along a path to loader is ld.so.
8488
8489 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8490             Ulrich Drepper  <drepper@gmail.com>
8491
8492         * sysdeps/x86_64/memset.S: After aligning destination, code
8493         branches to different locations depending on the value of
8494         misalignment, when multiarch is enabled. Fix this.
8495
8496 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
8497
8498         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8499         Set _x86_64_preferred_memory_instruction for AMD processsors.
8500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8501         Set bit_Prefer_SSE_for_memop for AMD processors.
8502
8503 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
8504
8505         * libio/fmemopen.c (fmemopen): Optimize a bit.
8506
8507 2011-03-03  Andreas Schwab  <schwab@redhat.com>
8508
8509         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8510
8511 2011-03-03  Roland McGrath  <roland@redhat.com>
8512
8513         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8514
8515 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
8516
8517         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8518         __bzero_ultra1 instead of __memset_ultra1.
8519
8520 2011-02-23  Andreas Schwab  <schwab@redhat.com>
8521             Ulrich Drepper  <drepper@gmail.com>
8522
8523         [BZ #12509]
8524         * include/link.h (struct link_map): Add l_orig_initfini.
8525         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8526         returning unsuccessfully.
8527         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8528         close of a file loaded at startup, restore the original l_initfini
8529         list.
8530         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8531         list, store the pointer.
8532         * elf/Makefile ($(objpfx)noload-mem): New rule.
8533         (noload-ENV): Define.
8534         (tests): Add $(objpfx)noload-mem.
8535         * elf/noload.c: Include <memcheck.h>.
8536         (main): Call mtrace.  Close all opened handles.
8537
8538 2011-02-17  Andreas Schwab  <schwab@redhat.com>
8539
8540         [BZ #12454]
8541         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8542         dependencies are missing.
8543
8544 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8545
8546         Fix __if_freereq crash: Unlike the generic version which uses free,
8547         Hurd needs munmap.
8548         * sysdeps/mach/hurd/ifreq.h: New file.
8549
8550 2011-01-27  Petr Baudis  <pasky@suse.cz>
8551             Ulrich Drepper  <drepper@gmail.com>
8552
8553         [BZ 12445]#
8554         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8555         to extend_alloca().
8556         * stdio-common/bug23.c: New file.
8557         * stdio-common/Makefile (tests): Add bug23.
8558
8559 2010-09-28  Andreas Schwab  <schwab@redhat.com>
8560             Ulrich Drepper  <drepper@gmail.com>
8561
8562         [BZ #12489]
8563         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8564         before performing relro protection.  At old place add assertion
8565         to make sure nothing changed.
8566
8567 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
8568             Glauber de Oliveira Costa  <glommer@gmail.com>
8569
8570         * elf/elf.h: Add new ARM TLS relocs.
8571
8572 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
8573
8574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8575         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8576         cast from r3.
8577         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
8578         'tests' variable.
8579         * sysdeps/wordsize-64/tst-writev.c: New file.
8580
8581 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
8582
8583         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8584         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8585         insns in _dl_start to prevent a TOC reference before relocs are
8586         resolved.
8587
8588 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
8589
8590         [BZ #12469]
8591         * Makeconfig: Remove RANLIB definition.
8592         * Makerules: Don't use RANLIB.
8593         * aclocal.m4: Remove ranlib test.
8594         * configure.in: No need to check for ranlib.
8595         * elf/rtld-Rules: Don't use RANLIB.
8596
8597 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8598
8599         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8600         protection macro.
8601         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8602         inclusion protection macro.
8603
8604         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8605         SIGRTMIN and SIGRTMAX and print information in that case only when
8606         SIGRTMIN is defined.
8607
8608 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
8609
8610         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8611         arginfo fn returning -1.
8612
8613         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8614         and thousands string is zero terminated.
8615
8616 2011-02-03  Andreas Schwab  <schwab@redhat.com>
8617
8618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8619         sysdeps/unix/sysv/linux/bits/socket.h.
8620
8621 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8622
8623         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8624         (__CPU_COUNT): Remove old macros.
8625         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8626         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8627         (__CPU_ALLOC, __CPU_FREE): Add macros.
8628         (__sched_cpualloc, __sched_cpufree): Add declarations.
8629
8630 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
8631
8632         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8633         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8634         * nscd/aicache.c (addhstaiX): Return timeout of added value.
8635         (readdhstai): Return value of addhstaiX call.
8636         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8637         (addgrbyX): Return value returned by cache_addgr.
8638         (readdgrbyname): Return value returned by addgrbyX.
8639         (readdgrbygid): Likewise.
8640         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8641         (addpwbyX): Return value returned by cache_addpw.
8642         (readdpwbyname): Return value returned by addhstbyX.
8643         (readdpwbyuid): Likewise.
8644         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8645         (addservbyX): Return value returned by cache_addserv.
8646         (readdservbyname): Return value returned by addservbyX:
8647         (readdservbyport): Likewise.
8648         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8649         (addhstbyX): Return value returned by cache_addhst.
8650         (readdhstbyname): Return value returned by addhstbyX.
8651         (readdhstbyaddr): Likewise.
8652         (readdhstbynamev6): Likewise.
8653         (readdhstbyaddrv6): Likewise.
8654         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8655         (readdinitgroups): Return value returned by addinitgroupsX.
8656         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8657         (prune_cache): Keep track of timeout value of re-added entries.
8658         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8659         * nscd/nscd.h: Adjust prototypes of readd* functions.
8660
8661 2011-02-04  Roland McGrath  <roland@redhat.com>
8662
8663         * nis/nis_server.c (nis_servstate): Use the right name for 0.
8664         (nis_stats): Likewise.
8665         * nis/nis_modify.c (nis_modify): Likewise.
8666         * nis/nis_remove.c (nis_remove): Likewise.
8667         * nis/nis_add.c (nis_add): Likewise.
8668
8669         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8670
8671         * posix/fnmatch_loop.c: Add some consts.
8672
8673         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8674
8675 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8676
8677         [BZ #12460]
8678         * config.make.in (config-cflags-novzeroupper): Define.
8679         * configure.in: Substitute libc_cv_cc_novzeroupper.
8680         * elf/Makefile (AVX-CFLAGS): Define.
8681         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8682         (CFLAGS-tst-auditmod4a.c): Likewise.
8683         (CFLAGS-tst-auditmod4b.c): Likewise.
8684         (CFLAGS-tst-auditmod6b.c): Likewise.
8685         (CFLAGS-tst-auditmod6c.c): Likewise.
8686         (CFLAGS-tst-auditmod7b.c): Likewise.
8687         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8688
8689 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
8690
8691         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8692         function to the callback.
8693         Patch partly by Jiri Olsa <jolsa@redhat.com>.
8694
8695 2011-02-02  Andreas Schwab  <schwab@redhat.com>
8696
8697         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8698         of errno.
8699
8700 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
8701
8702         [BZ #11724]
8703         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8704         of constructors.
8705         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8706         of destructors.
8707         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8708
8709         [BZ #11724]
8710         * elf/Makefile: Add rules to build and run new test.
8711         * elf/tst-initorder.c: New file.
8712         * elf/tst-initorder.exp: New file.
8713         * elf/tst-initordera1.c: New file.
8714         * elf/tst-initordera2.c: New file.
8715         * elf/tst-initordera3.c: New file.
8716         * elf/tst-initordera4.c: New file.
8717         * elf/tst-initorderb1.c: New file.
8718         * elf/tst-initorderb2.c: New file.
8719         * elf/tst-order-a1.c: New file.
8720         * elf/tst-order-a2.c: New file.
8721         * elf/tst-order-a3.c: New file.
8722         * elf/tst-order-a4.c: New file.
8723         * elf/tst-order-b1.c: New file.
8724         * elf/tst-order-b2.c: New file.
8725         * elf/tst-order-main.c: New file.
8726         New test case by George Gensure <werkt0@gmail.com>.
8727
8728 2010-10-01  Andreas Schwab  <schwab@redhat.com>
8729
8730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8731         decoding ACE if AI_CANONIDN.
8732
8733 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
8734
8735         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8736
8737 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
8738
8739         * version.h (RELEASE): Bump for 2.13 release.
8740         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8741
8742         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8743
8744         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8745         MADV_NOHUGEPAGE.
8746         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8747         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8748         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8749         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8750         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8751         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8752
8753         * posix/getconf.c: Update copyright year.
8754         * catgets/gencat.c: Likewise.
8755         * csu/version.c: Likewise.
8756         * debug/catchsegv.sh: Likewise.
8757         * debug/xtrace.sh: Likewise.
8758         * elf/ldconfig.c: Likewise.
8759         * elf/ldd.bash.in: Likewise.
8760         * elf/sprof.c (print_version): Likewise.
8761         * iconv/iconv_prog.c: Likewise.
8762         * iconv/iconvconfig.c: Likewise.
8763         * locale/programs/locale.c: Likewise.
8764         * locale/programs/localedef.c: Likewise.
8765         * malloc/memusage.sh: Likewise.
8766         * malloc/mtrace.pl: Likewise.
8767         * nscd/nscd.c (print_version): Likewise.
8768         * nss/getent.c: Likewise.
8769
8770         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8771         PF_CAIF, and PF_ALG.
8772         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8773
8774 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
8775
8776         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8777         (modules-names): Use them.
8778         (ifunc-test-modules, ifunc-pie-tests): Define.
8779         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8780         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8781         (test-extras): Likewise.
8782         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8783         $(compile-command.c).
8784         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8785         (all-built-dso): Define.
8786         (check-textrel.out, check-execstack.out): Depend on it.
8787
8788         * configure.in: Don't override --enable-multi-arch.
8789
8790 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
8791
8792         [BZ #6812]
8793         * nscd/hstcache.c (tryagain): Define.
8794         (cache_addhst): Return tryagain not notfound for temporary errors.
8795         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8796         failed.
8797
8798 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
8799
8800         [BZ #10563]
8801         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8802         to make the syscall.
8803         * sysdeps/unix/sysv/linux/setgroups.c: New file.
8804
8805         [BZ #12378]
8806         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8807         and fall back to matching as normal character if the string ends before
8808         the matching ']' is found.  This is what POSIX requires.
8809         * posix/testfnm.c: Adjust test result.
8810         * posix/globtest.sh: Adjust test result.  Add new test.
8811         * posix/tst-fnmatch.input: Likewise.
8812         * posix/tst-fnmatch2.c: Add new test.
8813
8814 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
8815
8816         * elf/Makefile (check-execstack): Revert last change.  Depend on
8817         check-execstack.h.
8818         (check-execstack.h): New target.
8819         (generated): Add check-execstack.h.
8820         * elf/check-execstack.c: Include "check-execstack.h".
8821         (main): Revert last change.
8822         (handle_file): Return zero if GNU_STACK is absent and
8823         DEFAULT_STACK_PERMS doesn't include PF_X.
8824
8825 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
8826
8827         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8828         in child fails because the descriptor is already closed.
8829         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8830         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8831         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8832
8833         [BZ #12397]
8834         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8835         syscall.
8836
8837         [BZ #10484]
8838         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8839         temporary buffer used to handle multi lookups locally.
8840         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8841
8842 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
8843
8844         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8845         loader is ld.so.
8846
8847 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
8848
8849         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8850         alignment for SSE2.
8851
8852 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
8853
8854         [BZ #12394]
8855         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8856         characters.  When rounding increased number of integer digits recompute
8857         number of groups.
8858         * stdio-common/tst-grouping.c: New file.
8859         * stdio-common/Makefile: Add rules to build and run tst-grouping.
8860
8861 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
8862
8863         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8864         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
8865
8866         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8867         void.
8868         * bits/select.h: Likewise.
8869
8870 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
8871
8872         * po/ja.po: Update from translation team.
8873
8874 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
8875
8876         [BZ #11155]
8877         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8878         implementation just like for lxstat, fxstatat, et al.
8879
8880 2010-12-27  Jim Meyering  <meyering@redhat.com>
8881
8882         [BZ #12348]
8883         * posix/regexec.c (build_trtable): Return failure indication upon
8884         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
8885
8886 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
8887
8888         [BZ #12201]
8889         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8890         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8891         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8892         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8893
8894         [BZ #12207]
8895         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8896
8897         [BZ #12204]
8898         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8899         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8900
8901 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8902
8903         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8904         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8905         script has SORT_BY_INIT_PRIORITY.
8906         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8907         NO_CTORS_DTORS_SECTIONS is defined.
8908         * elf/soinit.c: Likewise.
8909         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8910         NO_CTORS_DTORS_SECTIONS is defined.
8911         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8912         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8913         * sysdeps/sh/init-first.c: Likewise.
8914         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8915
8916 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
8917
8918         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8919         always use the slow path.
8920
8921 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
8922
8923         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8924         similar rule which adds the sysdep directories to the header search in
8925         order to pick up the correct platform stackinfo.h.
8926         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8927         perform test if it is, otherwise return successfully without testing.
8928         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8929         DEFAULT_STACK_PERMS define in stackinfo.h.
8930         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8931         defined in stackinfo.h.
8932         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8933         DEFAULT_STACK_PERMS defined in stackinfo.h.
8934         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8935         * sysdeps/ia64/stackinfo.h: Likewise.
8936         * sysdeps/s390/stackinfo.h: Likewise.
8937         * sysdeps/sh/stackinfo.h: Likewise.
8938         * sysdeps/sparc/stackinfo.h: Likewise.
8939         * sysdeps/x86_64/stackinfo.h: Likewise.
8940         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8941         PF_X for powerpc64.  Retain PF_X for powerpc32.
8942
8943 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
8944
8945         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8946         accurately.
8947         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8948         GETDENTS_64BIT_ALIGNED.
8949
8950 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
8951
8952         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8953
8954 2010-12-10  Andreas Schwab  <schwab@redhat.com>
8955
8956         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8957         _GNU_SOURCE.
8958
8959         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8960         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8961         Remove __restrict.
8962         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8963         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8964
8965 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
8966
8967         [BZ #11655]
8968         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8969         are initialized.
8970
8971 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
8972
8973         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8974
8975 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
8976
8977         * po/it.po: Update from translation team.
8978
8979 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8980
8981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8982         unused codes.
8983
8984 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
8985
8986         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8987
8988 2010-11-24  Andreas Schwab  <schwab@redhat.com>
8989
8990         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8991         specially.
8992         (gaih_getanswer_slice): Likewise.
8993
8994 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
8995
8996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8997
8998 2010-05-31  Petr Baudis  <pasky@suse.cz>
8999
9000         [BZ #11149]
9001         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9002         silently even in the chroot mode.
9003
9004 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
9005
9006         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9007         last patch a bit.  Pretty printing
9008
9009 2010-05-31  Petr Baudis <pasky@suse.cz>
9010
9011         [BZ #10085]
9012         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9013         initialization of skip_initgroups_dyn.
9014
9015 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
9016
9017         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9018         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9019
9020 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
9021
9022         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9023
9024 2010-11-11  Andreas Schwab  <schwab@redhat.com>
9025
9026         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9027         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9028         (tst-fnmatch-ENV): Set MALLOC_TRACE.
9029         ($(objpfx)tst-fnmatch-mem): New rule.
9030         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9031         * posix/tst-fnmatch.c (main): Call mtrace.
9032
9033 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
9034
9035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9036         Support Intel processor model 6 and model 0x2c.
9037
9038 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
9039
9040         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9041           signed comparison.
9042
9043 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
9044
9045         [BZ #12205]
9046         * string/test-strncasecmp.c (check_result): New function.
9047         (do_one_test): Use it.
9048         (check1): New function.
9049         (test_main): Use it.
9050         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9051         Support strcasecmp and strncasecmp.
9052
9053 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
9054
9055         [BZ #12194]
9056         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9057         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9058
9059 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9060
9061         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9062         IFUNC support.
9063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9064         memset-x86-64.
9065         * sysdeps/x86_64/multiarch/bzero.S: New file.
9066         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9067         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9068         * sysdeps/x86_64/multiarch/memset.S: New file.
9069         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9071         Set bit_Prefer_SSE_for_memop for Intel processors.
9072         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9073         Define.
9074         (index_Prefer_SSE_for_memop): Define.
9075         (HAS_PREFER_SSE_FOR_MEMOP): Define.
9076
9077 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
9078
9079         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9080         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9081
9082 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
9083
9084         [BZ #12191]
9085         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9086         (__x86_64_raw_data_cache_size_half): Likewise.
9087         (__x86_64_raw_shared_cache_size): Likewise.
9088         (__x86_64_raw_shared_cache_size_half): Likewise.
9089
9090         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9091         (__x86_64_raw_data_cache_size_half): Likewise.
9092         (__x86_64_raw_shared_cache_size): Likewise.
9093         (__x86_64_raw_shared_cache_size_half): Likewise.
9094         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9095         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9096         and __x86_64_raw_shared_cache_size_half.  Round
9097         __x86_64_data_cache_size_half, __x86_64_data_cache_size
9098         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9099         to multiple of 256 bytes.
9100
9101 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
9102
9103         [BZ #12167]
9104         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9105         of inacessible symlinks.  Verify result of symlink before returning it.
9106         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9107         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9108
9109 2010-10-28  Erich Ritz  <erichritz@gmail.com>
9110
9111         * math/math.h (isinf): Fix typo in comment.
9112
9113 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
9114
9115         * po/da.po: Update from translation team.
9116
9117 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
9118
9119         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9120         is added to the list.
9121
9122 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9123             Ulrich Drepper  <drepper@gmail.com>
9124
9125         * elf/dl-object.c (_dl_new_object): Don't append the new object to
9126         the global list here.  Move code to...
9127         (_dl_add_to_namespace_list): ...here.  New function.
9128         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9129         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9130         * elf/dl-load.c (lose): Don't remove the element from the list.
9131         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9132         (_dl_map_object): Likewise.
9133
9134 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
9135
9136         [BZ #12159]
9137         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9138         into all bytes of SSE register.
9139         Patch by Richard Li <richardpku@gmail.com>.
9140
9141 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
9142
9143         [BZ #12140]
9144         * malloc/malloc.c (_int_free): Fill correct number of bytes when
9145         perturbing.
9146
9147 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
9148
9149         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9150         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9151         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9152         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9154         submachine.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9156
9157 2010-10-22  Andreas Schwab  <schwab@redhat.com>
9158
9159         * include/dlfcn.h (__RTLD_SECURE): Define.
9160         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
9161         mode & __RTLD_SECURE instead.
9162         (open_path): Rename preloaded parameter to secure.
9163         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9164         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9165         * elf/dl-deps.c (openaux): Likewise.
9166         * elf/rtld.c (struct map_args): Remove is_preloaded.
9167         (map_doit): Don't use it.
9168         (dl_main): Likewise.
9169         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9170         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9171
9172 2010-09-09  Andreas Schwab  <schwab@redhat.com>
9173
9174         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9175         (sysd-rules-targets): Remove duplicates.
9176         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9177         rtld-%.$o dependency.
9178
9179 2010-10-18  Andreas Schwab  <schwab@redhat.com>
9180
9181         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9182         _dl_map_object do it.
9183
9184 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
9185
9186         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9187         fast fma builtins, define the macros in the C99 standard.
9188         (FP_FAST_FMAF): Likewise.
9189         (FP_FAST_FMAL): Likewise.
9190         * sysdeps/x86_64/bits/mathdef.h: Likewise.
9191
9192         * bits/mathdef.h: Update copyright year.
9193         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9194
9195 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
9196
9197         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9198         builtins, define the macros in the C99 standard.
9199         (FP_FAST_FMAF): Likewise.
9200         (FP_FAST_FMAL): Likewise.
9201         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9202         multiply/add.
9203         (FP_FAST_FMAF): Likewise.
9204
9205 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
9206
9207         [BZ #3268]
9208         * math/libm-test.inc (fma_test): Some new testcases.
9209         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9210         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9211         y and infinite z.  Do multiplication by C already in long double.
9212         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9214         y and infinite z.  Do bitwise or of inexact bit into u.d.
9215         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9216         * sysdeps/i386/fpu/s_fmaf.S: Removed.
9217         * sysdeps/i386/fpu/s_fma.S: Removed.
9218         * sysdeps/i386/fpu/s_fmal.S: Removed.
9219
9220 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
9221
9222         [BZ #3268]
9223         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9225         computation is not scheduled after fetestexcept.  Fix value
9226         of minimum denormal long double.
9227
9228 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
9229
9230         [BZ #3268]
9231         * math/libm-test.inc (fma_test): Add some more tests.
9232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9233         correctly.
9234
9235 2010-10-15  Andreas Schwab  <schwab@redhat.com>
9236
9237         * scripts/data/localplt-s390-linux-gnu.data: New file.
9238         * scripts/data/localplt-s390x-linux-gnu.data: New file.
9239
9240 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
9241
9242         [BZ #3268]
9243         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9244         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9245         instead of dbl-64.
9246         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9247         inlines.
9248         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9250         if one of x and y is very large and the other is subnormal.
9251         * sysdeps/s390/fpu/s_fmaf.c: New file.
9252         * sysdeps/s390/fpu/s_fma.c: New file.
9253         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9254         * sysdeps/powerpc/fpu/s_fma.S: New file.
9255         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9256         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9257         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9258
9259 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
9260
9261         [BZ #3268]
9262         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9263         fma tests.
9264         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9265         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9266         * sysdeps/i386/i686/multiarch/s_fma.c: Include
9267         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9268         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9269         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9270         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9271
9272 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
9273
9274         [BZ #12078]
9275         * posix/regcomp.c (parse_branch): One more memory leak plugged.
9276         * posix/bug-regex31.input: Add test case.
9277
9278 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9279
9280         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9281         * posix/bug-regex31.input: New file.
9282
9283         [BZ #12078]
9284         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9285         (parse_sub_exp): Fix last change, use postorder.
9286
9287         * posix/bug-regex31.c: New file.
9288         * posix/Makefile: Add rules to build and run bug-regex31.
9289
9290         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9291
9292         [BZ #12078]
9293         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9294
9295         [BZ #12108]
9296         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9297         to have entries in sys_siglist.
9298
9299         [BZ #12093]
9300         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9301         be NULL.
9302
9303 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
9304
9305         [BZ #3268]
9306         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9307         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9308         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9309         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9310         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9311         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9312         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9313         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9314         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9315         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9316         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9317         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9319         * math/ftestexcept.c (fetestexcept): Likewise.
9320         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9321         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9322         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9323         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9324         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9325         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9326         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9327
9328 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
9329
9330         [BZ #12107]
9331         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9332         newline.
9333
9334 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
9335
9336         * string/bug-strstr1.c: New file.
9337         * string/Makefile: Add rules to build and run bug-strstr1.
9338
9339 2010-10-05  Eric Blake  <eblake@redhat.com>
9340
9341         [BZ #12092]
9342         * string/str-two-way.h (two_way_long_needle): Always clear memory
9343         when skipping input due to the shift table.
9344
9345 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
9346
9347         [BZ #12005]
9348         * malloc/mcheck.c: Handle large requests.
9349
9350         [BZ #12077]
9351         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9352         for strncmp and strncasecmp.
9353         * string/stratcliff.c: Add tests for strcmp and strncmp.
9354         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9355
9356 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9357
9358         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9359         __set_fpscr.
9360
9361 2010-09-30  Andreas Jaeger  <aj@suse.de>
9362
9363         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9364         (CGROUP_SUPER_MAGIC): Define.
9365         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9366         Handle btrfs and cgroup file systems.
9367         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9368         Likewise.
9369
9370 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
9371
9372         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9373         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9374
9375 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9376
9377         [BZ #12067]
9378         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9379         trying to locate the ELF header.
9380
9381 2010-09-27  Andreas Schwab  <schwab@redhat.com>
9382
9383         [BZ #11611]
9384         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9385         Mask out sign-bit copies when constructing f_fsid.
9386
9387 2010-09-24  Petr Baudis <pasky@suse.cz>
9388
9389         * debug/stack_chk_fail_local.c: Add missing licence exception.
9390         * debug/warning-nop.c: Likewise.
9391
9392 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
9393
9394         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9395         implementing getdents64 using getdents syscall, set d_type if
9396         __ASSUME_GETDENTS32_D_TYPE.
9397
9398 2010-09-16  Andreas Schwab  <schwab@redhat.com>
9399
9400         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9401         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9402
9403 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
9404
9405         [BZ #12037]
9406         * posix/unistd.h: Undo change of feature selection for ftruncate from
9407         2010-01-11.
9408
9409 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
9410
9411         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9412         detection.
9413
9414 2010-09-20  Andreas Schwab  <schwab@redhat.com>
9415
9416         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9417         fanotify_mark.
9418         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9419
9420 2010-09-14  Andreas Schwab  <schwab@redhat.com>
9421
9422         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9423         variables after CHECK_SP call.
9424         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9425
9426 2010-09-13  Andreas Schwab  <schwab@redhat.com>
9427             Ulrich Drepper  <drepper@redhat.com>
9428
9429         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9430         re-relocationg ld.so.
9431         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9432         _dl_init_paths call.
9433         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
9434         here anymore.
9435
9436 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
9437
9438         * resolv/res_init.c (__res_vinit): Count the default server we added.
9439
9440 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
9441             Ulrich Drepper  <drepper@redhat.com>
9442
9443         [BZ #11968]
9444         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9445         (____longjmp_chk): Use %ebx for saving value across system call.
9446         Add unwind info.
9447
9448 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9449
9450         * manual/Makefile: Don't mix pattern rules with normal rules.
9451
9452 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9453
9454         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9455         operation.
9456         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9457         * libio/iofopncook.c (_IO_cookie_init): Likewise.
9458         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9459         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9461         Likewise.
9462
9463 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
9464
9465         [BZ #11979]
9466         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9467         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9468
9469 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
9470
9471         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9472         * sysdeps/x86_64/addmul_1.S: Likewise.
9473         * sysdeps/x86_64/lshift.S: Likewise.
9474         * sysdeps/x86_64/mul_1.S: Likewise.
9475         * sysdeps/x86_64/rshift.S: Likewise.
9476         * sysdeps/x86_64/sub_n.S: Likewise.
9477         * sysdeps/x86_64/submul_1.S: Likewise.
9478
9479 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9480
9481         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9482         Define __sched_param instead of SCHED_* and sched_param when
9483         <bits/sched.h> is included with __need_schedparam defined.
9484         * bits/sched.h [__need_schedparam]
9485         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9486         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9487         (__defined_schedparam): Define to 1.
9488         (__sched_param): New structure, identical to sched_param.
9489         (__need_schedparam): Undefine.
9490
9491 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
9492
9493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9494         (epoll_create1): Declare.
9495
9496         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9497
9498 2010-08-31  Andreas Schwab  <schwab@redhat.com>
9499
9500         [BZ #7066]
9501         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9502         shifting retval into place.
9503
9504 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
9505
9506         * nis/rpcsvc/nis.h: Update copyright notice.
9507         * nis/rpcsvc/nis.x: Likewise.
9508         * nis/rpcsvc/nis_callback.h: Likewise.
9509         * nis/rpcsvc/nis_callback.x: Likewise.
9510         * nis/rpcsvc/nis_object.x: Likewise.
9511         * nis/rpcsvc/nis_tags.h: Likewise.
9512         * nis/rpcsvc/yp.h: Likewise.
9513         * nis/rpcsvc/yp.x: Likewise.
9514         * nis/rpcsvc/ypupd.h: Likewise.
9515         * nis/yp_xdr.c: Likewise.
9516         * nis/ypupdate_xdr.c: Likewise.
9517
9518         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
9519         mainly the body of pmap_getport.  Add parameters to specify timeouts.
9520         (pmap_getport): Use __libc_rpc_getport.
9521         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9522         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9523         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9524
9525 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
9526
9527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9528         fanotify_mark.
9529
9530 2010-08-27  Roland McGrath  <roland@redhat.com>
9531
9532         * sysdeps/i386/i686/multiarch/Makefile
9533         (CFLAGS-varshift.c): New variable.
9534
9535 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
9536
9537         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9538         * sysdeps/i386/i686/multiarch/varshift.c: New file.
9539
9540         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9541
9542         * sysdeps/x86_64/strlen.S: Minimal code improvement.
9543
9544 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9545
9546         * sysdeps/x86_64/strlen.S: Unroll the loop.
9547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9548         strlen-sse2 strlen-sse2-bsf.
9549         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9550         __strlen_no_bsf if bit_Slow_BSF is set.
9551         (__strlen_sse42): Removed.
9552         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9553         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9554
9555 2010-08-25  Roland McGrath  <roland@redhat.com>
9556
9557         * sysdeps/x86_64/multiarch/varshift.S: File removed.
9558         * sysdeps/x86_64/multiarch/varshift.c: New file.
9559         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9560         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9561         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9562         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9563
9564 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9565
9566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9567         strlen-sse2 strlen-sse2-bsf.
9568         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9569         __strlen_sse2_bsf if bit_Slow_BSF is unset.
9570         (__strlen_sse2): Removed.
9571         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9574         bit_Slow_BSF for Atom.
9575         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9576         (index_Slow_BSF): Define.
9577         (HAS_SLOW_BSF): Define.
9578
9579 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
9580
9581         [BZ #10851]
9582         * resolv/res_init.c (__res_vinit): When no server address at all
9583         is given default to loopback.
9584
9585 2010-08-24  Roland McGrath  <roland@redhat.com>
9586
9587         * configure.in: Remove config-name.h generation.
9588         * configure: Regenerated.
9589         * config-name.in: File removed.
9590         * scripts/config-uname.sh: New file.
9591         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9592         ($(objdir)config-name.h): New target.
9593
9594         * sunrpc/rpc_parse.h: Avoid nested comment.
9595
9596 2010-08-24  Richard Henderson  <rth@redhat.com>
9597             Ulrich Drepper  <drepper@redhat.com>
9598             H.J. Lu  <hongjiu.lu@intel.com>
9599
9600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9602         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9603         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
9604         _mm_alignr_epi8 with _mm_loadu_si128.
9605         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9606         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9607         (__m128i_shift_right): Removed.
9608         * sysdeps/i386/i686/multiarch/varshift.h: New file.
9609         * sysdeps/i386/i686/multiarch/varshift.S: New file.
9610         * sysdeps/x86_64/multiarch/varshift.h: New file.
9611         * sysdeps/x86_64/multiarch/varshift.S: New file.
9612
9613 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
9614
9615         * configure.in: Move assembler checks to before sysdep dir checking.
9616
9617 2010-08-20  Petr Baudis  <pasky@suse.cz>
9618
9619         * LICENSES: Sync the sunrpc license.
9620
9621 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
9622
9623         * sunrpc/auth_des.c: Update copyright notice once again.
9624         * sunrpc/auth_none.c: Likewise.
9625         * sunrpc/auth_unix.c: Likewise.
9626         * sunrpc/authdes_prot.c: Likewise.
9627         * sunrpc/authuxprot.c: Likewise.
9628         * sunrpc/bindrsvprt.c: Likewise.
9629         * sunrpc/clnt_gen.c: Likewise.
9630         * sunrpc/clnt_perr.c: Likewise.
9631         * sunrpc/clnt_raw.c: Likewise.
9632         * sunrpc/clnt_simp.c: Likewise.
9633         * sunrpc/clnt_tcp.c: Likewise.
9634         * sunrpc/clnt_udp.c: Likewise.
9635         * sunrpc/clnt_unix.c: Likewise.
9636         * sunrpc/des_crypt.c: Likewise.
9637         * sunrpc/des_soft.c: Likewise.
9638         * sunrpc/get_myaddr.c: Likewise.
9639         * sunrpc/getrpcport.c: Likewise.
9640         * sunrpc/key_call.c: Likewise.
9641         * sunrpc/key_prot.c: Likewise.
9642         * sunrpc/openchild.c: Likewise.
9643         * sunrpc/pm_getmaps.c: Likewise.
9644         * sunrpc/pm_getport.c: Likewise.
9645         * sunrpc/pmap_clnt.c: Likewise.
9646         * sunrpc/pmap_prot.c: Likewise.
9647         * sunrpc/pmap_prot2.c: Likewise.
9648         * sunrpc/pmap_rmt.c: Likewise.
9649         * sunrpc/rpc/auth.h: Likewise.
9650         * sunrpc/rpc/auth_unix.h: Likewise.
9651         * sunrpc/rpc/clnt.h: Likewise.
9652         * sunrpc/rpc/des_crypt.h: Likewise.
9653         * sunrpc/rpc/key_prot.h: Likewise.
9654         * sunrpc/rpc/netdb.h: Likewise.
9655         * sunrpc/rpc/pmap_clnt.h: Likewise.
9656         * sunrpc/rpc/pmap_prot.h: Likewise.
9657         * sunrpc/rpc/pmap_rmt.h: Likewise.
9658         * sunrpc/rpc/rpc.h: Likewise.
9659         * sunrpc/rpc/rpc_des.h: Likewise.
9660         * sunrpc/rpc/rpc_msg.h: Likewise.
9661         * sunrpc/rpc/svc.h: Likewise.
9662         * sunrpc/rpc/svc_auth.h: Likewise.
9663         * sunrpc/rpc/types.h: Likewise.
9664         * sunrpc/rpc/xdr.h: Likewise.
9665         * sunrpc/rpc_clntout.c: Likewise.
9666         * sunrpc/rpc_cmsg.c: Likewise.
9667         * sunrpc/rpc_common.c: Likewise.
9668         * sunrpc/rpc_cout.c: Likewise.
9669         * sunrpc/rpc_dtable.c: Likewise.
9670         * sunrpc/rpc_hout.c: Likewise.
9671         * sunrpc/rpc_main.c: Likewise.
9672         * sunrpc/rpc_parse.c: Likewise.
9673         * sunrpc/rpc_parse.h: Likewise.
9674         * sunrpc/rpc_prot.c: Likewise.
9675         * sunrpc/rpc_sample.c: Likewise.
9676         * sunrpc/rpc_scan.c: Likewise.
9677         * sunrpc/rpc_scan.h: Likewise.
9678         * sunrpc/rpc_svcout.c: Likewise.
9679         * sunrpc/rpc_tblout.c: Likewise.
9680         * sunrpc/rpc_util.c: Likewise.
9681         * sunrpc/rpc_util.h: Likewise.
9682         * sunrpc/rpcinfo.c: Likewise.
9683         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9684         * sunrpc/rpcsvc/key_prot.x: Likewise.
9685         * sunrpc/rpcsvc/klm_prot.x: Likewise.
9686         * sunrpc/rpcsvc/mount.x: Likewise.
9687         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9688         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9689         * sunrpc/rpcsvc/rex.x: Likewise.
9690         * sunrpc/rpcsvc/rstat.x: Likewise.
9691         * sunrpc/rpcsvc/rusers.x: Likewise.
9692         * sunrpc/rpcsvc/sm_inter.x: Likewise.
9693         * sunrpc/rpcsvc/spray.x: Likewise.
9694         * sunrpc/rpcsvc/yppasswd.x: Likewise.
9695         * sunrpc/rtime.c: Likewise.
9696         * sunrpc/svc.c: Likewise.
9697         * sunrpc/svc_auth.c: Likewise.
9698         * sunrpc/svc_authux.c: Likewise.
9699         * sunrpc/svc_raw.c: Likewise.
9700         * sunrpc/svc_run.c: Likewise.
9701         * sunrpc/svc_simple.c: Likewise.
9702         * sunrpc/svc_tcp.c: Likewise.
9703         * sunrpc/svc_udp.c: Likewise.
9704         * sunrpc/svc_unix.c: Likewise.
9705         * sunrpc/svcauth_des.c: Likewise.
9706         * sunrpc/xcrypt.c: Likewise.
9707         * sunrpc/xdr.c: Likewise.
9708         * sunrpc/xdr_array.c: Likewise.
9709         * sunrpc/xdr_float.c: Likewise.
9710         * sunrpc/xdr_mem.c: Likewise.
9711         * sunrpc/xdr_rec.c: Likewise.
9712         * sunrpc/xdr_ref.c: Likewise.
9713         * sunrpc/xdr_sizeof.c: Likewise.
9714         * sunrpc/xdr_stdio.c: Likewise.
9715
9716         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9717         handling.
9718
9719 2010-08-19  Andreas Schwab  <schwab@redhat.com>
9720
9721         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9722
9723 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
9724
9725         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9727         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9728         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9729         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9730         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9731         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9732         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9733         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9734         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9735         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9736         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9737         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9738         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9739
9740 2010-07-26  Anton Blanchard  <anton@samba.org>
9741
9742         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9743         * malloc/arena.c (heap_trim): Likewise.
9744
9745 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
9746
9747         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9748         here.  Not...
9749         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9750         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9751
9752 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9753
9754         * sysdeps/i386/elf/Makefile: New file.
9755
9756 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9757
9758         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9759         from fanotify_init.
9760         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9762
9763 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
9764
9765         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9766         of strncasecmp_l.
9767         * sysdeps/multiarch/strcmp.S: Likewise.
9768
9769 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
9770
9771         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9772         strncase_l-nonascii.
9773         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9774         Add strncase_l-ssse3.
9775         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9776         * sysdeps/x86_64/strcmp.S: Likewise.
9777         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9778         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9779         * sysdeps/x86_64/strncase.S: New file.
9780         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9781         * sysdeps/x86_64/strncase_l.S: New file.
9782         * string/Makefile (strop-tests): Add strncasecmp.
9783         * string/test-strncasecmp.c: New file.
9784
9785         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9786         warning.
9787
9788         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9789         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9790
9791 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9792
9793         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9794
9795 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
9796
9797         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9798         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9799         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9800
9801 2010-05-01  Alan Modra  <amodra@gmail.com>
9802
9803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9804         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9805         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9806         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9807         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9808         tidying.  Don't tail-call __sigjmp_save for static lib.
9809         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9810         save location.
9811         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9812         (CALL_MCOUNT): Add eh info, and nop after bl.
9813         (TAIL_CALL_SYSCALL_ERROR): New macro.
9814         (PSEUDO_RET): Use it.
9815         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9816         Correct save location of integer regs and cr.
9817         (_dl_profile_resolve): Correct cr save location.  Delete nops
9818         after bl when SHARED.  Reduce cfi size a little by better
9819         placement of cfi directives.
9820         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9821         make a stack frame.  Instead use parm save area as a temp.
9822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9823         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9825         Don't make a stack frame for parent, use parm save area.
9826         Increase child stack frame to 112 bytes.  Don't save unused reg,
9827         and adjust reg usage.  Set up cfi on error recovery and
9828         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9830         (__makecontext): Add dummy nop after jump to exit.
9831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9832         Use correct parm save area and cr save, reduce stack frame.
9833         Correct cfi for possible PSEUDO_RET frame setup.
9834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9835         Branch to local label emitted by PSEUDO_RET rather than
9836         __syscall_error.
9837
9838 2010-08-12  Andreas Schwab  <schwab@redhat.com>
9839
9840         [BZ #11904]
9841         * locale/programs/locale.c (print_assignment): New function.
9842         (show_locale_vars): Use it.
9843
9844 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
9845
9846         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9847         field.
9848         (struct statfs64): Likewise.
9849         (_STATFS_F_FLAGS): Define.
9850         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9851         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9852         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9853         (ST_VALID): Define locally.
9854         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9855         __statvfs_getflags, use the provided value.
9856         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9857         __ASSUME_STATFS_F_FLAGS.
9858
9859         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9860
9861         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9862         Add sys/fanotify.h.
9863         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9864         fanotify_mask for GLIBC_2.13.
9865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9866         fanotify_init and fanotify_mark.
9867         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9868         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9869
9870         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9871         Add prlimit.
9872         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9873         prlimit64 for GLIBC_2.13.
9874         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9875         prlimit64.
9876         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9877         syscall.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9879         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9880         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9881         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
9883         add prlimit alias.
9884         * sysdeps/unix/sysv/linux/prlimit.c: New file.
9885
9886         [BZ #11903]
9887         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9888         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9889
9890         * nss/Makefile: Add rules to build and run tst-nss-test1.
9891         * shlib-versions: Add entry for libnss_test1.
9892         * nss/nss_test1.c: New file.
9893         * nss/tst-nss-test1.c: New file.
9894
9895         * nss/nsswitch.c (__nss_database_custom): Define new variable.
9896         (__nss_configure_lookup): Set appropriate entry in
9897         __nss_configure_lookup to true.
9898         * nss/nsswitch.h: Define enum with indeces of databases in
9899         databases and __nss_database_custom arrays.  Declare
9900         __nss_database_custom.
9901         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9902         to avoid using nscd when custom rules are installed.
9903         * nss/getXXbyYY_r.c: Likewise.
9904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9905
9906         * nss/nss_files/files-parse.c: Whitespace fixes.
9907
9908 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
9909
9910         [BZ #11883]
9911         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9912         * posix/fnmatch_loop.c: Likewise.
9913
9914 2010-07-17  Andi Kleen  <ak@linux.intel.com>
9915
9916         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9917         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9918         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9919         * Versions.def [GLIBC_2.13]: Add.
9920
9921 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
9922
9923         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9924         Also fail if tpwd after pwuid call is NULL.
9925
9926 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9927
9928         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9929         when converting to ms.
9930
9931 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9932
9933         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9934         EOPNOTSUPP errors with ENOTTY.
9935         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9936         EOPNOTSUPP errors with ENOTTY.
9937
9938 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
9939
9940         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9941         Add strcasecmp_l-ssse3.
9942         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9943         strcasecmp.
9944         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9945         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9946         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9947
9948 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
9949
9950         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9951
9952         * string/Makefile (strop-tests): Add strcasecmp.
9953         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9954         strcasecmp_l-nonascii.
9955         (gen-as-const-headers): Add locale-defines.sym.
9956         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9957         * sysdeps/x86_64/strcasecmp.S: New file.
9958         * sysdeps/x86_64/strcasecmp_l.S: New file.
9959         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9960         * sysdeps/x86_64/locale-defines.sym: New file.
9961         * string/test-strcasecmp.c: New file.
9962
9963         * string/test-strcasestr.c: Test both ends of the range of characters.
9964         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9965
9966 2010-07-29  Roland McGrath  <roland@redhat.com>
9967
9968         [BZ #11856]
9969         * manual/locale.texi (Yes-or-No Questions): Fix example code.
9970
9971 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
9972
9973         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9974         for ld.so.
9975
9976 2010-07-27  Andreas Schwab  <schwab@redhat.com>
9977
9978         * manual/memory.texi (Malloc Tunable Parameters): Document
9979         M_PERTURB.
9980
9981 2010-07-26  Roland McGrath  <roland@redhat.com>
9982
9983         [BZ #11840]
9984         * configure.in (-fgnu89-inline check): Set and substitute
9985         gnu89_inline, not libc_cv_gnu89_inline.
9986         * configure: Regenerated.
9987         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9988
9989 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
9990
9991         * string/test-strnlen.c: New file.
9992         * string/Makefile (strop-tests): Add strnlen.
9993         * string/tester.c (test_strnlen): Add a few more test cases.
9994         * string/tst-strlen.c: Better error reporting.
9995
9996         * sysdeps/x86_64/strnlen.S: New file.
9997
9998 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
9999
10000         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10001         lower-latency instructions.
10002
10003 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
10004
10005         * string/test-strcasestr.c: New file.
10006         * string/test-strstr.c: New file.
10007         * string/Makefile (strop-tests): Add strstr and strcasestr.
10008         * string/str-two-way.h: Don't undefine MAX.
10009         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10010
10011 2010-07-21  Andreas Schwab  <schwab@redhat.com>
10012
10013         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10014         strcasestr-nonascii.
10015         (CFLAGS-strcasestr-nonascii.c): Define.
10016         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10017         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10018         Remove unused attribute.
10019
10020 2010-07-20  Roland McGrath  <roland@redhat.com>
10021
10022         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10023         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
10024         ld.so.cache was broken.  With it, there is no way to disable dsocaps
10025         like LD_HWCAP_MASK can disable hwcaps.
10026
10027 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10028
10029         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10030
10031 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
10032
10033         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10034         call in strcasestr.
10035         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10036         __strcasestr_sse42_nonascii.
10037         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10038         strcasestr-nonascii.c.
10039         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10040
10041 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
10042
10043         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10044         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10045         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10046         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10047
10048 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
10049
10050         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10051         fcntl.
10052
10053 2010-07-06  Andreas Schwab  <schwab@redhat.com>
10054
10055         [BZ #11577]
10056         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10057         dl_signal_cerror.
10058
10059 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
10060
10061         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10062         _PC_PIPE_BUF using F_GETPIPE_SZ.
10063
10064 2010-07-05  Roland McGrath  <roland@redhat.com>
10065
10066         * manual/arith.texi (Rounding Functions): Fix rint description
10067         implicit in round description.
10068
10069 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
10070
10071         * elf/Makefile: Fix linking for a few tests to make recent linker
10072         happy.
10073
10074 2010-06-30  Andreas Schwab  <schwab@redhat.com>
10075
10076         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10077         $(common-objpfx)libc_nonshared.a.
10078
10079 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
10080
10081         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10082         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10083         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10084         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10085         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10086         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10087         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10088         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10103         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10104         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10105         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10106         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10107         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10108         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10109         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10110         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10111         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10112         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10113         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10114         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10129
10130 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10131
10132         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10133         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
10134         * string/memmove.c (memmove): Renamed to ...
10135         (MEMMOVE): ...this.  Default to memmove.
10136         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10137         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10138         (END_CHK): Define.
10139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10140         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10141         mempcpy-ssse3-back memmove-ssse3-back.
10142         * sysdeps/x86_64/multiarch/bcopy.S: New file .
10143         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10144         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10145         * sysdeps/x86_64/multiarch/memcpy.S: New file.
10146         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10147         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10148         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10149         * sysdeps/x86_64/multiarch/memmove.c: New file.
10150         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10151         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10152         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10153         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10154         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10155         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10156         Define.
10157         (index_Fast_Copy_Backward): Define.
10158         (HAS_ARCH_FEATURE): Define.
10159         (HAS_FAST_REP_STRING): Define.
10160         (HAS_FAST_COPY_BACKWARD): Define.
10161
10162 2010-06-21  Andreas Schwab  <schwab@redhat.com>
10163
10164         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10165         Restore proper fallback handling.
10166
10167 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
10168
10169         [BZ #11701]
10170         * posix/group_member.c (__group_member): Correct checking loop.
10171
10172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10173         OOM in getpwuid_r correctly.  Return error number when the caller
10174         should return, otherwise -1.
10175         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10176         call returning > 0 value.
10177         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10178
10179 2010-06-07  Andreas Schwab  <schwab@redhat.com>
10180
10181         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10182         libc_nonshared.a from targets in modules-names.
10183
10184 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
10185
10186         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10187         requires it.
10188
10189 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
10190
10191         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10192         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10193         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10194         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10195
10196 2010-06-02  Andreas Schwab  <schwab@redhat.com>
10197
10198         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10199
10200 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
10201
10202         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10203         and F_GETPIPE_SZ.
10204         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10208         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10209         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10210
10211 2010-06-14  Roland McGrath  <roland@redhat.com>
10212
10213         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10214
10215 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
10216
10217         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10218         __REDIRECT followed by __THROW.
10219         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10220         * posix/getopt.h (getopt): Likewise.
10221
10222 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
10223
10224         * hurd/lookup-at.c (__file_name_lookup_at): Accept
10225         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
10226         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10227         in AT_FLAGS.
10228         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10229         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10230
10231 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
10232
10233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10234
10235 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
10236
10237         [BZ #11640]
10238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10239         Properly check family and model.
10240
10241 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
10242
10243         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10244
10245 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
10246
10247         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10248
10249 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
10250
10251         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10252         symbol reference.
10253
10254 2010-05-19  Andreas Schwab  <schwab@redhat.com>
10255
10256         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10257         symbol reference.
10258
10259 2010-05-21  Andreas Schwab  <schwab@redhat.com>
10260
10261         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10262         and internal_recvmmsg.
10263         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10264         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10265         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10266         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10267
10268         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10269         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10270         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10271
10272 2010-05-20  Andreas Schwab  <schwab@redhat.com>
10273
10274         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10275
10276 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
10277
10278         POWER7 optimizations.
10279         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10280         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10281
10282 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
10283
10284         * version.h: Update for 2.13 development version.
10285
10286 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
10287
10288         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10289         exceptions.  Return 0.
10290
10291 2010-05-07  Roland McGrath  <roland@redhat.com>
10292
10293         * elf/ldconfig.c (main): Add a const.
10294
10295 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
10296
10297         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10298         (args_options): Add no-idn option.
10299         (ahosts_keys_int): Add idn_flags to ai_flags.
10300         (parse_option): Handle 'i' option to clear idn_flags.
10301
10302         * malloc/malloc.c (_int_free): Possible race in the most recently
10303         added check.  Only act on the data if no current modification
10304         happened.
10305
10306 See ChangeLog.17 for earlier changes.