Update powerpc libm ULPs
[glibc.git] / ChangeLog
blob33ef1c1cfa5cca3a9d6b6b2eac18591abd5a120a
1 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2012-03-09  David S. Miller  <davem@davemloft.net>
7         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8         variables with appropriate CPP guards.
9         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
11         on resulting framesize and the management of the outregs buffer for pltexit.
12         Preserve floating point return values across _dl_call_pltexit call.
13         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14         framesize and the management of the outregs buffer for pltexit.
15         Preserve floating point return values across _dl_call_pltexit
16         call.
17         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19         (print_exit): Fix format string for return register value.
21 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23         * sunrpc/Makefile (others): Add rpcgen.
24         ($(objpfx)rpcgen): Remove special build rule and dependency on
25         libc.
26         * sunrpc/rpcgen.c: New file.
28 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
30         [BZ #13673]
31         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33         * sysdeps/i386/crti.S: Likewise.
34         * sysdeps/i386/crtn.S: Likewise.
35         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39         * sysdeps/sh/crti.S: Likewise.
40         * sysdeps/sh/crtn.S: Likewise.
41         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43         [BZ #13673]
44         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45         with URL.
46         * locale/programs/locfile-kw.gperf: Likewise.
47         * locale/programs/charmap-kw.h: Regenerated.
48         * locale/programs/locfile-kw.h: Likewise.
50         [BZ #13673]
51         * intl/plural.y: Replace FSF snail mail address with URL.
52         * intl/plural.c: Regenerated.
54 2012-03-09  Richard Henderson  <rth@twiddle.net>
56         * include/math_private.h: Remove file.
57         * math/math_private.h: Move file ...
58         * sysdeps/generic/math_private.h: ... here.
60         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65         and <math_private.h>.
66         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
91         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
92         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
93         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
94         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
95         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
96         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
97         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
98         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
99         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
100         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
101         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
102         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
103         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
104         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
105         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
106         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
107         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
108         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
109         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
110         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
111         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
112         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
113         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
114         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
115         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
116         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
117         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
118         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
119         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
120         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
121         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
122         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
123         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
124         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
125         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
126         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
127         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
128         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
129         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
130         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
131         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
132         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
133         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
134         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
135         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
136         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
137         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
138         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
139         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
140         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
142         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
143         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
145         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
146         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
147         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
148         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
149         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
150         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
153         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
154         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
155         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
156         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
157         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
158         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
159         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
160         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
161         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
162         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
163         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
164         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
165         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
166         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
167         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
168         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
169         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
170         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
171         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
172         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
173         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
178         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
179         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
180         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
181         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
182         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
183         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
184         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
185         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
186         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
187         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
188         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
189         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
190         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
191         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
192         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
193         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
194         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
195         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
196         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
197         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
198         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
199         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
200         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
201         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
202         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
203         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
204         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
205         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
206         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
207         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
208         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
209         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
210         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
211         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
212         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
213         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
214         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
215         * sysdeps/ieee754/k_standard.c: Likewise.
216         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
217         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
218         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
219         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
220         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
221         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
222         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
223         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
224         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
225         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
226         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
227         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
228         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
229         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
230         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
231         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
232         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
233         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
234         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
235         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
236         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
237         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
238         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
239         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
240         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
241         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
242         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
243         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
244         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
246         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
247         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
248         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
249         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
250         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
251         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
252         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
253         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
254         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
255         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
256         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
257         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
258         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
259         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
260         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
261         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
262         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
263         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
264         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
266         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
267         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
268         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
269         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
270         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
271         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
272         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
273         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
274         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
275         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
276         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
277         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
278         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
279         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
280         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
281         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
282         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
283         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
284         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
285         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
286         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
288         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
289         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
290         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
291         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
292         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
293         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
294         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
295         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
296         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
297         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
298         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
299         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
300         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
301         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
302         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
303         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
306         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
307         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
308         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
309         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
310         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
311         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
312         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
313         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
314         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
315         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
316         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
317         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
319         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
320         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
321         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
322         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
323         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
324         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
325         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
326         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
327         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
328         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
329         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
330         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
331         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
332         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
333         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
334         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
335         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
336         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
337         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
338         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
339         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
340         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
341         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
342         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
343         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
344         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
345         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
346         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
347         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
348         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
349         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
350         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
351         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
352         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
353         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
354         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
355         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
356         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
357         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
358         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
359         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
360         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
361         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
362         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
363         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
364         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
365         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
366         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
367         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
368         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
369         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
370         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
371         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
372         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
373         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
374         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
375         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
376         * sysdeps/ieee754/s_lib_version.c: Likewise.
377         * sysdeps/ieee754/s_matherr.c: Likewise.
378         * sysdeps/ieee754/s_signgam.c: Likewise.
379         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
380         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
381         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
382         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
383         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
384         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
385         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
386         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
387         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
388         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
389         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
390         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
391         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
392         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
393         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
394         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
395         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
396         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
397         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
399         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
401 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
403         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
404         * sunrpc/rpc_main.c: Likewise.
405         * sunrpc/rpc_svcout.c: Likewise.
407 2012-03-09  David S. Miller  <davem@davemloft.net>
409         * include/math_private.h: New file.
411 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
413         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
414         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
415         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
416         from <bits/socket_type.h>.
417         (enum __socket_type): Don't define here.
418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
419         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
420         bits/socket_type.h.
422         [BZ #13566]
423         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
424         checking __USE_GNU.
426         * Makerules ($(inst_includedir)/%.h): New rule.
427         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
428         (install-others): Remove variable setting.
429         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
431 2012-03-08  Richard Henderson  <rth@twiddle.net>
433         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
434         from macro to inline function; merge with the
435         !__LIBC_INTERNAL_MATH_INLINES version.
436         (__ieee754_sqrtf): Likewise.
438         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
439         to inline function.
440         (__rintf, __floor, __floorf): Likewise.
442         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
443         macro to inline function.
444         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
446         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
447         not <math/math_private.h>.
449 2012-03-08  David S. Miller  <davem@davemloft.net>
451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
452         copyright year.
453         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
455 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
457         * resolv/gai_misc.c (handle_requests): Fix struct timespec
458         normalization.
459         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
460         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
462 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
464         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
465         be defined individually, they must be defined as a block.  Define
466         S for printing a string instead of hidint the different by using a
467         macro for adding the 'l'.
468         * stdio-common/tst-fphex-wide.c: Adjust.
470 2012-03-07  Marek Polacek  <polacek@redhat.com>
472         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
474 2012-03-08  Marek Polacek  <polacek@redhat.com>
476         [BZ #13806]
477         * stdio-common/Makefile (tests): Add tst-fphex-wide.
478         * stdio-common/tst-fphex.c: Define a few macros to make the
479         test reusable.  Use them.
480         * stdio-common/tst-fphex-wide.c: New file.
482 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
484         [BZ #6911]
485         * manual/macros.texi (gnusystems): New macro.
486         (nongnusystems): Likewise.
487         (gnulinuxhurdsystems): Likewise.
488         (gnuhurdsystems): Likewise..
489         (gnulinuxsystems): Likewise.
490         * manual/charset.texi: Use new macros or @theglibc{} to refer to
491         variants of the GNU system, not "GNU system".
492         * manual/conf.texi: Likewise.
493         * manual/errno.texi: Likewise.  Update example of errno macro
494         expansion.
495         * manual/filesys.texi: Likewise.
496         (getumask): Document as specific to GNU/Hurd.
497         * manual/install.texi: Likewise.  Reword some references to
498         GNU/Linux.
499         * manual/intro.texi: Likewise.
500         * manual/io.texi: Likewise.
501         (File Name Portability): Detail which constraints are inapplicable
502         to all GNU systems and which are only inapplicable to GNU/Hurd.
503         * manual/job.texi: Likewise.
504         * manual/llio.texi: Likewise.
505         (O_NOCTTY): Document as present on GNU/Linux.
506         * manual/maint.texi: Likewise.
507         * manual/memory.texi: Likewise.
508         * manual/pattern.texi: Likewise.
509         * manual/pipe.texi: Likewise.
510         * manual/process.texi: Likewise.
511         * manual/resource.texi: Likewise.
512         (RUSAGE_CHILDREN): Remove statement about specifying a particular
513         child on GNU/Hurd.
514         * manual/setjmp.texi: Likewise.
515         * manual/signal.texi: Likewise.
516         * manual/startup.texi: Likewise.
517         * manual/stdio.texi: Likewise.
518         * manual/terminal.texi: Likewise.
519         (ONLCR): Document as POSIX.
520         (OXTABS): Document availability on GNU/Linux as XTABS.
521         (ONOEOT): Document availability separately from other bits.
522         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
523         * manual/time.texi: Likewise.
524         * manual/users.texi: Likewise.
525         * INSTALL: Regenerated.
526         * sysdeps/gnu/errlist.c: Regenerated.
528         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
529         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
530         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
531         puts.
532         * configure: Regenerated.
534 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
536         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
537         default includes instead of AC_HEADER_CHECK.
538         * sysdeps/i386/configure: Regenerated.
540         [BZ #10716]
541         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
542         * math/s_cacoshf.c (__cacoshf): Likewise.
543         * math/s_cacoshl.c (__cacoshl): Likewise.
544         * math/s_casinh.c (__casinh): Set signs of result from argument.
545         * math/s_casinhf.c (__casinhf): Likewise.
546         * math/s_casinhl.c (__casinhl): Likewise.
547         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
548         (casinh_test): Add more tests.
549         * sysdeps/i386/fpu/libm-test-ulps: Update.
550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
554         * po/zh_TW.po: Update from translation team.
556         * login/Makefile (distribute): Remove variable.
557         * catgets/Makefile: Likewise.
558         * mach/Makefile: Likewise.
559         * malloc/Makefile: Likewise.
560         * misc/Makefile: Likewise.
561         * iconv/Makefile: Likewise.
562         * nscd/Makefile: Likewise.
563         * hurd/Makefile: Likewise.
564         * manual/Makefile: Likewise.
565         * locale/Makefile: Likewise.
566         * intl/Makefile: Likewise.
567         * conform/Makefile: Likewise.
568         * nss/Makefile: Likewise.
569         * time/Makefile: Likewise.
570         * soft-fp/Makefile: Likewise.
571         * dirent/Makefile: Likewise.
572         * gmon/Makefile: Likewise.
573         * po/Makefile: Likewise.
574         * rt/Makefile: Likewise.
575         * socket/Makefile: Likewise.
576         * math/Makefile: Likewise.
577         * signal/Makefile: Likewise.
578         * debug/Makefile: Likewise.
579         * elf/Makefile: Likewise.
580         * timezone/Makefile: Likewise.
581         * stdlib/Makefile: Likewise.
582         * iconvdata/Makefile: Likewise.
583         * sunrpc/Makefile: Likewise.
584         * io/Makefile: Likewise.
585         * argp/Makefile: Likewise.
586         * inet/Makefile: Likewise.
587         * hesiod/Makefile: Likewise.
588         * grp/Makefile: Likewise.
589         * csu/Makefile: Likewise.
590         * wctype/Makefile: Likewise.
591         * crypt/Makefile: Likewise.
592         * libio/Makefile: Likewise.
593         * string/Makefile: Likewise.
594         * nis/Makefile: Likewise.
595         * resolv/Makefile: Likewise.
596         * stdio-common/Makefile: Likewise.
597         * wcsmbs/Makefile: Likewise.
598         * dlfcn/Makefile: Likewise.
599         * posix/Makefile: Likewise.
601         * timezone/Makefile: Don't install timezone files, just the programs
602         and scripts.
604 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
606         * nss/databases.def: Add missing gshadow entry.
608         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
610 2012-03-06  Marek Polacek  <polacek@redhat.com>
612         [BZ #13726]
613         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
614         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
615         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
616         * stdio-common/tst-long-dbl-fphex.c: New file.
618 2012-03-06  David S. Miller  <davem@davemloft.net>
620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
621         (set_obp_int): New function.
622         (get_obp_int): New function.
623         (__get_clockfreq_via_dev_openprom): Likewise.
624         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
625         Avoid unused variable warnings on 'val' and use builtin_expect.
626         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
627         __builtin_expect.
628         (INLINE_CLONE_SYSCALL): Likewise.
630 2012-03-05  David S. Miller  <davem@davemloft.net>
632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
634 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
639         only for |x| >= 40.
640         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
642 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
645         Replace gettimeofday with __vdso_gettimeofday.
647         * sysdeps/unix/sysv/linux/x86_64/init-first.c
648         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
649         __vdso_clock_gettime and __vdso_getcpu.
651         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
652         time with __vdso_time.
654 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
656         * manual/lang.texi (size_t): Note types to which size_t may be
657         equivalent with the GNU C Library, but do not describe when
658         differences between them are significant.
660 2012-03-05  Andreas Jaeger  <aj@suse.de>
662         * sysdeps/i386/fpu/libm-test-ulps: Update.
664 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
666         [BZ #3976]
667         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
668         (__ieee754_pow): Save and restore rounding mode and use
669         round-to-nearest for main computations.
670         * math/libm-test.inc (pow_test_tonearest): New function.
671         (pow_test_towardzero): Likewise.
672         (pow_test_downward): Likewise.
673         (pow_test_upward): Likewise.
674         (main): Call the new functions.
675         * sysdeps/i386/fpu/libm-test-ulps: Update.
676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
678         [BZ #3976]
679         * math/libm-test.inc (cosh_test_tonearest): New function.
680         (cosh_test_towardzero): Likewise.
681         (cosh_test_downward): Likewise.
682         (cosh_test_upward): Likewise.
683         (sinh_test_tonearest): Likewise.
684         (sinh_test_towardzero): Likewise.
685         (sinh_test_downward): Likewise.
686         (sinh_test_upward): Likewise.
687         (main): Call the new functions.
688         * sysdeps/i386/fpu/libm-test-ulps: Update.
689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
691 2012-03-05  Tom de Vries  <tom@codesourcery.com>
693         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
694         default stack guard is set in last bytes.
695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
697 2012-03-05  Kees Cook  <keescook@chromium.org>
699         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
701         [BZ #13656]
702         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
703         possibly allocate from heap instead of stack.
704         * stdio-common/bug-vfprintf-nargs.c: New file.
705         * stdio-common/Makefile (tests): Add nargs overflow test.
707 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
711 2012-03-03  Marek Polacek  <polacek@redhat.com>
713         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
714         * math/math_private.h: Likewise.
715         * stdlib/tst-strtod.c: Likewise.
716         * sysdeps/i386/i486/bits/atomic.h: Likewise.
717         * sysdeps/x86_64/bits/atomic.h: Likewise.
719 2012-03-02  David S. Miller  <davem@davemloft.net>
721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
725         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
726         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
727         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
728         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
730 2012-03-02  Roland McGrath  <roland@hack.frob.com>
732         [BZ #13792]
733         * manual/examples/README: New file, says the example source files
734         can be used under GPL>=2.
735         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
736         line containing just "*/".
737         * manual/examples/add.c: Add copyright header (GPL>=2).
738         * manual/examples/argp-ex1.c: Likewise.
739         * manual/examples/argp-ex2.c: Likewise.
740         * manual/examples/argp-ex3.c: Likewise.
741         * manual/examples/argp-ex4.c: Likewise.
742         * manual/examples/atexit.c: Likewise.
743         * manual/examples/db.c: Likewise.
744         * manual/examples/dir.c: Likewise.
745         * manual/examples/dir2.c: Likewise.
746         * manual/examples/execinfo.c: Likewise.
747         * manual/examples/filecli.c: Likewise.
748         * manual/examples/filesrv.c: Likewise.
749         * manual/examples/fmtmsgexpl.c: Likewise.
750         * manual/examples/genpass.c: Likewise.
751         * manual/examples/inetcli.c: Likewise.
752         * manual/examples/inetsrv.c: Likewise.
753         * manual/examples/isockad.c: Likewise.
754         * manual/examples/longopt.c: Likewise.
755         * manual/examples/memopen.c: Likewise.
756         * manual/examples/memstrm.c: Likewise.
757         * manual/examples/mkfsock.c: Likewise.
758         * manual/examples/mkisock.c: Likewise.
759         * manual/examples/mygetpass.c: Likewise.
760         * manual/examples/pipe.c: Likewise.
761         * manual/examples/popen.c: Likewise.
762         * manual/examples/rprintf.c: Likewise.
763         * manual/examples/search.c: Likewise.
764         * manual/examples/select.c: Likewise.
765         * manual/examples/setjmp.c: Likewise.
766         * manual/examples/sigh1.c: Likewise.
767         * manual/examples/sigusr.c: Likewise.
768         * manual/examples/stpcpy.c: Likewise.
769         * manual/examples/strdupa.c: Likewise.
770         * manual/examples/strftim.c: Likewise.
771         * manual/examples/strncat.c: Likewise.
772         * manual/examples/subopt.c: Likewise.
773         * manual/examples/swapcontext.c: Likewise.
774         * manual/examples/termios.c: Likewise.
775         * manual/examples/testopt.c: Likewise.
776         * manual/examples/testpass.c: Likewise.
777         * manual/examples/timeval_subtract.c: Likewise.
779         [BZ #13792]
780         * manual/time.texi (Elapsed Time): Move timeval_subtract example
781         function to ...
782         * manual/timeval_subtract.c.texi: ... here, new file.
784 2012-03-02  David S. Miller  <davem@davemloft.net>
786         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
788 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
790         [BZ #3976]
791         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
792         (__sin): Save and restore rounding mode and use round-to-nearest
793         for all computations.
794         (__cos): Save and restore rounding mode and use round-to-nearest
795         for all computations.
796         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
797         <fenv.h>.
798         (tan): Save and restore rounding mode and use round-to-nearest for
799         all computations.
800         * math/libm-test.inc (cos_test_tonearest): New function.
801         (cos_test_towardzero): Likewise.
802         (cos_test_downward): Likewise.
803         (cos_test_upward): Likewise.
804         (sin_test_tonearest): Likewise.
805         (sin_test_towardzero): Likewise.
806         (sin_test_downward): Likewise.
807         (sin_test_upward): Likewise.
808         (tan_test_tonearest): Likewise.
809         (tan_test_towardzero): Likewise.
810         (tan_test_downward): Likewise.
811         (tan_test_upward): Likewise.
812         (main): Call the new functions.
813         * sysdeps/i386/fpu/libm-test-ulps: Update.
814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816         [BZ #10135]
817         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
818         small n, then large n, before computing and testing k+n.
819         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
821         Likewise.
822         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
823         Likewise.
824         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
825         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
826         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
827         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
828         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
829         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
831         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
832         * math/libm-test.inc (scalbn_test): Add more tests.
833         (scalbln_test): Likewise.
835         * manual/filesys.texi (mode_t): Describe constraints on size and
836         signedness, not exact equivalence to a particular type.
837         (ino_t): Likewise.
838         (ino64_t): Likewise.
839         (dev_t): Likewise.
840         (nlink_t): Likewise.
841         (blkcnt_t): Likewise.
842         (blkcnt64_t): Likewise.
843         * manual/llio.texi (off_t): Likewise.
845         [BZ #3976]
846         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
847         (__ieee754_exp): Save and restore rounding mode and use
848         round-to-nearest for all computations.
849         * math/libm-test.inc (exp_test_tonearest): New function.
850         (exp_test_towardzero): Likewise.
851         (exp_test_downward): Likewise.
852         (exp_test_upward): Likewise.
853         (main): Call the new functions.
854         * sysdeps/i386/fpu/libm-test-ulps: Update.
855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
857 2012-03-01  Chris Demetriou  <cgd@google.com>
859         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
860         have predictable order.
862 2012-03-01  David S. Miller  <davem@davemloft.net>
864         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
866         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
867         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
868         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
869         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
871         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
872         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
873         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
875         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
876         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
877         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
878         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
879         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
883         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
884         * sysdeps/sparc/fpu/libm-test-ulps: to here.
885         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
887         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
888         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
889         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
890         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
891         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
892         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
893         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
894         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
895         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
896         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
897         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
898         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
899         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
900         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
901         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
902         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
903         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
904         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
905         * sysdeps/sparc/elf/configure: Regenerated.
907 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
909         * configure.in (AS, LD): Require binutils 2.20 or later.
910         * configure: Regenerated.
911         * manual/install.texi (Tools for Compilation): Give binutils 2.20
912         as required minimum version.
913         * INSTALL: Regenerated.
915         [BZ #2541]
916         [BZ #4108]
917         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
918         before squaring exponent.
919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
920         bottom long double and 27 bits of top long double before squaring
921         exponent.
922         * math/libm-test.inc (erfc_test): Add more tests.
923         * sysdeps/i386/fpu/libm-test-ulps: Update.
924         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
927 2012-03-01  Kai Tietz  <ktietz@redhat.com>
929         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
930         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
931         containing bit-fields.
932         * soft-fp/extended.h (_FP_UNION_E): Likewise.
933         * soft-fp/single.h (_FP_UNION_S): Likewise.
934         * soft-fp/double.h (_FP_UNION_D): Likewise.
936 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
938         [BZ #13786]
939         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
940         not include ../strcmp.S.
941         [USE_AS_STRNCASECMP_L]: Likewise.
942         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
943         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
944         * sysdeps/i386/i686/multiarch/strncase_l-c.c
945         (__strncasecmp_l_ia32): Define as alias to
946         __strncasecmp_l_nonascii.
948         [BZ #5794]
949         * math/libm-test.inc (expm1_test): Add test for bug 5794.
950         * sysdeps/i386/fpu/libm-test-ulps: Update.
951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
956 2012-02-29  Jeff Law  <law@redhat.com>
958         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
959         out of bounds read.
961 2012-02-29  Marek Polacek  <polacek@redhat.com>
963         [BZ #13706]
964         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
965         * elf/Makefile: Add rules to run tst-unused-dep.out.
967 2012-02-28  David S. Miller  <davem@davemloft.net>
969         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
970         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
971         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
972         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
973         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
974         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
976 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
978         * math/libm-test.inc (llround_test): Move one test from
979         lround_test.  Use TEST_f_L in moved test.
980         (lround_test): Move misplaced test to llround_test.  Add testcase
981         from bug 2561.
983 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
985         * sysdeps/x86_64/fpu/e_expf.S: New file.
986         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
988 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
990         [BZ #13637]
991         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
992         of remain_len that may cause incomplete multi-byte character and
993         false match.
994         * posix/bug-regex33.c: New file.
995         * posix/Makefile (tests): Add bug-regex33.
997 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
999         * manual/macros.texi: New file.
1000         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1001         * manual/libc.texinfo: Include macros.texi.
1002         * manual/creatute.texi: Likewise.
1003         * manual/install.texi: Likewise.
1004         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1005         @glibcadj{} in references to the GNU C Library.
1006         * manual/charset.texi: Likewise.
1007         * manual/conf.texi: Likewise.
1008         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
1009         when not using those macros.
1010         * manual/creature.texi: Likewise.
1011         * manual/crypt.texi: Likewise.
1012         * manual/errno.texi: Likewise.
1013         * manual/filesys.texi: Likewise.
1014         * manual/header.texi: Likewise.
1015         * manual/install.texi: Likewise.
1016         * manual/intro.texi: Likewise.
1017         * manual/io.texi: Likewise.
1018         * manual/job.texi: Likewise.
1019         * manual/lang.texi: Likewise.
1020         * manual/libc.texiinfo: Likewise.
1021         * manual/llio.texi: Likewise.
1022         * manual/locale.texi: Likewise.
1023         * manual/maint.texi: Likewise.
1024         * manual/math.texi: Likewise.
1025         * manual/memory.texi: Likewise.
1026         * manual/message.texi: Likewise.
1027         * manual/nss.texi: Likewise.
1028         * manual/pattern.texi: Likewise.
1029         * manual/process.texi: Likewise.
1030         * manual/resource.texi: Likewise.
1031         * manual/search.texi: Likewise.
1032         * manual/setjmp.texi: Likewise.
1033         * manual/signal.texi: Likewise.
1034         * manual/socket.texi: Likewise.
1035         * manual/startup.texi: Likewise.
1036         * manual/stdio.texi: Likewise.
1037         * manual/string.texi: Likewise.
1038         * manual/sysinfo.texi: Likewise.
1039         * manual/syslog.texi: Likewise.
1040         * manual/terminal.texi: Likewise.
1041         * manual/time.texi: Likewise.
1042         * manual/users.texi: Likewise.
1043         * INSTALL: Regenerated.
1044         * NOTES: Regenerated.
1045         * sysdeps/gnu/errlist.c: Regenerated.
1047 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1049         * include/dirent.h: Include <dirstream.h> before
1050         <dirent/dirent.h>.
1052 2012-02-28  David S. Miller  <davem@davemloft.net>
1054         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1055         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1056         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1057         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1059 2012-02-27  David S. Miller  <davem@davemloft.net>
1061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1063         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1064         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1067         frame pointer instead of stack pointer relative arg slot.
1068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1069         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1070         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1072 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
1074         [BZ #3992]
1075         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1077 2012-02-27  David S. Miller  <davem@davemloft.net>
1079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1083         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1084         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1085         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1086         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1088 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1090         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1091         later.  Allow versions 5-9.
1092         * configure: Regenerated.
1093         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1094         required minimum version and 4.6 as recommended version.  Do not
1095         mention bugs in GCC 2.7 and 2.8.
1096         * INSTALL: Regenerated.
1098 2012-02-27  David S. Miller  <davem@davemloft.net>
1100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1104         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1105         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1106         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1107         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1110         manipulate bits before adding and subtracting TWO112[sx].
1111         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1113 2012-02-27  Roland McGrath  <roland@hack.frob.com>
1115         [BZ #13775]
1116         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1117         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1118         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1119         being in POSIX, because they are in 1003.1-2008.
1121         * rt/tst-aio.c: Include <fcntl.h>.
1122         * rt/tst-aio7.c: Likewise.
1123         * rt/tst-aio64.c: Likewise.
1125         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1127 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
1129         * manual/install.texi (--with-headers): Describe headers as
1130         interface headers, not private headers.
1131         (Specific advice for GNU/Linux systems): Describe use of headers
1132         from "make headers_install", not private headers from older
1133         kernels.
1134         * INSTALL: Regenerated.
1135         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1136         Change to 2.6.19.
1137         * sysdeps/unix/sysv/linux/configure: Regenerated.
1139         * manual/llio.texi (fclean): Remove documentation.
1141         * manual/Makefile (libc-texi-generated): New variable.  Include
1142         version.texi.
1143         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1144         $(libc-texi-generated), not duplicated list of files.
1145         (version.texi, stamp-version): New rules.
1146         (realclean): Remove $(libc-texi-generated), not individual files
1147         from that list.  Do not remove dir-add.texinfo.
1148         * manual/libc.texinfo: Comment out uses of edition numbers and
1149         references to printed manual.  Remove last-updated dates.
1150         (EDITION): Comment out.
1151         (ISBN): Likewise.
1152         (VERSION, UPDATED): Remove.
1153         (version.texi): Include.
1155 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
1157         * sysdeps/posix/spawni.c: Include <signal.h>.
1158         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1159         * sysdeps/pthread/aio_fsync.c: Likewise.
1161 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
1163         * conform/Makefile (tests): Run only when not cross-compiling and
1164         when fast-check is not defined.
1166         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1167         * conform/data/limits.h-data: Fixes for POSIX2008.
1168         * conform/run-conformtest.sh: Run all tests.
1169         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1170         headers.
1171         * include/bits/dlfcn.h: Likewise.
1172         * include/langinfo.h: Likewise.
1173         * include/monetary.h: Likewise.
1174         * include/sys/poll.h: Likewise.
1176         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1177         for __USE_GNU.
1178         * posix/spawn.h: Define __need_sigset_t.
1179         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1180         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1181         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
1182         to get sigevent_t only.
1183         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1184         only for __USE_GNU.
1185         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1186         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1187         process_vm_writev only for __USE_GNU.
1188         * termios/termios.h: Declare tcgetsid also for POSIX2008.
1190         * conform/Makefile: For now ignore errors from run-conformtest.
1191         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
1192         POSIX to avoid namespace pollution.  Don't prepend headers.
1193         * conform/data/aio.h-data: Fixes for POSIX testing.
1194         * conform/data/fcntl.h-data: Likewise.
1195         * conform/data/glob.h-data: Likewise.
1196         * conform/data/grp.h-data: Likewise.
1197         * conform/data/pthread.h-data: Likewise.
1198         * conform/data/pwd.h-data: Likewise.
1199         * conform/data/signal.h-data: Likewise.
1200         * conform/data/spawn.h-data: Likewise.
1201         * conform/data/stdio.h-data: Likewise.
1202         * conform/data/stdlib.h-data: Likewise.
1203         * conform/data/stropts.h-data: Likewise.
1204         * conform/data/sys/mman.h-data: Likewise.
1205         * conform/data/sys/stat.h-data: Likewise.
1206         * conform/data/sys/types.h-data: Likewise.
1207         * conform/data/sys/wait.h-data: Likewise.
1208         * conform/data/time.h-data: Likewise.
1209         * conform/data/unistd.h-data: Likewise.
1210         * conform/data/utime.h-data: Likewise.
1212         * io/sys/stat.h: fchmod was always in POSIX.
1213         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1214         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1215         * rt/aio.h: Define __need_timespec before including <time.h>.
1216         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1217         struct.  Add forward declaration of pthread_attr_t and use it in
1218         sigevent.
1219         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1221         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1222         always remove CLK_TCK definition.
1224 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
1226         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1228 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
1230         * conform/run-conformtest.sh: New file.
1231         * conform/Makefile: Run run-conformtest for tests.
1232         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
1233         support.
1235         * conform/data/uchar.h-data: New file.
1236         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1237         * conform/data/arpa/inet.h-data: Likewise.
1238         * conform/data/assert.h-data: Likewise.
1239         * conform/data/complex.h-data: Likewise.
1240         * conform/data/cpio.h-data: Likewise.
1241         * conform/data/ctype.h-data: Likewise.
1242         * conform/data/dirent.h-data: Likewise.
1243         * conform/data/dlfcn.h-data: Likewise.
1244         * conform/data/errno.h-data: Likewise.
1245         * conform/data/fcntl.h-data: Likewise.
1246         * conform/data/float.h-data: Likewise.
1247         * conform/data/fmtmsg.h-data: Likewise.
1248         * conform/data/fnmatch.h-data: Likewise.
1249         * conform/data/ftw.h-data: Likewise.
1250         * conform/data/glob.h-data: Likewise.
1251         * conform/data/grp.h-data: Likewise.
1252         * conform/data/iconv.h-data: Likewise.
1253         * conform/data/inttypes.h-data: Likewise.
1254         * conform/data/langinfo.h-data: Likewise.
1255         * conform/data/libgen.h-data: Likewise.
1256         * conform/data/limits.h-data: Likewise.
1257         * conform/data/locale.h-data: Likewise.
1258         * conform/data/math.h-data: Likewise.
1259         * conform/data/monetary.h-data: Likewise.
1260         * conform/data/mqueue.h-data: Likewise.
1261         * conform/data/ndbm.h-data: Likewise.
1262         * conform/data/net/if.h-data: Likewise.
1263         * conform/data/netdb.h-data: Likewise.
1264         * conform/data/netinet/in.h-data: Likewise.
1265         * conform/data/nl_types.h-data: Likewise.
1266         * conform/data/poll.h-data: Likewise.
1267         * conform/data/pthread.h-data: Likewise.
1268         * conform/data/pwd.h-data: Likewise.
1269         * conform/data/regex.h-data: Likewise.
1270         * conform/data/sched.h-data: Likewise.
1271         * conform/data/search.h-data: Likewise.
1272         * conform/data/semaphore.h-data: Likewise.
1273         * conform/data/setjmp.h-data: Likewise.
1274         * conform/data/signal.h-data: Likewise.
1275         * conform/data/spawn.h-data: Likewise.
1276         * conform/data/stdarg.h-data: Likewise.
1277         * conform/data/stdio.h-data: Likewise.
1278         * conform/data/stdlib.h-data: Likewise.
1279         * conform/data/string.h-data: Likewise.
1280         * conform/data/strings.h-data: Likewise.
1281         * conform/data/stropts.h-data: Likewise.
1282         * conform/data/sys/ipc.h-data: Likewise.
1283         * conform/data/sys/mman.h-data: Likewise.
1284         * conform/data/sys/msg.h-data: Likewise.
1285         * conform/data/sys/resource.h-data: Likewise.
1286         * conform/data/sys/select.h-data: Likewise.
1287         * conform/data/sys/sem.h-data: Likewise.
1288         * conform/data/sys/shm.h-data: Likewise.
1289         * conform/data/sys/socket.h-data: Likewise.
1290         * conform/data/sys/stat.h-data: Likewise.
1291         * conform/data/sys/statvfs.h-data: Likewise.
1292         * conform/data/sys/time.h-data: Likewise.
1293         * conform/data/sys/timeb.h-data: Likewise.
1294         * conform/data/sys/times.h-data: Likewise.
1295         * conform/data/sys/types.h-data: Likewise.
1296         * conform/data/sys/uio.h-data: Likewise.
1297         * conform/data/sys/un.h-data: Likewise.
1298         * conform/data/sys/utsname.h-data: Likewise.
1299         * conform/data/sys/wait.h-data: Likewise.
1300         * conform/data/syslog.h-data: Likewise.
1301         * conform/data/tar.h-data: Likewise.
1302         * conform/data/termios.h-data: Likewise.
1303         * conform/data/utime.h-data: Likewise.
1304         * conform/data/utmpx.h-data: Likewise.
1305         * conform/data/varargs.h-data: Likewise.
1306         * conform/data/wchar.h-data: Likewise.
1307         * conform/data/wctype.h-data: Likewise.
1308         * conform/data/wordexp.h-data: Likewise.
1310         * include/stropts.h: New file.
1311         * include/uchar.h: New file.
1312         * include/aio.h: Changes to allow conformtest.pl to use the headers.
1313         * include/assert.h: Likewise.
1314         * include/ctype.h: Likewise.
1315         * include/dirent.h: Likewise.
1316         * include/dlfcn.h: Likewise.
1317         * include/fcntl.h: Likewise.
1318         * include/fnmatch.h: Likewise.
1319         * include/glob.h: Likewise.
1320         * include/grp.h: Likewise.
1321         * include/libio.h: Likewise.
1322         * include/locale.h: Likewise.
1323         * include/math.h: Likewise.
1324         * include/net/if.h: Likewise.
1325         * include/netdb.h: Likewise.
1326         * include/netinet/in.h: Likewise.
1327         * include/pthread.h: Likewise.
1328         * include/pwd.h: Likewise.
1329         * include/regex.h: Likewise.
1330         * include/sched.h: Likewise.
1331         * include/search.h: Likewise.
1332         * include/setjmp.h: Likewise.
1333         * include/signal.h: Likewise.
1334         * include/stdio.h: Likewise.
1335         * include/stdlib.h: Likewise.
1336         * include/string.h: Likewise.
1337         * include/sys/cdefs.h: Likewise.
1338         * include/sys/mman.h: Likewise.
1339         * include/sys/msg.h: Likewise.
1340         * include/sys/resource.h: Likewise.
1341         * include/sys/select.h: Likewise.
1342         * include/sys/socket.h: Likewise.
1343         * include/sys/stat.h: Likewise.
1344         * include/sys/statvfs.h: Likewise.
1345         * include/sys/time.h: Likewise.
1346         * include/sys/times.h: Likewise.
1347         * include/sys/uio.h: Likewise.
1348         * include/sys/utsname.h: Likewise.
1349         * include/sys/wait.h: Likewise.
1350         * include/termios.h: Likewise.
1351         * include/time.h: Likewise.
1352         * include/ulimit.h: Likewise.
1353         * include/unistd.h: Likewise.
1354         * include/utime.h: Likewise.
1355         * include/wchar.h: Likewise.
1356         * include/wctype.h: Likewise.
1357         * include/wordexp.h: Likewise.
1359         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1361         * time/time.h: TIME_UTC must be a macro.
1362         Make timespec_get available for ISO C11 only as well.
1364 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
1366         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1367         Reported by Peng Haitao <penght@cn.fujitsu.com>.
1369 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
1371         * configure.in: Use -o not -a in test for unsupported multi-arch.
1373 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
1375         * manual/texinfo.tex: Update to version 2012-01-19.16.
1377 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
1379         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1381 2012-02-24  Roland McGrath  <roland@hack.frob.com>
1383         [BZ #13738]
1384         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1385         * manual/fdl-1.3.texi: New file.
1386         * manual/fdl-1.1.texi: File removed.
1388         [BZ #13738]
1389         * manual/libc.texinfo (FDL_VERSION): New @set.
1390         Use it for mention of FDL in cover text.
1391         (Documentation License): Use it in @include file name.
1393 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1394             Roland McGrath  <roland@hack.frob.com>
1396         [BZ #5461]
1397         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1398         not LONG_LONG_MAX and LONG_LONG_MIN.
1399         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1400         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
1401         name.
1402         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1404 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1406         [BZ #2547]
1407         [BZ #11365]
1408         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1409         manipulate bits before adding and subtracting TWO23[sx].
1410         * math/libm-test.inc (nearbyint_test): Add more tests.
1412 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1414         [BZ #2548]
1415         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1416         bits before adding and subtracting TWO23[sx].
1417         * math/libm-test.inc (rint_test): Add more tests.
1418         (rint_test_tonearest): Likewise.
1419         (rint_test_towardzero): Likewise.
1420         (rint_test_downward): Likewise.
1421         (rint_test_upward: Likewise.
1423 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1425         [BZ #10110]
1426         * include/stdc-predef.h: New file.  Extracted from features.h.
1427         * include/features.h: Include stdc-predef.h.
1428         * Makefile (headers): Add stdc-predef.h.
1429         * CONFORMANCE (Compiler limitations): Update.
1431 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
1433         * manual/libc.texinfo (VERSION, UPDATED): Revert.
1435 2012-02-21  David S. Miller  <davem@davemloft.net>
1437         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1438         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1440 2012-02-20  David S. Miller  <davem@davemloft.net>
1442         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1443         using a normal save/restore sequence, rather than allocating a
1444         dummy stack frame just to store a frame pointer and restore.
1445         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1447 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1449         * manual/install.texi: Fix stray word in line-wrapped comment.
1451 2012-02-20  David S. Miller  <davem@davemloft.net>
1453         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1454         both binutils and gcc support GOTDATA.
1456         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1457         "rd %pc" in the PIC register setup sequences.
1459         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1460         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1461         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1462         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1463         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1465         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1466         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1467         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1468         (SYSCALL_ERROR_HANDLER): Likewise.
1469         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1470         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1472         (SYSCALL_ERROR_HANDLER): Likewise.
1474         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1475         (HAVE_GCC_GOTDATA): New.
1476         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1477         relocation support in both binutils and gcc.
1478         * sysdeps/sparc/elf/configure: Regenerate.
1480         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1481         * sysdeps/sparc/sparc32/elf/configure: Delete.
1482         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1483         * sysdeps/sparc/sparc64/elf/configure: Delete.
1484         * sysdeps/sparc/elf/configure.in: New file.
1485         * sysdeps/sparc/elf/configure: Generate.
1487         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1488         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1489         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1490         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1491         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1493 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1495         * manual/install.texi: Do not mention specific glibc version
1496         numbers.
1497         * manual/libc.texinfo (VERSION, UPDATED): Update.
1498         (@copying): Use @copyright{} and range of years.
1500 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
1502         [BZ #13695]
1503         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1504         [crti.S not in sysdirs] (generated): Do not append.
1505         [crti.S not in sysdirs] (omit-deps): Likewise.
1506         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1507         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1508         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1509         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1510         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1511         Likewise.
1512         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1513         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1514         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1515         * csu/defs.awk: Remove file.
1516         * sysdeps/generic/initfini.c: Likewise.
1517         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1518         variable.
1519         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1520         Likewise.
1522 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
1524         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1525         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1526         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1528         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1529         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1530         <bits/epoll.h>.
1531         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1532         (__EPOLL_PACKED): Define to empty if not defined by
1533         <bits/epoll.h>.
1534         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1536         bits/epoll.h.
1538 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
1540         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1541         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1542         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1543         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1544         <bits/timerfd.h>.
1545         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1547         bits/timerfd.h.
1549 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
1551         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1552         in C locale.
1553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1554         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1555         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1558 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
1560         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1561         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1563 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
1565         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1566         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1567         defined.
1568         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1569         Likewise.
1570         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1571         entry for 2.16.
1573 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
1575         * math/w_acos.c: Use non-signaling floating-point comparisons.
1576         * math/w_acosf.c: Likewise.
1577         * math/w_acosh.c: Likewise.
1578         * math/w_acoshf.c: Likewise.
1579         * math/w_acoshl.c: Likewise.
1580         * math/w_acosl.c: Likewise.
1581         * math/w_asin.c: Likewise.
1582         * math/w_asinf.c: Likewise.
1583         * math/w_asinl.c: Likewise.
1584         * math/w_atanh.c: Likewise.
1585         * math/w_atanhf.c: Likewise.
1586         * math/w_atanhl.c: Likewise.
1587         * math/w_exp2.c: Likewise.
1588         * math/w_exp2f.c: Likewise.
1589         * math/w_exp2l.c: Likewise.
1590         * math/w_j0.c: Likewise.
1591         * math/w_j0f.c: Likewise.
1592         * math/w_j0l.c: Likewise.
1593         * math/w_j1.c: Likewise.
1594         * math/w_j1f.c: Likewise.
1595         * math/w_j1l.c: Likewise.
1596         * math/w_jn.c: Likewise.
1597         * math/w_jnf.c: Likewise.
1598         * math/w_log.c: Likewise.
1599         * math/w_log10.c: Likewise.
1600         * math/w_log10f.c: Likewise.
1601         * math/w_log10l.c: Likewise.
1602         * math/w_log2.c: Likewise.
1603         * math/w_log2f.c: Likewise.
1604         * math/w_log2l.c: Likewise.
1605         * math/w_logf.c: Likewise.
1606         * math/w_logl.c: Likewise.
1607         * math/w_sqrt.c: Likewise.
1608         * math/w_sqrtf.c: Likewise.
1609         * math/w_sqrtl.c: Likewise.
1610         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1611         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1612         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1613         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1614         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1616 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
1618         [BZ #9739]
1619         * manual/string.texi (strnlen): Use correct parameter name in
1620         equivalent expression.
1622 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
1624         [BZ #11174]
1625         * manual/users.texi (seteuid): Consistently use neweuid for
1626         argument name.
1628 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
1630         [BZ #13704]
1631         * manual/nss.texi (Services in the NSS configuration): Correct
1632         list of services in example configuration file.
1634 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
1636         [BZ #11322]
1637         * manual/arith.texi: Remove statements about negative zero
1638         behaving identically to zero.
1640 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
1642         [BZ #5993]
1643         * manual/install.texi: Do not document upgrading from libc5.
1645 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
1647         [BZ #4596]
1648         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1650 2012-02-18  David S. Miller  <davem@davemloft.net>
1652         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1653         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1654         %o7 across the call.
1655         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1656         instead.
1657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1658         SETUP_PIC_REG_LEAF.
1659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1660         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1661         * sysdeps/sparc/crtn.S: Likewise.
1663 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
1665         * aout/Makefile: Remove.
1667 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
1669         [BZ #13058]
1670         * manual/examples/argp-ex1.c (main): Format definition in GNU
1671         style.
1672         * manual/examples/argp-ex2.c (main): Likewise.
1673         * manual/examples/argp-ex3.c (main): Likewise.
1674         * manual/examples/argp-ex4.c (main): Likewise.
1675         * manual/examples/longopt.c (main): Use new-style prototype
1676         definition.
1677         * manual/examples/strncat.c (main): Specify return type and use
1678         (void) for arguments.
1679         * manual/examples/subopt.c (main): Use char **argv argument.
1681 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
1683         [BZ #5077]
1684         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1685         rounding modes.
1687 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
1689         [BZ #6907]
1690         * manual/string.texi (strchr): Change when strchrnul is
1691         recommended.
1693 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
1695         [BZ #174]
1696         * manual/locale.texi (setlocale): Document LOCPATH.
1698 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
1700         [BZ #10210]
1701         * manual/process.texi (execle): Move @dots{} before last argument.
1703 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
1705         [BZ #12047]
1706         * manual/charset.texi (Generic Charset Conversion): Fix typo
1707         (LC_TYPE -> LC_CTYPE).
1709 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
1711         [BZ #5805]
1712         * manual/arith.texi (scalbn): Use @var{} on parameter names.
1713         (scalbnf): Likewise.
1714         (scalbnl): Likewise.
1715         (scalbln): Likewise.
1716         (scalblnf): Likewise.
1717         (scalblnl): Likewise.
1718         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1719         (vwarnx): Likewise.
1720         (verr): Likewise.
1721         (verrx): Likewise.
1722         * manual/filesys.texi (telldir): Use braces around return type.
1723         * manual/llio.texi (mmap): Add space after comma.
1724         (mmap64): Likewise.
1725         * manual/math.texi (jn): Use @var{} on parameter names.
1726         (jnf): Likewise.
1727         (jnl): Likewise.
1728         (yn): Likewise.
1729         (ynf): Likewise.
1730         (ynl): Likewise.
1731         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1732         line.
1733         * manual/resource.texi (ulimit): Use @dots{} instead of literal
1734         "...".
1735         (sched_get_priority_min): Remove semicolon on @deftypefun line.
1736         (sched_get_priority_max): Likewise.
1737         * manual/signal.texi (sigvec): Add space after comma.
1738         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1739         names.
1740         (if_indextoname): Likewise.
1741         (if_freenameindex): Likewise.
1742         (sendto): Use ',' instead of '.' in prototype.
1743         * manual/startup.texi (syscall): Use @dots{} instead of literal
1744         "...".
1745         * manual/stdio.texi (__fpending): Separate initial words of
1746         paragraph from @deftypefun line.
1747         * manual/syslog.texi (syslog): Use @dots{} instead of literal
1748         "...".
1749         (vsyslog): Use @var{} on parameter names.
1750         * manual/terminal.texi (stty): Use @var{} on parameter names.
1751         * manual/users.texi (getutmp): Use @var{} on parameter names.
1752         (getutmpx): Likewise.
1754 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
1756         [BZ #6884]
1757         * manual/stdio.texi (fopen): Fix typos in description of
1758         ",ccs=STRING".
1760 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
1762         [BZ #4026]
1763         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1764         get clock_id definition.
1766 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
1768         [BZ #4822]
1769         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1770         (madvise): Cast every argument to void on its own.
1772 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
1774         [BZ #9902]
1775         * manual/startup.texi (Exit Status): Fix typo.
1777 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
1779         [BZ #10140]
1780         * manual/examples/argp-ex1.c: Include <stdlib.h>.
1781         * manual/examples/argp-ex2.c: Likewise.
1782         * manual/examples/argp-ex3.c: Likewise.
1784 2012-02-16  Richard Henderson  <rth@redhat.com>
1786         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1787         * sysdeps/s390/s390-32/initfini.c: Remove.
1788         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1789         * sysdeps/s390/s390-64/initfini.c: Remove.
1791 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1793         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1794         compiler output for sysdeps/generic/initfini.c.
1795         * sysdeps/sh/elf/initfini.c: Remove file.
1797 2012-02-16  David S. Miller  <davem@davemloft.net>
1799         [BZ #11494]
1800         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1802         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1803         * sysdeps/sparc/crti.S: New file.
1804         * sysdeps/sparc/crtn.S: New file.
1805         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1806         * sysdeps/sparc/sparc64/Makefile: Likewise.
1808 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
1810         [BZ #3335]
1811         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1813 2012-02-15  Roland McGrath  <roland@hack.frob.com>
1815         [BZ #4822]
1816         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1818         * mach/devstream.c (cookie_io_functions_t): Macro removed.
1819         (write, read, close): Likewise.
1820         Patch by Aurelien Jarno <aurelien@aurel32.net>.
1822 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
1824         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1825         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1826         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1827         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1828         <bits/signalfd.h>.
1829         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1831         bits/signalfd.h.
1833 2012-02-14  Marek Polacek  <polacek@redhat.com>
1835         * sysdeps/x86_64/crti.S: New file.
1836         * sysdeps/x86_64/crtn.S: New file.
1837         * sysdeps/x86_64/elf/initfini.c: Remove file.
1839 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1841         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1842         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1843         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1844         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1845         <bits/inotify.h>.
1846         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1848         bits/inotify.h.
1850 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
1852         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1853         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1854         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1855         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1856         <bits/eventfd.h>.
1857         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1859         bits/eventfd.h.
1861 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
1863         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1864         __feraiseexcept instead of feraiseexcept.
1866         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1867         nanosleep invocations.
1868         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1869         strings, and add error checking for a nanosleep invocations.
1871 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
1873         Replace FSF snail mail address with URLs, as per GNU coding standards.
1874         Most of the snail mail addresses were wrong anyway, and omitting
1875         them makes the source code easier to maintain.  Almost all of the
1876         changes are to license notices and to locale LC_IDENTIFICATION
1877         addresses, except for this one:
1878         * manual/libc.texinfo: In "Published by", give the FSF's URL,
1879         not its snail mail address.
1881 2012-02-09  Richard Henderson  <rth@twiddle.net>
1883         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1884         of kernel-features.h.
1886         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1888 2012-02-08  Marek Polacek  <polacek@redhat.com>
1890         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1891         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1892         * sysdeps/gnu/_G_config.h: Likewise.
1893         * sysdeps/generic/_G_config.h: Likewise.
1895 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
1897         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1898         tests.
1899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1901         * sysdeps/powerpc/powerpc32/crti.S: New file.
1902         * sysdeps/powerpc/powerpc32/crtn.S: New file.
1903         * sysdeps/powerpc/powerpc64/crti.S: New file.
1904         * sysdeps/powerpc/powerpc64/crtn.S: New file.
1906         * Makeconfig (have-initfini): Don't set.
1907         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1908         * configure.in (nopic_initfini): Don't substitute.
1909         * config.h.in (HAVE_INITFINI): Don't #undef.
1910         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1911         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1913 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
1915         Support crti.S and crtn.S provided directly by architectures.
1916         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1917         [crti.S in sysdirs] (omit-deps): Likewise.
1918         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1919         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1920         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1921         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1922         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1923         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1924         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1925         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1926         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1927         compiler output for sysdeps/generic/initfini.c.
1928         * sysdeps/i386/elf/Makefile: Remove file.
1929         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1931 2012-02-07  Marek Polacek  <polacek@redhat.com>
1933         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1934         * sysdeps/gnu/_G_config.h: Likewise.
1935         * sysdeps/mach/hurd/_G_config.h: Likewise.
1937 2012-02-07  Marek Polacek  <polacek@redhat.com>
1939         * math/Makefile (tests): Add tst-CMPLX2.
1940         * math/tst-CMPLX2.c: New file.
1942 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
1944         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1946         * math/libm-test.inc (jn_test): Add missing L suffix.
1948 2012-02-06  Marek Polacek  <polacek@redhat.com>
1950         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1951         * sysdeps/i386/fpu/e_powf.S: Likewise.
1952         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1953         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1954         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1955         * sysdeps/i386/fpu/e_pow.S: Likewise.
1956         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1957         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1958         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1959         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1960         * sysdeps/i386/fpu/e_log2.S: Likewise.
1961         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1962         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1963         * sysdeps/i386/fpu/e_powl.S: Likewise.
1964         * sysdeps/i386/fpu/s_log1p.S: Likewise.
1965         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1966         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1967         * sysdeps/i386/fpu/e_logl.S: Likewise.
1968         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1969         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1970         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1971         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1972         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1973         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1974         * sysdeps/i386/fpu/e_log.S: Likewise.
1975         * sysdeps/i386/fpu/s_cexp.S: Likewise.
1976         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1977         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1978         * sysdeps/i386/fpu/e_logf.S: Likewise.
1979         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1980         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1981         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1982         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1983         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1984         * sysdeps/i386/fpu/e_log10.S: Likewise.
1985         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1986         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1987         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1988         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1989         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1990         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1991         * sysdeps/i386/asm-syntax.h: Likewise.
1992         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1993         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1995         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1996         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1997         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1998         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1999         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2000         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2001         * sysdeps/powerpc/sysdep.h: Likewise.
2002         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2003         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2005 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2007         [BZ #411]
2008         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2010 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
2012         * sysdeps/i386/sysdep.h: Include <features.h>.
2013         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2014         version.
2016 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
2018         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2019         Define.
2020         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2021         LOAD_PIC_REG_STR.
2023 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2025         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2026         (SETUP_PIC_REG): Use GET_PC_THUNK.
2027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2028         macro.
2030 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2032         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2033         for non-PIC compilation.
2034         (SETUP_PIC_REG): Add .p2align directive.
2035         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2036         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2037         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2038         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2039         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2040         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2041         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2042         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2049         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2050         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2051         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2052         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2053         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2054         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2056         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2057         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2058         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2060         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2061         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2062         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2063         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2064         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2065         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2066         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2067         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2068         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2069         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2070         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2071         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2072         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2073         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2074         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2075         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2077 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
2079         * math/tst-CMPLX.c: Include <stdio.h>.
2081 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
2083         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2084         float.
2085         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2086         * sysdeps/sparc/bits/mathdef.h: Likewise.
2088 2012-01-31  Marek Polacek  <polacek@redhat.com>
2090         * libio/libio.h: Don't define _PARAMS.
2091         * locale/programs/config.h: Don't define PARAMS.
2092         * stdlib/strtol_l.c: Likewise.
2093         (__strtol_l): Remove PARAMS from the prototype.
2095 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
2097         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
2098         names.  Just use the correct names.  Remove unnecessary wrapper
2099         functions.
2100         * malloc/arena.c: Likewise.
2101         * malloc/hooks.c: Likewise.
2103         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2104         ARENA_TEST says not to.  Simplify test for creation of a new arena.
2105         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2107 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
2109         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2110         into tail calls.
2111         (update_get_addr): New function.
2112         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2113         GET_ADDR_MODULE parameter.
2115 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2117         * crypt/cert.c: Remove __STDC__ conditionals.
2118         * crypt/crypt-entry.c: Likewise.
2119         * crypt/crypt_util.c: Likewise.
2120         * libio/filedoalloc.c: Likewise.
2121         * libio/fileops.c: Likewise.
2122         * libio/genops.c: Likewise.
2123         * libio/iofclose.c: Likewise.
2124         * libio/iofdopen.c: Likewise.
2125         * libio/iofopen.c: Likewise.
2126         * libio/iofopen64.c: Likewise.
2127         * libio/iogetdelim.c: Likewise.
2128         * libio/iopopen.c: Likewise.
2129         * libio/obprintf.c: Likewise.
2130         * libio/oldfileops.c: Likewise.
2131         * libio/oldiofclose.c: Likewise.
2132         * libio/oldiofdopen.c: Likewise.
2133         * libio/oldiofopen.c: Likewise.
2134         * libio/oldiopopen.c: Likewise.
2135         * libio/wfiledoalloc.c: Likewise.
2136         * libio/wgenops.c: Likewise.
2137         * locale/programs/xmalloc.c: Likewise.
2138         * misc/syslog.c: Likewise.
2139         * stdio-common/xbug.c: Likewise.
2140         * string/memchr.c: Likewise.
2141         * string/memcmp.c: Likewise.
2142         * string/memrchr.c: Likewise.
2143         * string/rawmemchr.c: Likewise.
2144         * sysdeps/posix/getcwd.c: Likewise.
2145         * time/strftime_l.c: Likewise.
2147 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
2149         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2150         * config.make.in (config-cflags-sse2avx): Define.
2151         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2152         Fix typo.
2154 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
2156         * scripts/config.guess: Update from upstream config git repository.
2157         * scripts/config.sub: Likewise.
2159 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
2161         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2162         (EM_NUM): Update.
2163         (R_TILEPRO_*, R_TILEGX_*): New macros.
2165         * scripts/firstversions.awk: Fix bug in version range handling.
2167         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2171         * include/sys/epoll.h: New file.
2172         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2173         libc_hidden_def.
2175 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
2177         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2178         Avoid unnecessary __WORDSIZE == 64 test.
2179         (fmaxf): Use VEX format if possible.
2180         (fmax): Likewise.
2181         (fminf): Likewise.
2182         (fmin): Likewise.
2184         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2185         * math/math_private.h: Remove libc_fegetround* and
2186         libc_fesetround*.
2187         * sysdeps/i386/configure.in: Check for -msse2avx.
2188         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2189         also if SSE2AVX is defined.
2190         Remove libc_fegetround* and libc_fesetround*.
2191         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2192         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
2193         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2194         of HAS_YMM_USABLE.
2195         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2196         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2197         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2198         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2199         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2201         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2203 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2205         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2206         size is not set.
2207         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2209 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
2211         [BZ #13618]
2212         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2213         relocation.
2214         * Makeconfig (libm): Define.
2215         * elf/Makefile: Add rules to build and run tst-relsort1.
2216         * elf/tst-relsort1.c: New file.
2217         * elf/tst-relsort1mod1.c: New file.
2218         * elf/tst-relsort1mod2.c: New file.
2220 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
2222         * math/s_ldexp.c: Remove __STDC__ conditionals.
2223         * math/s_ldexpf.c: Likewise.
2224         * math/s_ldexpl.c: Likewise.
2225         * math/s_nextafter.c: Likewise.
2226         * math/s_nexttowardf.c: Likewise.
2227         * math/s_significand.c: Likewise.
2228         * math/s_significandf.c: Likewise.
2229         * math/s_significandl.c: Likewise.
2230         * math/w_jnl.c: Likewise.
2231         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2232         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2233         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2234         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2235         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2237         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2238         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2239         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2240         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2241         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2242         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2243         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2244         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2245         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2246         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2247         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2248         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2250         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2251         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2252         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2253         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2255         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2256         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2257         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2258         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2259         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2260         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2261         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2262         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2263         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2264         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2266         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2267         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2268         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2269         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2270         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2271         * sysdeps/ieee754/k_standard.c: Likewise.
2272         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2273         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2274         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2275         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2276         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2277         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2278         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2279         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2280         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2281         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2282         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2283         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2284         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2285         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2286         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2287         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2288         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2289         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2290         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2291         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2292         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2293         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2294         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2295         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2296         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2297         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2298         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2299         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2300         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2301         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2302         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2303         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2333         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2338         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2346         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2347         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2351         * sysdeps/ieee754/s_matherr.c: Likewise.
2352         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2355         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2357 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
2359         * crypt/md5.h: Remove __STDC__ conditionals.
2360         * libio/libioP.h: Likewise.
2361         * locale/programs/config.h: Likewise.
2362         * sysdeps/generic/sysdep.h: Likewise.
2363         * sysdeps/i386/asm-syntax.h: Likewise.
2364         * sysdeps/s390/asm-syntax.h: Likewise.
2365         * sysdeps/unix/sysdep.h: Likewise.
2366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2369 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
2371         * libio/libio.h: Remove __STDC__ conditionals.
2372         * malloc/obstack.h: Likewise.
2373         * math/complex.h: Likewise.
2374         * math/math.h: Likewise.
2375         * sysdeps/generic/_G_config.h: Likewise.
2376         * sysdeps/gnu/_G_config.h: Likewise.
2377         * sysdeps/mach/hurd/_G_config.h: Likewise.
2378         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2379         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2380         * sysdeps/sparc/bits/mathdef.h: Likewise.
2382 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
2384         [BZ #13583]
2385         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2386         Clean up HAS_* macros.
2387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2388         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2389         possible.
2390         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2391         HAS_AVX.
2392         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2393         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2394         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2395         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2396         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2398 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
2400         * elf/tst-unique3.cc (gets): Remove declaration.
2401         * elf/tst-unique3lib.cc (gets): Likewise.
2402         * elf/tst-unique3lib2.cc (gets): Likewise.
2403         * elf/tst-unique4.cc (gets): Likewise.
2405 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
2407         * include/stdio.h: Add C++ protection.  Add gets declarations and
2408         definitions.
2409         * debug/tst-chk1.c: Don't declare gets here.
2410         * stdio-common/tst-gets.c: Likewise.
2412 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
2414         * posix/glob: Remove directory.
2416 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
2418         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2420 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
2422         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2423         of the non-standard EPFNOSUPPORT.
2425 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2427         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2428         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2429         ANYWHERE set to 1 only on KERN_NO_SPACE error.
2431 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
2433         * wcsmbs/uchar.h: Test __STDC_VERSION__.
2435 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
2437         * nscd/aicache.c (addhstaiX): Do not cache negative results of
2438         transient errors.
2439         * nscd/grpcache.c (cache_addgr): Likewise.
2440         * nscd/hstcache.c (cache_addhst): Likewise.
2441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2442         * nscd/pwdcache.c (cache_addpw): Likewise.
2443         * nscd/servicescache.c (cache_addserv): Likewise.
2445 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
2447         * malloc/malloc.c: Various cleanups.
2448         * malloc/hooks.c: Likewise.
2450         * stdlib/Makefile (tests): Add bug-fmtmsg1.
2451         * stdlib/bug-fmtmsg1.c: New file.
2453         * stdlib/fmtmsg.c (init): Add missing unlock.
2454         Patch by Peng Haitao <penght@cn.fujitsu.com>.
2456 2012-01-12  Marek Polacek  <polacek@redhat.com>
2458         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2459         and _GNU_SOURCE.
2461 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
2463         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2464         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2465         macro to ensure uniqueness of label name.
2466         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2467         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2469 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
2471         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2473         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2474         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2475         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2476         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2478 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
2480         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2482         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2483         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2484         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2486         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2488         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2489         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2490         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2491         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2493         * math/bits/math-finite.h: Add ldexp support.
2495 2012-01-10  Marek Polacek  <polacek@redhat.com>
2497         * locale/programs/localedef.h (show_archive_content): Add noreturn
2498         attribute.
2500 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
2502         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2504 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
2506         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2508         * io/Makefile (headers): Add bits/poll2.h.
2510 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2513         typo #include statement.
2515 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
2517         * include/sys/cdefs.h: Define __attribute_alloc_size.
2518         * catgets/gencat.c: Add alloc_size attribute and apply consistently
2519         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2520         * elf/pldd.c: Likewise.
2521         * iconv/iconv_charmap.c: Likewise.
2522         * iconv/iconvconfig.c: Likewise.
2523         * iconv/strtab.c: Likewise.
2524         * locale/programs/locale.c: Likewise.
2525         * locale/programs/localedef.h: Likewise.
2526         * locale/programs/simple-hash.c: Likewise.
2527         * nscd/nscd.h: Likewise.
2528         * nss/makedb.c: Likewise.
2529         * sysdeps/generic/ldconfig.h: Likewise.
2530         * locale/programs/localedef.c: Remove xmalloc prototype.
2531         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2533 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2535         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2536         appropriate.
2538 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
2540         * math/Makefile (tests): Add tst-CMPLX.
2541         * math/tst-CMPLX.c: New file.
2543         * math/complex.h (CMPLXL): Fix typo.
2545         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2546         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2547         GLIBC_2.16.
2548         * debug/tst-chk1.c: Add poll and ppoll tests.
2549         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2550         * include/sys/poll.h: Add hidden proto for ppoll.
2551         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2552         * sysdeps/mach/hurd/ppoll.c: Likewise.
2553         * io/ppoll.c: Likewise.
2554         * debug/poll_chk.c: New file.
2555         * debug/ppoll_chk.c: New file.
2556         * include/bits/poll2.h: New file.
2557         * io/bits/poll2.h: New file.
2559         [BZ #1350]
2560         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2562         * configure.in: static is always set to yes.  Remove.
2563         * config.make.in: Don't set build-static.
2564         * Makeconfig: Remove use of build-static.
2565         * dlfcn/Makefile: Likewise.
2566         * elf/Makefile: Likewise.
2567         * math/Makefile: Likewise.
2568         * misc/Makefile: Likewise.
2569         * nptl/Makefile: Likewise.
2570         * sysdeps/mach/hurd/Makefile: Likewise.
2572         * configure.in: PWD_P is not used anymore.
2573         * config.make.in: Remove PWD_P entry.
2575         * configure.in: Remove last remnants of RANLIB.
2576         No need to check for signed size_t anymore.
2577         Don't set libc_commonpagesize and libc_relro_required here for Alpha
2578         and IA-64.
2579         Remove __builtin_expect test because we require at least gcc 3.4.
2580         * aclocal.m4: Likewise.
2582         * wcsmbs/mbrtoc16.c: Implement using towc function.
2583         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2584         * wcsmbs/wcsmbsload.c: Likewise.
2585         * iconv/gconv_simple.c: Likewise.
2586         * iconv/gconv_int.h: Likewise.
2587         * iconv/gconv_builtin.h: Likewise.
2588         * iconv/iconv_prog.c: Remove CHAR16 handling.
2590         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2592         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2594         * configure.in: Remove --with-elf and --enable-bounded options.
2595         Dont set base_machine for ia64.  More non-ELF conditions removed.
2596         Remove testing and setting of leading underscore information.
2597         * config.make.in (build-bounded): Set to no.
2598         * config.h.in: Remove NO_UNDERSCORES entry.
2599         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
2600         them.
2601         * csu/start.c: Remove !NO_UNDERSCORE code.
2602         * locale/localeinfo.h: Likewise.
2603         * sysdeps/generic/machine-gmon.h: Likewise.
2604         * sysdeps/generic/sysdep.h: Likewise.
2605         * sysdeps/i386/sysdep.h: Likewise.
2606         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2607         * sysdeps/mach/sysdep.h: Likewise.
2608         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2609         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2610         * sysdeps/sh/sysdep.h: Likewise.
2611         * sysdeps/sparc/sparc32/alloca.S: Likewise.
2612         * sysdeps/unix/i386/sysdep.S: Likewise.
2613         * sysdeps/unix/sparc/start.c: Likewise.
2614         * sysdeps/unix/sparc/sysdep.S: Likewise.
2615         * sysdeps/unix/sparc/sysdep.h: Likewise.
2616         * sysdeps/unix/start.c: Likewise.
2617         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2618         * sysdeps/x86_64/sysdep.h: Likewise.
2620 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
2622         [BZ #13553]
2623         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2624         for non-gcc.
2625         * argp/argp-fmtstream.h: Use const instead __const.
2626         * argp/argp.h: Likewise.
2627         * assert/assert.h: Likewise.
2628         * bits/fenv.h: Likewise.
2629         * bits/sched.h: Likewise.
2630         * bits/sigset.h: Likewise.
2631         * bits/sigthread.h: Likewise.
2632         * catgets/nl_types.h: Likewise.
2633         * conform/data/pthread.h-data: Likewise.
2634         * crypt/crypt-private.h: Likewise.
2635         * crypt/crypt.h: Likewise.
2636         * crypt/crypt_util.c: Likewise.
2637         * ctype/ctype.h: Likewise.
2638         * debug/execinfo.h: Likewise.
2639         * debug/mbsnrtowcs_chk.c: Likewise.
2640         * debug/mbsrtowcs_chk.c: Likewise.
2641         * debug/wcsnrtombs_chk.c: Likewise.
2642         * debug/wcsrtombs_chk.c: Likewise.
2643         * debug/wcstombs_chk.c: Likewise.
2644         * dirent/dirent.h: Likewise.
2645         * dlfcn/dlfcn.h: Likewise.
2646         * elf/neededtest4.c: Likewise.
2647         * grp/grp.h: Likewise.
2648         * gshadow/gshadow.h: Likewise.
2649         * iconv/gconv.h: Likewise.
2650         * iconv/gconv_int.h: Likewise.
2651         * iconv/gconv_simple.c: Likewise.
2652         * iconv/iconv.h: Likewise.
2653         * iconv/loop.c: Likewise.
2654         * iconv/skeleton.c: Likewise.
2655         * include/aio.h: Likewise.
2656         * include/aliases.h: Likewise.
2657         * include/argz.h: Likewise.
2658         * include/arpa/inet.h: Likewise.
2659         * include/assert.h: Likewise.
2660         * include/dirent.h: Likewise.
2661         * include/dlfcn.h: Likewise.
2662         * include/execinfo.h: Likewise.
2663         * include/fcntl.h: Likewise.
2664         * include/fenv.h: Likewise.
2665         * include/glob.h: Likewise.
2666         * include/grp.h: Likewise.
2667         * include/libintl.h: Likewise.
2668         * include/mntent.h: Likewise.
2669         * include/netdb.h: Likewise.
2670         * include/pwd.h: Likewise.
2671         * include/rpc/netdb.h: Likewise.
2672         * include/sched.h: Likewise.
2673         * include/search.h: Likewise.
2674         * include/shadow.h: Likewise.
2675         * include/signal.h: Likewise.
2676         * include/stdio.h: Likewise.
2677         * include/stdlib.h: Likewise.
2678         * include/string.h: Likewise.
2679         * include/sys/socket.h: Likewise.
2680         * include/sys/stat.h: Likewise.
2681         * include/sys/statfs.h: Likewise.
2682         * include/sys/statvfs.h: Likewise.
2683         * include/sys/syslog.h: Likewise.
2684         * include/sys/time.h: Likewise.
2685         * include/sys/uio.h: Likewise.
2686         * include/time.h: Likewise.
2687         * include/unistd.h: Likewise.
2688         * include/utmp.h: Likewise.
2689         * include/wchar.h: Likewise.
2690         * include/wctype.h: Likewise.
2691         * inet/aliases.h: Likewise.
2692         * inet/arpa/inet.h: Likewise.
2693         * inet/netinet/ether.h: Likewise.
2694         * inet/netinet/in.h: Likewise.
2695         * intl/libintl.h: Likewise.
2696         * io/bits/fcntl2.h: Likewise.
2697         * io/fcntl.h: Likewise.
2698         * io/ftw.h: Likewise.
2699         * io/sys/poll.h: Likewise.
2700         * io/sys/stat.h: Likewise.
2701         * io/sys/statfs.h: Likewise.
2702         * io/sys/statvfs.h: Likewise.
2703         * io/utime.h: Likewise.
2704         * libio/bits/stdio.h: Likewise.
2705         * libio/bits/stdio2.h: Likewise.
2706         * libio/libio.h: Likewise.
2707         * libio/libioP.h: Likewise.
2708         * libio/stdio.h: Likewise.
2709         * locale/lc-ctype.c: Likewise.
2710         * locale/locale.h: Likewise.
2711         * login/utmp.h: Likewise.
2712         * malloc/arena.c: Likewise.
2713         * malloc/malloc.c: Likewise.
2714         * malloc/malloc.h: Likewise.
2715         * malloc/mcheck.c: Likewise.
2716         * malloc/mtrace.c: Likewise.
2717         * math/bits/mathcalls.h: Likewise.
2718         * math/fenv.h: Likewise.
2719         * math/math_private.h: Likewise.
2720         * misc/bits/error.h: Likewise.
2721         * misc/bits/syslog.h: Likewise.
2722         * misc/err.h: Likewise.
2723         * misc/error.h: Likewise.
2724         * misc/fstab.h: Likewise.
2725         * misc/mntent.h: Likewise.
2726         * misc/regexp.h: Likewise.
2727         * misc/search.h: Likewise.
2728         * misc/sgtty.h: Likewise.
2729         * misc/sys/mman.h: Likewise.
2730         * misc/sys/syslog.h: Likewise.
2731         * misc/sys/uio.h: Likewise.
2732         * misc/sys/xattr.h: Likewise.
2733         * misc/ttyent.h: Likewise.
2734         * nis/rpcsvc/ypclnt.h: Likewise.
2735         * nss/nss.h: Likewise.
2736         * posix/bits/unistd.h: Likewise.
2737         * posix/fnmatch.h: Likewise.
2738         * posix/glob.h: Likewise.
2739         * posix/sched.h: Likewise.
2740         * posix/spawn.h: Likewise.
2741         * posix/sys/wait.h: Likewise.
2742         * posix/unistd.h: Likewise.
2743         * posix/wordexp.h: Likewise.
2744         * pwd/pwd.h: Likewise.
2745         * resolv/netdb.h: Likewise.
2746         * resource/sys/resource.h: Likewise.
2747         * rt/aio.h: Likewise.
2748         * rt/bits/mqueue2.h: Likewise.
2749         * rt/mqueue.h: Likewise.
2750         * shadow/shadow.h: Likewise.
2751         * signal/signal.h: Likewise.
2752         * socket/send.c: Likewise.
2753         * socket/sendto.c: Likewise.
2754         * socket/sys/socket.h: Likewise.
2755         * stdio-common/printf.h: Likewise.
2756         * stdlib/bits/stdlib.h: Likewise.
2757         * stdlib/fmtmsg.h: Likewise.
2758         * stdlib/monetary.h: Likewise.
2759         * stdlib/stdlib.h: Likewise.
2760         * stdlib/ucontext.h: Likewise.
2761         * streams/stropts.h: Likewise.
2762         * string/argz.h: Likewise.
2763         * string/bits/string2.h: Likewise.
2764         * string/string.h: Likewise.
2765         * string/strings.h: Likewise.
2766         * sunrpc/rpc/auth.h: Likewise.
2767         * sunrpc/rpc/auth_des.h: Likewise.
2768         * sunrpc/rpc/clnt.h: Likewise.
2769         * sunrpc/rpc/netdb.h: Likewise.
2770         * sunrpc/rpc/pmap_clnt.h: Likewise.
2771         * sunrpc/rpc/xdr.h: Likewise.
2772         * sysdeps/generic/inttypes.h: Likewise.
2773         * sysdeps/generic/net/if.h: Likewise.
2774         * sysdeps/generic/sys/swap.h: Likewise.
2775         * sysdeps/gnu/net/if.h: Likewise.
2776         * sysdeps/gnu/utmpx.h: Likewise.
2777         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2778         * sysdeps/i386/i486/bits/string.h: Likewise.
2779         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2780         * sysdeps/s390/bits/string.h: Likewise.
2781         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2782         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2783         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2784         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2785         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2786         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2787         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2788         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2789         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2790         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2791         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2792         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2793         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2794         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2795         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2796         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2797         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2800         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2801         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2802         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2803         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2804         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2805         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2806         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2807         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2808         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2809         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2810         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2811         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2812         * sysvipc/sys/ipc.h: Likewise.
2813         * sysvipc/sys/msg.h: Likewise.
2814         * sysvipc/sys/sem.h: Likewise.
2815         * sysvipc/sys/shm.h: Likewise.
2816         * termios/termios.h: Likewise.
2817         * time/sys/time.h: Likewise.
2818         * time/time.h: Likewise.
2819         * wcsmbs/bits/wchar2.h: Likewise.
2820         * wcsmbs/uchar.h: Likewise.
2821         * wcsmbs/wchar.h: Likewise.
2822         * wctype/wctype.h: Likewise.
2824         [BZ #13551]
2825         * Makeconfig: Remove all but ELF support including AIX support.
2826         * Makerules: Likewise.
2827         * config.h.in: Likewise.
2828         * config.make.in: Likewise.
2829         * configure: Likewise.
2830         * configure.in: Likewise.
2831         * csu/Makefile: Likewise.
2832         * csu/version.c: Likewise.
2833         * debug/Makefile: Likewise.
2834         * dlfcn/Makefile: Likewise.
2835         * elf/Makefile: Likewise.
2836         * extra-lib.mk: Likewise.
2837         * iconv/Makefile: Likewise.
2838         * include/libc-symbols.h: Likewise.
2839         * include/shlib-compat.h: Likewise.
2840         * resolv/Makefile: Likewise.
2841         * resolv/res_libc.c: Likewise.
2842         * rt/Makefile: Likewise.
2843         * sysdeps/i386/asm-syntax.h: Likewise.
2844         * sysdeps/i386/sysdep.h: Likewise.
2845         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2846         * sysdeps/mach/sysdep.h: Likewise.
2847         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2848         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2849         * sysdeps/s390/asm-syntax.h: Likewise.
2850         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2851         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2852         * sysdeps/sh/sysdep.h: Likewise.
2853         * sysdeps/unix/sparc/sysdep.h: Likewise.
2854         * sysdeps/wordsize-32/divdi3.c: Likewise.
2855         * sysdeps/x86_64/sysdep.h: Likewise.
2857         * argp/Versions: Remove _argp_unlock_xxx.
2859         [BZ #13559]
2860         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
2861         * abilist/libBrokenLocale.abilist: Likewise.
2862         * abilist/libanl.abilist: Likewise.
2863         * abilist/libc.abilist: Likewise.
2864         * abilist/libcrypt.abilist: Likewise.
2865         * abilist/libdl.abilist: Likewise.
2866         * abilist/libm.abilist: Likewise.
2867         * abilist/libnsl.abilist: Likewise.
2868         * abilist/libpthread.abilist: Likewise.
2869         * abilist/libresolv.abilist: Likewise.
2870         * abilist/librt.abilist: Likewise.
2871         * abilist/libthread_db.abilist: Likewise.
2872         * abilist/libutil.abilist: Likewise.
2873         * abilist/libnss_db.abilist: New file.
2875         * scripts/abilist.awk: Add support for indirect functions.
2877         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2879         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2881         * shlib-versions: Remove entries for ports architectures.
2883         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
2884         files in ports.
2885         * elf/stackguard-macros.h: Remove support for IA-64.
2886         * elf/tst-auditmod1.c: Likewise.
2887         * sysdeps/generic/ldsodefs.h: Likewise.
2889         * sysdeps/unix/sysv/linux/configure.in: Ports should define
2890         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2891         configure files.
2893         [BZ #13552]
2894         * configure.in: Remove --enable-omitfp support.
2895         * FAQ.in: Adjust.
2896         * config.make.in: Likewise.
2897         * Makeconfig: Likewise.
2898         * manual/install.texi: Likewise.
2900         In case anyone cares, the IA-64 architecture could move to ports.
2901         * sysdeps/ia64/*: Removed.
2902         * sysdeps/unix/sysv/linux/ia64/*: Removed.
2903         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2905         [BZ #13555]
2906         * configure.in: Remove entries for unsupported architectures.
2908         [BZ #13533]
2909         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2910         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
2911         routines.
2912         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2913         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2914         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
2915         fall back to using wcrtomb.
2916         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2917         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
2918         renaming.
2919         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2920         * wcsmbs/tst-c16c32-1.c: New file.
2922         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2923         local variable.
2925         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2927         * elf/tst-unique3.cc: Add explicit declaration of gets.
2928         * elf/tst-unique3lib.cc: Likewise.
2929         * elf/tst-unique3lib2.cc: Likewise.
2930         * elf/tst-unique4.cc: Likewise.
2932         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2934 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
2936         [BZ #13566]
2937         * assert/assert.h (static_assert): Don't define for C++.
2938         * libio/stdio.h (gets): Do declare for C++ <= C++11.
2939         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2941 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
2943         * iconv/loop.c (single loop): Fix assertion in storing of
2944         remaining bytes.
2946         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2948 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
2950         * posix/getconf.c: Update copyright year.
2951         * nss/getent.c: Likewise.
2952         * nss/makedb.c: Likewise.
2953         * iconv/iconvconfig.c: Likewise.
2954         * iconv/iconv_prog.c: Likewise.
2955         * elf/ldconfig.c: Likewise.
2956         * elf/pldd.c: Likewise.
2957         * elf/sotruss.ksh: Likewise.
2958         * catgets/gencat.c: Likewise.
2959         * csu/version.c: Likewise.
2960         * elf/ldd.bash.in: Likewise.
2961         * elf/sprof.c (print_version): Likewise.
2962         * locale/programs/locale.c: Likewise.
2963         * locale/programs/localedef.c: Likewise.
2964         * login/programs/pt_chown.c: Likewise.
2965         * nscd/nscd.c (print_version): Likewise.
2966         * debug/xtrace.sh: Likewise.
2967         * malloc/memusage.sh: Likewise.
2968         * malloc/mtrace.pl: Likewise.
2969         * debug/catchsegv.sh: Likewise.
2971 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
2973         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2974         pure attribute.
2976 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
2978         [BZ #13533]
2979         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2980         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2981         transformations.
2982         * iconv/gconv_int.h: Likewise.
2983         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2984         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2985         from libc for GLIBC_2.16.
2986         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2987         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2988         * wcsmbs/uchar.h: Really define mbstate_t.
2989         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2990         * wcsmbs/c16rtomb.c: New file.
2991         * wcsmbs/mbrtoc16.c: New file.
2992         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2993         for C/POSIX locale.
2994         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2995         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2997         * wcsmbs/wchar.h: Add missing __restrict.
2999 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3001         [BZ #13532]
3002         * time/Makefile (routines): Add timespec_get.
3003         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3004         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
3005         timespec for ISO C11.
3006         * time/timespec_get.c: New file.
3007         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3008         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3010         [BZ #13531]
3011         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3012         * stdlib/stdlib.h: Declare aligned_alloc.
3013         * Versions.def: Add GLIBC_2.16 for libc.
3014         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3016         [BZ 13527]
3017         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3018         ISO C11.
3020         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3021         code.
3023         [BZ #13528]
3024         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3026         [BZ #13529]
3027         * assert/assert.h (static_assert): Define.
3029         * version.h: Update for 2.16 development version.
3031         [BZ #13526]
3032         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3033         _ISOC11_SOURCE.
3035         * version.h (RELEASE): Bump for 2.15 release.
3036         * include/features.h (__GLIBC_MINOR__): Bump to 15.
3038         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3039         Patch by Marek Polacek <mpolacek@redhat.com>.
3041         * bits/byteswap.h: Protect long long constants with __extension__.
3042         * sysdeps/i386/bits/byteswap.h: Likewise.
3043         * sysdeps/ia64/bits/byteswap.h: Likewise.
3044         * sysdeps/s390/bits/byteswap.h: Likewise.
3045         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3047 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3049         [BZ #13540]
3050         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3051         destination buffer.
3052         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3054 2011-12-23  Marek Polacek  <polacek@redhat.com>
3056         * elf/dl-addr.c (determine_info): Add inline keyword.
3057         * elf/tst-auditmod4b.c (check_avx): Likewise.
3058         * elf/tst-auditmod6b.c (check_avx): Likewise.
3059         * elf/tst-auditmod6c.c (check_avx): Likewise.
3060         * elf/tst-auditmod7b.c (check_avx): Likewise.
3062 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
3064         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3065         !__SSE_MATH__.
3067 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3069         [BZ #13540]
3070         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3071         processing for last bytes.
3073 2011-08-06  Bruno Haible  <bruno@clisp.org>
3075         [BZ #13061]
3076         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3077         U+0385, not to U+1FEE.
3079         [BZ #13062]
3080         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3081         entry for U+00A5 U+0301.
3083 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3085         [BZ #13166]
3086         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3087         buffer for the output is too small.
3089         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3090         optimization.
3092         [BZ #13185]
3093         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3094         SSE flags if possible.
3096 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3098         [BZ #13540]
3099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3100         processing for last bytes.
3102 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
3104         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3105         (syscall-list-default-options, syscall-list-default-condition)
3106         (syscall-list-includes): Define.
3107         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3108         list of ABIs and options and #if conditions for each ABI.  Do not
3109         handle common syscalls between ABIs specially.
3110         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3111         Remove.
3112         (syscall-list-variants, syscall-list-32bit-options)
3113         (syscall-list-32bit-condition, syscall-list-64bit-options)
3114         (syscall-list-64bit-condition): Define.
3115         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3116         (syscall-list-variants, syscall-list-32bit-options)
3117         (syscall-list-32bit-condition, syscall-list-64bit-options)
3118         (syscall-list-64bit-condition): Define.
3119         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3120         Remove.
3121         (syscall-list-variants, syscall-list-32bit-options)
3122         (syscall-list-32bit-condition, syscall-list-64bit-options)
3123         (syscall-list-64bit-condition): Define.
3124         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3125         Remove.
3126         (syscall-list-variants, syscall-list-32bit-options)
3127         (syscall-list-32bit-condition, syscall-list-64bit-options)
3128         (syscall-list-64bit-condition): Define.
3130 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
3132         * locale/iso-639.def: Add brx entry.
3134         [BZ #13328]
3135         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3136         Proposed by Mariusz_Cukr <marcukr@op.pl>.
3138         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3139         __feraiseexcept_renamed.
3141 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3143         [BZ #13538]
3144         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3145         EPOLLET with unsigned values.
3146         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3147         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3149         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3150         to large cancellation.
3151         * math/s_cacoshf.c: Likewise.
3152         * math/s_cacoshl.c: Likewise.
3154 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
3156         [BZ #13305]
3157         [BZ #12786]
3158         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3159         * math/s_cacoshf.c: Likewise.
3160         * math/s_cacoshl.c: Likewise.
3162 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
3164         [BZ #13439]
3165         * iconv/gconv.h: Define __GCONV_SWAP.
3166         * iconvdata/unicode.c: The swap bit must be stored in __flags.
3167         * iconvdata/utf-16.c: Likewise.
3168         * iconvdata/utf-32.c: Likewise.
3170 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3172         [BZ #13524]
3173         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3174         numerator after shifting it by one limb.
3176 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
3178         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3179         under [__USE_EXTERN_INLINES].
3181 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3183         [BZ #13446]
3184         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3186 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3188         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3189         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3190         optimized code.
3191         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3192         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3193         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3194         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3195         for strncasecmp/strncasecmp_l compilation.
3196         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3197         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3199 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
3201         [BZ #13484]
3202         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3203         of __asm__.
3205 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
3207         [BZ #13506]
3208         * time/tzfile.c (__tzfile_read): Check values from file header.
3210 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3212         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3213         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3214         * powerpc/powerpc32/dl-start.S: Likewise.
3215         * powerpc/powerpc32/elf/start.S: Likewise.
3216         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3217         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3218         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3219         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3220         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3221         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3222         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3223         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3224         * powerpc/powerpc32/fpu/s_round.S: Likewise.
3225         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3226         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3227         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3228         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3229         * powerpc/powerpc32/memset.S: Likewise.
3230         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3231         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3232         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3233         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3234         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3235         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3236         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3237         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3238         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3239         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3240         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3241         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3242         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3244 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3246         * math/libm-test.inc: Added more nearbyint tests.
3247         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3248         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3249         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3250         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3252 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
3254         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3255         FD_CLOEXEC.
3257 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3259         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3260         Add wcscpy-ssse3 wcscpy-c.
3261         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3262         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3263         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3264         * sysdeps/x86_64/wcschr.S: New file.
3265         * sysdeps/x86_64/wcsrchr.S: New file.
3266         * string/test-strcmp.c: Remove checking of wcscmp function for
3267         wrong alignments.
3268         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3269         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3270         wcsrchr-sse2 wcsrchr-c.
3271         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3272         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3273         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3274         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3275         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3276         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3277         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3278         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3279         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3280         * wcsmbc/wcschr.c (WCSCHR): New macro.
3282 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3284         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3285         * wcsmbs/test-wcsrchr.c: New file.
3286         * string/test-strrchr.c: Add wcsrchr support.
3287         (WIDE): New macro.
3288         * wcsmbs/test-wcscpy.c: New file.
3289         * string/test-strcpy.c: Add wcscpy support.
3290         (WIDE): New macro.
3292 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
3294         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3295         the inner loop.
3297 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
3299         [BZ #13472]
3300         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3302 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
3304         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3305         Minor optimizations.
3307         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3308         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3309         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3311 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
3313         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3314         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3315         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3316         for gcc to avoid warnings.
3317         * inet/Makefile (tests): Add tst-checks.
3318         * inet/tst-checks.c: New file.
3320         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3321         warning.
3323         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3324         __wmemcmp_sse2.
3326         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3327         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3329         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3331 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
3333         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3334         problem.
3336         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3338 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
3340         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3341         conditional on GCC version.
3342         (__arch_compare_and_exchange_val_8_acq)
3343         (__arch_compare_and_exchange_val_16_acq)
3344         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3345         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3346         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3348 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
3350         * sysdeps/sh/backtrace.c: New file.
3352 2011-12-02  Andreas Schwab  <schwab@redhat.com>
3354         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
3355         parenthesis.
3357 2011-12-01  Andreas Schwab  <schwab@redhat.com>
3359         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3360         falling back to utime.
3362 2011-11-30  Andreas Schwab  <schwab@redhat.com>
3364         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3365         expectations for float.
3367 2011-11-29  Andreas Schwab  <schwab@redhat.com>
3369         * locale/weight.h (findidx): Add parameter len.
3370         * locale/weightwc.h (findidx): Likewise.
3371         * posix/fnmatch_loop.c (FCT): Adjust caller.
3372         * posix/regcomp.c (build_equiv_class): Likewise.
3373         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3374         * posix/regexec.c (check_node_accept_bytes): Likewise.
3375         * string/strcoll_l.c (STRCOLL): Likewise.
3376         * string/strxfrm_l.c (STRXFRM): Likewise.
3378 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
3380         * Makefile.in: Remove CVSOPT handling.
3381         * configure.in: Remove use of AC_REVISION.
3382         * iconvdata/Makefile (distribute): No need to filter out CVS.
3383         * scripts/list-sources.sh: Remove CVS, subversion and monotone
3384         handling.
3386 2011-11-16  Andreas Schwab  <schwab@redhat.com>
3388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3389         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3390         [USE_AS_STRNCASECMP_L]: Likewise.
3391         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3392         NO_TLS_DIRECT_SEG_REFS.
3393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3394         Fix argument offsets for non-PIC.
3395         [USE_AS_STRNCASECMP_L]: Likewise.
3396         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3397         NO_TLS_DIRECT_SEG_REFS.
3399 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
3401         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3402         O_CLOEXEC.
3403         * locale/loadlocale.c (_nl_load_locale): Likewise.
3405 2011-11-15  Andreas Schwab  <schwab@redhat.com>
3407         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3408         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3409         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3410         (SYSCALL_GETTIME): Set errno on error.
3412         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3413         count references to noai6ai_cached.
3415 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
3417         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3419         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3420         FD_CLOEXEC for /proc/self/maps.
3422         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3423         FD_CLOEXEC for /proc/meminfo.
3425         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3426         gai.conf.
3428         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
3429         FD_CLOEXEC for given file.
3431         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3433         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3434         FD_CLOEXEC for /etc/hosts.
3435         (_gethtent): Likewise.
3437         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3439         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3440         cancellation and set FD_CLOEXEC for /etc/netgroup.
3442         * nss/nss_files/files-key.c (search): Don't allow cancellation when
3443         reading /etc/publickey.
3445         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3446         allow cancellation when reading /etc/group.
3448         * nss/nss_files/files-alias.c (internal_setent): Don't allow
3449         cancellation.
3450         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
3452         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3453         when using data file.
3455         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3457         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3458         (write_nis_obj): Use "c" and "e" in fopen.
3460         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3462         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3464         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3466         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3468         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3469         locale.alias.
3471         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3473         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3475         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3477         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3478         file parsing and set FD_CLOEXEC.
3480 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
3482         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3484 2011-11-14  Andreas Schwab  <schwab@redhat.com>
3486         * malloc/arena.c (arena_get2): Don't call reused_arena when
3487         _int_new_arena failed.
3489 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
3491         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3492         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3493         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3494         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3495         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3496         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3497         to compile strcasecmp and strncasecmp.
3498         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3499         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3503 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
3505         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3506         locale-defines.sym to gen-as-const-headers.
3507         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3508         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3510         to compile strcasecmp and strncasecmp.
3511         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3512         strcasecmp_l and strncasecmp_l.
3513         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3514         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3515         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3516         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3517         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3518         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3519         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3520         * sysdeps/i386/i686/multiarch/strncase.S: New file.
3521         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3522         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3523         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3525 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
3527         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3528         result of SYSDEP_GETTIME_CPU to retval.
3529         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3530         parameter list to macro.  Remove trailing semicolon.  Adjust users.
3532         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3533         variable.
3535         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3536         mantissa words.
3537         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3539         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3540         from unused variable.
3542         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3543         DWARF definitions.
3544         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3545         for assembling.
3547         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3548         over namespaces.
3550         * sunrpc/rpc_prot.c (rejected): Fix case value.
3552         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3553         unsigned long long int to avoid warnings in shift.
3555         * posix/regex_internal.c (re_string_reconstruct): Actually use result
3556         of use of trans.
3557         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3558         variable tmp.
3560         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3561         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3562         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3564         * nis/nis_table.c (nis_list): Use variable of correct type for
3565         result of __follow_path call.
3567 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3569         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3570         of math functions ceil, trunc, floor, round, and sqrt, when
3571         avaliable on the platform.
3572         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3573         name clash.
3574         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3575         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3576         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3578 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
3580         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3583 2011-11-11  Roland McGrath  <roland@hack.frob.com>
3585         * include/unistd.h: Fix __readlink return type.
3586         Reported by Chris Metcalf <cmetcalf@tilera.com>.
3588 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
3590         * stdlib/ucontext.h: Undo last change for makecontext.
3592 2011-11-11  Andreas Schwab  <schwab@redhat.com>
3594         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3596         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3597         * setjmp/setjmp.h: Mark functions as non-leaf.
3598         * setjmp/bits/setjmp2.h: Likewise.
3599         * stdlib/ucontext.h: Likewise.
3601 2011-11-10  Andreas Schwab  <schwab@redhat.com>
3603         * malloc/arena.c (_int_new_arena): Don't increment narenas.
3604         (reused_arena): Don't check arena limit.
3605         (arena_get2): Atomically check arena limit.
3607 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
3609         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3610         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3613         instructions.
3615 2011-11-07  Andreas Schwab  <schwab@redhat.com>
3617         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3618         handler when locking.
3620         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3621         Fix size of allocated buffer.
3623 2011-11-04  Andreas Schwab  <schwab@redhat.com>
3625         [BZ #10103]
3626         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3627         declarations for long double functions.
3628         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3630         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3632 2011-11-03  Andreas Schwab  <schwab@redhat.com>
3634         * nscd/nscd.c (main): Don't start AVC thread until credentials are
3635         installed.
3637         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3638         is disabled.
3640 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3642         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3644 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3646         * include/alloca.h (stackinfo_alloca_round): Define.
3647         (extend_alloca): Use it.
3648         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3649         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3650         here.
3652         * scripts/check-local-headers.sh: Ignore libaudit.h.
3654         * nscd/Makefile (extra-objs): Make recursively expanded.
3656 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
3658         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3661         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3662         * posix/tst-rfc3484-2.c: Likewise.
3663         * posix/tst-rfc3484-3.c: Likewise.
3665         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3666         process_vm_writev.
3667         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3668         process_vm_writev.
3669         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3670         process_vm_writev from libc using GLIBC_2.15 version.
3672         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3674 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
3676         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3677         stack usage.
3679 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
3681         [BZ #13367]
3682         * nss/getent.c (initgroups_keys): Show error message in case no group
3683         names are given.
3685         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3686         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3687         __bump_nl_timestamp.
3688         * nscd/connections (nscd_init): When host database is served open
3689         netlink socket and request notification about configuration changes.
3690         (main_loop_poll): Track netlink file descriptor and bump timestamp
3691         in case data becomes available.
3692         (main_loop_epoll): Likewise.
3693         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3694         (database_pers_head): Add extra_data fileds.
3695         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3696         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3697         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3698         Adjust caller.
3699         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3700         in6ai data, call __free_in6ai.
3701         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3702         Add -DHAVE_NETLINK.
3703         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
3704         interface information.  Reuse previous data if netlink timestamp
3705         is not changed.
3706         (__bump_nl_timestamp): New function.
3707         (__free_in6ai): New function.
3709 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
3711         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3712         close_not_cancel_no_status here.
3713         (__check_pf): Reorganize code a bit to not call close twice if OOM.
3715 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
3717         [BZ #13276]
3718         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3719         return value.
3721         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3722         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3723         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3725 2011-07-03  Andreas Jaeger  <aj@suse.de>
3727         [BZ #10709]
3728         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3729         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3730         * math/libm-test.inc (sin_test): Add test case.
3732 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
3734         [BZ #13337]
3735         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3736         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3738         * elf/chroot_canon.c (chroot_canon): Cleanups.
3740         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3742         [BZ #13335]
3743         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3744         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3746         * string/test-strchr.c: Make usable for strchrnul testing.
3747         * string/test-strchrnul.c: New file.
3748         * string/Makefile (strop-tests): Add strchrnul.
3750         * po/it.po: Update from translation team.
3751         * po/es.po: Likewise.
3753 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
3755         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3756         the three constants needed as parameters.  Drop the others.
3757         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3758         __m128i_strloadu_tolower.
3759         Create and initialize variable zero and use it in all the places
3760         where _mm_setzero_si128 was used.
3762         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3763         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3764         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3765         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3766         anymore.
3767         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3768         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3769         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3770         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3771         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3772         __mpranred, __mptan.
3773         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3774         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3775         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3776         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3777         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3778         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3780         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3781         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3783 2011-10-28  Andreas Schwab  <schwab@redhat.com>
3785         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3786         redefine if SHARED.
3787         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3790         wide char related routines to wcsmbs subdir.
3792 2011-10-27  Andreas Schwab  <schwab@redhat.com>
3794         [BZ #13344]
3795         * misc/sys/cdefs.h (__THROWNL): Define.
3796         * posix/unistd.h: Use __THREADNL instead of __THREAD
3797         for memory synchronization functions.
3799 2011-10-26  Roland McGrath  <roland@hack.frob.com>
3801         [BZ #13349]
3802         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3803         doesn't exist.
3804         * manual/stdio.texi (Obstack Streams): Node removed.
3806 2011-10-26  Andreas Schwab  <schwab@redhat.com>
3808         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3809         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3810         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3812         * math/math_private.h (math_force_eval): Allow non-addressable
3813         arguments.
3814         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3816 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
3818         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3819         file is not needed.
3821         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3822         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3823         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3824         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3825         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3826         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3827         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3828         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3829         Add AVX variants.
3830         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3831         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3832         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3833         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3834         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3835         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3836         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3837         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3838         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3839         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3840         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3841         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3842         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3843         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3844         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3845         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3846         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3847         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3848         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3850         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3851         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
3853         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3854         place.  Use VEX encoding when compiling for AVX.
3856 2011-10-25  Andreas Schwab  <schwab@redhat.com>
3858         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3859         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3861         * string/test-strchr.c (do_test): Don't generate NUL bytes.
3863 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
3865         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3866         useless if() expression.
3867         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3868         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3869         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3870         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3871         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3872         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3873         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3874         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3875         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3876         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3877         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3878         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3879         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3880         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3881         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3882         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3883         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3884         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3885         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3887         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3889 2011-10-25  Andreas Schwab  <schwab@redhat.com>
3891         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3892         condition.
3893         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3895 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
3897         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3898         .text section.  Avoid duplicate constants.
3899         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3900         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3901         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3903         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3907         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3908         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3909         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3910         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3911         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3912         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3913         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3914         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3915         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3916         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3917         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3919         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3920         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3921         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3922         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3923         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3924         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3925         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3926         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3927         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3928         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3929         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3930         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3931         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3932         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3933         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3934         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3935         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3936         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3937         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3938         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3939         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3940         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3941         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3942         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3943         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3945 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
3947         * sysdeps/x86_64/dla.h: Move to ...
3948         * sysdeps/x86_64/fpu/dla.h: ...here.
3949         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3950         situations.  Use __builtin_fma only for gcc 4.6 and up.
3952         * config.make.in: Add have-mfma4 entry.
3953         * configure.in: Substitute libc_cv_cc_fma4.
3954         * math/Makefile (dbl-only-routines): Add sincostab.
3955         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3956         Use __sincostab not sincos.
3957         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3958         name is a macro.
3959         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3960         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3961         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3962         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
3963         using __copysign.
3964         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
3965         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
3966         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3967         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3968         and __inv.
3969         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3970         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3971         __copysign.
3972         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
3973         define aliases when function name is a macro.
3974         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3975         sysdeps/ieee754/dbl-64/sincos.tbl.
3976         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3977         fma4-enabled routines.
3978         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3979         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3980         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3981         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3982         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3983         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3985         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3986         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3987         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3988         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3989         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3990         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3991         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3993         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3994         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3995         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3996         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3997         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3998         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3999         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4000         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4001         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4002         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4003         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4004         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4005         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4006         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4007         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4009         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4010         rename.
4011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4012         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4013         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4020 2011-10-24  Andreas Schwab  <schwab@redhat.com>
4022         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4024 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4026         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4028         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4029         prediction.
4030         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4032         * string/strnlen.c: Don't define STRNLEN, reverse logic.
4033         Remove unused variable magic_bits.
4034         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4036         * string/strnlen.c: Define and use STRNLEN macro.
4037         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4038         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4040         * wcsmbs/wcslen.c: Define and use WCSLEN.
4041         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4042         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4043         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4044         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4045         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4046         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4047         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4049 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4052         strnlen-sse2-no-bsf.
4053         Rename strlen-no-bsf to strlen-sse2-no-bsf.
4054         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4055         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4056         Add strnlen support.
4057         (USE_AS_STRNLEN): New macro.
4058         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4059         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4060         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4061         * sysdeps/x86_64/wcslen.S: New file.
4063 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
4065         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4066         XMM-moves are used for copying on small sizes.
4068 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4070         * wcsmbs/Makefile (strop-tests): Add wcschr.
4071         * wcsmbs/test-wcschr.c: New file.
4072         * string/test-strchr.c: Update.
4073         Add wcschr support.
4074         (WIDE): New macro.
4076 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4078         * wcsmbs/Makefile (strop-tests): Add wcslen.
4079         * wcsmbs/test-wcslen.c: New file.
4080         * string/test-strlen.c: Update.
4081         Add wcslen support.
4082         (WIDE): New macro.
4084 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4086         * po/it.po: Update from translation team.
4088 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4090         * sysdeps/x86_64/wcscmp.S: Update.
4091         Fix wrong comparison semantics.
4092         wcscmp shall use signed comparison not unsigned.
4093         Don't use substraction to avoid overflow bug.
4094         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4095         * wcsmbc/wcscmp.c: Likewise.
4096         * string/test-strcmp.c: Likewise.
4097         Add new tests to check cases with negative values.
4099 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
4101         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4102         * sysdeps/x86_64/dla.h: ...here.  New file.
4103         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4105         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4108         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4110         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4113 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
4115         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4116         __ynl_finite aliases.
4118 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4122         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4123         define DLA_FMA.
4124         [DLA_FMA] (EMULV): Use DLA_FMA.
4125         [DLA_FMA] (MUL12): Use EMULV.
4126         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4127         that are not needed.
4128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4130         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4136 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
4138         * math/s_nan.c: Undef __nan.
4139         * math/s_nanf.c: Undef __nanf.
4140         * math/s_nanl.c: Undef __nanl.
4141         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4142         "math_private.h".
4144 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
4146         * math/s_catan.c: Add branch predictions.
4147         * math/s_catanf.c: Likewise.
4148         * math/s_catanh.c: Likewise.
4149         * math/s_catanhf.c: Likewise.
4150         * math/s_catanhl.c: Likewise.
4151         * math/s_catanl.c: Likewise.
4152         * math/s_cexp.c: Likewise.
4153         * math/s_cexpf.c: Likewise.
4154         * math/s_cexpl.c: Likewise.
4155         * math/s_clog.c: Likewise.
4156         * math/s_clog10.c: Likewise.
4157         * math/s_clog10f.c: Likewise.
4158         * math/s_clog10l.c: Likewise.
4159         * math/s_clogf.c: Likewise.
4160         * math/s_clogl.c: Likewise.
4161         * math/s_csqrt.c: Likewise.
4162         * math/s_csqrtf.c: Likewise.
4163         * math/s_csqrtl.c: Likewise.
4164         * math/s_ctanf.c: Likewise.
4165         * math/s_ctanh.c: Likewise.
4166         * math/s_ctanhf.c: Likewise.
4167         * math/s_ctanhl.c: Likewise.
4168         * math/s_ctanl.c: Likewise.
4170         * math/math_private.h: Define __nan, __nanf, __nanl.
4171         * math/s_cacosh.c: Include <math_private.h>.
4172         * math/s_cacoshl.c: Likewise.
4173         * math/s_casinh.c: Likewise.
4174         * math/s_casinhf.c: Likewise.
4175         * math/s_casinhl.c: Likewise.
4176         * math/s_ccos.c: Rely entire on ccosh.
4177         * math/s_ccosf.c: Rely entire on ccoshf.
4178         * math/s_ccosl.c: Rely entirely on ccoshl.
4179         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
4180         Remove tests for FE_INVALID.
4181         * math/s_ccoshf.c: Likewise.
4182         * math/s_ccoshl.c: Likewise.
4183         * math/s_csin.c: Likewise.
4184         * math/s_csinf.c: Likewise.
4185         * math/s_csinh.c Likewise.
4186         * math/s_csinhf.c: Likewise.
4187         * math/s_csinhl.c: Likewise.
4188         * math/s_csinl.c: Likewise.
4189         * math/s_ctan.c: Likewise.
4190         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4191         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4192         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4194 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
4196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4197         compilation problems.
4199         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4200         __builtin_expect.
4202 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
4204         * sysdeps/i386/configure.in: Test for -mfma4 option.
4205         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4206         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4207         COMMON_CPUID_INDEX_80000001.
4208         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4209         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4210         use it if FMA3 is not supported.
4211         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4213         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4214         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4216 2011-10-20  Andreas Schwab  <schwab@redhat.com>
4218         [BZ #12892]
4219         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4220         it would create a cycle with a link time dependency.
4222 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
4224         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4225         instruction.
4226         * string/Makefile (strop-tests): Add rawmemchr.
4227         * string/test-rawmemchr.c: New file.
4229         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4230         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
4231         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
4232         when compiling str{,n}casecmp and when AVX is available.  Hook up
4233         new optimized code in initializers.
4235 2011-10-19  Andreas Schwab  <schwab@redhat.com>
4237         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4238         __feraiseexcept instead of feraiseexcept.
4240 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
4242         * math/math_private.h: Define defaults for libc_fetestexcept and
4243         libc_feupdateenv.
4244         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4245         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4246         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4247         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4248         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4249         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4250         libc_fetestexcept and libc_feupdateenv.
4252         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4253         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4254         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4255         * sysdeps/x86_64/fpu/math_private.h: Define special version of
4256         libc_feholdexcept_setround.
4258         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4259         Add s_nearbyint-c and s_nearbyintf-c.
4260         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4261         nearbyintf inlines.
4262         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4263         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4264         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4265         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4267         * math/math_private.h: Define defaults for libc_fegetround,
4268         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4269         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4270         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4271         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4272         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4273         standard functions.
4274         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4275         Remove comments and hacks for old compiler versions.
4276         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4277         libc_fegetround, libc_fesetround, libc_feholdexcept, and
4278         libc_feholdexceptl.
4280 2011-10-18  Andreas Schwab  <schwab@redhat.com>
4282         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4283         (__feraiseexcept_renamed): Add __NTH.
4284         (feraiseexcept): Add __NTH.  Rename local variables to fix
4285         namespace violations.
4287 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
4289         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4291         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4293         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4294         recently added interfaces.
4295         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4297         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4298         about macro parameter expansion.
4300         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4301         __NO_MATH_INLINES is defined.  Cleanups.
4303         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4304         and __floorf is target has SSE4.1.
4305         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4306         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4307         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4308         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4310         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4311         name.
4312         (floorf): Likewise.
4314         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4316 2011-10-17  Andreas Schwab  <schwab@redhat.com>
4318         * misc/sys/cdefs.h: Fix last change.
4320         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4321         database lookup.
4323 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
4325         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4327         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4328         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4329         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4330         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4331         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4332         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4333         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4334         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4335         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4336         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4337         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4338         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4339         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4340         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4341         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4342         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4343         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4344         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4345         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4346         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4347         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4348         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4350         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4351         ceil, ceilf, floor, floorf.
4353         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4354         Perform IRELATIVE relocations last.
4356         * elf/do-rel.h: Add another parameter nrelative, replacing the
4357         local variable with the same name.  Change name of the function
4358         to end in Rel or Rela (uppercase).
4359         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4360         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
4361         elf_dynamic_do_##reloc function.
4363 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
4365         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4366         is sufficient, at least on modern CPUs.
4368         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4370         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4371         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4373         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4374         __expl_finite.
4375         * math/bits/math-finite.h: Add entries for exp.
4376         * math/e_expl.c: Add __*_finite alias.
4377         * sysdeps/i386/fpu/e_exp.S: Likewise.
4378         * sysdeps/i386/fpu/e_expf.S: Likewise.
4379         * sysdeps/i386/fpu/e_expl.c: Likewise.
4380         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4381         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4384         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4385         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4386         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4388         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4389         is sufficient, at least on modern CPUs.
4391         * ctype/ctype-info.c (__ctype_init): Define.
4392         * include/ctype.h (__ctype_init): Declare.
4393         (__ctype_b_loc): The variable is always initialized.
4394         (__ctype_toupper_loc): Likewise.
4395         (__ctype_tolower_loc): Likewise.
4396         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4397         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4399 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
4401         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4403         * configure.in: Also look in $cxxmachine/include for C++ system
4404         headers.
4406 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4408         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4409         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4410         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4411         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
4412         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4413         (USE_AS_WMEMCMP): New macro.
4414         Fixing indents.
4415         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4416         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4417         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4418         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4420         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4421         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4422         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4423         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4424         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4425         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4426         (USE_AS_WMEMCMP): New macro.
4427         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4428         * sysdeps/string/test-memcmp.c: Update.
4429         Fix simple_wmemcmp.
4430         Add new tests.
4431         * wcsmbs/wmemcmp.c: Update.
4432         (WMEMCMP): New macro.
4433         Fix overflow bug.
4435 2011-10-12  Andreas Jaeger  <aj@suse.de>
4437         [BZ #13268]
4438         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4440 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
4442         * libio/iofwide.c (do_length): Avoid warning.
4444         * ctype/ctype.h (__isctype_f): Add missing __THROW.
4446 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
4448         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4450         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4451         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4452         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4453         * sysdeps/i386/i686/fpu/e_log.S: New file.
4454         * sysdeps/i386/i686/fpu/e_logf.S: New file.
4455         * sysdeps/i386/i686/fpu/e_logl.S: New file.
4457         * ctype/ctype.h: Add support for inlined isXXX functions when
4458         compiling C++ code.
4460 2011-10-14  Andreas Schwab  <schwab@redhat.com>
4462         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4464         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4466 2011-10-13  Roland McGrath  <roland@hack.frob.com>
4468         [BZ #13291]
4469         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4471 2011-10-13  Andreas Schwab  <schwab@redhat.com>
4473         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4474         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4475         feraiseexcept.
4477         * sysdeps/x86_64/memrchr.S: Check for zero size.
4479         * string/stratcliff.c: Add memrchr tests.
4481 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4483         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4484         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4485         rawmemchr-sse2 rawmemchr-sse2-bsf.
4486         * sysdeps/i386/i686/multiarch/memchr.S: New file.
4487         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4488         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4489         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4490         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4491         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4492         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4493         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4494         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4495         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4496         * string/memrchr.c (MEMRCHR): New macro.
4498 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
4500         Add integration with gcc's -ffinite-math-only and optimize wrapper
4501         functions in libm.
4502         * Versions.def: Define GLIBC_2.15 version for libm.
4503         * math/Makefile (headers): Add bits/math-finite.h.
4504         * math/bits/math-finite.h: New file.
4505         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4506         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4507         * math/e_acoshl.c: Add __*_finite alias.
4508         * math/e_acosl.c: Likewise.
4509         * math/e_asinl.c: Likewise.
4510         * math/e_atan2l.c: Likewise.
4511         * math/e_atanhl.c: Likewise.
4512         * math/e_coshl.c: Likewise.
4513         * math/e_exp10.c: Likewise.
4514         * math/e_exp10f.c: Likewise.
4515         * math/e_exp10l.c: Likewise.
4516         * math/e_exp2l.c: Likewise.
4517         * math/e_fmodl.c: Likewise.
4518         * math/e_gammal_r.c: Likewise.
4519         * math/e_hypotl.c: Likewise.
4520         * math/e_j0l.c: Likewise.
4521         * math/e_j1l.c: Likewise.
4522         * math/e_jnl.c: Likewise.
4523         * math/e_lgammal_r.c: Likewise.
4524         * math/e_log10l.c: Likewise.
4525         * math/e_log2l.c: Likewise.
4526         * math/e_logl.c: Likewise.
4527         * math/e_powl.c: Likewise.
4528         * math/e_sinhl.c: Likewise.
4529         * math/e_sqrtl.c: Likewise.
4530         * math/e_scalb.c: Completely rewritten and optimized.
4531         * math/e_scalbf.c: Likewise.
4532         * math/e_scalbl.c: Likewise.
4533         * math/w_acos.c: Likewise.
4534         * math/w_acosf.c: Likewise.
4535         * math/w_acosl.c: Likewise.
4536         * math/w_acosh.c: Likewise.
4537         * math/w_acoshf.c: Likewise.
4538         * math/w_acoshl.c: Likewise.
4539         * math/w_asin.c: Likewise.
4540         * math/w_asinf.c: Likewise.
4541         * math/w_asinl.c: Likewise.
4542         * math/w_atan2.c: Likewise.
4543         * math/w_atan2f.c: Likewise.
4544         * math/w_atan2l.c: Likewise.
4545         * math/w_atanh.c: Likewise.
4546         * math/w_atanhf.c: Likewise.
4547         * math/w_atanhl.c: Likewise.
4548         * math/w_exp10.c: Likewise.
4549         * math/w_exp10f.c: Likewise.
4550         * math/w_exp10l.c: Likewise.
4551         * math/w_fmod.c: Likewise.
4552         * math/w_fmodf.c: Likewise.
4553         * math/w_fmodl.c: Likewise.
4554         * math/w_j0.c: Likewise.
4555         * math/w_j0f.c: Likewise.
4556         * math/w_j0l.c: Likewise.
4557         * math/w_j1.c: Likewise.
4558         * math/w_j1f.c: Likewise.
4559         * math/w_j1l.c: Likewise.
4560         * math/w_jn.c: Likewise.
4561         * math/w_jnf.c: Likewise.
4562         * math/w_log.c: Likewise.
4563         * math/w_logf.c: Likewise.
4564         * math/w_logl.c: Likewise.
4565         * math/w_log10.c: Likewise.
4566         * math/w_log10f.c: Likewise.
4567         * math/w_log10l.c: Likewise.
4568         * math/w_log2.c: Likewise.
4569         * math/w_log2f.c: Likewise.
4570         * math/w_log2l.c: Likewise.
4571         * math/w_pow.c: Likewise.
4572         * math/w_powf.c: Likewise.
4573         * math/w_powl.c: Likewise.
4574         * math/w_remainder.c: Likewise.
4575         * math/w_remainderf.c: Likewise.
4576         * math/w_remainderl.c: Likewise.
4577         * math/w_scalb.c: Likewise.
4578         * math/w_scalbf.c: Likewise.
4579         * math/w_scalbl.c: Likewise.
4580         * math/w_sqrt.c: Likewise.
4581         * math/w_sqrtf.c: Likewise.
4582         * math/w_sqrtl.c: Likewise.
4583         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4584         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
4585         used.
4586         * math/math_private.h: Declare __kernel_standard_f.
4587         * math/w_cosh.c: Remove cruft and optimize a bit.
4588         * math/w_coshf.c: Likewise.
4589         * math/w_coshl.c: Likewise.
4590         * math/w_exp2.c: Likewise.
4591         * math/w_exp2f.c: Likewise.
4592         * math/w_exp2l.c: Likewise.
4593         * math/w_hypot.c: Likewise.
4594         * math/w_hypotf.c: Likewise.
4595         * math/w_hypotl.c: Likewise.
4596         * math/w_lgamma.c: Likewise.
4597         * math/w_lgamma_r.c: Likewise.
4598         * math/w_lgammaf.c: Likewise.
4599         * math/w_lgammaf_r.c: Likewise.
4600         * math/w_lgammal.c: Likewise.
4601         * math/w_lgammal_r.c: Likewise.
4602         * math/w_sinh.c: Likewise.
4603         * math/w_sinhf.c: Likewise.
4604         * math/w_sinhl.c: Likewise.
4605         * math/w_tgamma.c: Likewise.
4606         * math/w_tgammaf.c: Likewise.
4607         * math/w_tgammal.c: Likewise.
4608         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4609         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4610         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4611         Minor optimizations.  Pretty printing.  Remove cruft.
4612         * sysdeps/i386/fpu/e_acosf.S: Likewise.
4613         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4614         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4615         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4616         * sysdeps/i386/fpu/e_acosl.c: Likewise.
4617         * sysdeps/i386/fpu/e_asin.S: Likewise.
4618         * sysdeps/i386/fpu/e_asinf.S: Likewise.
4619         * sysdeps/i386/fpu/e_atan2.S: Likewise.
4620         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4621         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4622         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4623         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4625         * sysdeps/i386/fpu/e_exp10.S: Likewise.
4626         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4627         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4628         * sysdeps/i386/fpu/e_exp2.S: Likewise.
4629         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4630         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4631         * sysdeps/i386/fpu/e_fmod.S: Likewise.
4632         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4633         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4634         * sysdeps/i386/fpu/e_hypot.S: Likewise.
4635         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4636         * sysdeps/i386/fpu/e_log.S: Likewise.
4637         * sysdeps/i386/fpu/e_log10.S: Likewise.
4638         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4639         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4640         * sysdeps/i386/fpu/e_log2.S: Likewise.
4641         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4642         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4643         * sysdeps/i386/fpu/e_logf.S: Likewise.
4644         * sysdeps/i386/fpu/e_logl.S: Likewise.
4645         * sysdeps/i386/fpu/e_pow.S: Likewise.
4646         * sysdeps/i386/fpu/e_powf.S: Likewise.
4647         * sysdeps/i386/fpu/e_powl.S: Likewise.
4648         * sysdeps/i386/fpu/e_remainder.S: Likewise.
4649         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4650         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4651         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4652         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4653         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4654         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4655         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4656         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4657         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4658         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4660         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4661         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4662         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4663         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4664         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4665         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4666         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4667         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4668         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4670         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4671         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4673         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4674         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4677         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4678         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4679         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4680         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4681         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4682         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4683         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4684         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4685         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4686         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4687         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4688         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4689         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4690         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4691         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4692         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4693         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4694         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4695         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4696         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4697         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4698         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4699         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4700         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4701         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4702         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4703         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4704         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4705         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4706         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4707         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4708         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4709         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4710         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4711         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4712         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4713         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4714         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4715         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4716         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4717         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4718         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4719         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4721         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4722         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4723         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4725         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4727         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4728         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4730         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4731         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4732         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4733         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4734         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4735         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4736         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4737         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4738         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4739         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4740         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4741         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4742         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4743         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4744         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4745         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4746         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4747         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4748         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4749         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4750         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4751         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4752         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4753         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4754         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4755         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4756         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4757         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4758         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4759         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4760         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4761         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4763         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4764         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4765         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4766         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4767         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
4768         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4769         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4770         (__isnanf): Likewise.
4771         (__isinf_ns): Likewise.
4772         (__isinf_nsf): Likewise.
4773         (__finite): Likewise.
4774         (__finitef): Likewise.
4775         (__ieee754_sqrt): Define as macro.
4776         (__ieee754_sqrtf): Define as macro.
4777         (__ieee754_sqrtl): Define as macro.
4778         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4779         inlined copy.
4780         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4781         __FINITE_MATH_ONLY__ consistent.
4782         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4784 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
4786         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4787         of rawmemchr.
4789         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4791 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
4793         * po/ja.po: Update from translation team.
4795 2011-10-08  Roland McGrath  <roland@hack.frob.com>
4797         * locale/programs/locarchive.c (prepare_address_space): New function.
4798         (create_archive, enlarge_archive, open_archive): Use it.
4800         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4801         inside [SHARED], where it is used.
4803         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4805         * nss/getent.c (netgroup_keys): Remove unused variable.
4806         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4808 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
4810         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4811         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4812         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4813         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4814         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4815         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4816         * math/Makefile (libm-calls): Add s_isinf_ns.
4817         * math/divtc3.c: Use __isinf_nsl instead of isinf.
4818         * math/multc3.c: Likewise.
4819         * math/s_casin.c: Likewise.
4820         * math/s_casinf.c: Likewise.
4821         * math/s_casinl.c: Likewise.
4822         * math/s_ccos.c: Likewise.
4823         * math/s_ccosf.c: Likewise.
4824         * math/s_ccosl.c: Likewise.
4825         * math/s_ctan.c: Likewise.
4826         * math/s_ctanf.c: Likewise.
4827         * math/s_ctanh.c: Likewise.
4828         * math/s_ctanhf.c: Likewise.
4829         * math/s_ctanhl.c: Likewise.
4830         * math/s_ctanl.c: Likewise.
4831         * math/w_fmod.c: Likewise.
4832         * math/w_fmodf.c: Likewise.
4833         * math/w_fmodl.c: Likewise.
4834         * math/w_remainder.c: Likewise.
4835         * math/w_remainderf.c: Likewise.
4836         * math/w_remainderl.c: Likewise.
4837         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4838         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4839         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4841         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4842         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4843         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4844         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4846         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4847         of the number.
4848         * stdio-common/printf_fphex.c: Likewise.
4849         * stdio-common/printf_size.c: Likewise.
4851         * math/e_exp10.c: Include math_private.h using <...> not "...".
4852         * math/e_exp10f.c: Likewise.
4853         * math/e_exp10l.c: Likewise.
4854         * math/e_exp2l.c: Likewise.
4855         * math/e_j0l.c: Likewise.
4856         * math/e_j1l.c: Likewise.
4857         * math/e_jnl.c: Likewise.
4858         * math/e_lgammal_r.c: Likewise.
4859         * math/e_rem_pio2l.c: Likewise.
4860         * math/e_scalb.c: Likewise.
4861         * math/e_scalbf.c: Likewise.
4862         * math/e_scalbl.c: Likewise.
4863         * math/k_cosl.c: Likewise.
4864         * math/k_sinl.c: Likewise.
4865         * math/k_tanl.c: Likewise.
4866         * math/s_cacoshf.c: Likewise.
4867         * math/s_catan.c: Likewise.
4868         * math/s_catanf.c: Likewise.
4869         * math/s_catanh.c: Likewise.
4870         * math/s_catanhf.c: Likewise.
4871         * math/s_catanhl.c: Likewise.
4872         * math/s_catanl.c: Likewise.
4873         * math/s_ccosh.c: Likewise.
4874         * math/s_ccoshf.c: Likewise.
4875         * math/s_ccoshl.c: Likewise.
4876         * math/s_cexp.c: Likewise.
4877         * math/s_cexpf.c: Likewise.
4878         * math/s_cexpl.c: Likewise.
4879         * math/s_clog.c: Likewise.
4880         * math/s_clog10.c: Likewise.
4881         * math/s_clog10f.c: Likewise.
4882         * math/s_clog10l.c: Likewise.
4883         * math/s_clogf.c: Likewise.
4884         * math/s_clogl.c: Likewise.
4885         * math/s_csin.c: Likewise.
4886         * math/s_csinf.c: Likewise.
4887         * math/s_csinh.c: Likewise.
4888         * math/s_csinhf.c: Likewise.
4889         * math/s_csinhl.c: Likewise.
4890         * math/s_csinl.c: Likewise.
4891         * math/s_csqrt.c: Likewise.
4892         * math/s_csqrtf.c: Likewise.
4893         * math/s_csqrtl.c: Likewise.
4894         * math/s_ctan.c: Likewise.
4895         * math/s_ctanf.c: Likewise.
4896         * math/s_ctanh.c: Likewise.
4897         * math/s_ctanhf.c: Likewise.
4898         * math/s_ctanhl.c: Likewise.
4899         * math/s_ctanl.c: Likewise.
4900         * math/s_ldexp.c: Likewise.
4901         * math/s_ldexpf.c: Likewise.
4902         * math/s_ldexpl.c: Likewise.
4903         * math/s_significand.c: Likewise.
4904         * math/s_significandf.c: Likewise.
4905         * math/s_significandl.c: Likewise.
4906         * math/w_acos.c: Likewise.
4907         * math/w_acosf.c: Likewise.
4908         * math/w_acosh.c: Likewise.
4909         * math/w_acoshf.c: Likewise.
4910         * math/w_acoshl.c: Likewise.
4911         * math/w_acosl.c: Likewise.
4912         * math/w_asin.c: Likewise.
4913         * math/w_asinf.c: Likewise.
4914         * math/w_asinl.c: Likewise.
4915         * math/w_atan2.c: Likewise.
4916         * math/w_atan2f.c: Likewise.
4917         * math/w_atan2l.c: Likewise.
4918         * math/w_atanh.c: Likewise.
4919         * math/w_atanhf.c: Likewise.
4920         * math/w_atanhl.c: Likewise.
4921         * math/w_cosh.c: Likewise.
4922         * math/w_coshf.c: Likewise.
4923         * math/w_coshl.c: Likewise.
4924         * math/w_dremf.c: Likewise.
4925         * math/w_exp10.c: Likewise.
4926         * math/w_exp10f.c: Likewise.
4927         * math/w_exp10l.c: Likewise.
4928         * math/w_exp2.c: Likewise.
4929         * math/w_exp2f.c: Likewise.
4930         * math/w_fmod.c: Likewise.
4931         * math/w_fmodf.c: Likewise.
4932         * math/w_fmodl.c: Likewise.
4933         * math/w_hypot.c: Likewise.
4934         * math/w_hypotf.c: Likewise.
4935         * math/w_hypotl.c: Likewise.
4936         * math/w_j0.c: Likewise.
4937         * math/w_j0f.c: Likewise.
4938         * math/w_j0l.c: Likewise.
4939         * math/w_j1.c: Likewise.
4940         * math/w_j1f.c: Likewise.
4941         * math/w_j1l.c: Likewise.
4942         * math/w_jn.c: Likewise.
4943         * math/w_jnf.c: Likewise.
4944         * math/w_jnl.c: Likewise.
4945         * math/w_lgamma.c: Likewise.
4946         * math/w_lgamma_r.c: Likewise.
4947         * math/w_lgammaf.c: Likewise.
4948         * math/w_lgammaf_r.c: Likewise.
4949         * math/w_lgammal.c: Likewise.
4950         * math/w_lgammal_r.c: Likewise.
4951         * math/w_log.c: Likewise.
4952         * math/w_log10.c: Likewise.
4953         * math/w_log10f.c: Likewise.
4954         * math/w_log10l.c: Likewise.
4955         * math/w_log2.c: Likewise.
4956         * math/w_log2f.c: Likewise.
4957         * math/w_log2l.c: Likewise.
4958         * math/w_logf.c: Likewise.
4959         * math/w_logl.c: Likewise.
4960         * math/w_pow.c: Likewise.
4961         * math/w_powf.c: Likewise.
4962         * math/w_powl.c: Likewise.
4963         * math/w_remainder.c: Likewise.
4964         * math/w_remainderf.c: Likewise.
4965         * math/w_remainderl.c: Likewise.
4966         * math/w_scalb.c: Likewise.
4967         * math/w_scalbf.c: Likewise.
4968         * math/w_scalbl.c: Likewise.
4969         * math/w_sinh.c: Likewise.
4970         * math/w_sinhf.c: Likewise.
4971         * math/w_sinhl.c: Likewise.
4972         * math/w_sqrt.c: Likewise.
4973         * math/w_sqrtf.c: Likewise.
4974         * math/w_sqrtl.c: Likewise.
4975         * math/w_tgamma.c: Likewise.
4976         * math/w_tgammaf.c: Likewise.
4977         * math/w_tgammal.c: Likewise.
4979         * po/ja.po: Update from translation team.
4981 2011-09-29  Andreas Jaeger  <aj@suse.de>
4983         [BZ #13179]
4984         * sunrpc/netname.c (netname2host): Fix logic.
4986         [BZ #6779]
4987         [BZ #6783]
4988         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4989         correctly.
4990         * math/w_remainder.c (__remainder): Likewise.
4991         * math/w_remainderf.c (__remainderf): Likewise.
4992         * math/libm-test.inc (remainder_test): Add test cases.
4994 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4996         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
4997         sdiv_qrnnd.
4999 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5001         * string/test-memcmp.c: Avoid unncessary #defines.
5002         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5004 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5006         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5007         Use new sse2 version for core i3 - i7 as it's faster
5008         than sse42 version.
5009         (bit_Prefer_PMINUB_for_stringop): New.
5010         * sysdeps/x86_64/rawmemchr.S: Update.
5011         Replace with faster SSE2 version.
5012         * sysdeps/x86_64/memrchr.S: New file.
5013         * sysdeps/x86_64/memchr.S: Update.
5014         Replace with faster SSE2 version.
5016 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
5018         * elf/dl-load.c (lose): Add cast to avoid warning.
5020 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
5022         * po/ca.po: Update from translation team.
5024         * inet/getnetgrent_r.c: Hook up nscd.
5025         * nscd/Makefile (routines): Add nscd_netgroup.
5026         (nscd-modules): Add netgroupcache.
5027         (CFLAGS-netgroupcache.c): Define.
5028         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5029         (cache_search): Add const to second parameter.
5030         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5031         INNETGR.
5032         (dbs): Add netgrdb entry.
5033         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5034         (verify_persistent_db): Handle netgrdb.
5035         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5036         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5037         GETFDNETGR.
5038         (netgroup_response_header): Define.
5039         (innetgroup_response_header): Define.
5040         (datahead): Add netgroup_response_header and innetgroup_response_header
5041         elements.
5042         * nscd/nscd.conf: Add entries for netgroup cache.
5043         * nscd/nscd.h (dbtype): Add netgrdb.
5044         (_PATH_NSCD_NETGROUP_DB): Define.
5045         (netgroup_iov_disabled): Declare.
5046         (xmalloc, xcalloc, xrealloc): Move declarations here.
5047         (cache_search): Adjust prototype.
5048         Add netgroup-related prototypes.
5049         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5050         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5051         (__nscd_innetgr): Declare.
5052         * nscd/selinux.c (perms): Use access_vector_t as element type and
5053         add netgroup-related initializers.
5054         * nscd/netgroupcache.c: New file.
5055         * nscd/nscd_netgroup.c: New file.
5056         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5057         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5058         For four parameters use innetgr.
5059         * nss/nss_files/files-init.c: Add definition and callback for netgr.
5060         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5061         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5062         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5064         * nscd/connections.c (register_traced_file): Don't register file
5065         for disabled databases.
5067 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
5069         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5071         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5072         from tree and freeing node.
5074 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
5076         * nss/nsswitch.c (__nss_database_lookup): Handle
5077         nss_parse_service_list out of memory case.
5079 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
5081         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5082         out of memory case.
5084 2011-10-04  Andreas Schwab  <schwab@redhat.com>
5086         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5087         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5088         pass it down.
5089         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5090         elf_machine_rela, elf_machine_lazy_rel.
5091         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5092         (ELF_DYNAMIC_DO_REL): Likewise.
5093         (ELF_DYNAMIC_DO_RELA): Likewise.
5094         (ELF_DYNAMIC_RELOCATE): Likewise.
5095         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5096         to ELF_DYNAMIC_DO_REL.
5097         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5098         (dl_main): In trace mode always set __RTLD_NOIFUNC.
5099         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5100         elf_machine_rela.
5101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5102         skip_ifunc, don't call ifunc function if non-zero.
5103         (elf_machine_rela): Likewise.
5104         (elf_machine_lazy_rel): Likewise.
5105         (elf_machine_lazy_rela): Likewise.
5106         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5107         (elf_machine_lazy_rel): Likewise.
5108         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5109         Likewise.
5110         (elf_machine_lazy_rel): Likewise.
5111         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5112         Likewise.
5113         (elf_machine_lazy_rel): Likewise.
5114         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5115         (elf_machine_lazy_rel): Likewise.
5116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5117         (elf_machine_lazy_rel): Likewise.
5118         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5119         (elf_machine_lazy_rel): Likewise.
5120         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5121         (elf_machine_lazy_rel): Likewise.
5122         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5123         (elf_machine_lazy_rel): Likewise.
5124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5125         (elf_machine_lazy_rel): Likewise.
5127 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
5129         * nss/nss_files/files-init.c (_nss_files_init): Use static
5130         initialization for all the *_traced_file variables.
5132 2011-09-28  Andreas Schwab  <schwab@redhat.com>
5134         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5136 2011-09-27  Roland McGrath  <roland@hack.frob.com>
5138         [BZ #13226]
5139         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5141 2011-09-27  Andreas Schwab  <schwab@redhat.com>
5143         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5144         Reread the line before reparsing it.
5146 2011-09-26  Andreas Schwab  <schwab@redhat.com>
5148         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5150 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
5151             Maxim Kuvyrkov  <maxim@codesourcery.com>
5152             Joseph Myers  <joseph@codesourcery.com>
5154         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5155         if needed for __stack_chk_guard.
5157 2011-09-19  Roland McGrath  <roland@hack.frob.com>
5159         * sysdeps/posix/spawni.c (script_execute): Always define it.
5160         It will be optimized away if unused.
5161         (maybe_script_execute): New function.
5162         (__spawni): Call it.
5164         * Makerules: Don't include tls.make.
5165         (config-tls): Always set to thread.
5166         * tls.make.c: File removed.
5168 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
5170         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5171         * config.make.in (CPPFLAGS-config): New substituted variable.
5173 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5177         [BZ #13192]
5178         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5179         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5181 2011-09-15  Roland McGrath  <roland@hack.frob.com>
5183         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5184         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5185         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5186         (CALL_FAIL): Likewise.
5187         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5188         (CALL_FAIL): Macro removed.
5189         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5191 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
5193         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5194         for __FINITE_MATH_ONLY__ == 1.
5196 2011-09-15  Andreas Schwab  <schwab@redhat.com>
5198         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5199         __ieee754_sqrt instead of sqrt.
5200         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5201         __ieee754_sqrtf instead of sqrtf.
5202         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5203         __floorf instead of floorf.
5204         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5205         __floorf, __truncf instead of floorf, truncf.
5207 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
5209         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5211         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5212         __extern_always_inline.
5213         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5214         32-bit.
5216 2011-09-14  Andreas Schwab  <schwab@redhat.com>
5218         * elf/rtld.c (dl_main): Also relocate in dependency order when
5219         doing symbol dependency testing.
5221 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
5223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5224         Always define `refsym'.
5226 2011-09-13  Andreas Schwab  <schwab@redhat.com>
5228         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5229         (__FD_ELT): Renamed from __FDELT.
5230         * misc/bits/select2.h (__FD_ELT): Likewise.
5231         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5232         __FD_MASK instead of __FDELT, __FDMASK.
5233         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5234         Likewise.
5235         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5236         Likewise.
5238         * elf/Makefile (gen-ldd): Fix pattern.
5240         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5241         (init_tls): Likewise.
5243 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
5245         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5247 2011-09-12  Andreas Schwab  <schwab@redhat.com>
5249         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5250         `struct cmsghdr *' instead of `void *'.
5251         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5252         Likewise.
5254 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5256         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5257         if non-absolute.
5258         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5259         ldd_rewrite_script.
5261 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
5263         * configure.in: Remove --with-tls option.
5264         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5265         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5266         out in case it is missing.
5267         * sysdeps/ia64/elf/configure.in: Likewise.
5268         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5269         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5270         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5271         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5272         * sysdeps/sh/elf/configure.in: Likewise.
5273         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5274         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5275         * sysdeps/x86_64/elf/configure.in: Likewise.
5276         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5277         * sysdeps/mach/hurd/tls.h: Likewise.
5279         [BZ #13067]
5280         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5282         [BZ #13090]
5283         * configure.in: Fix use of AC_INIT.
5285         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5287 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
5289         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5290         __set_errno.
5291         * malloc/hooks.c: Likewise.
5293         [BZ #11929]
5294         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
5295         variables statically.
5296         (narenas): Initialize.
5297         (list_lock): Initialize.
5298         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
5299         initializtion of main_arena and list_lock.  Small cleanups.
5300         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5301         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
5302         Add initializers to main_arena and mp_.
5303         (malloc_state): Remove pagesize member.  Change all users to use
5304         GLRO(dl_pagesize).
5306         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5307         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
5308         is always initialized.
5310         * malloc/malloc.c: Removed unused configurations and dead code.
5311         * malloc/arena.c: Likewise.
5312         * malloc/hooks.c: Likewise.
5313         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5315         * include/tls.h: Removed.  USE___THREAD must always be defined.
5316         * bits/libc-tsd.h: Don't handle !USE___THREAD.
5317         * elf/dl-libc.c: Likewise.
5318         * elf/dl-tsd.c: Likewise.
5319         * include/errno.h: Likewise.
5320         * include/netdb.h: Likewise.
5321         * include/resolv.h: Likewise.
5322         * inet/herrno-loc.c: Likewise.
5323         * inet/herrno.c: Likewise.
5324         * malloc/arena.c: Likewise.
5325         * malloc/hooks.c: Likewise.
5326         * malloc/malloc.c: Likewise.
5327         * resolv/res-state.c: Likewise.
5328         * resolv/res_libc.c: Likewise.
5329         * sysdeps/i386/dl-machine.h: Likewise.
5330         * sysdeps/ia64/dl-machine.h: Likewise.
5331         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5332         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5333         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5334         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5335         * sysdeps/sh/dl-machine.h: Likewise.
5336         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5337         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5338         * sysdeps/unix/i386/sysdep.S: Likewise.
5339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5340         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5345         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5346         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5349         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5350         * sysdeps/x86_64/dl-machine.h: Likewise.
5351         * tls.make.c: Likewise.
5353         * configure.in: Remove --with-__thread option.  Make tests for
5354         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5355         tls_model attribute fail if no support is available.  Remove
5356         USE_IN_LIBIO.
5357         * Makeconfig: Adjust for dropped configure option.  All features are
5358         now mandatory.
5359         * Makerules: Likewise.
5360         * Versions.def: Likewise.
5361         * argp/argp-fmtstream.c: Likewise.
5362         * argp/argp-fmtstream.h: Likewise.
5363         * argp/argp-help.c: Likewise.
5364         * assert/assert.c: Likewise.
5365         * config.h.in: Likewise.
5366         * config.make.in: Likewise.
5367         * configure: Likewise.
5368         * configure.in: Likewise.
5369         * csu/Versions: Likewise.
5370         * csu/init.c: Likewise.
5371         * elf/tst-audit2.c: Likewise.
5372         * elf/tst-tls10.c: Likewise.
5373         * elf/tst-tls10.h: Likewise.
5374         * elf/tst-tls11.c: Likewise.
5375         * elf/tst-tls12.c: Likewise.
5376         * elf/tst-tls14.c: Likewise.
5377         * elf/tst-tlsmod11.c: Likewise.
5378         * elf/tst-tlsmod12.c: Likewise.
5379         * elf/tst-tlsmod13.c: Likewise.
5380         * elf/tst-tlsmod13a.c: Likewise.
5381         * elf/tst-tlsmod14a.c: Likewise.
5382         * elf/tst-tlsmod15b.c: Likewise.
5383         * elf/tst-tlsmod16a.c: Likewise.
5384         * elf/tst-tlsmod16b.c: Likewise.
5385         * elf/tst-tlsmod7.c: Likewise.
5386         * elf/tst-tlsmod8.c: Likewise.
5387         * elf/tst-tlsmod9.c: Likewise.
5388         * gmon/gmon.c: Likewise.
5389         * grp/fgetgrent_r.c: Likewise.
5390         * grp/putgrent.c: Likewise.
5391         * hurd/fopenport.c: Likewise.
5392         * include/libc-symbols.h: Likewise.
5393         * include/tls.h: Likewise.
5394         * intl/gettextP.h: Likewise.
5395         * intl/loadinfo.h: Likewise.
5396         * locale/global-locale.c: Likewise.
5397         * locale/localeinfo.h: Likewise.
5398         * mach/devstream.c: Likewise.
5399         * malloc/arena.c: Likewise.
5400         * malloc/set-freeres.c: Likewise.
5401         * misc/err.c: Likewise.
5402         * misc/getttyent.c: Likewise.
5403         * misc/mntent_r.c: Likewise.
5404         * posix/getopt.c: Likewise.
5405         * posix/wordexp.c: Likewise.
5406         * pwd/fgetpwent_r.c: Likewise.
5407         * resolv/Versions: Likewise.
5408         * resolv/res_hconf.c: Likewise.
5409         * shadow/fgetspent_r.c: Likewise.
5410         * shadow/putspent.c: Likewise.
5411         * stdio-common/printf_fphex.c: Likewise.
5412         * stdio-common/tmpfile.c: Likewise.
5413         * stdlib/abort.c: Likewise.
5414         * stdlib/fmtmsg.c: Likewise.
5415         * sunrpc/auth_unix.c: Likewise.
5416         * sunrpc/clnt_perr.c: Likewise.
5417         * sunrpc/clnt_tcp.c: Likewise.
5418         * sunrpc/clnt_udp.c: Likewise.
5419         * sunrpc/clnt_unix.c: Likewise.
5420         * sunrpc/openchild.c: Likewise.
5421         * sunrpc/svc_simple.c: Likewise.
5422         * sunrpc/svc_tcp.c: Likewise.
5423         * sunrpc/svc_udp.c: Likewise.
5424         * sunrpc/svc_unix.c: Likewise.
5425         * sunrpc/xdr.c: Likewise.
5426         * sunrpc/xdr_array.c: Likewise.
5427         * sunrpc/xdr_rec.c: Likewise.
5428         * sunrpc/xdr_ref.c: Likewise.
5429         * sunrpc/xdr_stdio.c: Likewise.
5431 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
5433         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5435 2011-07-03  Andreas Jaeger  <aj@suse.de>
5437         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5438         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5439         regenerate with gen-libm-tests.pl.
5441 2010-05-12  Petr Baudis  <pasky@suse.cz>
5443         [BZ #11589]
5444         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5445         around j0() zero points by switching to j1().
5446         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5447         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5449         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5451 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
5453         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5454         instead of 0.
5455         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5456         instead of 0.                              .
5457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5458         Patch in part by Pavel Roskin <proski@gnu.org>.
5460         [BZ #13138]
5461         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5462         realloc.
5463         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
5464         Free memory block if necessary.
5466         [BZ #12847]
5467         * libio/genops.c (INTDEF): For string streams the _lock pointer can
5468         be NULL.  Don't lock in this case.
5470 2011-09-09  Roland McGrath  <roland@hack.frob.com>
5472         * elf/elf.h (ELFOSABI_GNU): New macro.
5473         (ELFOSABI_LINUX): Define to that.
5475 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
5477         * string/strncat.c (strncat): Undef the symbol in case it has been
5478         defined in bits/string.h.
5480 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
5482         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5484         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5485         link map.
5487 2011-08-17  Andreas Jaeger  <aj@suse.de>
5489         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5491 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5492             Ian Lance Taylor  <iant@google.com>
5494         * math/libm-test.inc (lround_test): New testcase.
5495         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5497 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
5499         * Makefile: Remove support for automatic cvs check-ins.
5500         * Makerules: Likewise.
5501         * config.make.in: Likewise.
5502         * configure.in: Likewise.
5503         * intl/Makefile: Likewise.
5504         * locale/Makefile: Likewise.
5505         * po/Makefile: Likewise.
5506         * posix/Makefile: Likewise.
5507         * sysdeps/gnu/Makefile: Likewise.
5508         * sysdeps/mach/hurd/Makefile: Likewise.
5509         * sysdeps/sparc/sparc32/Makefile: Likewise.
5511         [BZ #13118]
5512         * posix/Makefile (bug-regex32-ENV): Define.
5513         Patch by John Stanley <jpsinthemix@verizon.net>.
5515         * misc/Makefile (headers): Add bits/select2.h.
5516         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5517         * misc/bits/select2.h: New file.
5518         * include/bits/select2.h: New file.
5519         * debug/Makefile (routines): Add fdelt_chk.
5520         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5521         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5522         FD_ISSET.
5523         * debug/fdelt_chk.c: New file.
5525         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
5526         * wcsmbs/test-wmemcmp.c: Likewise.
5527         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5528         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5530 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5532         * string/Makefile (strop-tests): Add memcmp.
5533         * string/test-wmemcmp.c: New file.
5534         * string/test-memcmp.c: Add wmemcmp support.
5536 2011-09-08  Roland McGrath  <roland@hack.frob.com>
5538         [BZ #13153]
5539         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5540         2011-07-19 change.
5542         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5543         garbage value in a __mach_port_mod_refs call in the cases of the
5544         task-self and thread-self ports.
5546 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5548         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5550 2011-09-08  Andreas Schwab  <schwab@redhat.com>
5552         * elf/dl-load.c (lose): Check for non-null L.
5554 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
5556         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5558         * elf/dl-libc.c (dlerror_run): Pass back error code from
5559         dl_catch_error.
5561         [BZ #13123]
5562         * elf/dl-load.c (lose): Free l_origin if it is valid.
5564         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5565         names.
5566         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5567         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5568         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5569         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5570         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5571         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5573 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5575         * sysdeps/powerpc/fpu/e_hypot.c: New file.
5576         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5577         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5578         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5579         * sysdeps/powerpc/fpu/k_cosf.c: New file.
5580         * sysdeps/powerpc/fpu/k_sinf.c: New file.
5581         * sysdeps/powerpc/fpu/s_cosf.c: New file.
5582         * sysdeps/powerpc/fpu/s_sinf.c: New file.
5583         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5584         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5586 2011-08-15  Alan Modra  <amodra@gmail.com>
5588         [BZ #13092]
5589         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5590         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5591         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
5592         ppc_mcount to static-only-routines.
5593         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5594         __mcount_internal.
5595         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5596         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
5598 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
5600         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5601         for finite and infinity parameters.
5603 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5605         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5606         and add nop instructions for throughput optimization.
5607         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5609 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
5611         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5612         aligned copy for power7 with vector-scalar instructions.
5613         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5615 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
5617         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5618         AVX check.
5620 2011-09-07  Andreas Schwab  <schwab@redhat.com>
5622         [BZ #13144]
5623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5624         last change.
5626 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
5628         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5629         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5630         syscall wrapper around clock_gettime in __vdso_clock_gettime.
5631         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5632         clock_gettime.
5634 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
5636         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5637         Forgot to demangle the pointer.
5639         * sysdeps/i386/sysdep.h: Define atom_text_section.
5640         * sysdeps/x86_64/sysdep.h: Likewise.
5641         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5642         section with atom_text_section.
5643         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5644         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5645         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5647         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5649         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5650         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5651         already be defined.  Change to take two parameters and don't assign
5652         result to variable.  Adjust all users.
5653         Define INTERNAL_GETTIME if not already defined.
5654         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5655         call.
5656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5657         HAVE_CLOCK_GETTIME_VSYSCALL.
5658         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5661         gettimeofday vsyscall, just use time.
5663 2011-09-06  Andreas Schwab  <schwab@redhat.com>
5665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5666         <errno.h>.
5668 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
5670         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5671         syscall on x86-64.
5672         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5673         syscall.
5674         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5675         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5676         syscall if possible.
5678 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
5680         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5681         e_ident.  Don't pass to find_mapsXX.
5682         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5684 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5687         strchr-sse2-no-bsf strrchr-sse2-no-bsf
5688         * sysdeps/x86_64/multiarch/strchr.S: Update.
5689         Check bit_slow_BSF bit.
5690         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5692         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5694 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
5696         [BZ #13134]
5697         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5698         before glibc 2.15.
5699         (tryshell): Define.
5700         (__spawni): Change last parameter to be flag.  Test
5701         SPAWN_XFLAGS_USE_PATH flag to use path or not.
5702         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5703         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5704         * posix/spawni.c: Likewise.
5705         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5706         * posix/spawnp.c: Likewise.  Change normal version to use
5707         SPAWN_XFLAGS_USE_PATH.
5708         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5709         SPAWN_XFLAGS_TRY_SHELL.
5711         [BZ #13150]
5712         * posix/glob.h: Remove gcc 1.x support.
5714         [BZ #13068]
5715         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5717 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5719         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5720         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5721         strrchr-sse2-bsf
5722         * sysdeps/i386/i686/multiarch/strchr.S: New file.
5723         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5724         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5725         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5726         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5727         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5729 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5731         * sysdeps/x86_64/wcscmp.S: New file.
5733         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5734         wcscmp-c wcscmp-sse2
5735         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5736         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5737         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5738         * wcsmbs/wcscmp.c: Allow renaming.
5740 2011-09-05  David S. Miller  <davem@davemloft.net>
5742         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5743         stack slot, rather than the struct return pointer slot.
5744         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5745         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5747         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5749 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
5751         * po/ja.po: Update from translation team.
5753         [BZ #13144]
5754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5755         kernel in 64-bit binaries.
5757 2011-09-01  David S. Miller  <davem@davemloft.net>
5759         * elf/elf.h (HWCAP_SPARC_*): Move to..
5760         * sysdeps/sparc/sysdep.h: this new file and add new values.
5761         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5762         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5763         _DL_HWCAP_COUNT to 24.
5764         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5765         entries.
5766         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5767         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5768         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5769         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5770         instead of magic constants.
5771         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5773 2011-08-31  David S. Miller  <davem@davemloft.net>
5775         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5777         Reimplement to do errno handling inline.
5778         (SYSCALL_ERROR_HANDLER): New macro.
5779         (__SYSCALL_STRING): Do not do errno handling in asm.
5780         (__CLONE_SYSCALL_STRING): Delete.
5781         (__INTERNAL_SYSCALL_STRING): Delete.
5782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5783         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5784         (PSEUDO): Reimplement to do errno handling inline.
5785         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5786         (SYSCALL_ERROR_HANDLER): New macro.
5787         (__SYSCALL_STRING): Do not do errno handling in asm.
5788         (__CLONE_SYSCALL_STRING): Delete.
5789         (__INTERNAL_SYSCALL_STRING): Delete.
5790         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5791         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5792         i386.
5793         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5794         (inline_syscall*): Add 'err' argument.
5795         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5796         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5797         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5798         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5800         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5801         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5803 2011-08-30  Andreas Schwab  <schwab@redhat.com>
5805         * elf/rtld.c (dl_main): Relocate objects in dependency order.
5807 2011-08-29  Jiri Olsa <jolsa@redhat.com>
5809         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5810         directive.
5812 2011-08-24  David S. Miller  <davem@davemloft.net>
5814         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5816 2011-08-24  Andreas Schwab  <schwab@redhat.com>
5818         * elf/Makefile: Add rules to build and run unload8 test.
5819         * elf/unload8.c: New file.
5820         * elf/unload8mod1.c: New file.
5821         * elf/unload8mod1x.c: New file.
5822         * elf/unload8mod2.c: New file.
5823         * elf/unload8mod3.c: New file.
5825         * elf/dl-close.c (_dl_close_worker): Reset private search list if
5826         it wasn't used.
5828 2011-08-23  David S. Miller  <davem@davemloft.net>
5830         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5831         subtract stack bias.
5832         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5833         %sp not %fp in calculations.
5834         (_JMPBUF_UNWINDS_ADJ): Likewise.
5836         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5837         (aio_suspend): Call it to force an exception region around the
5838         AIO_MISC_WAIT() invocation.
5840 2011-08-23  Andreas Schwab  <schwab@redhat.com>
5842         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5843         backslash.
5845 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
5847         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5848         protection macro.
5849         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5850         and <dl-machine.h>.
5851         (Elf64_FuncDesc): Remove.
5853 2011-08-22  David S. Miller  <davem@davemloft.net>
5855         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5856         sigaltstack check, add missing cfi directives.
5857         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5858         missing cfi directives, and sigaltstack handling.
5860 2011-08-16  Andreas Schwab  <schwab@redhat.com>
5862         [BZ #11724]
5863         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5864         object is seen twice.
5865         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5867         * elf/Makefile (distribute): Add tst-initorder2.c.
5868         (tests): Add tst-initorder2.
5869         (modules-names): Add tst-initorder2a tst-initorder2b
5870         tst-initorder2c tst-initorder2d.  Add rules to build them.
5871         ($(objpfx)tst-initorder2.out): New rule.
5872         * elf/tst-initorder2.c: New file.
5873         * elf/tst-initorder2.exp: New file.
5875 2011-08-22  Andreas Schwab  <schwab@redhat.com>
5877         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5879         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5880         dependencies back to end of function.
5882         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5883         $(elfobjdir)/ld.so.
5885 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
5887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5888         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5889         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5890         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5891         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5892         of __vdso_gettimeofday.
5893         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5894         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
5895         attribute_hidden.
5896         (_libc_vdso_platform_setup): Remove initialization of
5897         __vdso_gettimeofday and __vdso_time.
5899 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
5901         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5902         and fgetc_unlocked.
5903         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5904         getc_unlocked.
5906         * elf/dl-open.c (add_to_global): Report additions to the global scope
5907         for LD_DEBUG=scopes.
5908         (dl_open_worker): Also print scope of newly loaded dependencies.
5909         (_dl_show_scope): Indicate if there is no scope.
5911         [BZ #13114]
5912         * stdio-common/Makefile (tests): Add bug24.
5913         * stdio-common/bug24.c: New file.
5915 2011-08-19  Andreas Jaeger  <aj@suse.de>
5917         [BZ #13114]
5918         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5919         non-existant file when using close-on-exec mode.
5921 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
5923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5924         the very first instruction.
5926         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5927         the CFI state in the end.
5928         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5929         inclusion of dl-trampoline.h.
5930         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5932 2011-08-19  Andreas Schwab  <schwab@redhat.com>
5934         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5935         expectations for long double.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5938         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5940 2011-08-14  David S. Miller  <davem@davemloft.net>
5942         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5943         artificual limit depends upon the system page size.
5945 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
5947         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5948         * resolv/Makefile: Define CFLAGS-libresolv.
5950 2011-08-17  Andreas Schwab  <schwab@redhat.com>
5952         * nss/makedb.c (compute_tables): Make variables used in nested
5953         function static.
5955 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
5957         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5958         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5959         if buffer was too small.
5961         * elf/pldd.c (main): Attach to all threads in the process.
5962         Rewrite /proc handling to use *at functions.
5964 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
5966         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5967         specifies first scope to show.
5968         (dl_open_worker): Update callers.  Move printing scope of new
5969         object to before the relocation.
5970         * elf/rtld.c (dl_main): Update _dl_show_scope call.
5971         * sysdeps/generic/ldsodefs.h: Update declaration.
5973         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5974         string for the scope number.
5976 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
5978         * nscd/servicescache.c (cache_addserv): Make sure written is always
5979         initialized.
5981 2011-08-14  Roland McGrath  <roland@hack.frob.com>
5983         * sysdeps/i386/i486/bits/atomic.h
5984         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5985         statement expression, so as to suppress "set but not used" warning.
5986         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5988         * string/strncat.c (STRNCAT): Use prototype definition.
5990         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5991         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5992         -Iprograms here.
5993         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5994         (localedef-modules): Add localedef.
5995         (locale-modules): Add locale.
5997         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5998         * elf/rtld.c (dl_main): Invert order of assignment in last change,
5999         to avoid a warning.
6001 2011-08-14  David S. Miller  <davem@davemloft.net>
6003         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6004         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6006 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
6008         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6009         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6010         * elf/rtld.c (dl_main): Set l_name of vDSO.
6011         Call _dl_show_scope when DL_DEBUG_SCOPES.
6012         (process_dl_debug): Recognize scopes flag and also set it for all.
6013         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6014         Declare _dl_show_scope.
6016         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6017         (do_dlopen): Pass caller_dlopen to dl_open.
6018         (__libc_dlopen_mode): Initialize caller_dlopen.
6020         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6021         of libc.  Make tolower call locale-independent.  Optimize a bit by
6022         using isdigit instead of isalnum.
6023         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6025 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
6027         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6028         was a dependency or dynamically loaded.
6030 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
6032         * intl/l10nflist.c: Allow architecture-specific pop function.
6033         * sysdeps/x86_64/l10nflist.c: New file.
6035         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6036         classification.
6038 2011-08-10  Andreas Schwab  <schwab@redhat.com>
6040         * include/dirent.h: Add libc_hidden_proto for scandirat and
6041         scandirat64.  Don't declare __scandirat64.
6042         * dirent/scandirat.c: Add libc_hidden_def.
6043         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6044         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6046 2011-08-10  David S. Miller  <davem@davemloft.net>
6048         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6049         enum.
6050         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6051         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6052         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6054 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
6056         * Versions.def [libc]: Add GLIBC_2.15.
6057         * dirent/Makefile (routines): Add scandirat and scandirat64.
6058         * dirent/Versions [libc]: Export scandirat and scandirat64 for
6059         GLIBC_2.15.
6060         * dirent/dirent.h: Declare scandirat and scandirat64.
6061         * dirent/scandirat.c: New file.
6062         * dirent/scandirat64.c: New file.
6063         * sysdeps/wordsize-64/scandirat.c: New file.
6064         * sysdeps/wordsize-64/scandirat64.c: New file.
6065         * dirent/opendir.c: Define opendirat.
6066         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
6067         using scandirat.
6068         * dirent/scandir64.c: Adjust for scandir.c change.
6069         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
6070         __scandirat64, and __scandir_cancel_handler.
6071         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
6072         additional parameter and use openat instead of open (outside of ld.so).
6073         Add new __opendir as wrapper around __opendirat.
6074         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6075         here without requiring old scandirat implementation.
6077 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
6079         * dirent/scandir.c (cancel_handler): Renamed to
6080         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
6081         defined.  Adjust users.
6082         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6083         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6085 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
6087         * string/test-string.h (IMPL): Use __STRING to expand name and then
6088         stringify it.
6090         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
6091         of cleanups.
6093 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6095         * string/Makefile: Update.
6096         (strop-tests): Append strncat.
6097         * string/test-wcscmp.c: New file.
6098         New comprehensive test for wcscmp.
6099         * string/test-strcmp.c: Update.
6100         (WIDE): New define.
6102 2011-07-22  Andreas Schwab  <schwab@redhat.com>
6104         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6105         line.
6107 2011-07-26  Andreas Schwab  <schwab@redhat.com>
6109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6110         encoding to ACE if AI_IDN.
6112 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
6114         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6115         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6117 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6119         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6120         Fix overflow bug in strncat.
6121         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6123         * string/test-strncat.c: Update.
6124         Add new tests for checking overflow bugs.
6126 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6129         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6130         * sysdeps/i386/i686/multiarch/strcat.S: New file.
6131         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6132         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6133         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6134         * sysdeps/i386/i686/multiarch/strncat.S: New file.
6135         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6136         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6138         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6139         (USE_AS_STRCAT): Define.
6140         Add strcat and strncat support.
6141         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6143 2011-07-25  Andreas Schwab  <schwab@redhat.com>
6145         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6146         __n bigger than INT_MAX+1.
6147         (__strncmp_g): Likewise.
6149 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
6151         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6152         * libio/stido.h: Likewise.
6154         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6155         (AF_NFC): Define.
6156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6157         (AF_NFC): Define.
6159         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6160         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6161         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6162         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6163         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6165         [BZ #13021]
6166         * scripts/test-installation.pl: Don't expect libnss_test1 to be
6167         installed.
6169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6170         typo.
6171         (_dl_x86_64_save_sse): Likewise.
6173 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
6175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6176         OSXSAVE.
6177         (_dl_x86_64_save_sse): Likewise.
6179         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6181         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6183 2011-07-21  Andreas Schwab  <schwab@redhat.com>
6185         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6186         change.
6187         (_dl_x86_64_save_sse): Use correct AVX check.
6189 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6191         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6192         bug in strncpy/strncat.
6193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6195 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
6197         * string/tester.c (test_strcat): Add tests for different alignments
6198         of source and destination.
6199         (test_strncat): Likewise.
6201 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6203         [BZ #12852]
6204         * posix/glob.c (glob): Check passed in values before using them in
6205         expressions to avoid some overflows.
6206         (glob_in_dir): Likewise.
6208         [BZ #13007]
6209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6210         check for AVX enablement so that we don't crash with old kernels and
6211         new hardware.
6212         * elf/tst-audit4.c: Add same checks here.
6213         * elf/tst-audit6.c: Likewise.
6215         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6217 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
6219         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6221 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
6223         * po/cs.po: Update from translation team.
6224         * po/bg.po: Likewise.
6226 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
6228         * misc/sys/cdefs.h: Add support for const attribute.
6229         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6230         to gnu_dev_{major,minor,makedev} functions.
6232 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
6234         * intl/dcigettext.c (get_output_charset): Add missing bracket.
6236 2011-07-20  Andreas Schwab  <schwab@redhat.com>
6238         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6239         strlen results.
6241 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6244         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6245         register in order to avoid conflicts with the soft frame pointer
6246         being held in r11 when necessary.
6247         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6248         (INTERNAL_VSYSCALL_NCS): Likewise.
6250 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
6252         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6253         * elf/dl-fini.c (_dl_fini): Adjust caller.
6254         * elf/dl-close.c (_dl_close_worker): Likewise.
6255         * sysdeps/generic/ldsodefs.h: Adjust declaration.
6257 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
6259         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6260         "aux_cache->nlibs < 0".
6262         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6263         in the reload-count case.
6265 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6268         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6269         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6270         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6271         * sysdeps/x86_64/multiarch/strcat.S: New file.
6272         * sysdeps/x86_64/multiarch/strncat.S: New file.
6273         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6275         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6276         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6278         (USE_AS_STRCAT): Define.
6279         Add strcat and strncat support.
6280         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6281         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6282         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6283         * string/strncat.c: Update.
6284         (USE_AS_STRNCAT): Define.
6285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6286         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6287         and i7.
6288         * sysdeps/x86_64/multiarch/init-arch.h
6289         (bit_Prefer_PMINUB_for_stringop): New.
6290         (index_Prefer_PMINUB_for_stringop): Likewise.
6291         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6292         bit_Prefer_PMINUB_for_stringop.
6294 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
6296         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6297         buffer64.
6298         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6299         of casting of buffer.
6300         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6301         buffer32 and buffer64.
6302         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6303         writes instead of casting of buffer.
6304         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6305         buffer32.
6306         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6307         casting of buffer.
6309 2011-07-19  Andreas Schwab  <schwab@redhat.com>
6311         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6313 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
6315         * nscd/nscd.c (termination_handler): Don't do anything for a database
6316         if it has not yet been initialized.
6318 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
6320         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6322 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
6324         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6326 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
6328         * po/nl.po: Update from translation team.
6329         * po/sv.po: Likewise.
6331 2011-07-16  Roland McGrath  <roland@hack.frob.com>
6333         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6334         now disallowed by GCC.
6336         * configure.in (use-default-link): Default to yes if a test -shared
6337         link meets our qualifications.
6338         * configure: Regenerated.
6340         * config.make.in (output-format): New variable.
6341         * configure.in: Check for ld --print-output-format support.
6342         * configure: Regenerated.
6343         * Makerules ($(common-objpfx)format.lds)
6344         [$(output-format) != unknown]: Just use $(output-format),
6345         instead of the linker-script munging.
6347 2011-07-14  Roland McGrath  <roland@hack.frob.com>
6349         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6350         of $(common-objpfx)shlib.lds.
6351         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6353         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6354         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6356         * configure.in (-z relro check): Adjust test code to add a large
6357         writable data section after it.
6358         * configure: Regenerated.
6360 2011-07-11  Roland McGrath  <roland@hack.frob.com>
6362         * configure.in (-z relro check): Fix test code to make the variable
6363         truly const.
6364         * configure: Regenerated.
6366 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
6368         * nscd/nscd.h (struct traced_file): Define.
6369         (struct database_dyn): Remove inotify_descr, reset_res, and filename
6370         elements.  Add traced_files.
6371         (inotify_fd): Declare.
6372         (register_traced_file): Declare.
6373         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6374         (inotify_fd): Export.
6375         (resolv_conf_descr): Remove.
6376         (nscd_init): Move inotify descriptor creation to main.
6377         Don't register files for notification here.
6378         (register_traced_file): New function.
6379         (invalidate_cache): Don't use reset_res to determine whether to call
6380         res_init, go through the list of registered files.
6381         (main_loop_poll): The inotify descriptors are now stored in the
6382         structures for the traced files.
6383         (main_loop_epoll): Likewise
6384         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
6385         to __nss_disable_nscd.
6386         * nscd/cache.c (prune_cache): There is no single inotify descriptor
6387         for a database anymore.  Check the records for all the registered
6388         files instead.
6389         * nss/Makefile (libnss_files-routines): Add files-init.
6390         (libnss_db-routines): Add db-init.
6391         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6392         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6393         * nss/nss_db/db-init.c: New file.
6394         * nss/nss_files/files-init.c: New file.
6395         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
6396         __nss_lookup_function.
6397         (__nss_lookup_function): Call nss_load_library.
6398         (nss_load_all_libraries): New function.
6399         (__nss_disable_nscd): Take parameter with callback function for files
6400         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
6401         used for the cached services.
6402         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6403         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6404         options for features to all the files in nscd.
6406         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6408 2011-07-10  Roland McGrath  <roland@hack.frob.com>
6410         * csu/elf-init.c (__libc_csu_init): Comment typo.
6412 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
6414         * po/pl.po: Update from translation team.
6415         * po/ja.po: Likewise.
6416         * po/ru.po: Likewise.
6417         * po/ko.po: Likewise.
6418         * po/fr.po: Likewise.
6420 2011-07-09  Roland McGrath  <roland@hack.frob.com>
6422         * configure.in (.ctors/.dtors header and trailer check):
6423         Use an empirical test on a built program.
6424         * configure: Regenerated.
6426         * configure.in (-z relro check): Use an empirical test on a built DSO.
6427         Detect, but do not require, on ia64.
6428         * configure: Regenerated.
6430         * configure.in (READELF): Find it with AC_CHECK_TOOL.
6431         Update tests that use readelf to use $READELF instead.
6432         * configure: Regenerated.
6434 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
6436         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6437         if the result is not used.
6439 2011-07-05  Andreas Jaeger  <aj@suse.de>
6441         [BZ#9696]
6442         * stdlib/tst-strtod.c: Add testcase.
6444 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
6446         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6447         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6448         The latter has a higher limit.  Take additional parameter to pass to
6449         the new function.
6450         (__pathconf): Pass file to __statfs_link_max.
6451         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6452         __statfs_link_max.
6453         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6454         __statfs_link_max.
6456         [BZ #12868]
6457         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6458         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6459         Handle Lustre.
6460         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6461         (__statfs_filesize_max): Likewise.
6462         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6464 2011-07-05  Andreas Jaeger  <aj@suse.de>
6466         * resolv/res_comp.c (dn_skipname): Remove unused variable.
6468 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
6470         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6471         `status' variable.
6472         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6473         Likewise.
6475 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
6477         * Makefile (strop-tests): Add strncat.
6478         * string/test-strncat.c: New file.
6480 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
6482         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6484 2011-06-21  Andreas Jaeger  <aj@suse.de>
6486         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6487         Copy rule from iconvdata/Makefile.
6489 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
6491         [BZ #12922]
6492         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6493         but no long options are defined, just return 'W'.
6495 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
6497         [BZ #9696]
6498         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6500 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
6502         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6503         netgroups to read.
6504         (innetgr): Likewise.
6506 2011-07-05  Roland McGrath  <roland@hack.frob.com>
6508         * config.make.in (install_root): Default to $(DESTDIR).
6510 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
6512         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6514 2011-07-02  Roland McGrath  <roland@hack.frob.com>
6516         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6518         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6519         containing directory rather than embedding absolute directory names.
6521         * scripts/check-local-headers.sh: Rewritten using awk.
6522         Match by word, not by line.  Print error messages for matches.
6523         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6525         * Makerules [shlib-lds-flags empty]:
6526         ($(common-objpfx)libc_pic.opts): New target.
6527         ($(common-objpfx)libc_pic.os.clean): New target.
6528         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6530         * config.make.in (OBJCOPY): New variable.
6531         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6532         * configure: Regenerated.
6534         * config.make.in (use-default-link): New variable.
6535         * configure.in (use_default_link): Grok --with-default-link to set it.
6536         * configure: Regenerated.
6537         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6538         (shlib-lds, shlib-lds-flags): Define to empty.
6540         * Makerules (shlib-lds): New variable.
6541         (shlib-lds-flags): New variable.
6542         (build-shlib, build-moduile, build-module-asneeded): Use it.
6543         ($(common-objpfx)libc.so): Use $(shlib-lds).
6544         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6545         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6547         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6548         DT_FLAGS/DT_FLAGS_1 with zero flags.
6550         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6551         linker script munging.
6553 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
6555         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6556         as 128-bit value.
6557         * crypt/sha512.c (sha512_process_block): Perform total addition using
6558         128-bit if possible.
6559         (__sha512_finish_ctx): Likewise.
6560         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6561         as 64-bit value.
6562         * crypt/sha256.c (SWAP64): Define.
6563         (sha256_process_block): Perform total addition using 64-bit if
6564         possible.
6565         (__sha256_finish_ctx): Likewise.
6567 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
6569         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
6570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6571         * nscd/hstcache.c (cache_addhst): Likewise.
6572         * nscd/grpcache.c (cache_addgr): Likewise.
6573         * nscd/aicache.c (addhstaiX): Likewise
6574         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6576 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
6578         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6579         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6580         * nscd/hstcache.c (cache_addhst): Likewise.
6581         * nscd/grpcache.c (cache_addgr): Likewise.
6582         * nscd/aicache.c (addhstaiX): Likewise
6584 2011-07-01  Andreas Schwab  <schwab@redhat.com>
6586         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6587         domain only when needed.
6589 2011-06-30  Andreas Schwab  <schwab@redhat.com>
6591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6592         is always restored.
6594 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
6596         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6597         are re-adding the entry.
6598         * nscd/servicescache.c (cache_addserv): Likewise.
6600 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6602         * sysdeps/generic/dl-irel.h: fix protection against multiple
6603         inclusions.
6604         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6606 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
6608         [BZ #12935]
6609         * malloc/memusage.sh: Fix quoting in message.
6610         * debug/xtrace.sh: Likewise.
6612         * configure.in: Remove support for --experimental-malloc option, make
6613         it the default.
6614         * config.make.in: Likewise.
6615         * malloc/Makefile: Likewise.
6617 2011-06-27  Andreas Schwab  <schwab@redhat.com>
6619         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6620         two-byte characters.
6622 2011-06-27  Roland McGrath  <roland@hack.frob.com>
6624         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6625         AC_CACHE_CHECK invocation.
6626         * configure: Regenerated.
6628         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6630 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
6632         [BZ #12350]
6633         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
6634         bit from old_res_options.
6636         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6638         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6639         value type for setfct.
6641 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
6643         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6644         __gettimeofday instead of gettimeofday.
6646 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
6648         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6650 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
6652         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6655         info.
6657 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
6659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6660         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6661         strcpy-sse2-unaligned strncpy-sse2-unaligned
6662         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6663         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6664         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6665         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6666         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6667         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6668         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6669         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6670         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6671         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6672         (STRCPY): Support SSE2 and SSSE3 versions.
6674 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
6676         [BZ #12874]
6677         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6678         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6679         kernels which artificially limit size of requests.
6681 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
6683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6684         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6685         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6686         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6687         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6688         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6689         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6690         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6691         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6693         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6694         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6695         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6696         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6697         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6699         Enable unaligned load optimization for Intel Core i3, i5 and i7
6700         processors.
6701         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6702         Define.
6703         (index_Fast_Unaligned_Load): Define.
6704         (HAS_FAST_UNALIGNED_LOAD): Define.
6706 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
6708         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6710 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
6712         [BZ #12907]
6713         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6714         until it is clear that the information is realy needed.
6715         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6717 2011-06-22  Andreas Schwab  <schwab@redhat.com>
6719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6721 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
6723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6724         /sys/devices/system/cpu/online if it is usable.
6726         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6727         reading the information from the /proc filesystem to once a second.
6729 2011-06-21  Andreas Jaeger  <aj@suse.de>
6731         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6732         NULL after inclusion of kernel headers.
6734 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
6736         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6737         calls to internal_setent.
6739         [BZ #12885]
6740         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6741         addresses using gethostbyname4_r ignore IPv4 addresses.
6743         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6744         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
6746         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6748 2011-06-20  David S. Miller  <davem@davemloft.net>
6750         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6751         inclusions.
6752         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6754         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6755         (elf_irel): Use it.
6756         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6757         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6758         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6759         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6760         * sysdeps/x86_64/dl-irel.h: Likewise.
6762         * elf/dl-runtime.c: Use elf_ifunc_invoke.
6763         * elf/dl-sym.c: Likewise.
6765 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
6767         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
6768         need to dereference resplen2.
6770 2011-06-14  Andreas Schwab  <schwab@redhat.com>
6772         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6774 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
6776         * Makeconfig: Define vardbdir and inst_vardbdir.
6777         * nss/Makefile: Add rules to install db-Makefile.
6779         * nss/nss_db/db-XXX.c: Cleanup.
6781         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6782         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6783         GLIBC_PRIVATE.
6784         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6785         * nss/makedb.c: Implement -g option to specify that value strings
6786         are generated and should not be added to table iterated over for
6787         get*ent calls.
6788         * nss/nss_db/db-initgroups.c: New file.
6790         * nss/getent.c: Add support for initgroups lookups through getgrouplist
6791         interface.
6793         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6794         (internal_getgrouplist): Adjust to name change.
6795         Update use_initgroups_entry if this is not the first call.
6796         * nss/databases.def: Add initgroups entry.
6798         * nss/makedb.c (compute_tables): Check result of multiple hash table
6799         sizes to minimize maximum chain length.
6801 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
6803         * Versions.def: Add entry for libnss_db.
6804         * shlib-versions: Likewise.
6805         * nss/Makefile: Add rules to build libnss_db.
6806         * nss/Versions: Add libnss_db information.  Organize libnss_files
6807         entries better.
6808         * nss/db-Makefile: Add gshadow support.  Change rules for the new
6809         makedb progra.  Some minor improvements to generate smaller files.
6810         * nss/nss_db/nss_db.h: Move NSS database header data structures to
6811         here from...
6812         * nss/makedb.c: ...here.
6813         Improve database format to be smaller and require less memory at
6814         runtime.
6815         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
6816         db anymore.
6817         * nss/nss_db/db-netgrp.c: Likewise.
6818         * nss/nss_db/db-open.c: Likewise.
6819         * nss/nss_files/flies-XXX.x: Adjust comments.
6820         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6821         * nss/nss_files/files-grp.c: Likewise.
6822         * nss/nss_files/files-hosts.c: Likewise.
6823         * nss/nss_files/files-network.c: Likewise.
6824         * nss/nss_files/files-proto.c: Likewise.
6825         * nss/nss_files/files-pwd.c: Likewise.
6826         * nss/nss_files/files-rpc.c: Likewise.
6827         * nss/nss_files/files-service.c: Likewise.
6828         * nss/nss_files/files-sgrp.c: Likewise.
6829         * nss/nss_files/files-spwd.c: Likewise.
6830         * nss/nss_db/db-alias.c: Removed.
6831         * nss/nss_db/dummy-db.h: Removed.
6833 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
6835         * nss/makedb.c: Rewritten to not use database library.
6836         * nss/Makefile: Update to build new makedb program.
6838 2011-06-14  Andreas Jaeger  <aj@suse.de>
6840         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6841         memset declaration.
6843 2011-06-10  Andreas Schwab  <schwab@redhat.com>
6845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6846         tmpbuf.
6848 2011-06-10  Roland McGrath  <roland@hack.frob.com>
6850         * Makerules (shlib.lds): Fail if the linker script comes out empty.
6851         * elf/Makefile ($(objpfx)ld.so): Likewise.
6853         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6854         Don't list ld.so twice in dependencies.
6856         * posix/bug-regex31.c: Include <stdlib.h>.
6858         * nscd/hstcache.c (cache_addhst): Remove unused variable.
6860         * nis/nss_compat/compat-spwd.c
6861         (getspent_next_nss_netgr): Remove unused variable.
6862         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6864         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6865         nonmembers" output to use the right array.
6867         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6869         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6871         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6872         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6873         * catgets/gencat.c (read_input_file): Likewise.
6874         * locale/programs/locarchive.c (enlarge_archive): Likewise.
6876         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6877         variable definition inside #if's controlling its use.
6879         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6881         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6883         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6885         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6886         unreachable code.
6888         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6890         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6891         * configure: Regenerated.
6893         * Makerules: Revert last change.
6894         * elf/Makefile: Likewise.
6896 2011-06-09  Roland McGrath  <roland@hack.frob.com>
6898         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6899         * elf/Makefile ($(objpfx)librtld.os): Likewise.
6900         (reloc-link): Likewise.
6902 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
6904         * elf/Makefile: Add rules to build pldd.
6905         * elf/pldd.c: New file.
6906         * elf/pldd-xx.c: New file.
6908 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
6910         * version.h: Update for 2.15 development version.
6912 2011-06-07  David S. Miller  <davem@davemloft.net>
6914         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6915         ifuncs.
6916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6917         elf_machine_lazy_rel): Likewise.
6918         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6920         elf_machine_lazy_rel): Likewise.
6921         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6922         dl_hwcap via passed in argument.
6923         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6924         Likewise.
6926 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6928         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
6930 2011-06-06  Roland McGrath  <roland@hack.frob.com>
6932         [BZ #12849]
6933         * manual/fdl-1.1.texi: New file, verbatim from:
6934         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6935         * manual/lgpl-2.1.texi: New file, verbatim from:
6936         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6937         * manual/Makefile (licenses): New variable, list those new file names.
6938         (texis): Use it.
6939         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6941         * manual/fdl.texi: File removed.
6942         * manual/lesser.texi: File removed.
6943         * manual/libc.texinfo (Copying, Documentation License):
6944         Use new @include file names, put @appendix directive before @include.
6946 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
6948         [BZ #12841]
6949         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6950         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6951         (mq_open): Add __NTH.
6953 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
6955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6956         Assume Intel Core i3/i5/i7 processor if AVX is available.
6958 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
6960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6961         typo.
6963 2011-05-31  Andreas Schwab  <schwab@redhat.com>
6965         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6966         memory.  Use alloca_account.  Fix memory leak when retrying.
6968 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
6970         * version.h (RELEASE): Bump for 2.14 release.
6971         * include/features.h (__GLIBC_MINOR__): Bump to 14.
6973         * config.make.in (RANLIB): Remove entry.
6975 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
6977         * po/Makefile (po-sed-cmd): Add ksh to extensions.
6978         (libc.pot): Work around missing support for .ksh extension in xgettext.
6980         [BZ #12684]
6981         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6982         if both request failed.
6983         (send_dg): In case of server errors clear resplen or *resplen2.
6985         [BZ #12454]
6986         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6987         when there are multiple maps.
6988         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6989         (_dl_fini): Remove test here.
6991         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6993 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
6995         [BZ #12350]
6996         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6997         bit from old_res_options.
6998         (gaih_inet): Likewise.
7000         [BZ #11099]
7001         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7002         as signed.
7004         * resolv/res_init.c (res_setoptions): Make the code more compact.
7006         [BZ #11558]
7007         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7008         set RES_USEVC.
7010         [BZ #11634]
7011         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7013         * malloc/malloc.h: Mark malloc hook variables as deprecated.
7015         [BZ #11781]
7016         * malloc/malloc.h: Declare malloc hook variables as volatile.
7018         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7019         in last patch.
7021         [BZ #11799]
7022         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7023         raise in the comment.
7024         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7025         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7026         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7028 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
7030         [BZ #12811]
7031         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7032         grow the buffers more if it already has to be sufficient.
7033         (build_wcs_upper_buffer): Likewise.
7034         * posix/regexec.c (check_matching): Likewise.
7035         (clean_state_log_if_needed): Likewise.
7036         (extend_buffers): Don't enlarge buffers beyond size of the input
7037         buffer.
7038         Patches mostly by Emil Wojak <emil@wojak.eu>.
7039         * posix/bug-regex32.c: New file.
7040         * posix/Makefile (tests): Add bug-regex32.
7042         * locale/findlocale.c (_nl_find_locale): Return right away if
7043         _nl_explode_name failed.
7044         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7046         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7048         * debug/xtrace.sh: Unify messages.
7049         * malloc/memusage.sh: Likewise.
7051         [BZ #12813]
7052         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7053         time symbol from vDSO.  Substitute with vsyscall if not available.
7054         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7055         __vdso_time.
7057         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7058         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7059         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7060         Add sendmmsg and internal_sendmmsg.
7061         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7062         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7063         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7065         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7066         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7067         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7069 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
7071         [BZ #12813]
7072         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7073         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
7074         available.
7075         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7076         __vdso_getcpu.
7078         [BZ #12814]
7079         * iconvdata/Makefile (tests): Add bug-iconv9.
7080         * iconvdata/bug-iconv9.c: New file.
7082 2011-05-27  Andreas Schwab  <schwab@redhat.com>
7084         [BZ #12814]
7085         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7087 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
7089         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7090         (struct user_regs_struct): Change intcs field back to cs.
7092 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
7094         * po/ja.po: Update from translation team.
7096 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
7098         [BZ #12795]
7099         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7100         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7102 2011-05-20  Andreas Schwab  <schwab@redhat.com>
7104         * stdlib/longlong.h: Update from GCC.
7106 2011-05-23  Andreas Schwab  <schwab@redhat.com>
7108         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7109         parameter name.
7110         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7111         Add parameter name.
7112         (__sysconf): Pass it down.
7114 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
7116         [BZ #12671]
7117         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7118         some situations.
7119         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7120         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7121         add in in __libc_use_alloca calls.  Adjust callers.
7122         (glob): Use malloc in some situations.
7124         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7125         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7126         pltexit.
7128 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
7130         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7131         and CLOCK_BOOTTIME_ALARM.
7133         [BZ #12782]
7134         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7135         is returned.
7137         * string/_strerror.c (__strerror_r): Print negative errors as signed
7138         numbers.
7140         [BZ #12777]
7141         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7142         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7143         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7145         * configure.in: Fix typo in redirection and correct removal of test
7146         files in two cases.
7148         [BZ #12788]
7149         * locale/setlocale.c (new_composite_name): Fix test to check for
7150         identical name of all categories.
7152         [BZ #12792]
7153         * libio/filedoalloc.c (local_isatty): New function.
7154         (_IO_file_doallocate): Use local_isatty.
7155         * stdio-common/perror.c (perror): In case a new stream is used
7156         forward the stream error.
7157         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7158         error flag.
7160 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
7162         [BZ #11869]
7163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7164         alloca.
7165         * include/alloca.h (extend_alloca_account): Define.
7167         [BZ #11857]
7168         * posix/regex.h: Fix comments with documentation of user-accessible
7169         fields after compilation and describe correct free'ing of pattern
7170         after re_compile_pattern.
7171         Patch by Reuben Thomas <rrt@sc3d.org>.
7173 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
7175         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7176         and -mno-altivec to prevent the compiler from using Altivec and/or
7177         VSX instructions when the corresponding registers are not available.
7179 2011-05-19  Andreas Schwab  <schwab@redhat.com>
7181         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7183 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
7185         * libio/freopen.c (freopen): Use __dup2, not dup2.
7186         * libio/freopen64.c (freopen64): Likewise.
7188 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7190         [BZ #12775]
7191         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7192         * math/Makefile (tests): Add test-powl.
7193         (CFLAGS-test-powl.c): Define.
7194         * math/test-powl.c: New file.
7196 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7198         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7200 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
7202         [BZ #11837]
7203         * iconvdata/gb18030.c: Update to GB18020-2005.
7205 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
7207         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7208         RE_SYNTAX_POSIX_AWK): Update to match recent development.
7209         Patch by Aharon Robbins <arnold@skeeve.com>.
7211         [BZ #11892]
7212         * stdlib/putenv.c (putenv): Don't always create copy of the variable
7213         on the stack.
7215         [BZ #11895]
7216         * misc/pselect.c (__pselect): Handle timeout value errors hidden
7217         through underflows.
7219         [BZ #12766]
7220         * misc/error.c (error_at_line): Ensure file_name and old_file_name
7221         point to strings before performing equality test for error_one_per_line
7222         mode.
7224         [BZ #11697]
7225         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7227         [BZ #11820]
7228         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7229         (struct user_fpregs_struct): Avoid __uint*_t types.
7231         [BZ #6420]
7232         * malloc/mtrace.c (tr_where): Add additional parameter to point to
7233         symbol info.  Use it instead of calling _dl_addr locally.
7234         (lock_and_info): New function.
7235         (tr_freehook): Call lock_and_info and pass symbol info as additional
7236         parameter to tr_where.
7237         (tr_mallochook): Likewise.
7238         (tr_reallochook): Likewise.
7239         (tr_memalignhook): Likewise.
7241         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
7242         used and couldn't be at all thread-safe.
7244 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
7246         * libio/freopen.c (freopen): Don't close old file descriptor
7247         before the new one is opened.  Instead dup the new file descriptor
7248         to the old one after the new stream is created.
7249         * libio/freopen64.c (freopen64): Likewise.
7250         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7251         * libio/fileops.c (_IO_new_file_close_it): Handle new
7252         _IO_FLAGS2_NOCLOSE flag.
7253         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7254         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7255         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7256         _IO_FLAGS2_NOCLOSE flag.
7257         * include/unistd.h: Add hidden_proto for dup3.
7258         Define __have_dup3.
7259         * io/dup3.c: Define hidden symbol.
7260         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7262         [BZ #7101]
7263         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7264         when an incomplete long option is used.
7265         * posix/tst-getopt_long1.c: New file.
7266         * posix/Makefile (tests): Add tst-getopt_long1.
7268         [BZ #10138]
7269         * scripts/config.guess: Update from autoconf-2.68.
7270         * scripts/config.sub: Likewise.
7272         [BZ #10157]
7273         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7274         tests into ...
7275         (has_cpuclock): ...this.  New function.
7276         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7277         macro here based on has_cpuclock code.
7279         [BZ #10149]
7280         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7281         First byte (not low byte) is now always NUL.
7282         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7284         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7285         Use non-cancelable interfaces.
7287         [BZ #9809]
7288         * locale/iso-639.def: Add entry for Sorani.
7290         [BZ #11901]
7291         * include/stdlib.h: Move include protection to the right place.
7292         Define abort_msg_s.  Declare __abort_msg with it.
7293         * stdlib/abort.c (__abort_msg): Adjust type.
7294         * assert/assert.c (__assert_fail_base): New function.  Majority
7295         of code from __assert_fail.  Allocate memory for __abort_msg with
7296         mmap.
7297         (__assert_fail): Now call __assert_fail_base.
7298         * assert/assert-perr.c: Remove bulk of implementation.  Use
7299         __assert_fail_base.
7300         * include/assert.hL Declare __assert_fail_base.
7301         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7302         mmap.
7303         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7305 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
7307         [BZ #11952]
7308         [BZ #12453]
7309         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7310         until all modules are registered in the DTV.
7311         * elf/Makefile: Add rules to build and run tst-tls19.
7312         * elf/tst-tls19.c: New file.
7313         * elf/tst-tls19mod1.c: New file.
7314         * elf/tst-tls19mod2.c: New file.
7315         * elf/tst-tls19mod3.c: New file.
7316         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7318         [BZ #12083]
7319         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7320         correctly.
7322         [BZ #12601]
7323         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7324         two-byte sequence errors.
7325         * iconvdata/Makefile (tests): Add bug-iconv8.
7326         * iconvdata/bug-iconv8.c: New file.
7328         [BZ #12626]
7329         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7330         buf2 definition.
7332         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7334         [BZ #12432]
7335         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7336         (dummy_getcfa): New function.
7337         (init): Get _Unwind_GetCFA address, use dummy if not found.
7338         (backtrace_helper): In recursion check, also check whether CFA changes.
7339         (__backtrace): Completely initialize arg.
7341         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7342         storing incomplete byte sequence in state object.  Avoid testing for
7343         guaranteed too small input if we know there is enough data available.
7345 2011-05-11  Andreas Schwab  <schwab@redhat.com>
7347         * Makeconfig (+link-pie): Indent.
7348         * Rules (binaries-pie): Define if $(have-fpie) and
7349         $(build-shared).
7350         (binaries-shared): Also filter out $(binaries-pie).
7351         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7352         * nscd/Makefile (others-pie): Add nscd.
7353         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7354         ($(objpfx)nscd): Remove command override.
7355         * login/Makefile (others-pie): Add pt_chown.
7356         ($(objpfx)pt_chown): Remove command override.
7357         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7358         remove command overrides.
7360 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
7362         * libio/tst_putwc.c: Fix error messages.
7364         [BZ #12724]
7365         * libio/fileops.c (_IO_new_file_close_it): Always flush when
7366         currently writing and seek to current position when not.
7367         * libio/Makefile (tests): Add bug-fclose1.
7368         * libio/bug-fclose1.c: New file.
7370 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
7372         [BZ #12511]
7373         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7374         don't set DF_1_NODELETE here.
7375         (do_lookup_x): When entering new entry test for copy relocation
7376         and if necessary set DF_1_NODELETE flag.
7377         * elf/tst-unique4.cc: New file.
7378         * elf/tst-unique4.h: New file.
7379         * elf/tst-unique4lib.cc: New file.
7380         * elf/Makefile: Add rules to build and run tst-unique4.
7381         Patch by Piotr Bury <pbury@goahead.com>.
7383 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
7385         [BZ #12052]
7386         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7388         [BZ #12625]
7389         * misc/mntent_r.c (addmntent): Flush the stream after the output
7391         [BZ #12393]
7392         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7393         (is_trusted_path_normalize): Skip initial colon.  Append slash
7394         to empty buffer.  Duplicate is_trusted_path code but allow
7395         constructed patch to be prefix.
7396         (is_dst): Allow $ORIGIN followed by /.
7397         (_dl_dst_substitute): Correct clearing of check_for_trusted.
7398         Correct testing of result of is_trusted_path_normalize
7399         (decompose_rpath): Fix warning.
7401 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
7403         [BZ #11257]
7404         * grp/initgroups.c (internal_getgrouplist): When we found the service
7405         list through the initgroups entry in nsswitch.conf do not always
7406         continue on a successful lookup.  Don't always use the
7407         __nss_group_database value if it is set.
7408         * nss/nsswitch.conf (initgroups): Change action for successful db
7409         lookup to continue for compatibility.
7411 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
7413         [BZ #11532]
7414         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7415         and CP774 modules.
7416         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7417         and CP774 modules.
7418         * iconvdata/tst-tables.sh: Likewise.
7419         * iconvdata/cp770.c: New file.
7420         * iconvdata/cp771.c: New file.
7421         * iconvdata/cp772.c: New file.
7422         * iconvdata/cp773.c: New file.
7423         * iconvdata/cp774.c: New file.
7424         * iconvdata/testdata/CP770: New file.
7425         * iconvdata/testdata/CP770..UTF8: New file.
7426         * iconvdata/testdata/CP771: New file.
7427         * iconvdata/testdata/CP771..UTF8: New file.
7428         * iconvdata/testdata/CP772: New file.
7429         * iconvdata/testdata/CP772..UTF8: New file.
7430         * iconvdata/testdata/CP773: New file.
7431         * iconvdata/testdata/CP773..UTF8: New file.
7432         * iconvdata/testdata/CP774: New file.
7433         * iconvdata/testdata/CP774..UTF8: New file.
7435         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7436         END CHARMAP line.
7437         * iconvdata/gen-8bit-gap.sh: Likewise.
7438         * iconvdata/gen-8bit.sh: Likewise.
7440         * locale/iso-639.def: Add ary entry.
7442         [BZ #11258]
7443         * locale/C-translit.h.in: Add U20A1 transliteration.
7445         [BZ #12178]
7446         * locale/iso-639.def: Add wae entry.
7447         Patch by Kevin Bortis <bortis@translate-wae.ch>.
7449         [BZ #12545]
7450         * locale/programs/localedef.c (construct_output_path): Use ssize_t
7451         for n.
7453         [BZ #12711]
7454         * locale/C-translit.h.in: Add entry for U20B9.
7455         Patch by pravin.d.s@gmail.com.
7457 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
7459         [BZ #12713]
7460         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7461         ENAMETOOLONG use generic getcwd.
7462         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
7463         in rtld.  Use *stat64.
7464         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7465         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7466         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7467         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7468         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7469         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7470         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7471         __fstatat64 macros.
7472         * include/dirent.h: Add libc_hidden_proto for rewinddir.
7473         * dirent/rewinddir.c: Add libc_hidden_def.
7474         * sysdeps/mach/hurd/rewinddir.c: Likewise.
7475         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
7477         * include/dirent.h (__alloc_dir): Add flags parameter.
7478         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7479         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7480         __alloc_dir.
7481         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
7482         from fdopendir if O_CLOEXEC is already set.
7484 2011-03-15  Alan Modra  <amodra@gmail.com>
7486         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7487         l_tls_firstbyte_offset non-zero.  Save padding offset in
7488         l_tls_firstbyte_offset for later use.
7489         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7490         freeing static tls block.
7492 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
7494         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7495         where #ifdef was intended.  The intent is to prevent ARG_MAX from
7496         being defined by the kernel headers.
7498 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
7500         [BZ #12734]
7501         * resolv/resolv.h: Define RES_NOTLDQUERY.
7502         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7503         no-tld-query and set RES_NOTLDQUERY.
7504         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7505         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7506         modern BIND to search name as TLD unless forbidden.
7508 2011-05-07  Petr Baudis  <pasky@suse.cz>
7509             Ulrich Drepper  <drepper@gmail.com>
7511         [BZ #12393]
7512         * elf/dl-load.c (fillin_rpath): Move trusted path check...
7513         (is_trusted_path): ...to here.
7514         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7515         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7516         using is_trusted_path_normalize() in setuid scripts.
7518 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7520         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7521         __BEGIN/__END_DECLS.
7523 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
7525         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7526         NSS_STATUS_NOTFOUND if no record was found.
7528 2011-05-05  Andreas Schwab  <schwab@redhat.com>
7530         * sunrpc/Makefile (headers): Add rpc/netdb.h.
7531         (headers-not-in-tirpc): Remove rpc/netdb.h
7532         * resolv/netdb.h: Revert last change.
7534 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7536         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7537         circular dependency between libgcc.a and libc.a.
7539 2011-05-05  Andreas Schwab  <schwab@redhat.com>
7541         * resolv/netdb.h: Don't include <rpc/netdb.h>.
7542         * nis/Makefile: Don't install rpcsvc/*.
7543         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7544         instead of <rpc/types.h>.
7545         (MAXHOSTNAMELEN): Define.
7547 2011-05-03  Andreas Schwab  <schwab@redhat.com>
7549         * elf/ldconfig.c (add_dir): Don't crash on empty path.
7551 2011-04-28  Maciej Babinski  <mbabinski@google.com>
7553         [BZ #12714]
7554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7555         gethostbyname4_r when IPv6 results are possible.
7557 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
7559         [BZ #12723]
7560         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7561         _PC_PIPE_BUF handling.
7563 2011-04-30  Bruno Haible  <bruno@clisp.org>
7565         [BZ #12717]
7566         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7567         * resolv/netdb.h (getnameinfo): Change type of flags parameter
7568         to 'int'.
7569         * inet/getnameinfo.c (getnameinfo): Likewise.
7571 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
7573         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7574         to groups setting in database lookup.
7575         * nss/nsswitch.conf: Add initgroups entry.
7577 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
7579         [BZ #12685]
7580         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7581         mode string.
7582         Patch by Eric Blake <eblake@redhat.com>.
7584 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
7586         * sunrpc/Makefile (need-export-routines): Add svc_run.
7587         (routines): Remove svc_run.
7588         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7589         * sunrpc/clnt_perr.c (clnt_perrno): Export.
7590         * sunrpc/svc_run.c (svc_run): Likewise.
7591         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7593 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
7595         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7596         problem in reallocation in last patch.
7598 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
7600         * sunrpc/Makefile: Move inclusion of Rules.
7602 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
7604         * nss/nss_files/files-initgroups.c: New file.
7605         * nss/Makefile (libnss_files-routines): Add files-initgroups.
7606         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7607         _nss_files_initgroups_dyn.
7609 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
7611         * elf/elf.h (R_ARM_IRELATIVE): Define.
7613 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
7615         * po/ru.po: Update from translation team.
7617 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
7619         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7620         dependencies.
7622 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
7624         [BZ #12653]
7625         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7626         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7627         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7628         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7629         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7631 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
7633         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7634         differing bytes.
7635         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7636         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7637         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7639 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
7641         [BZ #12420]
7642         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7643         storing it.
7644         * stdlib/bug-getcontext.c: New file.
7645         * stdlib/Makefile: Add rules to build and run bug-getcontext.
7647 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7649         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7650         instructions into .machine "z9-109".
7651         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7652         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7654 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7656         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7657         between environment variables and auxiliary vector.
7659 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
7661         * Makefile: Add rules to build linkobj/libc.so.
7662         * include/libc-symbols.h: Define libc_hidden_nolink.
7663         * include/rpc/auth.h: Mark functions which are to be hidden.
7664         * include/rpc/auth_des.h: Likewise.
7665         * include/rpc/auth_unix.h: Likewise.
7666         * include/rpc/clnt.h: Likewise.
7667         * include/rpc/des_crypt.h: Likewise.
7668         * include/rpc/key_prot.h: Likewise.
7669         * include/rpc/pmap_clnt.h: Likewise.
7670         * include/rpc/pmap_prot.h: Likewise.
7671         * include/rpc/pmap_rmt.h: Likewise.
7672         * include/rpc/rpc_msg.h: Likewise.
7673         * include/rpc/svc.h: Likewise.
7674         * include/rpc/svc_auth.h: Likewise.
7675         * include/rpc/xdr.h: Likewise.
7676         * nis/Makefile: Link all DSOs against linkobj/libc.so.
7677         * nss/Makefile: Likewise.
7678         * sunrpc/Makefile: Don't install headers.  Build library with normal
7679         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
7680         * sunrpc/auth_des.c: Hide exported symbols by default, export some
7681         for the compat linking library.  Remove use of INTDEF/INTUSE.
7682         * sunrpc/auth_none.c: Likewise.
7683         * sunrpc/auth_unix.c: Likewise.
7684         * sunrpc/authdes_prot.c: Likewise.
7685         * sunrpc/authuxprot.c: Likewise.
7686         * sunrpc/clnt_gen.c: Likewise.
7687         * sunrpc/clnt_perr.c: Likewise.
7688         * sunrpc/clnt_raw.c: Likewise.
7689         * sunrpc/clnt_simp.c: Likewise.
7690         * sunrpc/clnt_tcp.c: Likewise.
7691         * sunrpc/clnt_udp.c: Likewise.
7692         * sunrpc/clnt_unix.c: Likewise.
7693         * sunrpc/des_crypt.c: Likewise.
7694         * sunrpc/des_soft.c: Likewise.
7695         * sunrpc/get_myaddr.c: Likewise.
7696         * sunrpc/key_call.c: Likewise.
7697         * sunrpc/key_prot.c: Likewise.
7698         * sunrpc/netname.c: Likewise.
7699         * sunrpc/pm_getmaps.c: Likewise.
7700         * sunrpc/pm_getport.c: Likewise.
7701         * sunrpc/pmap_clnt.c: Likewise.
7702         * sunrpc/pmap_prot.c: Likewise.
7703         * sunrpc/pmap_prot2.c: Likewise.
7704         * sunrpc/pmap_rmt.c: Likewise.
7705         * sunrpc/publickey.c: Likewise.
7706         * sunrpc/rpc_cmsg.c: Likewise.
7707         * sunrpc/rpc_common.c: Likewise.
7708         * sunrpc/rpc_dtable.c: Likewise.
7709         * sunrpc/rpc_prot.c: Likewise.
7710         * sunrpc/rpc_thread.c: Likewise.
7711         * sunrpc/rtime.c: Likewise.
7712         * sunrpc/svc.c: Likewise.
7713         * sunrpc/svc_auth.c: Likewise.
7714         * sunrpc/svc_authux.c: Likewise.
7715         * sunrpc/svc_raw.c: Likewise.
7716         * sunrpc/svc_run.c: Likewise.
7717         * sunrpc/svc_simple.c: Likewise.
7718         * sunrpc/svc_tcp.c: Likewise.
7719         * sunrpc/svc_udp.c: Likewise.
7720         * sunrpc/svc_unix.c: Likewise.
7721         * sunrpc/svcauth_des.c: Likewise.
7722         * sunrpc/xcrypt.c: Likewise.
7723         * sunrpc/xdr.c: Likewise.
7724         * sunrpc/xdr_array.c: Likewise.
7725         * sunrpc/xdr_float.c: Likewise.
7726         * sunrpc/xdr_intXX_t.c: Likewise.
7727         * sunrpc/xdr_mem.c: Likewise.
7728         * sunrpc/xdr_rec.c: Likewise.
7729         * sunrpc/xdr_ref.c: Likewise.
7730         * sunrpc/xdr_sizeof.c: Likewise.
7731         * sunrpc/xdr_stdio.c: Likewise.
7733 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
7735         [BZ #12650]
7736         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7737         * sysdeps/ia64/dl-tls.h: Likewise.
7738         * sysdeps/powerpc/dl-tls.h: Likewise.
7739         * sysdeps/s390/dl-tls.h: Likewise.
7740         * sysdeps/sh/dl-tls.h: Likewise.
7741         * sysdeps/sparc/dl-tls.h: Likewise.
7742         * sysdeps/x86_64/dl-tls.h: Likewise.
7743         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7745 2011-03-14  Andreas Schwab  <schwab@redhat.com>
7747         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7748         rpath element also skip the following colon.
7749         (expand_dynamic_string_token): Add is_path parameter and pass
7750         down to DL_DST_REQUIRED and _dl_dst_substitute.
7751         (decompose_rpath): Call expand_dynamic_string_token with
7752         non-zero is_path.  Ignore empty rpaths.
7753         (_dl_map_object_from_fd): Call expand_dynamic_string_token
7754         with zero is_path.
7756 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
7758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7759         Make cancelable.
7761 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
7763         [BZ #12655]
7764         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7765         Patch by Filipe David Manana <fdmanana@apache.org>.
7767 2011-04-07  Andreas Schwab  <schwab@redhat.com>
7769         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7770         Maintain aligned stack.
7771         (CHECK_RSP): Remove unused macro.
7773 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
7775         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7776         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7778 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
7780         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7782         * include/features.h: Mention __USE_XOPEN2K8 in comment.
7784 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
7786         [BZ #12518]
7787         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7788         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7789         * sysdeps/x86_64/memmove.c: New file.
7790         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7791         (memcpy): Renamed to ...
7792         (__new_memcpy): This.
7793         (memcpy): Provide GLIBC_2_14 memcpy.
7794         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7795         (memcpy): Provide GLIBC_2_2_5 memcpy.
7797 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
7799         [BZ #12631]
7800         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7802 2011-03-30  Andreas Schwab  <schwab@redhat.com>
7804         * misc/syncfs.c: New file.
7805         * misc/Makefile (routines): Add syncfs.
7806         * posix/unistd.h: Declare syncfs.
7807         * sysdeps/unix/syscalls.list: Add syncfs.
7809 2011-04-01  Andreas Schwab  <schwab@redhat.com>
7811         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7812         open_by_handle_at.
7813         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7814         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7816         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7818         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7819         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7821 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
7823         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7824         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7825         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7827         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7829         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7831         * io/Makefile: Compile fallocate.c, fallocate64.c, and
7832         sync_file_range.c with -fexceptions.
7833         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7834         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7835         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7836         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7837         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7838         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7840         sync_file_range as cancellation point
7841         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
7842         now a wrapper around __call_sync_file_range with cancellation handling.
7843         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7844         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
7845         function name to __call_sync_file_range.
7846         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7847         Add call_sync_file_range.
7849 2011-04-01  Andreas Schwab  <schwab@redhat.com>
7851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7852         bits/timex.h.
7854 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
7856         * iconv/iconv.h: Fix typo in comment.
7857         * io/fcntl.h: Likewise.
7858         * libio/stdio.h: Likewise.
7859         * posix/spawn.h: Likewise.
7860         * posix/unistd.h: Likewise.
7861         * stdlib/stdlib.h: Likewise.
7862         * time/time.h: Likewise.
7863         * wcsmbs/wchar.h: Likewise.
7865         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7866         open_by_handle): Add.
7867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7868         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
7869         Augment a few comments.
7870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7871         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7872         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7874         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7875         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7876         open_by_handle.
7878         * io/fcntl.h (AT_EMPTY_PATH): Define.
7880 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
7882         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7883         * sysdeps/unix/sysv/linux/bits/time.h: New file.
7884         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7885         to...
7886         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
7887         * Versions.def: Add GLIBC_2.14.
7888         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7889         Export.
7891 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
7893         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7894         round counter.
7895         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7897 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7899         [BZ #12597]
7900         * string/test-strncmp.c (do_page_test): New function.
7901         (check2): Likewise.
7902         (test_main): Call check2.
7903         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7905 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
7907         [BZ #12587]
7908         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7909         Handle cache information in CPU leaf 4.
7910         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7912 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
7914         [BZ #12583]
7915         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7916         character representation.
7917         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7919 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
7921         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7922         END(__isnan) to END(__isnanf) to match function entry point/label
7923         EALIGN(__isnanf,...).
7925 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
7927         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7929 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
7931         [BZ #12510]
7932         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7933         copy from the symbol referenced in the relocation to initialize the
7934         used variable.
7935         Patch by Piotr Bury <pbury@goahead.com>.
7936         * elf/Makefile: Add rules to build and tst-unique3.
7937         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7938         * elf/tst-unique3.cc: New file.
7939         * elf/tst-unique3.h: New file.
7940         * elf/tst-unique3lib.cc: New file.
7941         * elf/tst-unique3lib2.cc: New file.
7943         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7945 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
7947         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7948         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
7949         to _start.
7951 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
7953         * elf/dl-load.c (_dl_map_object): If we are looking for the first
7954         to-be-loaded object along a path to loader is ld.so.
7956 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
7957             Ulrich Drepper  <drepper@gmail.com>
7959         * sysdeps/x86_64/memset.S: After aligning destination, code
7960         branches to different locations depending on the value of
7961         misalignment, when multiarch is enabled. Fix this.
7963 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
7965         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7966         Set _x86_64_preferred_memory_instruction for AMD processsors.
7967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7968         Set bit_Prefer_SSE_for_memop for AMD processors.
7970 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
7972         * libio/fmemopen.c (fmemopen): Optimize a bit.
7974 2011-03-03  Andreas Schwab  <schwab@redhat.com>
7976         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7978 2011-03-03  Roland McGrath  <roland@redhat.com>
7980         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7982 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
7984         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7985         __bzero_ultra1 instead of __memset_ultra1.
7987 2011-02-23  Andreas Schwab  <schwab@redhat.com>
7988             Ulrich Drepper  <drepper@gmail.com>
7990         [BZ #12509]
7991         * include/link.h (struct link_map): Add l_orig_initfini.
7992         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7993         returning unsuccessfully.
7994         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7995         close of a file loaded at startup, restore the original l_initfini
7996         list.
7997         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7998         list, store the pointer.
7999         * elf/Makefile ($(objpfx)noload-mem): New rule.
8000         (noload-ENV): Define.
8001         (tests): Add $(objpfx)noload-mem.
8002         * elf/noload.c: Include <memcheck.h>.
8003         (main): Call mtrace.  Close all opened handles.
8005 2011-02-17  Andreas Schwab  <schwab@redhat.com>
8007         [BZ #12454]
8008         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8009         dependencies are missing.
8011 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8013         Fix __if_freereq crash: Unlike the generic version which uses free,
8014         Hurd needs munmap.
8015         * sysdeps/mach/hurd/ifreq.h: New file.
8017 2011-01-27  Petr Baudis  <pasky@suse.cz>
8018             Ulrich Drepper  <drepper@gmail.com>
8020         [BZ 12445]#
8021         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8022         to extend_alloca().
8023         * stdio-common/bug23.c: New file.
8024         * stdio-common/Makefile (tests): Add bug23.
8026 2010-09-28  Andreas Schwab  <schwab@redhat.com>
8027             Ulrich Drepper  <drepper@gmail.com>
8029         [BZ #12489]
8030         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8031         before performing relro protection.  At old place add assertion
8032         to make sure nothing changed.
8034 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
8035             Glauber de Oliveira Costa  <glommer@gmail.com>
8037         * elf/elf.h: Add new ARM TLS relocs.
8039 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8042         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8043         cast from r3.
8044         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
8045         'tests' variable.
8046         * sysdeps/wordsize-64/tst-writev.c: New file.
8048 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
8050         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8051         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8052         insns in _dl_start to prevent a TOC reference before relocs are
8053         resolved.
8055 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
8057         [BZ #12469]
8058         * Makeconfig: Remove RANLIB definition.
8059         * Makerules: Don't use RANLIB.
8060         * aclocal.m4: Remove ranlib test.
8061         * configure.in: No need to check for ranlib.
8062         * elf/rtld-Rules: Don't use RANLIB.
8064 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8066         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8067         protection macro.
8068         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8069         inclusion protection macro.
8071         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8072         SIGRTMIN and SIGRTMAX and print information in that case only when
8073         SIGRTMIN is defined.
8075 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
8077         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8078         arginfo fn returning -1.
8080         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8081         and thousands string is zero terminated.
8083 2011-02-03  Andreas Schwab  <schwab@redhat.com>
8085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8086         sysdeps/unix/sysv/linux/bits/socket.h.
8088 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8090         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8091         (__CPU_COUNT): Remove old macros.
8092         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8093         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8094         (__CPU_ALLOC, __CPU_FREE): Add macros.
8095         (__sched_cpualloc, __sched_cpufree): Add declarations.
8097 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
8099         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8100         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8101         * nscd/aicache.c (addhstaiX): Return timeout of added value.
8102         (readdhstai): Return value of addhstaiX call.
8103         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8104         (addgrbyX): Return value returned by cache_addgr.
8105         (readdgrbyname): Return value returned by addgrbyX.
8106         (readdgrbygid): Likewise.
8107         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8108         (addpwbyX): Return value returned by cache_addpw.
8109         (readdpwbyname): Return value returned by addhstbyX.
8110         (readdpwbyuid): Likewise.
8111         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8112         (addservbyX): Return value returned by cache_addserv.
8113         (readdservbyname): Return value returned by addservbyX:
8114         (readdservbyport): Likewise.
8115         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8116         (addhstbyX): Return value returned by cache_addhst.
8117         (readdhstbyname): Return value returned by addhstbyX.
8118         (readdhstbyaddr): Likewise.
8119         (readdhstbynamev6): Likewise.
8120         (readdhstbyaddrv6): Likewise.
8121         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8122         (readdinitgroups): Return value returned by addinitgroupsX.
8123         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8124         (prune_cache): Keep track of timeout value of re-added entries.
8125         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8126         * nscd/nscd.h: Adjust prototypes of readd* functions.
8128 2011-02-04  Roland McGrath  <roland@redhat.com>
8130         * nis/nis_server.c (nis_servstate): Use the right name for 0.
8131         (nis_stats): Likewise.
8132         * nis/nis_modify.c (nis_modify): Likewise.
8133         * nis/nis_remove.c (nis_remove): Likewise.
8134         * nis/nis_add.c (nis_add): Likewise.
8136         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8138         * posix/fnmatch_loop.c: Add some consts.
8140         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8142 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8144         [BZ #12460]
8145         * config.make.in (config-cflags-novzeroupper): Define.
8146         * configure.in: Substitute libc_cv_cc_novzeroupper.
8147         * elf/Makefile (AVX-CFLAGS): Define.
8148         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8149         (CFLAGS-tst-auditmod4a.c): Likewise.
8150         (CFLAGS-tst-auditmod4b.c): Likewise.
8151         (CFLAGS-tst-auditmod6b.c): Likewise.
8152         (CFLAGS-tst-auditmod6c.c): Likewise.
8153         (CFLAGS-tst-auditmod7b.c): Likewise.
8154         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8156 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
8158         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8159         function to the callback.
8160         Patch partly by Jiri Olsa <jolsa@redhat.com>.
8162 2011-02-02  Andreas Schwab  <schwab@redhat.com>
8164         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8165         of errno.
8167 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
8169         [BZ #11724]
8170         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8171         of constructors.
8172         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8173         of destructors.
8174         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8176         [BZ #11724]
8177         * elf/Makefile: Add rules to build and run new test.
8178         * elf/tst-initorder.c: New file.
8179         * elf/tst-initorder.exp: New file.
8180         * elf/tst-initordera1.c: New file.
8181         * elf/tst-initordera2.c: New file.
8182         * elf/tst-initordera3.c: New file.
8183         * elf/tst-initordera4.c: New file.
8184         * elf/tst-initorderb1.c: New file.
8185         * elf/tst-initorderb2.c: New file.
8186         * elf/tst-order-a1.c: New file.
8187         * elf/tst-order-a2.c: New file.
8188         * elf/tst-order-a3.c: New file.
8189         * elf/tst-order-a4.c: New file.
8190         * elf/tst-order-b1.c: New file.
8191         * elf/tst-order-b2.c: New file.
8192         * elf/tst-order-main.c: New file.
8193         New test case by George Gensure <werkt0@gmail.com>.
8195 2010-10-01  Andreas Schwab  <schwab@redhat.com>
8197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8198         decoding ACE if AI_CANONIDN.
8200 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
8202         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8204 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
8206         * version.h (RELEASE): Bump for 2.13 release.
8207         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8209         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8211         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8212         MADV_NOHUGEPAGE.
8213         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8214         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8215         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8216         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8217         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8218         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8220         * posix/getconf.c: Update copyright year.
8221         * catgets/gencat.c: Likewise.
8222         * csu/version.c: Likewise.
8223         * debug/catchsegv.sh: Likewise.
8224         * debug/xtrace.sh: Likewise.
8225         * elf/ldconfig.c: Likewise.
8226         * elf/ldd.bash.in: Likewise.
8227         * elf/sprof.c (print_version): Likewise.
8228         * iconv/iconv_prog.c: Likewise.
8229         * iconv/iconvconfig.c: Likewise.
8230         * locale/programs/locale.c: Likewise.
8231         * locale/programs/localedef.c: Likewise.
8232         * malloc/memusage.sh: Likewise.
8233         * malloc/mtrace.pl: Likewise.
8234         * nscd/nscd.c (print_version): Likewise.
8235         * nss/getent.c: Likewise.
8237         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8238         PF_CAIF, and PF_ALG.
8239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8241 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
8243         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8244         (modules-names): Use them.
8245         (ifunc-test-modules, ifunc-pie-tests): Define.
8246         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8247         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8248         (test-extras): Likewise.
8249         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8250         $(compile-command.c).
8251         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8252         (all-built-dso): Define.
8253         (check-textrel.out, check-execstack.out): Depend on it.
8255         * configure.in: Don't override --enable-multi-arch.
8257 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
8259         [BZ #6812]
8260         * nscd/hstcache.c (tryagain): Define.
8261         (cache_addhst): Return tryagain not notfound for temporary errors.
8262         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8263         failed.
8265 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
8267         [BZ #10563]
8268         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8269         to make the syscall.
8270         * sysdeps/unix/sysv/linux/setgroups.c: New file.
8272         [BZ #12378]
8273         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8274         and fall back to matching as normal character if the string ends before
8275         the matching ']' is found.  This is what POSIX requires.
8276         * posix/testfnm.c: Adjust test result.
8277         * posix/globtest.sh: Adjust test result.  Add new test.
8278         * posix/tst-fnmatch.input: Likewise.
8279         * posix/tst-fnmatch2.c: Add new test.
8281 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
8283         * elf/Makefile (check-execstack): Revert last change.  Depend on
8284         check-execstack.h.
8285         (check-execstack.h): New target.
8286         (generated): Add check-execstack.h.
8287         * elf/check-execstack.c: Include "check-execstack.h".
8288         (main): Revert last change.
8289         (handle_file): Return zero if GNU_STACK is absent and
8290         DEFAULT_STACK_PERMS doesn't include PF_X.
8292 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
8294         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8295         in child fails because the descriptor is already closed.
8296         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8297         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8298         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8300         [BZ #12397]
8301         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8302         syscall.
8304         [BZ #10484]
8305         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8306         temporary buffer used to handle multi lookups locally.
8307         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8309 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
8311         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8312         loader is ld.so.
8314 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
8316         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8317         alignment for SSE2.
8319 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
8321         [BZ #12394]
8322         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8323         characters.  When rounding increased number of integer digits recompute
8324         number of groups.
8325         * stdio-common/tst-grouping.c: New file.
8326         * stdio-common/Makefile: Add rules to build and run tst-grouping.
8328 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
8330         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8331         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
8333         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8334         void.
8335         * bits/select.h: Likewise.
8337 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
8339         * po/ja.po: Update from translation team.
8341 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
8343         [BZ #11155]
8344         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8345         implementation just like for lxstat, fxstatat, et al.
8347 2010-12-27  Jim Meyering  <meyering@redhat.com>
8349         [BZ #12348]
8350         * posix/regexec.c (build_trtable): Return failure indication upon
8351         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
8353 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
8355         [BZ #12201]
8356         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8357         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8358         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8359         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8361         [BZ #12207]
8362         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8364         [BZ #12204]
8365         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8366         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8368 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8370         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8371         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8372         script has SORT_BY_INIT_PRIORITY.
8373         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8374         NO_CTORS_DTORS_SECTIONS is defined.
8375         * elf/soinit.c: Likewise.
8376         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8377         NO_CTORS_DTORS_SECTIONS is defined.
8378         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8379         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8380         * sysdeps/sh/init-first.c: Likewise.
8381         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8383 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
8385         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8386         always use the slow path.
8388 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
8390         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8391         similar rule which adds the sysdep directories to the header search in
8392         order to pick up the correct platform stackinfo.h.
8393         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8394         perform test if it is, otherwise return successfully without testing.
8395         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8396         DEFAULT_STACK_PERMS define in stackinfo.h.
8397         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8398         defined in stackinfo.h.
8399         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8400         DEFAULT_STACK_PERMS defined in stackinfo.h.
8401         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8402         * sysdeps/ia64/stackinfo.h: Likewise.
8403         * sysdeps/s390/stackinfo.h: Likewise.
8404         * sysdeps/sh/stackinfo.h: Likewise.
8405         * sysdeps/sparc/stackinfo.h: Likewise.
8406         * sysdeps/x86_64/stackinfo.h: Likewise.
8407         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8408         PF_X for powerpc64.  Retain PF_X for powerpc32.
8410 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
8412         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8413         accurately.
8414         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8415         GETDENTS_64BIT_ALIGNED.
8417 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
8419         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8421 2010-12-10  Andreas Schwab  <schwab@redhat.com>
8423         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8424         _GNU_SOURCE.
8426         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8427         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8428         Remove __restrict.
8429         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8430         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8432 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
8434         [BZ #11655]
8435         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8436         are initialized.
8438 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
8440         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8442 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
8444         * po/it.po: Update from translation team.
8446 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8448         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8449         unused codes.
8451 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
8453         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8455 2010-11-24  Andreas Schwab  <schwab@redhat.com>
8457         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8458         specially.
8459         (gaih_getanswer_slice): Likewise.
8461 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
8463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8465 2010-05-31  Petr Baudis  <pasky@suse.cz>
8467         [BZ #11149]
8468         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8469         silently even in the chroot mode.
8471 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
8473         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8474         last patch a bit.  Pretty printing
8476 2010-05-31  Petr Baudis <pasky@suse.cz>
8478         [BZ #10085]
8479         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8480         initialization of skip_initgroups_dyn.
8482 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
8484         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8485         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8487 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
8489         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8491 2010-11-11  Andreas Schwab  <schwab@redhat.com>
8493         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8494         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8495         (tst-fnmatch-ENV): Set MALLOC_TRACE.
8496         ($(objpfx)tst-fnmatch-mem): New rule.
8497         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8498         * posix/tst-fnmatch.c (main): Call mtrace.
8500 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
8502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8503         Support Intel processor model 6 and model 0x2c.
8505 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
8507         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8508           signed comparison.
8510 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
8512         [BZ #12205]
8513         * string/test-strncasecmp.c (check_result): New function.
8514         (do_one_test): Use it.
8515         (check1): New function.
8516         (test_main): Use it.
8517         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8518         Support strcasecmp and strncasecmp.
8520 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
8522         [BZ #12194]
8523         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
8526 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8528         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8529         IFUNC support.
8530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8531         memset-x86-64.
8532         * sysdeps/x86_64/multiarch/bzero.S: New file.
8533         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8534         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8535         * sysdeps/x86_64/multiarch/memset.S: New file.
8536         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8538         Set bit_Prefer_SSE_for_memop for Intel processors.
8539         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8540         Define.
8541         (index_Prefer_SSE_for_memop): Define.
8542         (HAS_PREFER_SSE_FOR_MEMOP): Define.
8544 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
8546         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8547         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8549 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
8551         [BZ #12191]
8552         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8553         (__x86_64_raw_data_cache_size_half): Likewise.
8554         (__x86_64_raw_shared_cache_size): Likewise.
8555         (__x86_64_raw_shared_cache_size_half): Likewise.
8557         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8558         (__x86_64_raw_data_cache_size_half): Likewise.
8559         (__x86_64_raw_shared_cache_size): Likewise.
8560         (__x86_64_raw_shared_cache_size_half): Likewise.
8561         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8562         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8563         and __x86_64_raw_shared_cache_size_half.  Round
8564         __x86_64_data_cache_size_half, __x86_64_data_cache_size
8565         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8566         to multiple of 256 bytes.
8568 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
8570         [BZ #12167]
8571         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8572         of inacessible symlinks.  Verify result of symlink before returning it.
8573         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8574         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8576 2010-10-28  Erich Ritz  <erichritz@gmail.com>
8578         * math/math.h (isinf): Fix typo in comment.
8580 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
8582         * po/da.po: Update from translation team.
8584 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
8586         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8587         is added to the list.
8589 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8590             Ulrich Drepper  <drepper@gmail.com>
8592         * elf/dl-object.c (_dl_new_object): Don't append the new object to
8593         the global list here.  Move code to...
8594         (_dl_add_to_namespace_list): ...here.  New function.
8595         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8596         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8597         * elf/dl-load.c (lose): Don't remove the element from the list.
8598         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8599         (_dl_map_object): Likewise.
8601 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
8603         [BZ #12159]
8604         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8605         into all bytes of SSE register.
8606         Patch by Richard Li <richardpku@gmail.com>.
8608 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
8610         [BZ #12140]
8611         * malloc/malloc.c (_int_free): Fill correct number of bytes when
8612         perturbing.
8614 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
8616         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8617         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8618         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8619         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8621         submachine.
8622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8624 2010-10-22  Andreas Schwab  <schwab@redhat.com>
8626         * include/dlfcn.h (__RTLD_SECURE): Define.
8627         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
8628         mode & __RTLD_SECURE instead.
8629         (open_path): Rename preloaded parameter to secure.
8630         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8631         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8632         * elf/dl-deps.c (openaux): Likewise.
8633         * elf/rtld.c (struct map_args): Remove is_preloaded.
8634         (map_doit): Don't use it.
8635         (dl_main): Likewise.
8636         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8637         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8639 2010-09-09  Andreas Schwab  <schwab@redhat.com>
8641         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8642         (sysd-rules-targets): Remove duplicates.
8643         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8644         rtld-%.$o dependency.
8646 2010-10-18  Andreas Schwab  <schwab@redhat.com>
8648         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8649         _dl_map_object do it.
8651 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
8653         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8654         fast fma builtins, define the macros in the C99 standard.
8655         (FP_FAST_FMAF): Likewise.
8656         (FP_FAST_FMAL): Likewise.
8657         * sysdeps/x86_64/bits/mathdef.h: Likewise.
8659         * bits/mathdef.h: Update copyright year.
8660         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8662 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
8664         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8665         builtins, define the macros in the C99 standard.
8666         (FP_FAST_FMAF): Likewise.
8667         (FP_FAST_FMAL): Likewise.
8668         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8669         multiply/add.
8670         (FP_FAST_FMAF): Likewise.
8672 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
8674         [BZ #3268]
8675         * math/libm-test.inc (fma_test): Some new testcases.
8676         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8677         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8678         y and infinite z.  Do multiplication by C already in long double.
8679         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8681         y and infinite z.  Do bitwise or of inexact bit into u.d.
8682         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8683         * sysdeps/i386/fpu/s_fmaf.S: Removed.
8684         * sysdeps/i386/fpu/s_fma.S: Removed.
8685         * sysdeps/i386/fpu/s_fmal.S: Removed.
8687 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
8689         [BZ #3268]
8690         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8692         computation is not scheduled after fetestexcept.  Fix value
8693         of minimum denormal long double.
8695 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
8697         [BZ #3268]
8698         * math/libm-test.inc (fma_test): Add some more tests.
8699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8700         correctly.
8702 2010-10-15  Andreas Schwab  <schwab@redhat.com>
8704         * scripts/data/localplt-s390-linux-gnu.data: New file.
8705         * scripts/data/localplt-s390x-linux-gnu.data: New file.
8707 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
8709         [BZ #3268]
8710         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8711         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8712         instead of dbl-64.
8713         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8714         inlines.
8715         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8717         if one of x and y is very large and the other is subnormal.
8718         * sysdeps/s390/fpu/s_fmaf.c: New file.
8719         * sysdeps/s390/fpu/s_fma.c: New file.
8720         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8721         * sysdeps/powerpc/fpu/s_fma.S: New file.
8722         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8723         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8724         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8726 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
8728         [BZ #3268]
8729         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8730         fma tests.
8731         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8732         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8733         * sysdeps/i386/i686/multiarch/s_fma.c: Include
8734         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8735         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8736         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8737         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8739 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
8741         [BZ #12078]
8742         * posix/regcomp.c (parse_branch): One more memory leak plugged.
8743         * posix/bug-regex31.input: Add test case.
8745 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
8747         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8748         * posix/bug-regex31.input: New file.
8750         [BZ #12078]
8751         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8752         (parse_sub_exp): Fix last change, use postorder.
8754         * posix/bug-regex31.c: New file.
8755         * posix/Makefile: Add rules to build and run bug-regex31.
8757         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8759         [BZ #12078]
8760         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8762         [BZ #12108]
8763         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8764         to have entries in sys_siglist.
8766         [BZ #12093]
8767         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8768         be NULL.
8770 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
8772         [BZ #3268]
8773         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8774         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8775         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8776         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8777         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8778         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8779         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8780         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8781         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8782         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8783         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8784         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8785         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8786         * math/ftestexcept.c (fetestexcept): Likewise.
8787         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8788         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8789         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8790         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8791         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8792         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8793         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8795 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
8797         [BZ #12107]
8798         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8799         newline.
8801 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
8803         * string/bug-strstr1.c: New file.
8804         * string/Makefile: Add rules to build and run bug-strstr1.
8806 2010-10-05  Eric Blake  <eblake@redhat.com>
8808         [BZ #12092]
8809         * string/str-two-way.h (two_way_long_needle): Always clear memory
8810         when skipping input due to the shift table.
8812 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
8814         [BZ #12005]
8815         * malloc/mcheck.c: Handle large requests.
8817         [BZ #12077]
8818         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8819         for strncmp and strncasecmp.
8820         * string/stratcliff.c: Add tests for strcmp and strncmp.
8821         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8823 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8825         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8826         __set_fpscr.
8828 2010-09-30  Andreas Jaeger  <aj@suse.de>
8830         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8831         (CGROUP_SUPER_MAGIC): Define.
8832         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8833         Handle btrfs and cgroup file systems.
8834         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8835         Likewise.
8837 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
8839         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8840         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8842 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8844         [BZ #12067]
8845         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8846         trying to locate the ELF header.
8848 2010-09-27  Andreas Schwab  <schwab@redhat.com>
8850         [BZ #11611]
8851         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8852         Mask out sign-bit copies when constructing f_fsid.
8854 2010-09-24  Petr Baudis <pasky@suse.cz>
8856         * debug/stack_chk_fail_local.c: Add missing licence exception.
8857         * debug/warning-nop.c: Likewise.
8859 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
8861         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8862         implementing getdents64 using getdents syscall, set d_type if
8863         __ASSUME_GETDENTS32_D_TYPE.
8865 2010-09-16  Andreas Schwab  <schwab@redhat.com>
8867         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8868         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8870 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
8872         [BZ #12037]
8873         * posix/unistd.h: Undo change of feature selection for ftruncate from
8874         2010-01-11.
8876 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
8878         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8879         detection.
8881 2010-09-20  Andreas Schwab  <schwab@redhat.com>
8883         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8884         fanotify_mark.
8885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8887 2010-09-14  Andreas Schwab  <schwab@redhat.com>
8889         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8890         variables after CHECK_SP call.
8891         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8893 2010-09-13  Andreas Schwab  <schwab@redhat.com>
8894             Ulrich Drepper  <drepper@redhat.com>
8896         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8897         re-relocationg ld.so.
8898         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8899         _dl_init_paths call.
8900         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
8901         here anymore.
8903 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
8905         * resolv/res_init.c (__res_vinit): Count the default server we added.
8907 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
8908             Ulrich Drepper  <drepper@redhat.com>
8910         [BZ #11968]
8911         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8912         (____longjmp_chk): Use %ebx for saving value across system call.
8913         Add unwind info.
8915 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8917         * manual/Makefile: Don't mix pattern rules with normal rules.
8919 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8921         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8922         operation.
8923         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8924         * libio/iofopncook.c (_IO_cookie_init): Likewise.
8925         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8926         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8927         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8928         Likewise.
8930 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
8932         [BZ #11979]
8933         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8934         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8936 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
8938         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8939         * sysdeps/x86_64/addmul_1.S: Likewise.
8940         * sysdeps/x86_64/lshift.S: Likewise.
8941         * sysdeps/x86_64/mul_1.S: Likewise.
8942         * sysdeps/x86_64/rshift.S: Likewise.
8943         * sysdeps/x86_64/sub_n.S: Likewise.
8944         * sysdeps/x86_64/submul_1.S: Likewise.
8946 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8948         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8949         Define __sched_param instead of SCHED_* and sched_param when
8950         <bits/sched.h> is included with __need_schedparam defined.
8951         * bits/sched.h [__need_schedparam]
8952         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8953         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8954         (__defined_schedparam): Define to 1.
8955         (__sched_param): New structure, identical to sched_param.
8956         (__need_schedparam): Undefine.
8958 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
8960         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8961         (epoll_create1): Declare.
8963         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8965 2010-08-31  Andreas Schwab  <schwab@redhat.com>
8967         [BZ #7066]
8968         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8969         shifting retval into place.
8971 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
8973         * nis/rpcsvc/nis.h: Update copyright notice.
8974         * nis/rpcsvc/nis.x: Likewise.
8975         * nis/rpcsvc/nis_callback.h: Likewise.
8976         * nis/rpcsvc/nis_callback.x: Likewise.
8977         * nis/rpcsvc/nis_object.x: Likewise.
8978         * nis/rpcsvc/nis_tags.h: Likewise.
8979         * nis/rpcsvc/yp.h: Likewise.
8980         * nis/rpcsvc/yp.x: Likewise.
8981         * nis/rpcsvc/ypupd.h: Likewise.
8982         * nis/yp_xdr.c: Likewise.
8983         * nis/ypupdate_xdr.c: Likewise.
8985         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
8986         mainly the body of pmap_getport.  Add parameters to specify timeouts.
8987         (pmap_getport): Use __libc_rpc_getport.
8988         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8989         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8990         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8992 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8995         fanotify_mark.
8997 2010-08-27  Roland McGrath  <roland@redhat.com>
8999         * sysdeps/i386/i686/multiarch/Makefile
9000         (CFLAGS-varshift.c): New variable.
9002 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
9004         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9005         * sysdeps/i386/i686/multiarch/varshift.c: New file.
9007         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9009         * sysdeps/x86_64/strlen.S: Minimal code improvement.
9011 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9013         * sysdeps/x86_64/strlen.S: Unroll the loop.
9014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9015         strlen-sse2 strlen-sse2-bsf.
9016         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9017         __strlen_no_bsf if bit_Slow_BSF is set.
9018         (__strlen_sse42): Removed.
9019         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9020         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9022 2010-08-25  Roland McGrath  <roland@redhat.com>
9024         * sysdeps/x86_64/multiarch/varshift.S: File removed.
9025         * sysdeps/x86_64/multiarch/varshift.c: New file.
9026         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9027         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9028         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9029         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9031 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9034         strlen-sse2 strlen-sse2-bsf.
9035         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9036         __strlen_sse2_bsf if bit_Slow_BSF is unset.
9037         (__strlen_sse2): Removed.
9038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9041         bit_Slow_BSF for Atom.
9042         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9043         (index_Slow_BSF): Define.
9044         (HAS_SLOW_BSF): Define.
9046 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
9048         [BZ #10851]
9049         * resolv/res_init.c (__res_vinit): When no server address at all
9050         is given default to loopback.
9052 2010-08-24  Roland McGrath  <roland@redhat.com>
9054         * configure.in: Remove config-name.h generation.
9055         * configure: Regenerated.
9056         * config-name.in: File removed.
9057         * scripts/config-uname.sh: New file.
9058         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9059         ($(objdir)config-name.h): New target.
9061         * sunrpc/rpc_parse.h: Avoid nested comment.
9063 2010-08-24  Richard Henderson  <rth@redhat.com>
9064             Ulrich Drepper  <drepper@redhat.com>
9065             H.J. Lu  <hongjiu.lu@intel.com>
9067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9069         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9070         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
9071         _mm_alignr_epi8 with _mm_loadu_si128.
9072         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9073         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9074         (__m128i_shift_right): Removed.
9075         * sysdeps/i386/i686/multiarch/varshift.h: New file.
9076         * sysdeps/i386/i686/multiarch/varshift.S: New file.
9077         * sysdeps/x86_64/multiarch/varshift.h: New file.
9078         * sysdeps/x86_64/multiarch/varshift.S: New file.
9080 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
9082         * configure.in: Move assembler checks to before sysdep dir checking.
9084 2010-08-20  Petr Baudis  <pasky@suse.cz>
9086         * LICENSES: Sync the sunrpc license.
9088 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
9090         * sunrpc/auth_des.c: Update copyright notice once again.
9091         * sunrpc/auth_none.c: Likewise.
9092         * sunrpc/auth_unix.c: Likewise.
9093         * sunrpc/authdes_prot.c: Likewise.
9094         * sunrpc/authuxprot.c: Likewise.
9095         * sunrpc/bindrsvprt.c: Likewise.
9096         * sunrpc/clnt_gen.c: Likewise.
9097         * sunrpc/clnt_perr.c: Likewise.
9098         * sunrpc/clnt_raw.c: Likewise.
9099         * sunrpc/clnt_simp.c: Likewise.
9100         * sunrpc/clnt_tcp.c: Likewise.
9101         * sunrpc/clnt_udp.c: Likewise.
9102         * sunrpc/clnt_unix.c: Likewise.
9103         * sunrpc/des_crypt.c: Likewise.
9104         * sunrpc/des_soft.c: Likewise.
9105         * sunrpc/get_myaddr.c: Likewise.
9106         * sunrpc/getrpcport.c: Likewise.
9107         * sunrpc/key_call.c: Likewise.
9108         * sunrpc/key_prot.c: Likewise.
9109         * sunrpc/openchild.c: Likewise.
9110         * sunrpc/pm_getmaps.c: Likewise.
9111         * sunrpc/pm_getport.c: Likewise.
9112         * sunrpc/pmap_clnt.c: Likewise.
9113         * sunrpc/pmap_prot.c: Likewise.
9114         * sunrpc/pmap_prot2.c: Likewise.
9115         * sunrpc/pmap_rmt.c: Likewise.
9116         * sunrpc/rpc/auth.h: Likewise.
9117         * sunrpc/rpc/auth_unix.h: Likewise.
9118         * sunrpc/rpc/clnt.h: Likewise.
9119         * sunrpc/rpc/des_crypt.h: Likewise.
9120         * sunrpc/rpc/key_prot.h: Likewise.
9121         * sunrpc/rpc/netdb.h: Likewise.
9122         * sunrpc/rpc/pmap_clnt.h: Likewise.
9123         * sunrpc/rpc/pmap_prot.h: Likewise.
9124         * sunrpc/rpc/pmap_rmt.h: Likewise.
9125         * sunrpc/rpc/rpc.h: Likewise.
9126         * sunrpc/rpc/rpc_des.h: Likewise.
9127         * sunrpc/rpc/rpc_msg.h: Likewise.
9128         * sunrpc/rpc/svc.h: Likewise.
9129         * sunrpc/rpc/svc_auth.h: Likewise.
9130         * sunrpc/rpc/types.h: Likewise.
9131         * sunrpc/rpc/xdr.h: Likewise.
9132         * sunrpc/rpc_clntout.c: Likewise.
9133         * sunrpc/rpc_cmsg.c: Likewise.
9134         * sunrpc/rpc_common.c: Likewise.
9135         * sunrpc/rpc_cout.c: Likewise.
9136         * sunrpc/rpc_dtable.c: Likewise.
9137         * sunrpc/rpc_hout.c: Likewise.
9138         * sunrpc/rpc_main.c: Likewise.
9139         * sunrpc/rpc_parse.c: Likewise.
9140         * sunrpc/rpc_parse.h: Likewise.
9141         * sunrpc/rpc_prot.c: Likewise.
9142         * sunrpc/rpc_sample.c: Likewise.
9143         * sunrpc/rpc_scan.c: Likewise.
9144         * sunrpc/rpc_scan.h: Likewise.
9145         * sunrpc/rpc_svcout.c: Likewise.
9146         * sunrpc/rpc_tblout.c: Likewise.
9147         * sunrpc/rpc_util.c: Likewise.
9148         * sunrpc/rpc_util.h: Likewise.
9149         * sunrpc/rpcinfo.c: Likewise.
9150         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9151         * sunrpc/rpcsvc/key_prot.x: Likewise.
9152         * sunrpc/rpcsvc/klm_prot.x: Likewise.
9153         * sunrpc/rpcsvc/mount.x: Likewise.
9154         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9155         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9156         * sunrpc/rpcsvc/rex.x: Likewise.
9157         * sunrpc/rpcsvc/rstat.x: Likewise.
9158         * sunrpc/rpcsvc/rusers.x: Likewise.
9159         * sunrpc/rpcsvc/sm_inter.x: Likewise.
9160         * sunrpc/rpcsvc/spray.x: Likewise.
9161         * sunrpc/rpcsvc/yppasswd.x: Likewise.
9162         * sunrpc/rtime.c: Likewise.
9163         * sunrpc/svc.c: Likewise.
9164         * sunrpc/svc_auth.c: Likewise.
9165         * sunrpc/svc_authux.c: Likewise.
9166         * sunrpc/svc_raw.c: Likewise.
9167         * sunrpc/svc_run.c: Likewise.
9168         * sunrpc/svc_simple.c: Likewise.
9169         * sunrpc/svc_tcp.c: Likewise.
9170         * sunrpc/svc_udp.c: Likewise.
9171         * sunrpc/svc_unix.c: Likewise.
9172         * sunrpc/svcauth_des.c: Likewise.
9173         * sunrpc/xcrypt.c: Likewise.
9174         * sunrpc/xdr.c: Likewise.
9175         * sunrpc/xdr_array.c: Likewise.
9176         * sunrpc/xdr_float.c: Likewise.
9177         * sunrpc/xdr_mem.c: Likewise.
9178         * sunrpc/xdr_rec.c: Likewise.
9179         * sunrpc/xdr_ref.c: Likewise.
9180         * sunrpc/xdr_sizeof.c: Likewise.
9181         * sunrpc/xdr_stdio.c: Likewise.
9183         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9184         handling.
9186 2010-08-19  Andreas Schwab  <schwab@redhat.com>
9188         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9190 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
9192         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9194         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9195         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9196         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9197         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9198         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9199         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9200         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9201         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9202         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9203         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9204         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9205         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9207 2010-07-26  Anton Blanchard  <anton@samba.org>
9209         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9210         * malloc/arena.c (heap_trim): Likewise.
9212 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
9214         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9215         here.  Not...
9216         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9217         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9219 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9221         * sysdeps/i386/elf/Makefile: New file.
9223 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9225         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9226         from fanotify_init.
9227         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9228         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9230 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
9232         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9233         of strncasecmp_l.
9234         * sysdeps/multiarch/strcmp.S: Likewise.
9236 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
9238         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9239         strncase_l-nonascii.
9240         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9241         Add strncase_l-ssse3.
9242         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9243         * sysdeps/x86_64/strcmp.S: Likewise.
9244         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9245         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9246         * sysdeps/x86_64/strncase.S: New file.
9247         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9248         * sysdeps/x86_64/strncase_l.S: New file.
9249         * string/Makefile (strop-tests): Add strncasecmp.
9250         * string/test-strncasecmp.c: New file.
9252         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9253         warning.
9255         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9256         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9258 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9260         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9262 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
9264         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9265         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9266         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9268 2010-05-01  Alan Modra  <amodra@gmail.com>
9270         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9271         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9272         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9273         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9274         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9275         tidying.  Don't tail-call __sigjmp_save for static lib.
9276         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9277         save location.
9278         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9279         (CALL_MCOUNT): Add eh info, and nop after bl.
9280         (TAIL_CALL_SYSCALL_ERROR): New macro.
9281         (PSEUDO_RET): Use it.
9282         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9283         Correct save location of integer regs and cr.
9284         (_dl_profile_resolve): Correct cr save location.  Delete nops
9285         after bl when SHARED.  Reduce cfi size a little by better
9286         placement of cfi directives.
9287         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9288         make a stack frame.  Instead use parm save area as a temp.
9289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9290         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
9291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9292         Don't make a stack frame for parent, use parm save area.
9293         Increase child stack frame to 112 bytes.  Don't save unused reg,
9294         and adjust reg usage.  Set up cfi on error recovery and
9295         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9297         (__makecontext): Add dummy nop after jump to exit.
9298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9299         Use correct parm save area and cr save, reduce stack frame.
9300         Correct cfi for possible PSEUDO_RET frame setup.
9301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9302         Branch to local label emitted by PSEUDO_RET rather than
9303         __syscall_error.
9305 2010-08-12  Andreas Schwab  <schwab@redhat.com>
9307         [BZ #11904]
9308         * locale/programs/locale.c (print_assignment): New function.
9309         (show_locale_vars): Use it.
9311 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
9313         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9314         field.
9315         (struct statfs64): Likewise.
9316         (_STATFS_F_FLAGS): Define.
9317         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9319         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9320         (ST_VALID): Define locally.
9321         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9322         __statvfs_getflags, use the provided value.
9323         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9324         __ASSUME_STATFS_F_FLAGS.
9326         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9328         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9329         Add sys/fanotify.h.
9330         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9331         fanotify_mask for GLIBC_2.13.
9332         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9333         fanotify_init and fanotify_mark.
9334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9335         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9337         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9338         Add prlimit.
9339         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9340         prlimit64 for GLIBC_2.13.
9341         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9342         prlimit64.
9343         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9344         syscall.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9346         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9347         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9348         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9349         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
9350         add prlimit alias.
9351         * sysdeps/unix/sysv/linux/prlimit.c: New file.
9353         [BZ #11903]
9354         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9355         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9357         * nss/Makefile: Add rules to build and run tst-nss-test1.
9358         * shlib-versions: Add entry for libnss_test1.
9359         * nss/nss_test1.c: New file.
9360         * nss/tst-nss-test1.c: New file.
9362         * nss/nsswitch.c (__nss_database_custom): Define new variable.
9363         (__nss_configure_lookup): Set appropriate entry in
9364         __nss_configure_lookup to true.
9365         * nss/nsswitch.h: Define enum with indeces of databases in
9366         databases and __nss_database_custom arrays.  Declare
9367         __nss_database_custom.
9368         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9369         to avoid using nscd when custom rules are installed.
9370         * nss/getXXbyYY_r.c: Likewise.
9371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9373         * nss/nss_files/files-parse.c: Whitespace fixes.
9375 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
9377         [BZ #11883]
9378         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9379         * posix/fnmatch_loop.c: Likewise.
9381 2010-07-17  Andi Kleen  <ak@linux.intel.com>
9383         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9384         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9385         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9386         * Versions.def [GLIBC_2.13]: Add.
9388 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
9390         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9391         Also fail if tpwd after pwuid call is NULL.
9393 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9395         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9396         when converting to ms.
9398 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9400         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9401         EOPNOTSUPP errors with ENOTTY.
9402         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9403         EOPNOTSUPP errors with ENOTTY.
9405 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
9407         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9408         Add strcasecmp_l-ssse3.
9409         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9410         strcasecmp.
9411         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9412         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9413         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9415 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
9417         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9419         * string/Makefile (strop-tests): Add strcasecmp.
9420         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9421         strcasecmp_l-nonascii.
9422         (gen-as-const-headers): Add locale-defines.sym.
9423         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9424         * sysdeps/x86_64/strcasecmp.S: New file.
9425         * sysdeps/x86_64/strcasecmp_l.S: New file.
9426         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9427         * sysdeps/x86_64/locale-defines.sym: New file.
9428         * string/test-strcasecmp.c: New file.
9430         * string/test-strcasestr.c: Test both ends of the range of characters.
9431         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9433 2010-07-29  Roland McGrath  <roland@redhat.com>
9435         [BZ #11856]
9436         * manual/locale.texi (Yes-or-No Questions): Fix example code.
9438 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
9440         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9441         for ld.so.
9443 2010-07-27  Andreas Schwab  <schwab@redhat.com>
9445         * manual/memory.texi (Malloc Tunable Parameters): Document
9446         M_PERTURB.
9448 2010-07-26  Roland McGrath  <roland@redhat.com>
9450         [BZ #11840]
9451         * configure.in (-fgnu89-inline check): Set and substitute
9452         gnu89_inline, not libc_cv_gnu89_inline.
9453         * configure: Regenerated.
9454         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9456 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
9458         * string/test-strnlen.c: New file.
9459         * string/Makefile (strop-tests): Add strnlen.
9460         * string/tester.c (test_strnlen): Add a few more test cases.
9461         * string/tst-strlen.c: Better error reporting.
9463         * sysdeps/x86_64/strnlen.S: New file.
9465 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
9467         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9468         lower-latency instructions.
9470 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
9472         * string/test-strcasestr.c: New file.
9473         * string/test-strstr.c: New file.
9474         * string/Makefile (strop-tests): Add strstr and strcasestr.
9475         * string/str-two-way.h: Don't undefine MAX.
9476         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9478 2010-07-21  Andreas Schwab  <schwab@redhat.com>
9480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9481         strcasestr-nonascii.
9482         (CFLAGS-strcasestr-nonascii.c): Define.
9483         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9484         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9485         Remove unused attribute.
9487 2010-07-20  Roland McGrath  <roland@redhat.com>
9489         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9490         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
9491         ld.so.cache was broken.  With it, there is no way to disable dsocaps
9492         like LD_HWCAP_MASK can disable hwcaps.
9494 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
9496         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9498 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
9500         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9501         call in strcasestr.
9502         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9503         __strcasestr_sse42_nonascii.
9504         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9505         strcasestr-nonascii.c.
9506         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9508 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
9510         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9511         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9512         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9513         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9515 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
9517         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9518         fcntl.
9520 2010-07-06  Andreas Schwab  <schwab@redhat.com>
9522         [BZ #11577]
9523         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9524         dl_signal_cerror.
9526 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
9528         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9529         _PC_PIPE_BUF using F_GETPIPE_SZ.
9531 2010-07-05  Roland McGrath  <roland@redhat.com>
9533         * manual/arith.texi (Rounding Functions): Fix rint description
9534         implicit in round description.
9536 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
9538         * elf/Makefile: Fix linking for a few tests to make recent linker
9539         happy.
9541 2010-06-30  Andreas Schwab  <schwab@redhat.com>
9543         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9544         $(common-objpfx)libc_nonshared.a.
9546 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
9548         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9549         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9550         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9551         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9552         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9553         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9554         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9555         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9570         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9571         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9572         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9573         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9574         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9575         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9576         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9577         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9578         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9579         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9580         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9581         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9597 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9599         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9600         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
9601         * string/memmove.c (memmove): Renamed to ...
9602         (MEMMOVE): ...this.  Default to memmove.
9603         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9604         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9605         (END_CHK): Define.
9606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9607         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9608         mempcpy-ssse3-back memmove-ssse3-back.
9609         * sysdeps/x86_64/multiarch/bcopy.S: New file .
9610         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9612         * sysdeps/x86_64/multiarch/memcpy.S: New file.
9613         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9614         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9615         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9616         * sysdeps/x86_64/multiarch/memmove.c: New file.
9617         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9618         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9619         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9620         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9621         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9622         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9623         Define.
9624         (index_Fast_Copy_Backward): Define.
9625         (HAS_ARCH_FEATURE): Define.
9626         (HAS_FAST_REP_STRING): Define.
9627         (HAS_FAST_COPY_BACKWARD): Define.
9629 2010-06-21  Andreas Schwab  <schwab@redhat.com>
9631         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9632         Restore proper fallback handling.
9634 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
9636         [BZ #11701]
9637         * posix/group_member.c (__group_member): Correct checking loop.
9639         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9640         OOM in getpwuid_r correctly.  Return error number when the caller
9641         should return, otherwise -1.
9642         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9643         call returning > 0 value.
9644         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9646 2010-06-07  Andreas Schwab  <schwab@redhat.com>
9648         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9649         libc_nonshared.a from targets in modules-names.
9651 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
9653         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9654         requires it.
9656 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
9658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9659         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9663 2010-06-02  Andreas Schwab  <schwab@redhat.com>
9665         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9667 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
9669         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9670         and F_GETPIPE_SZ.
9671         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9673         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9675         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9676         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9678 2010-06-14  Roland McGrath  <roland@redhat.com>
9680         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9682 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
9684         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9685         __REDIRECT followed by __THROW.
9686         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9687         * posix/getopt.h (getopt): Likewise.
9689 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
9691         * hurd/lookup-at.c (__file_name_lookup_at): Accept
9692         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
9693         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9694         in AT_FLAGS.
9695         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9696         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9698 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
9700         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9702 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
9704         [BZ #11640]
9705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9706         Properly check family and model.
9708 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
9710         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9712 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
9714         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9716 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
9718         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9719         symbol reference.
9721 2010-05-19  Andreas Schwab  <schwab@redhat.com>
9723         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9724         symbol reference.
9726 2010-05-21  Andreas Schwab  <schwab@redhat.com>
9728         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9729         and internal_recvmmsg.
9730         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9731         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9732         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9733         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9735         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9736         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9737         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9739 2010-05-20  Andreas Schwab  <schwab@redhat.com>
9741         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9743 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
9745         POWER7 optimizations.
9746         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9747         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9749 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
9751         * version.h: Update for 2.13 development version.
9753 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
9755         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9756         exceptions.  Return 0.
9758 2010-05-07  Roland McGrath  <roland@redhat.com>
9760         * elf/ldconfig.c (main): Add a const.
9762 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
9764         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9765         (args_options): Add no-idn option.
9766         (ahosts_keys_int): Add idn_flags to ai_flags.
9767         (parse_option): Handle 'i' option to clear idn_flags.
9769         * malloc/malloc.c (_int_free): Possible race in the most recently
9770         added check.  Only act on the data if no current modification
9771         happened.
9773 See ChangeLog.17 for earlier changes.