1 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6 * locale/programs/locfile-kw.gperf: Likewise.
7 * locale/programs/charmap-kw.h: Regenerated.
8 * locale/programs/locfile-kw.h: Likewise.
11 * intl/plural.y: Replace FSF snail mail address with URL.
12 * intl/plural.c: Regenerated.
14 2012-03-09 Richard Henderson <rth@twiddle.net>
16 * include/math_private.h: Remove file.
17 * math/math_private.h: Move file ...
18 * sysdeps/generic/math_private.h: ... here.
20 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
74 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
77 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
84 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
88 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
90 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
91 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
92 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
93 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
94 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
95 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
96 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
97 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
98 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
99 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
100 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
104 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
105 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
106 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
107 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
108 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
109 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
110 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
113 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
114 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
115 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
116 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
117 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
118 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
119 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
120 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
121 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
122 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
123 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
124 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
125 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
126 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
127 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
128 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
129 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
130 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
131 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
132 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
133 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
134 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
135 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
136 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
137 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
138 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
140 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
141 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
142 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
143 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
144 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
145 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
146 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
147 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
148 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
149 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
150 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
152 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
153 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
154 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
155 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
156 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
157 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
158 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
159 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
160 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
161 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
162 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
163 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
164 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
165 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
166 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
167 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
168 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
169 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
170 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
171 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
172 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
173 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
174 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
175 * sysdeps/ieee754/k_standard.c: Likewise.
176 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
177 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
178 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
179 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
180 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
181 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
182 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
192 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
193 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
199 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
200 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
201 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
202 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
203 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
204 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
205 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
206 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
207 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
208 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
209 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
210 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
211 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
212 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
213 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
214 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
215 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
216 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
217 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
218 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
220 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
221 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
222 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
224 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
226 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
227 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
228 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
232 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
233 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
234 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
236 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
237 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
238 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
242 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
243 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
249 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
255 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
256 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
258 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
260 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
262 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
266 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
268 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
269 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
272 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
280 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
282 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
288 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
290 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
291 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
292 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
295 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
297 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
298 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
299 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
300 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
301 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
302 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
303 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
304 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
306 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
307 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
310 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
311 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
318 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
319 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
320 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
321 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
322 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
323 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
324 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
325 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
326 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
327 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
328 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
329 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
330 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
331 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
332 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
333 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
334 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
335 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
336 * sysdeps/ieee754/s_lib_version.c: Likewise.
337 * sysdeps/ieee754/s_matherr.c: Likewise.
338 * sysdeps/ieee754/s_signgam.c: Likewise.
339 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
340 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
341 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
342 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
343 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
344 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
345 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
346 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
347 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
348 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
349 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
350 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
351 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
352 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
353 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
354 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
355 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
356 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
361 2012-03-09 Joseph Myers <joseph@codesourcery.com>
363 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
364 * sunrpc/rpc_main.c: Likewise.
365 * sunrpc/rpc_svcout.c: Likewise.
367 2012-03-09 David S. Miller <davem@davemloft.net>
369 * include/math_private.h: New file.
371 2012-03-09 Joseph Myers <joseph@codesourcery.com>
373 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
374 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
375 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
376 from <bits/socket_type.h>.
377 (enum __socket_type): Don't define here.
378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
383 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
386 * Makerules ($(inst_includedir)/%.h): New rule.
387 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
388 (install-others): Remove variable setting.
389 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
391 2012-03-08 Richard Henderson <rth@twiddle.net>
393 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
394 from macro to inline function; merge with the
395 !__LIBC_INTERNAL_MATH_INLINES version.
396 (__ieee754_sqrtf): Likewise.
398 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
400 (__rintf, __floor, __floorf): Likewise.
402 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
403 macro to inline function.
404 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
406 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
407 not <math/math_private.h>.
409 2012-03-08 David S. Miller <davem@davemloft.net>
411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
413 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
415 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
417 * resolv/gai_misc.c (handle_requests): Fix struct timespec
419 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
420 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
422 2012-03-08 Ulrich Drepper <drepper@gmail.com>
424 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
425 be defined individually, they must be defined as a block. Define
426 S for printing a string instead of hidint the different by using a
427 macro for adding the 'l'.
428 * stdio-common/tst-fphex-wide.c: Adjust.
430 2012-03-07 Marek Polacek <polacek@redhat.com>
432 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
434 2012-03-08 Marek Polacek <polacek@redhat.com>
437 * stdio-common/Makefile (tests): Add tst-fphex-wide.
438 * stdio-common/tst-fphex.c: Define a few macros to make the
439 test reusable. Use them.
440 * stdio-common/tst-fphex-wide.c: New file.
442 2012-03-08 Joseph Myers <joseph@codesourcery.com>
445 * manual/macros.texi (gnusystems): New macro.
446 (nongnusystems): Likewise.
447 (gnulinuxhurdsystems): Likewise.
448 (gnuhurdsystems): Likewise..
449 (gnulinuxsystems): Likewise.
450 * manual/charset.texi: Use new macros or @theglibc{} to refer to
451 variants of the GNU system, not "GNU system".
452 * manual/conf.texi: Likewise.
453 * manual/errno.texi: Likewise. Update example of errno macro
455 * manual/filesys.texi: Likewise.
456 (getumask): Document as specific to GNU/Hurd.
457 * manual/install.texi: Likewise. Reword some references to
459 * manual/intro.texi: Likewise.
460 * manual/io.texi: Likewise.
461 (File Name Portability): Detail which constraints are inapplicable
462 to all GNU systems and which are only inapplicable to GNU/Hurd.
463 * manual/job.texi: Likewise.
464 * manual/llio.texi: Likewise.
465 (O_NOCTTY): Document as present on GNU/Linux.
466 * manual/maint.texi: Likewise.
467 * manual/memory.texi: Likewise.
468 * manual/pattern.texi: Likewise.
469 * manual/pipe.texi: Likewise.
470 * manual/process.texi: Likewise.
471 * manual/resource.texi: Likewise.
472 (RUSAGE_CHILDREN): Remove statement about specifying a particular
474 * manual/setjmp.texi: Likewise.
475 * manual/signal.texi: Likewise.
476 * manual/startup.texi: Likewise.
477 * manual/stdio.texi: Likewise.
478 * manual/terminal.texi: Likewise.
479 (ONLCR): Document as POSIX.
480 (OXTABS): Document availability on GNU/Linux as XTABS.
481 (ONOEOT): Document availability separately from other bits.
482 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
483 * manual/time.texi: Likewise.
484 * manual/users.texi: Likewise.
485 * INSTALL: Regenerated.
486 * sysdeps/gnu/errlist.c: Regenerated.
488 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
489 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
490 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
492 * configure: Regenerated.
494 2012-03-07 Joseph Myers <joseph@codesourcery.com>
496 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
497 default includes instead of AC_HEADER_CHECK.
498 * sysdeps/i386/configure: Regenerated.
501 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
502 * math/s_cacoshf.c (__cacoshf): Likewise.
503 * math/s_cacoshl.c (__cacoshl): Likewise.
504 * math/s_casinh.c (__casinh): Set signs of result from argument.
505 * math/s_casinhf.c (__casinhf): Likewise.
506 * math/s_casinhl.c (__casinhl): Likewise.
507 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
508 (casinh_test): Add more tests.
509 * sysdeps/i386/fpu/libm-test-ulps: Update.
510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512 2012-03-07 Ulrich Drepper <drepper@gmail.com>
514 * po/zh_TW.po: Update from translation team.
516 * login/Makefile (distribute): Remove variable.
517 * catgets/Makefile: Likewise.
518 * mach/Makefile: Likewise.
519 * malloc/Makefile: Likewise.
520 * misc/Makefile: Likewise.
521 * iconv/Makefile: Likewise.
522 * nscd/Makefile: Likewise.
523 * hurd/Makefile: Likewise.
524 * manual/Makefile: Likewise.
525 * locale/Makefile: Likewise.
526 * intl/Makefile: Likewise.
527 * conform/Makefile: Likewise.
528 * nss/Makefile: Likewise.
529 * time/Makefile: Likewise.
530 * soft-fp/Makefile: Likewise.
531 * dirent/Makefile: Likewise.
532 * gmon/Makefile: Likewise.
533 * po/Makefile: Likewise.
534 * rt/Makefile: Likewise.
535 * socket/Makefile: Likewise.
536 * math/Makefile: Likewise.
537 * signal/Makefile: Likewise.
538 * debug/Makefile: Likewise.
539 * elf/Makefile: Likewise.
540 * timezone/Makefile: Likewise.
541 * stdlib/Makefile: Likewise.
542 * iconvdata/Makefile: Likewise.
543 * sunrpc/Makefile: Likewise.
544 * io/Makefile: Likewise.
545 * argp/Makefile: Likewise.
546 * inet/Makefile: Likewise.
547 * hesiod/Makefile: Likewise.
548 * grp/Makefile: Likewise.
549 * csu/Makefile: Likewise.
550 * wctype/Makefile: Likewise.
551 * crypt/Makefile: Likewise.
552 * libio/Makefile: Likewise.
553 * string/Makefile: Likewise.
554 * nis/Makefile: Likewise.
555 * resolv/Makefile: Likewise.
556 * stdio-common/Makefile: Likewise.
557 * wcsmbs/Makefile: Likewise.
558 * dlfcn/Makefile: Likewise.
559 * posix/Makefile: Likewise.
561 * timezone/Makefile: Don't install timezone files, just the programs
564 2012-03-06 Ulrich Drepper <drepper@gmail.com>
566 * nss/databases.def: Add missing gshadow entry.
568 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
570 2012-03-06 Marek Polacek <polacek@redhat.com>
573 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
574 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
575 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
576 * stdio-common/tst-long-dbl-fphex.c: New file.
578 2012-03-06 David S. Miller <davem@davemloft.net>
580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
581 (set_obp_int): New function.
582 (get_obp_int): New function.
583 (__get_clockfreq_via_dev_openprom): Likewise.
584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
585 Avoid unused variable warnings on 'val' and use builtin_expect.
586 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
588 (INLINE_CLONE_SYSCALL): Likewise.
590 2012-03-05 David S. Miller <davem@davemloft.net>
592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
594 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
602 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
604 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
605 Replace gettimeofday with __vdso_gettimeofday.
607 * sysdeps/unix/sysv/linux/x86_64/init-first.c
608 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
609 __vdso_clock_gettime and __vdso_getcpu.
611 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
612 time with __vdso_time.
614 2012-03-05 Joseph Myers <joseph@codesourcery.com>
616 * manual/lang.texi (size_t): Note types to which size_t may be
617 equivalent with the GNU C Library, but do not describe when
618 differences between them are significant.
620 2012-03-05 Andreas Jaeger <aj@suse.de>
622 * sysdeps/i386/fpu/libm-test-ulps: Update.
624 2012-03-05 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
628 (__ieee754_pow): Save and restore rounding mode and use
629 round-to-nearest for main computations.
630 * math/libm-test.inc (pow_test_tonearest): New function.
631 (pow_test_towardzero): Likewise.
632 (pow_test_downward): Likewise.
633 (pow_test_upward): Likewise.
634 (main): Call the new functions.
635 * sysdeps/i386/fpu/libm-test-ulps: Update.
636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
639 * math/libm-test.inc (cosh_test_tonearest): New function.
640 (cosh_test_towardzero): Likewise.
641 (cosh_test_downward): Likewise.
642 (cosh_test_upward): Likewise.
643 (sinh_test_tonearest): Likewise.
644 (sinh_test_towardzero): Likewise.
645 (sinh_test_downward): Likewise.
646 (sinh_test_upward): Likewise.
647 (main): Call the new functions.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
651 2012-03-05 Tom de Vries <tom@codesourcery.com>
653 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
654 default stack guard is set in last bytes.
655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
657 2012-03-05 Kees Cook <keescook@chromium.org>
659 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
662 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
663 possibly allocate from heap instead of stack.
664 * stdio-common/bug-vfprintf-nargs.c: New file.
665 * stdio-common/Makefile (tests): Add nargs overflow test.
667 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
671 2012-03-03 Marek Polacek <polacek@redhat.com>
673 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
674 * math/math_private.h: Likewise.
675 * stdlib/tst-strtod.c: Likewise.
676 * sysdeps/i386/i486/bits/atomic.h: Likewise.
677 * sysdeps/x86_64/bits/atomic.h: Likewise.
679 2012-03-02 David S. Miller <davem@davemloft.net>
681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
685 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
686 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
687 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
688 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
690 2012-03-02 Roland McGrath <roland@hack.frob.com>
693 * manual/examples/README: New file, says the example source files
694 can be used under GPL>=2.
695 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
696 line containing just "*/".
697 * manual/examples/add.c: Add copyright header (GPL>=2).
698 * manual/examples/argp-ex1.c: Likewise.
699 * manual/examples/argp-ex2.c: Likewise.
700 * manual/examples/argp-ex3.c: Likewise.
701 * manual/examples/argp-ex4.c: Likewise.
702 * manual/examples/atexit.c: Likewise.
703 * manual/examples/db.c: Likewise.
704 * manual/examples/dir.c: Likewise.
705 * manual/examples/dir2.c: Likewise.
706 * manual/examples/execinfo.c: Likewise.
707 * manual/examples/filecli.c: Likewise.
708 * manual/examples/filesrv.c: Likewise.
709 * manual/examples/fmtmsgexpl.c: Likewise.
710 * manual/examples/genpass.c: Likewise.
711 * manual/examples/inetcli.c: Likewise.
712 * manual/examples/inetsrv.c: Likewise.
713 * manual/examples/isockad.c: Likewise.
714 * manual/examples/longopt.c: Likewise.
715 * manual/examples/memopen.c: Likewise.
716 * manual/examples/memstrm.c: Likewise.
717 * manual/examples/mkfsock.c: Likewise.
718 * manual/examples/mkisock.c: Likewise.
719 * manual/examples/mygetpass.c: Likewise.
720 * manual/examples/pipe.c: Likewise.
721 * manual/examples/popen.c: Likewise.
722 * manual/examples/rprintf.c: Likewise.
723 * manual/examples/search.c: Likewise.
724 * manual/examples/select.c: Likewise.
725 * manual/examples/setjmp.c: Likewise.
726 * manual/examples/sigh1.c: Likewise.
727 * manual/examples/sigusr.c: Likewise.
728 * manual/examples/stpcpy.c: Likewise.
729 * manual/examples/strdupa.c: Likewise.
730 * manual/examples/strftim.c: Likewise.
731 * manual/examples/strncat.c: Likewise.
732 * manual/examples/subopt.c: Likewise.
733 * manual/examples/swapcontext.c: Likewise.
734 * manual/examples/termios.c: Likewise.
735 * manual/examples/testopt.c: Likewise.
736 * manual/examples/testpass.c: Likewise.
737 * manual/examples/timeval_subtract.c: Likewise.
740 * manual/time.texi (Elapsed Time): Move timeval_subtract example
742 * manual/timeval_subtract.c.texi: ... here, new file.
744 2012-03-02 David S. Miller <davem@davemloft.net>
746 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
748 2012-03-02 Joseph Myers <joseph@codesourcery.com>
751 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
752 (__sin): Save and restore rounding mode and use round-to-nearest
753 for all computations.
754 (__cos): Save and restore rounding mode and use round-to-nearest
755 for all computations.
756 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
758 (tan): Save and restore rounding mode and use round-to-nearest for
760 * math/libm-test.inc (cos_test_tonearest): New function.
761 (cos_test_towardzero): Likewise.
762 (cos_test_downward): Likewise.
763 (cos_test_upward): Likewise.
764 (sin_test_tonearest): Likewise.
765 (sin_test_towardzero): Likewise.
766 (sin_test_downward): Likewise.
767 (sin_test_upward): Likewise.
768 (tan_test_tonearest): Likewise.
769 (tan_test_towardzero): Likewise.
770 (tan_test_downward): Likewise.
771 (tan_test_upward): Likewise.
772 (main): Call the new functions.
773 * sysdeps/i386/fpu/libm-test-ulps: Update.
774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
777 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
778 small n, then large n, before computing and testing k+n.
779 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
784 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
785 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
792 * math/libm-test.inc (scalbn_test): Add more tests.
793 (scalbln_test): Likewise.
795 * manual/filesys.texi (mode_t): Describe constraints on size and
796 signedness, not exact equivalence to a particular type.
801 (blkcnt_t): Likewise.
802 (blkcnt64_t): Likewise.
803 * manual/llio.texi (off_t): Likewise.
806 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
807 (__ieee754_exp): Save and restore rounding mode and use
808 round-to-nearest for all computations.
809 * math/libm-test.inc (exp_test_tonearest): New function.
810 (exp_test_towardzero): Likewise.
811 (exp_test_downward): Likewise.
812 (exp_test_upward): Likewise.
813 (main): Call the new functions.
814 * sysdeps/i386/fpu/libm-test-ulps: Update.
815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
817 2012-03-01 Chris Demetriou <cgd@google.com>
819 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
820 have predictable order.
822 2012-03-01 David S. Miller <davem@davemloft.net>
824 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
826 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
827 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
828 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
829 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
831 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
832 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
833 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
835 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
836 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
837 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
838 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
839 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
844 * sysdeps/sparc/fpu/libm-test-ulps: to here.
845 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
847 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
848 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
849 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
850 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
851 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
852 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
855 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
856 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
857 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
860 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
863 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
864 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
865 * sysdeps/sparc/elf/configure: Regenerated.
867 2012-03-01 Joseph Myers <joseph@codesourcery.com>
869 * configure.in (AS, LD): Require binutils 2.20 or later.
870 * configure: Regenerated.
871 * manual/install.texi (Tools for Compilation): Give binutils 2.20
872 as required minimum version.
873 * INSTALL: Regenerated.
877 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
878 before squaring exponent.
879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
880 bottom long double and 27 bits of top long double before squaring
882 * math/libm-test.inc (erfc_test): Add more tests.
883 * sysdeps/i386/fpu/libm-test-ulps: Update.
884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887 2012-03-01 Kai Tietz <ktietz@redhat.com>
889 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
890 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
891 containing bit-fields.
892 * soft-fp/extended.h (_FP_UNION_E): Likewise.
893 * soft-fp/single.h (_FP_UNION_S): Likewise.
894 * soft-fp/double.h (_FP_UNION_D): Likewise.
896 2012-02-29 Joseph Myers <joseph@codesourcery.com>
899 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
900 not include ../strcmp.S.
901 [USE_AS_STRNCASECMP_L]: Likewise.
902 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
903 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
904 * sysdeps/i386/i686/multiarch/strncase_l-c.c
905 (__strncasecmp_l_ia32): Define as alias to
906 __strncasecmp_l_nonascii.
909 * math/libm-test.inc (expm1_test): Add test for bug 5794.
910 * sysdeps/i386/fpu/libm-test-ulps: Update.
911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
913 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
916 2012-02-29 Jeff Law <law@redhat.com>
918 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
921 2012-02-29 Marek Polacek <polacek@redhat.com>
924 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
925 * elf/Makefile: Add rules to run tst-unused-dep.out.
927 2012-02-28 David S. Miller <davem@davemloft.net>
929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
933 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
934 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
936 2012-02-29 Joseph Myers <joseph@codesourcery.com>
938 * math/libm-test.inc (llround_test): Move one test from
939 lround_test. Use TEST_f_L in moved test.
940 (lround_test): Move misplaced test to llround_test. Add testcase
943 2012-02-28 Ulrich Drepper <drepper@gmail.com>
945 * sysdeps/x86_64/fpu/e_expf.S: New file.
946 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
948 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
951 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
952 of remain_len that may cause incomplete multi-byte character and
954 * posix/bug-regex33.c: New file.
955 * posix/Makefile (tests): Add bug-regex33.
957 2012-02-28 Joseph Myers <joseph@codesourcery.com>
959 * manual/macros.texi: New file.
960 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
961 * manual/libc.texinfo: Include macros.texi.
962 * manual/creatute.texi: Likewise.
963 * manual/install.texi: Likewise.
964 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
965 @glibcadj{} in references to the GNU C Library.
966 * manual/charset.texi: Likewise.
967 * manual/conf.texi: Likewise.
968 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
969 when not using those macros.
970 * manual/creature.texi: Likewise.
971 * manual/crypt.texi: Likewise.
972 * manual/errno.texi: Likewise.
973 * manual/filesys.texi: Likewise.
974 * manual/header.texi: Likewise.
975 * manual/install.texi: Likewise.
976 * manual/intro.texi: Likewise.
977 * manual/io.texi: Likewise.
978 * manual/job.texi: Likewise.
979 * manual/lang.texi: Likewise.
980 * manual/libc.texiinfo: Likewise.
981 * manual/llio.texi: Likewise.
982 * manual/locale.texi: Likewise.
983 * manual/maint.texi: Likewise.
984 * manual/math.texi: Likewise.
985 * manual/memory.texi: Likewise.
986 * manual/message.texi: Likewise.
987 * manual/nss.texi: Likewise.
988 * manual/pattern.texi: Likewise.
989 * manual/process.texi: Likewise.
990 * manual/resource.texi: Likewise.
991 * manual/search.texi: Likewise.
992 * manual/setjmp.texi: Likewise.
993 * manual/signal.texi: Likewise.
994 * manual/socket.texi: Likewise.
995 * manual/startup.texi: Likewise.
996 * manual/stdio.texi: Likewise.
997 * manual/string.texi: Likewise.
998 * manual/sysinfo.texi: Likewise.
999 * manual/syslog.texi: Likewise.
1000 * manual/terminal.texi: Likewise.
1001 * manual/time.texi: Likewise.
1002 * manual/users.texi: Likewise.
1003 * INSTALL: Regenerated.
1004 * NOTES: Regenerated.
1005 * sysdeps/gnu/errlist.c: Regenerated.
1007 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1009 * include/dirent.h: Include <dirstream.h> before
1012 2012-02-28 David S. Miller <davem@davemloft.net>
1014 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1015 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1016 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1017 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1019 2012-02-27 David S. Miller <davem@davemloft.net>
1021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1023 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1024 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1027 frame pointer instead of stack pointer relative arg slot.
1028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1032 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1035 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1037 2012-02-27 David S. Miller <davem@davemloft.net>
1039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1043 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1044 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1045 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1046 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1048 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1050 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1051 later. Allow versions 5-9.
1052 * configure: Regenerated.
1053 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1054 required minimum version and 4.6 as recommended version. Do not
1055 mention bugs in GCC 2.7 and 2.8.
1056 * INSTALL: Regenerated.
1058 2012-02-27 David S. Miller <davem@davemloft.net>
1060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1066 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1070 manipulate bits before adding and subtracting TWO112[sx].
1071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1073 2012-02-27 Roland McGrath <roland@hack.frob.com>
1076 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1077 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1078 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1079 being in POSIX, because they are in 1003.1-2008.
1081 * rt/tst-aio.c: Include <fcntl.h>.
1082 * rt/tst-aio7.c: Likewise.
1083 * rt/tst-aio64.c: Likewise.
1085 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1087 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1089 * manual/install.texi (--with-headers): Describe headers as
1090 interface headers, not private headers.
1091 (Specific advice for GNU/Linux systems): Describe use of headers
1092 from "make headers_install", not private headers from older
1094 * INSTALL: Regenerated.
1095 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1097 * sysdeps/unix/sysv/linux/configure: Regenerated.
1099 * manual/llio.texi (fclean): Remove documentation.
1101 * manual/Makefile (libc-texi-generated): New variable. Include
1103 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1104 $(libc-texi-generated), not duplicated list of files.
1105 (version.texi, stamp-version): New rules.
1106 (realclean): Remove $(libc-texi-generated), not individual files
1107 from that list. Do not remove dir-add.texinfo.
1108 * manual/libc.texinfo: Comment out uses of edition numbers and
1109 references to printed manual. Remove last-updated dates.
1110 (EDITION): Comment out.
1112 (VERSION, UPDATED): Remove.
1113 (version.texi): Include.
1115 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1117 * sysdeps/posix/spawni.c: Include <signal.h>.
1118 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1119 * sysdeps/pthread/aio_fsync.c: Likewise.
1121 2012-02-26 Ulrich Drepper <drepper@gmail.com>
1123 * conform/Makefile (tests): Run only when not cross-compiling and
1124 when fast-check is not defined.
1126 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1127 * conform/data/limits.h-data: Fixes for POSIX2008.
1128 * conform/run-conformtest.sh: Run all tests.
1129 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1131 * include/bits/dlfcn.h: Likewise.
1132 * include/langinfo.h: Likewise.
1133 * include/monetary.h: Likewise.
1134 * include/sys/poll.h: Likewise.
1136 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1138 * posix/spawn.h: Define __need_sigset_t.
1139 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1140 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1141 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1142 to get sigevent_t only.
1143 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1146 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1147 process_vm_writev only for __USE_GNU.
1148 * termios/termios.h: Declare tcgetsid also for POSIX2008.
1150 * conform/Makefile: For now ignore errors from run-conformtest.
1151 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1152 POSIX to avoid namespace pollution. Don't prepend headers.
1153 * conform/data/aio.h-data: Fixes for POSIX testing.
1154 * conform/data/fcntl.h-data: Likewise.
1155 * conform/data/glob.h-data: Likewise.
1156 * conform/data/grp.h-data: Likewise.
1157 * conform/data/pthread.h-data: Likewise.
1158 * conform/data/pwd.h-data: Likewise.
1159 * conform/data/signal.h-data: Likewise.
1160 * conform/data/spawn.h-data: Likewise.
1161 * conform/data/stdio.h-data: Likewise.
1162 * conform/data/stdlib.h-data: Likewise.
1163 * conform/data/stropts.h-data: Likewise.
1164 * conform/data/sys/mman.h-data: Likewise.
1165 * conform/data/sys/stat.h-data: Likewise.
1166 * conform/data/sys/types.h-data: Likewise.
1167 * conform/data/sys/wait.h-data: Likewise.
1168 * conform/data/time.h-data: Likewise.
1169 * conform/data/unistd.h-data: Likewise.
1170 * conform/data/utime.h-data: Likewise.
1172 * io/sys/stat.h: fchmod was always in POSIX.
1173 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1174 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1175 * rt/aio.h: Define __need_timespec before including <time.h>.
1176 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1177 struct. Add forward declaration of pthread_attr_t and use it in
1179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1181 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1182 always remove CLK_TCK definition.
1184 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1186 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1188 2012-02-25 Ulrich Drepper <drepper@gmail.com>
1190 * conform/run-conformtest.sh: New file.
1191 * conform/Makefile: Run run-conformtest for tests.
1192 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1195 * conform/data/uchar.h-data: New file.
1196 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1197 * conform/data/arpa/inet.h-data: Likewise.
1198 * conform/data/assert.h-data: Likewise.
1199 * conform/data/complex.h-data: Likewise.
1200 * conform/data/cpio.h-data: Likewise.
1201 * conform/data/ctype.h-data: Likewise.
1202 * conform/data/dirent.h-data: Likewise.
1203 * conform/data/dlfcn.h-data: Likewise.
1204 * conform/data/errno.h-data: Likewise.
1205 * conform/data/fcntl.h-data: Likewise.
1206 * conform/data/float.h-data: Likewise.
1207 * conform/data/fmtmsg.h-data: Likewise.
1208 * conform/data/fnmatch.h-data: Likewise.
1209 * conform/data/ftw.h-data: Likewise.
1210 * conform/data/glob.h-data: Likewise.
1211 * conform/data/grp.h-data: Likewise.
1212 * conform/data/iconv.h-data: Likewise.
1213 * conform/data/inttypes.h-data: Likewise.
1214 * conform/data/langinfo.h-data: Likewise.
1215 * conform/data/libgen.h-data: Likewise.
1216 * conform/data/limits.h-data: Likewise.
1217 * conform/data/locale.h-data: Likewise.
1218 * conform/data/math.h-data: Likewise.
1219 * conform/data/monetary.h-data: Likewise.
1220 * conform/data/mqueue.h-data: Likewise.
1221 * conform/data/ndbm.h-data: Likewise.
1222 * conform/data/net/if.h-data: Likewise.
1223 * conform/data/netdb.h-data: Likewise.
1224 * conform/data/netinet/in.h-data: Likewise.
1225 * conform/data/nl_types.h-data: Likewise.
1226 * conform/data/poll.h-data: Likewise.
1227 * conform/data/pthread.h-data: Likewise.
1228 * conform/data/pwd.h-data: Likewise.
1229 * conform/data/regex.h-data: Likewise.
1230 * conform/data/sched.h-data: Likewise.
1231 * conform/data/search.h-data: Likewise.
1232 * conform/data/semaphore.h-data: Likewise.
1233 * conform/data/setjmp.h-data: Likewise.
1234 * conform/data/signal.h-data: Likewise.
1235 * conform/data/spawn.h-data: Likewise.
1236 * conform/data/stdarg.h-data: Likewise.
1237 * conform/data/stdio.h-data: Likewise.
1238 * conform/data/stdlib.h-data: Likewise.
1239 * conform/data/string.h-data: Likewise.
1240 * conform/data/strings.h-data: Likewise.
1241 * conform/data/stropts.h-data: Likewise.
1242 * conform/data/sys/ipc.h-data: Likewise.
1243 * conform/data/sys/mman.h-data: Likewise.
1244 * conform/data/sys/msg.h-data: Likewise.
1245 * conform/data/sys/resource.h-data: Likewise.
1246 * conform/data/sys/select.h-data: Likewise.
1247 * conform/data/sys/sem.h-data: Likewise.
1248 * conform/data/sys/shm.h-data: Likewise.
1249 * conform/data/sys/socket.h-data: Likewise.
1250 * conform/data/sys/stat.h-data: Likewise.
1251 * conform/data/sys/statvfs.h-data: Likewise.
1252 * conform/data/sys/time.h-data: Likewise.
1253 * conform/data/sys/timeb.h-data: Likewise.
1254 * conform/data/sys/times.h-data: Likewise.
1255 * conform/data/sys/types.h-data: Likewise.
1256 * conform/data/sys/uio.h-data: Likewise.
1257 * conform/data/sys/un.h-data: Likewise.
1258 * conform/data/sys/utsname.h-data: Likewise.
1259 * conform/data/sys/wait.h-data: Likewise.
1260 * conform/data/syslog.h-data: Likewise.
1261 * conform/data/tar.h-data: Likewise.
1262 * conform/data/termios.h-data: Likewise.
1263 * conform/data/utime.h-data: Likewise.
1264 * conform/data/utmpx.h-data: Likewise.
1265 * conform/data/varargs.h-data: Likewise.
1266 * conform/data/wchar.h-data: Likewise.
1267 * conform/data/wctype.h-data: Likewise.
1268 * conform/data/wordexp.h-data: Likewise.
1270 * include/stropts.h: New file.
1271 * include/uchar.h: New file.
1272 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1273 * include/assert.h: Likewise.
1274 * include/ctype.h: Likewise.
1275 * include/dirent.h: Likewise.
1276 * include/dlfcn.h: Likewise.
1277 * include/fcntl.h: Likewise.
1278 * include/fnmatch.h: Likewise.
1279 * include/glob.h: Likewise.
1280 * include/grp.h: Likewise.
1281 * include/libio.h: Likewise.
1282 * include/locale.h: Likewise.
1283 * include/math.h: Likewise.
1284 * include/net/if.h: Likewise.
1285 * include/netdb.h: Likewise.
1286 * include/netinet/in.h: Likewise.
1287 * include/pthread.h: Likewise.
1288 * include/pwd.h: Likewise.
1289 * include/regex.h: Likewise.
1290 * include/sched.h: Likewise.
1291 * include/search.h: Likewise.
1292 * include/setjmp.h: Likewise.
1293 * include/signal.h: Likewise.
1294 * include/stdio.h: Likewise.
1295 * include/stdlib.h: Likewise.
1296 * include/string.h: Likewise.
1297 * include/sys/cdefs.h: Likewise.
1298 * include/sys/mman.h: Likewise.
1299 * include/sys/msg.h: Likewise.
1300 * include/sys/resource.h: Likewise.
1301 * include/sys/select.h: Likewise.
1302 * include/sys/socket.h: Likewise.
1303 * include/sys/stat.h: Likewise.
1304 * include/sys/statvfs.h: Likewise.
1305 * include/sys/time.h: Likewise.
1306 * include/sys/times.h: Likewise.
1307 * include/sys/uio.h: Likewise.
1308 * include/sys/utsname.h: Likewise.
1309 * include/sys/wait.h: Likewise.
1310 * include/termios.h: Likewise.
1311 * include/time.h: Likewise.
1312 * include/ulimit.h: Likewise.
1313 * include/unistd.h: Likewise.
1314 * include/utime.h: Likewise.
1315 * include/wchar.h: Likewise.
1316 * include/wctype.h: Likewise.
1317 * include/wordexp.h: Likewise.
1319 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1321 * time/time.h: TIME_UTC must be a macro.
1322 Make timespec_get available for ISO C11 only as well.
1324 2012-02-24 Ulrich Drepper <drepper@gmail.com>
1326 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1327 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1329 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1331 * configure.in: Use -o not -a in test for unsupported multi-arch.
1333 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1335 * manual/texinfo.tex: Update to version 2012-01-19.16.
1337 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1339 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1341 2012-02-24 Roland McGrath <roland@hack.frob.com>
1344 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1345 * manual/fdl-1.3.texi: New file.
1346 * manual/fdl-1.1.texi: File removed.
1349 * manual/libc.texinfo (FDL_VERSION): New @set.
1350 Use it for mention of FDL in cover text.
1351 (Documentation License): Use it in @include file name.
1353 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1354 Roland McGrath <roland@hack.frob.com>
1357 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1358 not LONG_LONG_MAX and LONG_LONG_MIN.
1359 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1360 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1362 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1368 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1369 manipulate bits before adding and subtracting TWO23[sx].
1370 * math/libm-test.inc (nearbyint_test): Add more tests.
1372 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1375 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1376 bits before adding and subtracting TWO23[sx].
1377 * math/libm-test.inc (rint_test): Add more tests.
1378 (rint_test_tonearest): Likewise.
1379 (rint_test_towardzero): Likewise.
1380 (rint_test_downward): Likewise.
1381 (rint_test_upward: Likewise.
1383 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1386 * include/stdc-predef.h: New file. Extracted from features.h.
1387 * include/features.h: Include stdc-predef.h.
1388 * Makefile (headers): Add stdc-predef.h.
1389 * CONFORMANCE (Compiler limitations): Update.
1391 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1393 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1395 2012-02-21 David S. Miller <davem@davemloft.net>
1397 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1398 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1400 2012-02-20 David S. Miller <davem@davemloft.net>
1402 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1403 using a normal save/restore sequence, rather than allocating a
1404 dummy stack frame just to store a frame pointer and restore.
1405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1407 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1409 * manual/install.texi: Fix stray word in line-wrapped comment.
1411 2012-02-20 David S. Miller <davem@davemloft.net>
1413 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1414 both binutils and gcc support GOTDATA.
1416 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1417 "rd %pc" in the PIC register setup sequences.
1419 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1420 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1421 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1422 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1423 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1425 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1428 (SYSCALL_ERROR_HANDLER): Likewise.
1429 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1432 (SYSCALL_ERROR_HANDLER): Likewise.
1434 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1435 (HAVE_GCC_GOTDATA): New.
1436 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1437 relocation support in both binutils and gcc.
1438 * sysdeps/sparc/elf/configure: Regenerate.
1440 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1441 * sysdeps/sparc/sparc32/elf/configure: Delete.
1442 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1443 * sysdeps/sparc/sparc64/elf/configure: Delete.
1444 * sysdeps/sparc/elf/configure.in: New file.
1445 * sysdeps/sparc/elf/configure: Generate.
1447 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1448 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1449 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1450 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1451 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1453 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1455 * manual/install.texi: Do not mention specific glibc version
1457 * manual/libc.texinfo (VERSION, UPDATED): Update.
1458 (@copying): Use @copyright{} and range of years.
1460 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1463 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1464 [crti.S not in sysdirs] (generated): Do not append.
1465 [crti.S not in sysdirs] (omit-deps): Likewise.
1466 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1467 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1468 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1469 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1470 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1472 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1473 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1474 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1475 * csu/defs.awk: Remove file.
1476 * sysdeps/generic/initfini.c: Likewise.
1477 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1479 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1482 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1484 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1485 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1487 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1489 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1491 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1492 (__EPOLL_PACKED): Define to empty if not defined by
1494 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1498 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1500 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1501 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1503 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1505 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1509 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1513 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1514 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1515 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1518 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1521 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1523 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1525 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1526 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1528 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1530 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1533 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1535 * math/w_acos.c: Use non-signaling floating-point comparisons.
1536 * math/w_acosf.c: Likewise.
1537 * math/w_acosh.c: Likewise.
1538 * math/w_acoshf.c: Likewise.
1539 * math/w_acoshl.c: Likewise.
1540 * math/w_acosl.c: Likewise.
1541 * math/w_asin.c: Likewise.
1542 * math/w_asinf.c: Likewise.
1543 * math/w_asinl.c: Likewise.
1544 * math/w_atanh.c: Likewise.
1545 * math/w_atanhf.c: Likewise.
1546 * math/w_atanhl.c: Likewise.
1547 * math/w_exp2.c: Likewise.
1548 * math/w_exp2f.c: Likewise.
1549 * math/w_exp2l.c: Likewise.
1550 * math/w_j0.c: Likewise.
1551 * math/w_j0f.c: Likewise.
1552 * math/w_j0l.c: Likewise.
1553 * math/w_j1.c: Likewise.
1554 * math/w_j1f.c: Likewise.
1555 * math/w_j1l.c: Likewise.
1556 * math/w_jn.c: Likewise.
1557 * math/w_jnf.c: Likewise.
1558 * math/w_log.c: Likewise.
1559 * math/w_log10.c: Likewise.
1560 * math/w_log10f.c: Likewise.
1561 * math/w_log10l.c: Likewise.
1562 * math/w_log2.c: Likewise.
1563 * math/w_log2f.c: Likewise.
1564 * math/w_log2l.c: Likewise.
1565 * math/w_logf.c: Likewise.
1566 * math/w_logl.c: Likewise.
1567 * math/w_sqrt.c: Likewise.
1568 * math/w_sqrtf.c: Likewise.
1569 * math/w_sqrtl.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1572 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1576 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1579 * manual/string.texi (strnlen): Use correct parameter name in
1580 equivalent expression.
1582 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1585 * manual/users.texi (seteuid): Consistently use neweuid for
1588 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1591 * manual/nss.texi (Services in the NSS configuration): Correct
1592 list of services in example configuration file.
1594 2012-02-19 Nick Bowler <nbowler@draconx.ca>
1597 * manual/arith.texi: Remove statements about negative zero
1598 behaving identically to zero.
1600 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1603 * manual/install.texi: Do not document upgrading from libc5.
1605 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1608 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1610 2012-02-18 David S. Miller <davem@davemloft.net>
1612 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1613 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1614 %o7 across the call.
1615 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1620 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1621 * sysdeps/sparc/crtn.S: Likewise.
1623 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1625 * aout/Makefile: Remove.
1627 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1630 * manual/examples/argp-ex1.c (main): Format definition in GNU
1632 * manual/examples/argp-ex2.c (main): Likewise.
1633 * manual/examples/argp-ex3.c (main): Likewise.
1634 * manual/examples/argp-ex4.c (main): Likewise.
1635 * manual/examples/longopt.c (main): Use new-style prototype
1637 * manual/examples/strncat.c (main): Specify return type and use
1638 (void) for arguments.
1639 * manual/examples/subopt.c (main): Use char **argv argument.
1641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1644 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1647 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1650 * manual/string.texi (strchr): Change when strchrnul is
1653 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1656 * manual/locale.texi (setlocale): Document LOCPATH.
1658 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1661 * manual/process.texi (execle): Move @dots{} before last argument.
1663 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1666 * manual/charset.texi (Generic Charset Conversion): Fix typo
1667 (LC_TYPE -> LC_CTYPE).
1669 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1672 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1673 (scalbnf): Likewise.
1674 (scalbnl): Likewise.
1675 (scalbln): Likewise.
1676 (scalblnf): Likewise.
1677 (scalblnl): Likewise.
1678 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1682 * manual/filesys.texi (telldir): Use braces around return type.
1683 * manual/llio.texi (mmap): Add space after comma.
1685 * manual/math.texi (jn): Use @var{} on parameter names.
1691 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1693 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1695 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1696 (sched_get_priority_max): Likewise.
1697 * manual/signal.texi (sigvec): Add space after comma.
1698 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1700 (if_indextoname): Likewise.
1701 (if_freenameindex): Likewise.
1702 (sendto): Use ',' instead of '.' in prototype.
1703 * manual/startup.texi (syscall): Use @dots{} instead of literal
1705 * manual/stdio.texi (__fpending): Separate initial words of
1706 paragraph from @deftypefun line.
1707 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1709 (vsyslog): Use @var{} on parameter names.
1710 * manual/terminal.texi (stty): Use @var{} on parameter names.
1711 * manual/users.texi (getutmp): Use @var{} on parameter names.
1712 (getutmpx): Likewise.
1714 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1717 * manual/stdio.texi (fopen): Fix typos in description of
1720 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1723 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1724 get clock_id definition.
1726 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1729 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1730 (madvise): Cast every argument to void on its own.
1732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1735 * manual/startup.texi (Exit Status): Fix typo.
1737 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1740 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1741 * manual/examples/argp-ex2.c: Likewise.
1742 * manual/examples/argp-ex3.c: Likewise.
1744 2012-02-16 Richard Henderson <rth@redhat.com>
1746 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1747 * sysdeps/s390/s390-32/initfini.c: Remove.
1748 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1749 * sysdeps/s390/s390-64/initfini.c: Remove.
1751 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1753 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1754 compiler output for sysdeps/generic/initfini.c.
1755 * sysdeps/sh/elf/initfini.c: Remove file.
1757 2012-02-16 David S. Miller <davem@davemloft.net>
1760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1762 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1763 * sysdeps/sparc/crti.S: New file.
1764 * sysdeps/sparc/crtn.S: New file.
1765 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1766 * sysdeps/sparc/sparc64/Makefile: Likewise.
1768 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1771 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1773 2012-02-15 Roland McGrath <roland@hack.frob.com>
1776 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1778 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1779 (write, read, close): Likewise.
1780 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1782 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1784 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1785 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1786 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1787 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1789 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1793 2012-02-14 Marek Polacek <polacek@redhat.com>
1795 * sysdeps/x86_64/crti.S: New file.
1796 * sysdeps/x86_64/crtn.S: New file.
1797 * sysdeps/x86_64/elf/initfini.c: Remove file.
1799 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1801 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1802 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1803 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1804 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1806 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1810 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1812 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1813 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1814 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1815 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1817 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1821 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1823 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1824 __feraiseexcept instead of feraiseexcept.
1826 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1827 nanosleep invocations.
1828 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1829 strings, and add error checking for a nanosleep invocations.
1831 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1833 Replace FSF snail mail address with URLs, as per GNU coding standards.
1834 Most of the snail mail addresses were wrong anyway, and omitting
1835 them makes the source code easier to maintain. Almost all of the
1836 changes are to license notices and to locale LC_IDENTIFICATION
1837 addresses, except for this one:
1838 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1839 not its snail mail address.
1841 2012-02-09 Richard Henderson <rth@twiddle.net>
1843 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1844 of kernel-features.h.
1846 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1848 2012-02-08 Marek Polacek <polacek@redhat.com>
1850 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1851 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1852 * sysdeps/gnu/_G_config.h: Likewise.
1853 * sysdeps/generic/_G_config.h: Likewise.
1855 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1857 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861 * sysdeps/powerpc/powerpc32/crti.S: New file.
1862 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1863 * sysdeps/powerpc/powerpc64/crti.S: New file.
1864 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1866 * Makeconfig (have-initfini): Don't set.
1867 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1868 * configure.in (nopic_initfini): Don't substitute.
1869 * config.h.in (HAVE_INITFINI): Don't #undef.
1870 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1871 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1873 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1875 Support crti.S and crtn.S provided directly by architectures.
1876 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1877 [crti.S in sysdirs] (omit-deps): Likewise.
1878 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1879 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1880 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1881 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1882 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1883 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1884 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1885 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1886 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1887 compiler output for sysdeps/generic/initfini.c.
1888 * sysdeps/i386/elf/Makefile: Remove file.
1889 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1891 2012-02-07 Marek Polacek <polacek@redhat.com>
1893 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1894 * sysdeps/gnu/_G_config.h: Likewise.
1895 * sysdeps/mach/hurd/_G_config.h: Likewise.
1897 2012-02-07 Marek Polacek <polacek@redhat.com>
1899 * math/Makefile (tests): Add tst-CMPLX2.
1900 * math/tst-CMPLX2.c: New file.
1902 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1904 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1906 * math/libm-test.inc (jn_test): Add missing L suffix.
1908 2012-02-06 Marek Polacek <polacek@redhat.com>
1910 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1911 * sysdeps/i386/fpu/e_powf.S: Likewise.
1912 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1914 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1915 * sysdeps/i386/fpu/e_pow.S: Likewise.
1916 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1917 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1918 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1919 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1920 * sysdeps/i386/fpu/e_log2.S: Likewise.
1921 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1923 * sysdeps/i386/fpu/e_powl.S: Likewise.
1924 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1926 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1927 * sysdeps/i386/fpu/e_logl.S: Likewise.
1928 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1929 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1930 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1931 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1932 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1933 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1934 * sysdeps/i386/fpu/e_log.S: Likewise.
1935 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1936 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1937 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1938 * sysdeps/i386/fpu/e_logf.S: Likewise.
1939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1940 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1941 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1942 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1943 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1944 * sysdeps/i386/fpu/e_log10.S: Likewise.
1945 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1946 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1947 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1948 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1949 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1950 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1951 * sysdeps/i386/asm-syntax.h: Likewise.
1952 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1953 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1954 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1955 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1956 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1957 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1958 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1959 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1960 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1961 * sysdeps/powerpc/sysdep.h: Likewise.
1962 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1963 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1965 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1968 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1970 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1972 * sysdeps/i386/sysdep.h: Include <features.h>.
1973 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1976 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1980 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1983 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1985 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1986 (SETUP_PIC_REG): Use GET_PC_THUNK.
1987 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1990 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1992 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1993 for non-PIC compilation.
1994 (SETUP_PIC_REG): Add .p2align directive.
1995 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1996 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1997 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1998 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2000 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2001 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2003 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2004 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2005 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2006 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2007 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2008 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2009 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2010 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2011 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2012 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2013 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2014 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2023 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2024 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2025 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2035 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2037 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2039 * math/tst-CMPLX.c: Include <stdio.h>.
2041 2012-01-31 Joseph Myers <joseph@codesourcery.com>
2043 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2045 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2046 * sysdeps/sparc/bits/mathdef.h: Likewise.
2048 2012-01-31 Marek Polacek <polacek@redhat.com>
2050 * libio/libio.h: Don't define _PARAMS.
2051 * locale/programs/config.h: Don't define PARAMS.
2052 * stdlib/strtol_l.c: Likewise.
2053 (__strtol_l): Remove PARAMS from the prototype.
2055 2012-01-31 Ulrich Drepper <drepper@gmail.com>
2057 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2058 names. Just use the correct names. Remove unnecessary wrapper
2060 * malloc/arena.c: Likewise.
2061 * malloc/hooks.c: Likewise.
2063 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2064 ARENA_TEST says not to. Simplify test for creation of a new arena.
2065 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2067 2012-01-30 Ulrich Drepper <drepper@gmail.com>
2069 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2071 (update_get_addr): New function.
2072 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2073 GET_ADDR_MODULE parameter.
2075 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2077 * crypt/cert.c: Remove __STDC__ conditionals.
2078 * crypt/crypt-entry.c: Likewise.
2079 * crypt/crypt_util.c: Likewise.
2080 * libio/filedoalloc.c: Likewise.
2081 * libio/fileops.c: Likewise.
2082 * libio/genops.c: Likewise.
2083 * libio/iofclose.c: Likewise.
2084 * libio/iofdopen.c: Likewise.
2085 * libio/iofopen.c: Likewise.
2086 * libio/iofopen64.c: Likewise.
2087 * libio/iogetdelim.c: Likewise.
2088 * libio/iopopen.c: Likewise.
2089 * libio/obprintf.c: Likewise.
2090 * libio/oldfileops.c: Likewise.
2091 * libio/oldiofclose.c: Likewise.
2092 * libio/oldiofdopen.c: Likewise.
2093 * libio/oldiofopen.c: Likewise.
2094 * libio/oldiopopen.c: Likewise.
2095 * libio/wfiledoalloc.c: Likewise.
2096 * libio/wgenops.c: Likewise.
2097 * locale/programs/xmalloc.c: Likewise.
2098 * misc/syslog.c: Likewise.
2099 * stdio-common/xbug.c: Likewise.
2100 * string/memchr.c: Likewise.
2101 * string/memcmp.c: Likewise.
2102 * string/memrchr.c: Likewise.
2103 * string/rawmemchr.c: Likewise.
2104 * sysdeps/posix/getcwd.c: Likewise.
2105 * time/strftime_l.c: Likewise.
2107 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2109 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2110 * config.make.in (config-cflags-sse2avx): Define.
2111 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2114 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2116 * scripts/config.guess: Update from upstream config git repository.
2117 * scripts/config.sub: Likewise.
2119 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2121 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2123 (R_TILEPRO_*, R_TILEGX_*): New macros.
2125 * scripts/firstversions.awk: Fix bug in version range handling.
2127 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2129 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2131 * include/sys/epoll.h: New file.
2132 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2135 2012-01-28 Ulrich Drepper <drepper@gmail.com>
2137 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2138 Avoid unnecessary __WORDSIZE == 64 test.
2139 (fmaxf): Use VEX format if possible.
2144 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2145 * math/math_private.h: Remove libc_fegetround* and
2147 * sysdeps/i386/configure.in: Check for -msse2avx.
2148 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2149 also if SSE2AVX is defined.
2150 Remove libc_fegetround* and libc_fesetround*.
2151 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2152 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2161 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2163 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2169 2012-01-27 Ulrich Drepper <drepper@gmail.com>
2172 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2174 * Makeconfig (libm): Define.
2175 * elf/Makefile: Add rules to build and run tst-relsort1.
2176 * elf/tst-relsort1.c: New file.
2177 * elf/tst-relsort1mod1.c: New file.
2178 * elf/tst-relsort1mod2.c: New file.
2180 2012-01-27 Joseph Myers <joseph@codesourcery.com>
2182 * math/s_ldexp.c: Remove __STDC__ conditionals.
2183 * math/s_ldexpf.c: Likewise.
2184 * math/s_ldexpl.c: Likewise.
2185 * math/s_nextafter.c: Likewise.
2186 * math/s_nexttowardf.c: Likewise.
2187 * math/s_significand.c: Likewise.
2188 * math/s_significandf.c: Likewise.
2189 * math/s_significandl.c: Likewise.
2190 * math/w_jnl.c: Likewise.
2191 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2192 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2193 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2194 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2195 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2202 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2206 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2208 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2210 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2211 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2212 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2213 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2214 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2215 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2216 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2218 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2219 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2220 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2225 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2227 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2228 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2229 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2230 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2231 * sysdeps/ieee754/k_standard.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2293 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2298 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2311 * sysdeps/ieee754/s_matherr.c: Likewise.
2312 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2313 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2317 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2319 * crypt/md5.h: Remove __STDC__ conditionals.
2320 * libio/libioP.h: Likewise.
2321 * locale/programs/config.h: Likewise.
2322 * sysdeps/generic/sysdep.h: Likewise.
2323 * sysdeps/i386/asm-syntax.h: Likewise.
2324 * sysdeps/s390/asm-syntax.h: Likewise.
2325 * sysdeps/unix/sysdep.h: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2329 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2331 * libio/libio.h: Remove __STDC__ conditionals.
2332 * malloc/obstack.h: Likewise.
2333 * math/complex.h: Likewise.
2334 * math/math.h: Likewise.
2335 * sysdeps/generic/_G_config.h: Likewise.
2336 * sysdeps/gnu/_G_config.h: Likewise.
2337 * sysdeps/mach/hurd/_G_config.h: Likewise.
2338 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2339 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2340 * sysdeps/sparc/bits/mathdef.h: Likewise.
2342 2012-01-26 Ulrich Drepper <drepper@gmail.com>
2345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2346 Clean up HAS_* macros.
2347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2348 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2353 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2354 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2355 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2358 2012-01-25 Joseph Myers <joseph@codesourcery.com>
2360 * elf/tst-unique3.cc (gets): Remove declaration.
2361 * elf/tst-unique3lib.cc (gets): Likewise.
2362 * elf/tst-unique3lib2.cc (gets): Likewise.
2363 * elf/tst-unique4.cc (gets): Likewise.
2365 2012-01-24 Ulrich Drepper <drepper@gmail.com>
2367 * include/stdio.h: Add C++ protection. Add gets declarations and
2369 * debug/tst-chk1.c: Don't declare gets here.
2370 * stdio-common/tst-gets.c: Likewise.
2372 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2374 * posix/glob: Remove directory.
2376 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2378 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2380 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2382 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2383 of the non-standard EPFNOSUPPORT.
2385 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2387 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2388 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2389 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2391 2012-01-21 Ulrich Drepper <drepper@gmail.com>
2393 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2395 2012-01-20 Ulrich Drepper <drepper@gmail.com>
2397 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2399 * nscd/grpcache.c (cache_addgr): Likewise.
2400 * nscd/hstcache.c (cache_addhst): Likewise.
2401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2402 * nscd/pwdcache.c (cache_addpw): Likewise.
2403 * nscd/servicescache.c (cache_addserv): Likewise.
2405 2012-01-16 Ulrich Drepper <drepper@gmail.com>
2407 * malloc/malloc.c: Various cleanups.
2408 * malloc/hooks.c: Likewise.
2410 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2411 * stdlib/bug-fmtmsg1.c: New file.
2413 * stdlib/fmtmsg.c (init): Add missing unlock.
2414 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2416 2012-01-12 Marek Polacek <polacek@redhat.com>
2418 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2421 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2423 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2424 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2425 macro to ensure uniqueness of label name.
2426 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2427 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2429 2012-01-11 Ulrich Drepper <drepper@gmail.com>
2431 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2433 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2434 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2438 2012-01-10 Ulrich Drepper <drepper@gmail.com>
2440 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2442 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2443 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2444 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2446 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2448 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2449 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2453 * math/bits/math-finite.h: Add ldexp support.
2455 2012-01-10 Marek Polacek <polacek@redhat.com>
2457 * locale/programs/localedef.h (show_archive_content): Add noreturn
2460 2012-01-09 Ulrich Drepper <drepper@gmail.com>
2462 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2464 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2466 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2468 * io/Makefile (headers): Add bits/poll2.h.
2470 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2473 typo #include statement.
2475 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2477 * include/sys/cdefs.h: Define __attribute_alloc_size.
2478 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2479 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2480 * elf/pldd.c: Likewise.
2481 * iconv/iconv_charmap.c: Likewise.
2482 * iconv/iconvconfig.c: Likewise.
2483 * iconv/strtab.c: Likewise.
2484 * locale/programs/locale.c: Likewise.
2485 * locale/programs/localedef.h: Likewise.
2486 * locale/programs/simple-hash.c: Likewise.
2487 * nscd/nscd.h: Likewise.
2488 * nss/makedb.c: Likewise.
2489 * sysdeps/generic/ldconfig.h: Likewise.
2490 * locale/programs/localedef.c: Remove xmalloc prototype.
2491 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2493 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2495 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2498 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2500 * math/Makefile (tests): Add tst-CMPLX.
2501 * math/tst-CMPLX.c: New file.
2503 * math/complex.h (CMPLXL): Fix typo.
2505 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2506 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2508 * debug/tst-chk1.c: Add poll and ppoll tests.
2509 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2510 * include/sys/poll.h: Add hidden proto for ppoll.
2511 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2512 * sysdeps/mach/hurd/ppoll.c: Likewise.
2513 * io/ppoll.c: Likewise.
2514 * debug/poll_chk.c: New file.
2515 * debug/ppoll_chk.c: New file.
2516 * include/bits/poll2.h: New file.
2517 * io/bits/poll2.h: New file.
2520 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2522 * configure.in: static is always set to yes. Remove.
2523 * config.make.in: Don't set build-static.
2524 * Makeconfig: Remove use of build-static.
2525 * dlfcn/Makefile: Likewise.
2526 * elf/Makefile: Likewise.
2527 * math/Makefile: Likewise.
2528 * misc/Makefile: Likewise.
2529 * nptl/Makefile: Likewise.
2530 * sysdeps/mach/hurd/Makefile: Likewise.
2532 * configure.in: PWD_P is not used anymore.
2533 * config.make.in: Remove PWD_P entry.
2535 * configure.in: Remove last remnants of RANLIB.
2536 No need to check for signed size_t anymore.
2537 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2539 Remove __builtin_expect test because we require at least gcc 3.4.
2540 * aclocal.m4: Likewise.
2542 * wcsmbs/mbrtoc16.c: Implement using towc function.
2543 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2544 * wcsmbs/wcsmbsload.c: Likewise.
2545 * iconv/gconv_simple.c: Likewise.
2546 * iconv/gconv_int.h: Likewise.
2547 * iconv/gconv_builtin.h: Likewise.
2548 * iconv/iconv_prog.c: Remove CHAR16 handling.
2550 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2552 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2554 * configure.in: Remove --with-elf and --enable-bounded options.
2555 Dont set base_machine for ia64. More non-ELF conditions removed.
2556 Remove testing and setting of leading underscore information.
2557 * config.make.in (build-bounded): Set to no.
2558 * config.h.in: Remove NO_UNDERSCORES entry.
2559 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2561 * csu/start.c: Remove !NO_UNDERSCORE code.
2562 * locale/localeinfo.h: Likewise.
2563 * sysdeps/generic/machine-gmon.h: Likewise.
2564 * sysdeps/generic/sysdep.h: Likewise.
2565 * sysdeps/i386/sysdep.h: Likewise.
2566 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2567 * sysdeps/mach/sysdep.h: Likewise.
2568 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2570 * sysdeps/sh/sysdep.h: Likewise.
2571 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2572 * sysdeps/unix/i386/sysdep.S: Likewise.
2573 * sysdeps/unix/sparc/start.c: Likewise.
2574 * sysdeps/unix/sparc/sysdep.S: Likewise.
2575 * sysdeps/unix/sparc/sysdep.h: Likewise.
2576 * sysdeps/unix/start.c: Likewise.
2577 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2578 * sysdeps/x86_64/sysdep.h: Likewise.
2580 2012-01-07 Ulrich Drepper <drepper@gmail.com>
2583 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2585 * argp/argp-fmtstream.h: Use const instead __const.
2586 * argp/argp.h: Likewise.
2587 * assert/assert.h: Likewise.
2588 * bits/fenv.h: Likewise.
2589 * bits/sched.h: Likewise.
2590 * bits/sigset.h: Likewise.
2591 * bits/sigthread.h: Likewise.
2592 * catgets/nl_types.h: Likewise.
2593 * conform/data/pthread.h-data: Likewise.
2594 * crypt/crypt-private.h: Likewise.
2595 * crypt/crypt.h: Likewise.
2596 * crypt/crypt_util.c: Likewise.
2597 * ctype/ctype.h: Likewise.
2598 * debug/execinfo.h: Likewise.
2599 * debug/mbsnrtowcs_chk.c: Likewise.
2600 * debug/mbsrtowcs_chk.c: Likewise.
2601 * debug/wcsnrtombs_chk.c: Likewise.
2602 * debug/wcsrtombs_chk.c: Likewise.
2603 * debug/wcstombs_chk.c: Likewise.
2604 * dirent/dirent.h: Likewise.
2605 * dlfcn/dlfcn.h: Likewise.
2606 * elf/neededtest4.c: Likewise.
2607 * grp/grp.h: Likewise.
2608 * gshadow/gshadow.h: Likewise.
2609 * iconv/gconv.h: Likewise.
2610 * iconv/gconv_int.h: Likewise.
2611 * iconv/gconv_simple.c: Likewise.
2612 * iconv/iconv.h: Likewise.
2613 * iconv/loop.c: Likewise.
2614 * iconv/skeleton.c: Likewise.
2615 * include/aio.h: Likewise.
2616 * include/aliases.h: Likewise.
2617 * include/argz.h: Likewise.
2618 * include/arpa/inet.h: Likewise.
2619 * include/assert.h: Likewise.
2620 * include/dirent.h: Likewise.
2621 * include/dlfcn.h: Likewise.
2622 * include/execinfo.h: Likewise.
2623 * include/fcntl.h: Likewise.
2624 * include/fenv.h: Likewise.
2625 * include/glob.h: Likewise.
2626 * include/grp.h: Likewise.
2627 * include/libintl.h: Likewise.
2628 * include/mntent.h: Likewise.
2629 * include/netdb.h: Likewise.
2630 * include/pwd.h: Likewise.
2631 * include/rpc/netdb.h: Likewise.
2632 * include/sched.h: Likewise.
2633 * include/search.h: Likewise.
2634 * include/shadow.h: Likewise.
2635 * include/signal.h: Likewise.
2636 * include/stdio.h: Likewise.
2637 * include/stdlib.h: Likewise.
2638 * include/string.h: Likewise.
2639 * include/sys/socket.h: Likewise.
2640 * include/sys/stat.h: Likewise.
2641 * include/sys/statfs.h: Likewise.
2642 * include/sys/statvfs.h: Likewise.
2643 * include/sys/syslog.h: Likewise.
2644 * include/sys/time.h: Likewise.
2645 * include/sys/uio.h: Likewise.
2646 * include/time.h: Likewise.
2647 * include/unistd.h: Likewise.
2648 * include/utmp.h: Likewise.
2649 * include/wchar.h: Likewise.
2650 * include/wctype.h: Likewise.
2651 * inet/aliases.h: Likewise.
2652 * inet/arpa/inet.h: Likewise.
2653 * inet/netinet/ether.h: Likewise.
2654 * inet/netinet/in.h: Likewise.
2655 * intl/libintl.h: Likewise.
2656 * io/bits/fcntl2.h: Likewise.
2657 * io/fcntl.h: Likewise.
2658 * io/ftw.h: Likewise.
2659 * io/sys/poll.h: Likewise.
2660 * io/sys/stat.h: Likewise.
2661 * io/sys/statfs.h: Likewise.
2662 * io/sys/statvfs.h: Likewise.
2663 * io/utime.h: Likewise.
2664 * libio/bits/stdio.h: Likewise.
2665 * libio/bits/stdio2.h: Likewise.
2666 * libio/libio.h: Likewise.
2667 * libio/libioP.h: Likewise.
2668 * libio/stdio.h: Likewise.
2669 * locale/lc-ctype.c: Likewise.
2670 * locale/locale.h: Likewise.
2671 * login/utmp.h: Likewise.
2672 * malloc/arena.c: Likewise.
2673 * malloc/malloc.c: Likewise.
2674 * malloc/malloc.h: Likewise.
2675 * malloc/mcheck.c: Likewise.
2676 * malloc/mtrace.c: Likewise.
2677 * math/bits/mathcalls.h: Likewise.
2678 * math/fenv.h: Likewise.
2679 * math/math_private.h: Likewise.
2680 * misc/bits/error.h: Likewise.
2681 * misc/bits/syslog.h: Likewise.
2682 * misc/err.h: Likewise.
2683 * misc/error.h: Likewise.
2684 * misc/fstab.h: Likewise.
2685 * misc/mntent.h: Likewise.
2686 * misc/regexp.h: Likewise.
2687 * misc/search.h: Likewise.
2688 * misc/sgtty.h: Likewise.
2689 * misc/sys/mman.h: Likewise.
2690 * misc/sys/syslog.h: Likewise.
2691 * misc/sys/uio.h: Likewise.
2692 * misc/sys/xattr.h: Likewise.
2693 * misc/ttyent.h: Likewise.
2694 * nis/rpcsvc/ypclnt.h: Likewise.
2695 * nss/nss.h: Likewise.
2696 * posix/bits/unistd.h: Likewise.
2697 * posix/fnmatch.h: Likewise.
2698 * posix/glob.h: Likewise.
2699 * posix/sched.h: Likewise.
2700 * posix/spawn.h: Likewise.
2701 * posix/sys/wait.h: Likewise.
2702 * posix/unistd.h: Likewise.
2703 * posix/wordexp.h: Likewise.
2704 * pwd/pwd.h: Likewise.
2705 * resolv/netdb.h: Likewise.
2706 * resource/sys/resource.h: Likewise.
2707 * rt/aio.h: Likewise.
2708 * rt/bits/mqueue2.h: Likewise.
2709 * rt/mqueue.h: Likewise.
2710 * shadow/shadow.h: Likewise.
2711 * signal/signal.h: Likewise.
2712 * socket/send.c: Likewise.
2713 * socket/sendto.c: Likewise.
2714 * socket/sys/socket.h: Likewise.
2715 * stdio-common/printf.h: Likewise.
2716 * stdlib/bits/stdlib.h: Likewise.
2717 * stdlib/fmtmsg.h: Likewise.
2718 * stdlib/monetary.h: Likewise.
2719 * stdlib/stdlib.h: Likewise.
2720 * stdlib/ucontext.h: Likewise.
2721 * streams/stropts.h: Likewise.
2722 * string/argz.h: Likewise.
2723 * string/bits/string2.h: Likewise.
2724 * string/string.h: Likewise.
2725 * string/strings.h: Likewise.
2726 * sunrpc/rpc/auth.h: Likewise.
2727 * sunrpc/rpc/auth_des.h: Likewise.
2728 * sunrpc/rpc/clnt.h: Likewise.
2729 * sunrpc/rpc/netdb.h: Likewise.
2730 * sunrpc/rpc/pmap_clnt.h: Likewise.
2731 * sunrpc/rpc/xdr.h: Likewise.
2732 * sysdeps/generic/inttypes.h: Likewise.
2733 * sysdeps/generic/net/if.h: Likewise.
2734 * sysdeps/generic/sys/swap.h: Likewise.
2735 * sysdeps/gnu/net/if.h: Likewise.
2736 * sysdeps/gnu/utmpx.h: Likewise.
2737 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2738 * sysdeps/i386/i486/bits/string.h: Likewise.
2739 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2740 * sysdeps/s390/bits/string.h: Likewise.
2741 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2742 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2743 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2744 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2745 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2746 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2747 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2748 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2749 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2750 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2751 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2752 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2753 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2754 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2755 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2759 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2762 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2763 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2765 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2766 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2767 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2769 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2770 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2771 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2772 * sysvipc/sys/ipc.h: Likewise.
2773 * sysvipc/sys/msg.h: Likewise.
2774 * sysvipc/sys/sem.h: Likewise.
2775 * sysvipc/sys/shm.h: Likewise.
2776 * termios/termios.h: Likewise.
2777 * time/sys/time.h: Likewise.
2778 * time/time.h: Likewise.
2779 * wcsmbs/bits/wchar2.h: Likewise.
2780 * wcsmbs/uchar.h: Likewise.
2781 * wcsmbs/wchar.h: Likewise.
2782 * wctype/wctype.h: Likewise.
2785 * Makeconfig: Remove all but ELF support including AIX support.
2786 * Makerules: Likewise.
2787 * config.h.in: Likewise.
2788 * config.make.in: Likewise.
2789 * configure: Likewise.
2790 * configure.in: Likewise.
2791 * csu/Makefile: Likewise.
2792 * csu/version.c: Likewise.
2793 * debug/Makefile: Likewise.
2794 * dlfcn/Makefile: Likewise.
2795 * elf/Makefile: Likewise.
2796 * extra-lib.mk: Likewise.
2797 * iconv/Makefile: Likewise.
2798 * include/libc-symbols.h: Likewise.
2799 * include/shlib-compat.h: Likewise.
2800 * resolv/Makefile: Likewise.
2801 * resolv/res_libc.c: Likewise.
2802 * rt/Makefile: Likewise.
2803 * sysdeps/i386/asm-syntax.h: Likewise.
2804 * sysdeps/i386/sysdep.h: Likewise.
2805 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2806 * sysdeps/mach/sysdep.h: Likewise.
2807 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2808 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2809 * sysdeps/s390/asm-syntax.h: Likewise.
2810 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2812 * sysdeps/sh/sysdep.h: Likewise.
2813 * sysdeps/unix/sparc/sysdep.h: Likewise.
2814 * sysdeps/wordsize-32/divdi3.c: Likewise.
2815 * sysdeps/x86_64/sysdep.h: Likewise.
2817 * argp/Versions: Remove _argp_unlock_xxx.
2820 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2821 * abilist/libBrokenLocale.abilist: Likewise.
2822 * abilist/libanl.abilist: Likewise.
2823 * abilist/libc.abilist: Likewise.
2824 * abilist/libcrypt.abilist: Likewise.
2825 * abilist/libdl.abilist: Likewise.
2826 * abilist/libm.abilist: Likewise.
2827 * abilist/libnsl.abilist: Likewise.
2828 * abilist/libpthread.abilist: Likewise.
2829 * abilist/libresolv.abilist: Likewise.
2830 * abilist/librt.abilist: Likewise.
2831 * abilist/libthread_db.abilist: Likewise.
2832 * abilist/libutil.abilist: Likewise.
2833 * abilist/libnss_db.abilist: New file.
2835 * scripts/abilist.awk: Add support for indirect functions.
2837 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2839 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2841 * shlib-versions: Remove entries for ports architectures.
2843 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2845 * elf/stackguard-macros.h: Remove support for IA-64.
2846 * elf/tst-auditmod1.c: Likewise.
2847 * sysdeps/generic/ldsodefs.h: Likewise.
2849 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2850 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2854 * configure.in: Remove --enable-omitfp support.
2856 * config.make.in: Likewise.
2857 * Makeconfig: Likewise.
2858 * manual/install.texi: Likewise.
2860 In case anyone cares, the IA-64 architecture could move to ports.
2861 * sysdeps/ia64/*: Removed.
2862 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2863 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2866 * configure.in: Remove entries for unsupported architectures.
2869 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2870 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2872 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2873 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2874 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2875 fall back to using wcrtomb.
2876 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2877 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2879 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2880 * wcsmbs/tst-c16c32-1.c: New file.
2882 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2885 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2887 * elf/tst-unique3.cc: Add explicit declaration of gets.
2888 * elf/tst-unique3lib.cc: Likewise.
2889 * elf/tst-unique3lib2.cc: Likewise.
2890 * elf/tst-unique4.cc: Likewise.
2892 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2894 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2897 * assert/assert.h (static_assert): Don't define for C++.
2898 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2899 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2901 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2903 * iconv/loop.c (single loop): Fix assertion in storing of
2906 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2908 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2910 * posix/getconf.c: Update copyright year.
2911 * nss/getent.c: Likewise.
2912 * nss/makedb.c: Likewise.
2913 * iconv/iconvconfig.c: Likewise.
2914 * iconv/iconv_prog.c: Likewise.
2915 * elf/ldconfig.c: Likewise.
2916 * elf/pldd.c: Likewise.
2917 * elf/sotruss.ksh: Likewise.
2918 * catgets/gencat.c: Likewise.
2919 * csu/version.c: Likewise.
2920 * elf/ldd.bash.in: Likewise.
2921 * elf/sprof.c (print_version): Likewise.
2922 * locale/programs/locale.c: Likewise.
2923 * locale/programs/localedef.c: Likewise.
2924 * login/programs/pt_chown.c: Likewise.
2925 * nscd/nscd.c (print_version): Likewise.
2926 * debug/xtrace.sh: Likewise.
2927 * malloc/memusage.sh: Likewise.
2928 * malloc/mtrace.pl: Likewise.
2929 * debug/catchsegv.sh: Likewise.
2931 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2933 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2936 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2939 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2940 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2942 * iconv/gconv_int.h: Likewise.
2943 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2944 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2945 from libc for GLIBC_2.16.
2946 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2947 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2948 * wcsmbs/uchar.h: Really define mbstate_t.
2949 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2950 * wcsmbs/c16rtomb.c: New file.
2951 * wcsmbs/mbrtoc16.c: New file.
2952 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2954 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2955 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2957 * wcsmbs/wchar.h: Add missing __restrict.
2959 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2962 * time/Makefile (routines): Add timespec_get.
2963 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2964 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2965 timespec for ISO C11.
2966 * time/timespec_get.c: New file.
2967 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2968 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2971 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2972 * stdlib/stdlib.h: Declare aligned_alloc.
2973 * Versions.def: Add GLIBC_2.16 for libc.
2974 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2977 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2980 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2984 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2987 * assert/assert.h (static_assert): Define.
2989 * version.h: Update for 2.16 development version.
2992 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2995 * version.h (RELEASE): Bump for 2.15 release.
2996 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2998 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2999 Patch by Marek Polacek <mpolacek@redhat.com>.
3001 * bits/byteswap.h: Protect long long constants with __extension__.
3002 * sysdeps/i386/bits/byteswap.h: Likewise.
3003 * sysdeps/ia64/bits/byteswap.h: Likewise.
3004 * sysdeps/s390/bits/byteswap.h: Likewise.
3005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3007 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3012 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3014 2011-12-23 Marek Polacek <polacek@redhat.com>
3016 * elf/dl-addr.c (determine_info): Add inline keyword.
3017 * elf/tst-auditmod4b.c (check_avx): Likewise.
3018 * elf/tst-auditmod6b.c (check_avx): Likewise.
3019 * elf/tst-auditmod6c.c (check_avx): Likewise.
3020 * elf/tst-auditmod7b.c (check_avx): Likewise.
3022 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3024 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3027 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3030 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3031 processing for last bytes.
3033 2011-08-06 Bruno Haible <bruno@clisp.org>
3036 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3037 U+0385, not to U+1FEE.
3040 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3041 entry for U+00A5 U+0301.
3043 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3046 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3047 buffer for the output is too small.
3049 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3053 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3054 SSE flags if possible.
3056 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3060 processing for last bytes.
3062 2011-12-22 Joseph Myers <joseph@codesourcery.com>
3064 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3065 (syscall-list-default-options, syscall-list-default-condition)
3066 (syscall-list-includes): Define.
3067 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3068 list of ABIs and options and #if conditions for each ABI. Do not
3069 handle common syscalls between ABIs specially.
3070 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3072 (syscall-list-variants, syscall-list-32bit-options)
3073 (syscall-list-32bit-condition, syscall-list-64bit-options)
3074 (syscall-list-64bit-condition): Define.
3075 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3076 (syscall-list-variants, syscall-list-32bit-options)
3077 (syscall-list-32bit-condition, syscall-list-64bit-options)
3078 (syscall-list-64bit-condition): Define.
3079 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3081 (syscall-list-variants, syscall-list-32bit-options)
3082 (syscall-list-32bit-condition, syscall-list-64bit-options)
3083 (syscall-list-64bit-condition): Define.
3084 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3086 (syscall-list-variants, syscall-list-32bit-options)
3087 (syscall-list-32bit-condition, syscall-list-64bit-options)
3088 (syscall-list-64bit-condition): Define.
3090 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3092 * locale/iso-639.def: Add brx entry.
3095 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3096 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3098 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3099 __feraiseexcept_renamed.
3101 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3104 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3105 EPOLLET with unsigned values.
3106 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3109 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3110 to large cancellation.
3111 * math/s_cacoshf.c: Likewise.
3112 * math/s_cacoshl.c: Likewise.
3114 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3118 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3119 * math/s_cacoshf.c: Likewise.
3120 * math/s_cacoshl.c: Likewise.
3122 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3125 * iconv/gconv.h: Define __GCONV_SWAP.
3126 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3127 * iconvdata/utf-16.c: Likewise.
3128 * iconvdata/utf-32.c: Likewise.
3130 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3134 numerator after shifting it by one limb.
3136 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3138 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3139 under [__USE_EXTERN_INLINES].
3141 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3144 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3146 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3149 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3151 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3152 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3153 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3154 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3155 for strncasecmp/strncasecmp_l compilation.
3156 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3157 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3159 2011-12-08 Marek Polacek <mpolacek@redhat.com>
3162 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3165 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3168 * time/tzfile.c (__tzfile_read): Check values from file header.
3170 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3172 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3173 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3174 * powerpc/powerpc32/dl-start.S: Likewise.
3175 * powerpc/powerpc32/elf/start.S: Likewise.
3176 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3177 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3178 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3179 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3180 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3181 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3182 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3183 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3184 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3185 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3186 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3187 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3188 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3189 * powerpc/powerpc32/memset.S: Likewise.
3190 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3191 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3192 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3193 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3194 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3195 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3196 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3197 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3198 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3199 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3200 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3201 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3202 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3204 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3206 * math/libm-test.inc: Added more nearbyint tests.
3207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3208 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3210 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3212 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3214 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3217 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3219 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3220 Add wcscpy-ssse3 wcscpy-c.
3221 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3222 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3223 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3224 * sysdeps/x86_64/wcschr.S: New file.
3225 * sysdeps/x86_64/wcsrchr.S: New file.
3226 * string/test-strcmp.c: Remove checking of wcscmp function for
3228 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3229 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3230 wcsrchr-sse2 wcsrchr-c.
3231 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3232 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3233 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3234 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3235 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3236 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3237 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3238 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3239 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3240 * wcsmbc/wcschr.c (WCSCHR): New macro.
3242 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3244 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3245 * wcsmbs/test-wcsrchr.c: New file.
3246 * string/test-strrchr.c: Add wcsrchr support.
3248 * wcsmbs/test-wcscpy.c: New file.
3249 * string/test-strcpy.c: Add wcscpy support.
3252 2011-12-10 Ulrich Drepper <drepper@gmail.com>
3254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3257 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3260 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3262 2011-12-04 Ulrich Drepper <drepper@gmail.com>
3264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3265 Minor optimizations.
3267 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3268 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3269 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3271 2011-12-03 Ulrich Drepper <drepper@gmail.com>
3273 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3274 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3275 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3276 for gcc to avoid warnings.
3277 * inet/Makefile (tests): Add tst-checks.
3278 * inet/tst-checks.c: New file.
3280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3283 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3286 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3287 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3289 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3291 2011-12-02 Ulrich Drepper <drepper@gmail.com>
3293 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3296 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3298 2011-11-29 Joseph Myers <joseph@codesourcery.com>
3300 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3301 conditional on GCC version.
3302 (__arch_compare_and_exchange_val_8_acq)
3303 (__arch_compare_and_exchange_val_16_acq)
3304 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3305 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3306 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3308 2011-12-02 Joseph Myers <joseph@codesourcery.com>
3310 * sysdeps/sh/backtrace.c: New file.
3312 2011-12-02 Andreas Schwab <schwab@redhat.com>
3314 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3317 2011-12-01 Andreas Schwab <schwab@redhat.com>
3319 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3320 falling back to utime.
3322 2011-11-30 Andreas Schwab <schwab@redhat.com>
3324 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3325 expectations for float.
3327 2011-11-29 Andreas Schwab <schwab@redhat.com>
3329 * locale/weight.h (findidx): Add parameter len.
3330 * locale/weightwc.h (findidx): Likewise.
3331 * posix/fnmatch_loop.c (FCT): Adjust caller.
3332 * posix/regcomp.c (build_equiv_class): Likewise.
3333 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3334 * posix/regexec.c (check_node_accept_bytes): Likewise.
3335 * string/strcoll_l.c (STRCOLL): Likewise.
3336 * string/strxfrm_l.c (STRXFRM): Likewise.
3338 2011-11-17 Ulrich Drepper <drepper@gmail.com>
3340 * Makefile.in: Remove CVSOPT handling.
3341 * configure.in: Remove use of AC_REVISION.
3342 * iconvdata/Makefile (distribute): No need to filter out CVS.
3343 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3346 2011-11-16 Andreas Schwab <schwab@redhat.com>
3348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3349 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3350 [USE_AS_STRNCASECMP_L]: Likewise.
3351 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3352 NO_TLS_DIRECT_SEG_REFS.
3353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3354 Fix argument offsets for non-PIC.
3355 [USE_AS_STRNCASECMP_L]: Likewise.
3356 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3357 NO_TLS_DIRECT_SEG_REFS.
3359 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3361 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3363 * locale/loadlocale.c (_nl_load_locale): Likewise.
3365 2011-11-15 Andreas Schwab <schwab@redhat.com>
3367 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3368 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3369 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3370 (SYSCALL_GETTIME): Set errno on error.
3372 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3373 count references to noai6ai_cached.
3375 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3377 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3379 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3380 FD_CLOEXEC for /proc/self/maps.
3382 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3383 FD_CLOEXEC for /proc/meminfo.
3385 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3388 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3389 FD_CLOEXEC for given file.
3391 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3393 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3394 FD_CLOEXEC for /etc/hosts.
3395 (_gethtent): Likewise.
3397 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3399 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3400 cancellation and set FD_CLOEXEC for /etc/netgroup.
3402 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3403 reading /etc/publickey.
3405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3406 allow cancellation when reading /etc/group.
3408 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3410 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3412 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3413 when using data file.
3415 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3417 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3418 (write_nis_obj): Use "c" and "e" in fopen.
3420 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3422 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3424 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3426 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3428 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3431 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3433 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3435 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3437 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3438 file parsing and set FD_CLOEXEC.
3440 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3442 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3444 2011-11-14 Andreas Schwab <schwab@redhat.com>
3446 * malloc/arena.c (arena_get2): Don't call reused_arena when
3447 _int_new_arena failed.
3449 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3451 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3452 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3457 to compile strcasecmp and strncasecmp.
3458 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3459 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3463 2011-11-13 Ulrich Drepper <drepper@gmail.com>
3465 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3466 locale-defines.sym to gen-as-const-headers.
3467 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3468 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3470 to compile strcasecmp and strncasecmp.
3471 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3472 strcasecmp_l and strncasecmp_l.
3473 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3474 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3475 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3477 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3478 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3479 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3480 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3481 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3482 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3483 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3485 2011-11-12 Ulrich Drepper <drepper@gmail.com>
3487 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3488 result of SYSDEP_GETTIME_CPU to retval.
3489 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3490 parameter list to macro. Remove trailing semicolon. Adjust users.
3492 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3495 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3497 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3499 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3500 from unused variable.
3502 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3504 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3507 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3510 * sunrpc/rpc_prot.c (rejected): Fix case value.
3512 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3513 unsigned long long int to avoid warnings in shift.
3515 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3517 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3520 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3521 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3522 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3524 * nis/nis_table.c (nis_list): Use variable of correct type for
3525 result of __follow_path call.
3527 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3530 of math functions ceil, trunc, floor, round, and sqrt, when
3531 avaliable on the platform.
3532 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3535 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3536 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3538 2011-10-30 Marek Polacek <mpolacek@redhat.com>
3540 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3543 2011-11-11 Roland McGrath <roland@hack.frob.com>
3545 * include/unistd.h: Fix __readlink return type.
3546 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3548 2011-11-11 Ulrich Drepper <drepper@gmail.com>
3550 * stdlib/ucontext.h: Undo last change for makecontext.
3552 2011-11-11 Andreas Schwab <schwab@redhat.com>
3554 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3556 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3557 * setjmp/setjmp.h: Mark functions as non-leaf.
3558 * setjmp/bits/setjmp2.h: Likewise.
3559 * stdlib/ucontext.h: Likewise.
3561 2011-11-10 Andreas Schwab <schwab@redhat.com>
3563 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3564 (reused_arena): Don't check arena limit.
3565 (arena_get2): Atomically check arena limit.
3567 2011-11-08 Ulrich Drepper <drepper@gmail.com>
3569 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3570 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3575 2011-11-07 Andreas Schwab <schwab@redhat.com>
3577 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3578 handler when locking.
3580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3581 Fix size of allocated buffer.
3583 2011-11-04 Andreas Schwab <schwab@redhat.com>
3586 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3587 declarations for long double functions.
3588 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3590 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3592 2011-11-03 Andreas Schwab <schwab@redhat.com>
3594 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3597 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3600 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3602 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3604 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3606 * include/alloca.h (stackinfo_alloca_round): Define.
3607 (extend_alloca): Use it.
3608 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3609 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3612 * scripts/check-local-headers.sh: Ignore libaudit.h.
3614 * nscd/Makefile (extra-objs): Make recursively expanded.
3616 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3618 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3621 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3622 * posix/tst-rfc3484-2.c: Likewise.
3623 * posix/tst-rfc3484-3.c: Likewise.
3625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3627 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3629 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3630 process_vm_writev from libc using GLIBC_2.15 version.
3632 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3634 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3636 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3639 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3642 * nss/getent.c (initgroups_keys): Show error message in case no group
3645 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3646 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3647 __bump_nl_timestamp.
3648 * nscd/connections (nscd_init): When host database is served open
3649 netlink socket and request notification about configuration changes.
3650 (main_loop_poll): Track netlink file descriptor and bump timestamp
3651 in case data becomes available.
3652 (main_loop_epoll): Likewise.
3653 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3654 (database_pers_head): Add extra_data fileds.
3655 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3656 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3657 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3660 in6ai data, call __free_in6ai.
3661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3663 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3664 interface information. Reuse previous data if netlink timestamp
3666 (__bump_nl_timestamp): New function.
3667 (__free_in6ai): New function.
3669 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3671 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3672 close_not_cancel_no_status here.
3673 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3675 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3678 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3681 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3682 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3683 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3685 2011-07-03 Andreas Jaeger <aj@suse.de>
3688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3689 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3690 * math/libm-test.inc (sin_test): Add test case.
3692 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3695 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3696 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3698 * elf/chroot_canon.c (chroot_canon): Cleanups.
3700 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3703 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3704 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3706 * string/test-strchr.c: Make usable for strchrnul testing.
3707 * string/test-strchrnul.c: New file.
3708 * string/Makefile (strop-tests): Add strchrnul.
3710 * po/it.po: Update from translation team.
3711 * po/es.po: Likewise.
3713 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3716 the three constants needed as parameters. Drop the others.
3717 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3718 __m128i_strloadu_tolower.
3719 Create and initialize variable zero and use it in all the places
3720 where _mm_setzero_si128 was used.
3722 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3723 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3724 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3725 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3727 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3728 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3729 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3730 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3731 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3732 __mpranred, __mptan.
3733 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3734 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3735 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3736 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3737 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3738 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3739 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3740 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3741 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3743 2011-10-28 Andreas Schwab <schwab@redhat.com>
3745 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3747 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3750 wide char related routines to wcsmbs subdir.
3752 2011-10-27 Andreas Schwab <schwab@redhat.com>
3755 * misc/sys/cdefs.h (__THROWNL): Define.
3756 * posix/unistd.h: Use __THREADNL instead of __THREAD
3757 for memory synchronization functions.
3759 2011-10-26 Roland McGrath <roland@hack.frob.com>
3762 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3764 * manual/stdio.texi (Obstack Streams): Node removed.
3766 2011-10-26 Andreas Schwab <schwab@redhat.com>
3768 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3769 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3772 * math/math_private.h (math_force_eval): Allow non-addressable
3774 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3776 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3778 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3783 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3784 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3785 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3786 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3788 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3790 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3791 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3792 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3793 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3794 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3795 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3796 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3798 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3799 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3800 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3801 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3803 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3804 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3805 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3807 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3808 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3810 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3811 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3814 place. Use VEX encoding when compiling for AVX.
3816 2011-10-25 Andreas Schwab <schwab@redhat.com>
3818 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3819 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3821 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3823 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3825 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3826 useless if() expression.
3827 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3835 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3838 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3840 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3843 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3847 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3849 2011-10-25 Andreas Schwab <schwab@redhat.com>
3851 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3853 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3855 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3857 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3858 .text section. Avoid duplicate constants.
3859 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3869 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3871 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3876 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3882 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3883 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3884 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3885 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3886 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3891 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3892 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3895 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3896 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3898 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3901 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3903 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3905 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3907 * sysdeps/x86_64/dla.h: Move to ...
3908 * sysdeps/x86_64/fpu/dla.h: ...here.
3909 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3910 situations. Use __builtin_fma only for gcc 4.6 and up.
3912 * config.make.in: Add have-mfma4 entry.
3913 * configure.in: Substitute libc_cv_cc_fma4.
3914 * math/Makefile (dbl-only-routines): Add sincostab.
3915 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3916 Use __sincostab not sincos.
3917 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3924 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3925 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3926 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3927 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3930 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3932 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3933 define aliases when function name is a macro.
3934 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3935 sysdeps/ieee754/dbl-64/sincos.tbl.
3936 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3937 fma4-enabled routines.
3938 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3939 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3940 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3941 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3943 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3945 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3947 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3948 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3949 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3950 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3951 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3953 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3954 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3955 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3956 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3958 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3959 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3963 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3964 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3965 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3969 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3980 2011-10-24 Andreas Schwab <schwab@redhat.com>
3982 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3984 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3986 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3988 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3992 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3993 Remove unused variable magic_bits.
3994 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3996 * string/strnlen.c: Define and use STRNLEN macro.
3997 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3998 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4000 * wcsmbs/wcslen.c: Define and use WCSLEN.
4001 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4002 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4003 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4004 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4005 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4006 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4007 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4009 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4012 strnlen-sse2-no-bsf.
4013 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4015 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4016 Add strnlen support.
4017 (USE_AS_STRNLEN): New macro.
4018 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4019 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4020 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4021 * sysdeps/x86_64/wcslen.S: New file.
4023 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4025 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4026 XMM-moves are used for copying on small sizes.
4028 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4030 * wcsmbs/Makefile (strop-tests): Add wcschr.
4031 * wcsmbs/test-wcschr.c: New file.
4032 * string/test-strchr.c: Update.
4036 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4038 * wcsmbs/Makefile (strop-tests): Add wcslen.
4039 * wcsmbs/test-wcslen.c: New file.
4040 * string/test-strlen.c: Update.
4044 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4046 * po/it.po: Update from translation team.
4048 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4050 * sysdeps/x86_64/wcscmp.S: Update.
4051 Fix wrong comparison semantics.
4052 wcscmp shall use signed comparison not unsigned.
4053 Don't use substraction to avoid overflow bug.
4054 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4055 * wcsmbc/wcscmp.c: Likewise.
4056 * string/test-strcmp.c: Likewise.
4057 Add new tests to check cases with negative values.
4059 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4061 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4062 * sysdeps/x86_64/dla.h: ...here. New file.
4063 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4073 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4076 __ynl_finite aliases.
4078 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4082 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4084 [DLA_FMA] (EMULV): Use DLA_FMA.
4085 [DLA_FMA] (MUL12): Use EMULV.
4086 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4087 that are not needed.
4088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4096 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4098 * math/s_nan.c: Undef __nan.
4099 * math/s_nanf.c: Undef __nanf.
4100 * math/s_nanl.c: Undef __nanl.
4101 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4104 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4106 * math/s_catan.c: Add branch predictions.
4107 * math/s_catanf.c: Likewise.
4108 * math/s_catanh.c: Likewise.
4109 * math/s_catanhf.c: Likewise.
4110 * math/s_catanhl.c: Likewise.
4111 * math/s_catanl.c: Likewise.
4112 * math/s_cexp.c: Likewise.
4113 * math/s_cexpf.c: Likewise.
4114 * math/s_cexpl.c: Likewise.
4115 * math/s_clog.c: Likewise.
4116 * math/s_clog10.c: Likewise.
4117 * math/s_clog10f.c: Likewise.
4118 * math/s_clog10l.c: Likewise.
4119 * math/s_clogf.c: Likewise.
4120 * math/s_clogl.c: Likewise.
4121 * math/s_csqrt.c: Likewise.
4122 * math/s_csqrtf.c: Likewise.
4123 * math/s_csqrtl.c: Likewise.
4124 * math/s_ctanf.c: Likewise.
4125 * math/s_ctanh.c: Likewise.
4126 * math/s_ctanhf.c: Likewise.
4127 * math/s_ctanhl.c: Likewise.
4128 * math/s_ctanl.c: Likewise.
4130 * math/math_private.h: Define __nan, __nanf, __nanl.
4131 * math/s_cacosh.c: Include <math_private.h>.
4132 * math/s_cacoshl.c: Likewise.
4133 * math/s_casinh.c: Likewise.
4134 * math/s_casinhf.c: Likewise.
4135 * math/s_casinhl.c: Likewise.
4136 * math/s_ccos.c: Rely entire on ccosh.
4137 * math/s_ccosf.c: Rely entire on ccoshf.
4138 * math/s_ccosl.c: Rely entirely on ccoshl.
4139 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4140 Remove tests for FE_INVALID.
4141 * math/s_ccoshf.c: Likewise.
4142 * math/s_ccoshl.c: Likewise.
4143 * math/s_csin.c: Likewise.
4144 * math/s_csinf.c: Likewise.
4145 * math/s_csinh.c Likewise.
4146 * math/s_csinhf.c: Likewise.
4147 * math/s_csinhl.c: Likewise.
4148 * math/s_csinl.c: Likewise.
4149 * math/s_ctan.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4151 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4154 2011-10-21 Ulrich Drepper <drepper@gmail.com>
4156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4157 compilation problems.
4159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4162 2011-10-20 Ulrich Drepper <drepper@gmail.com>
4164 * sysdeps/i386/configure.in: Test for -mfma4 option.
4165 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4166 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4167 COMMON_CPUID_INDEX_80000001.
4168 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4169 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4170 use it if FMA3 is not supported.
4171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4173 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4174 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4176 2011-10-20 Andreas Schwab <schwab@redhat.com>
4179 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4180 it would create a cycle with a link time dependency.
4182 2011-10-19 Ulrich Drepper <drepper@gmail.com>
4184 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4186 * string/Makefile (strop-tests): Add rawmemchr.
4187 * string/test-rawmemchr.c: New file.
4189 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4191 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4192 when compiling str{,n}casecmp and when AVX is available. Hook up
4193 new optimized code in initializers.
4195 2011-10-19 Andreas Schwab <schwab@redhat.com>
4197 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4198 __feraiseexcept instead of feraiseexcept.
4200 2011-10-18 Ulrich Drepper <drepper@gmail.com>
4202 * math/math_private.h: Define defaults for libc_fetestexcept and
4204 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4205 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4206 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4207 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4209 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4210 libc_fetestexcept and libc_feupdateenv.
4212 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4213 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4214 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4215 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4216 libc_feholdexcept_setround.
4218 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4219 Add s_nearbyint-c and s_nearbyintf-c.
4220 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4222 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4223 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4224 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4225 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4227 * math/math_private.h: Define defaults for libc_fegetround,
4228 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4229 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4230 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4231 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4232 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4235 Remove comments and hacks for old compiler versions.
4236 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4237 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4240 2011-10-18 Andreas Schwab <schwab@redhat.com>
4242 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4243 (__feraiseexcept_renamed): Add __NTH.
4244 (feraiseexcept): Add __NTH. Rename local variables to fix
4245 namespace violations.
4247 2011-10-17 Ulrich Drepper <drepper@gmail.com>
4249 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4253 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4254 recently added interfaces.
4255 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4257 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4258 about macro parameter expansion.
4260 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4261 __NO_MATH_INLINES is defined. Cleanups.
4263 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4264 and __floorf is target has SSE4.1.
4265 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4266 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4267 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4268 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4270 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4274 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4276 2011-10-17 Andreas Schwab <schwab@redhat.com>
4278 * misc/sys/cdefs.h: Fix last change.
4280 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4283 2011-10-16 Ulrich Drepper <drepper@gmail.com>
4285 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4287 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4293 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4296 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4297 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4298 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4299 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4300 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4301 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4302 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4303 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4304 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4305 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4306 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4307 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4308 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4310 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4311 ceil, ceilf, floor, floorf.
4313 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4314 Perform IRELATIVE relocations last.
4316 * elf/do-rel.h: Add another parameter nrelative, replacing the
4317 local variable with the same name. Change name of the function
4318 to end in Rel or Rela (uppercase).
4319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4320 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4321 elf_dynamic_do_##reloc function.
4323 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4325 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4326 is sufficient, at least on modern CPUs.
4328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4330 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4331 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4333 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4335 * math/bits/math-finite.h: Add entries for exp.
4336 * math/e_expl.c: Add __*_finite alias.
4337 * sysdeps/i386/fpu/e_exp.S: Likewise.
4338 * sysdeps/i386/fpu/e_expf.S: Likewise.
4339 * sysdeps/i386/fpu/e_expl.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4341 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4344 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4345 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4346 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4348 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4349 is sufficient, at least on modern CPUs.
4351 * ctype/ctype-info.c (__ctype_init): Define.
4352 * include/ctype.h (__ctype_init): Declare.
4353 (__ctype_b_loc): The variable is always initialized.
4354 (__ctype_toupper_loc): Likewise.
4355 (__ctype_tolower_loc): Likewise.
4356 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4357 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4359 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4361 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4363 * configure.in: Also look in $cxxmachine/include for C++ system
4366 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4368 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4369 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4370 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4371 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4372 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4373 (USE_AS_WMEMCMP): New macro.
4375 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4376 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4377 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4378 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4380 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4381 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4383 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4384 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4385 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4386 (USE_AS_WMEMCMP): New macro.
4387 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4388 * sysdeps/string/test-memcmp.c: Update.
4391 * wcsmbs/wmemcmp.c: Update.
4392 (WMEMCMP): New macro.
4395 2011-10-12 Andreas Jaeger <aj@suse.de>
4398 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4400 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4402 * libio/iofwide.c (do_length): Avoid warning.
4404 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4406 2011-10-14 Ulrich Drepper <drepper@gmail.com>
4408 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4410 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4411 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4412 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4413 * sysdeps/i386/i686/fpu/e_log.S: New file.
4414 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4415 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4417 * ctype/ctype.h: Add support for inlined isXXX functions when
4420 2011-10-14 Andreas Schwab <schwab@redhat.com>
4422 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4424 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4426 2011-10-13 Roland McGrath <roland@hack.frob.com>
4429 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4431 2011-10-13 Andreas Schwab <schwab@redhat.com>
4433 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4434 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4437 * sysdeps/x86_64/memrchr.S: Check for zero size.
4439 * string/stratcliff.c: Add memrchr tests.
4441 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4444 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4445 rawmemchr-sse2 rawmemchr-sse2-bsf.
4446 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4447 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4448 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4449 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4450 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4451 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4452 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4453 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4454 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4455 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4456 * string/memrchr.c (MEMRCHR): New macro.
4458 2011-10-12 Ulrich Drepper <drepper@gmail.com>
4460 Add integration with gcc's -ffinite-math-only and optimize wrapper
4462 * Versions.def: Define GLIBC_2.15 version for libm.
4463 * math/Makefile (headers): Add bits/math-finite.h.
4464 * math/bits/math-finite.h: New file.
4465 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4466 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4467 * math/e_acoshl.c: Add __*_finite alias.
4468 * math/e_acosl.c: Likewise.
4469 * math/e_asinl.c: Likewise.
4470 * math/e_atan2l.c: Likewise.
4471 * math/e_atanhl.c: Likewise.
4472 * math/e_coshl.c: Likewise.
4473 * math/e_exp10.c: Likewise.
4474 * math/e_exp10f.c: Likewise.
4475 * math/e_exp10l.c: Likewise.
4476 * math/e_exp2l.c: Likewise.
4477 * math/e_fmodl.c: Likewise.
4478 * math/e_gammal_r.c: Likewise.
4479 * math/e_hypotl.c: Likewise.
4480 * math/e_j0l.c: Likewise.
4481 * math/e_j1l.c: Likewise.
4482 * math/e_jnl.c: Likewise.
4483 * math/e_lgammal_r.c: Likewise.
4484 * math/e_log10l.c: Likewise.
4485 * math/e_log2l.c: Likewise.
4486 * math/e_logl.c: Likewise.
4487 * math/e_powl.c: Likewise.
4488 * math/e_sinhl.c: Likewise.
4489 * math/e_sqrtl.c: Likewise.
4490 * math/e_scalb.c: Completely rewritten and optimized.
4491 * math/e_scalbf.c: Likewise.
4492 * math/e_scalbl.c: Likewise.
4493 * math/w_acos.c: Likewise.
4494 * math/w_acosf.c: Likewise.
4495 * math/w_acosl.c: Likewise.
4496 * math/w_acosh.c: Likewise.
4497 * math/w_acoshf.c: Likewise.
4498 * math/w_acoshl.c: Likewise.
4499 * math/w_asin.c: Likewise.
4500 * math/w_asinf.c: Likewise.
4501 * math/w_asinl.c: Likewise.
4502 * math/w_atan2.c: Likewise.
4503 * math/w_atan2f.c: Likewise.
4504 * math/w_atan2l.c: Likewise.
4505 * math/w_atanh.c: Likewise.
4506 * math/w_atanhf.c: Likewise.
4507 * math/w_atanhl.c: Likewise.
4508 * math/w_exp10.c: Likewise.
4509 * math/w_exp10f.c: Likewise.
4510 * math/w_exp10l.c: Likewise.
4511 * math/w_fmod.c: Likewise.
4512 * math/w_fmodf.c: Likewise.
4513 * math/w_fmodl.c: Likewise.
4514 * math/w_j0.c: Likewise.
4515 * math/w_j0f.c: Likewise.
4516 * math/w_j0l.c: Likewise.
4517 * math/w_j1.c: Likewise.
4518 * math/w_j1f.c: Likewise.
4519 * math/w_j1l.c: Likewise.
4520 * math/w_jn.c: Likewise.
4521 * math/w_jnf.c: Likewise.
4522 * math/w_log.c: Likewise.
4523 * math/w_logf.c: Likewise.
4524 * math/w_logl.c: Likewise.
4525 * math/w_log10.c: Likewise.
4526 * math/w_log10f.c: Likewise.
4527 * math/w_log10l.c: Likewise.
4528 * math/w_log2.c: Likewise.
4529 * math/w_log2f.c: Likewise.
4530 * math/w_log2l.c: Likewise.
4531 * math/w_pow.c: Likewise.
4532 * math/w_powf.c: Likewise.
4533 * math/w_powl.c: Likewise.
4534 * math/w_remainder.c: Likewise.
4535 * math/w_remainderf.c: Likewise.
4536 * math/w_remainderl.c: Likewise.
4537 * math/w_scalb.c: Likewise.
4538 * math/w_scalbf.c: Likewise.
4539 * math/w_scalbl.c: Likewise.
4540 * math/w_sqrt.c: Likewise.
4541 * math/w_sqrtf.c: Likewise.
4542 * math/w_sqrtl.c: Likewise.
4543 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4544 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4546 * math/math_private.h: Declare __kernel_standard_f.
4547 * math/w_cosh.c: Remove cruft and optimize a bit.
4548 * math/w_coshf.c: Likewise.
4549 * math/w_coshl.c: Likewise.
4550 * math/w_exp2.c: Likewise.
4551 * math/w_exp2f.c: Likewise.
4552 * math/w_exp2l.c: Likewise.
4553 * math/w_hypot.c: Likewise.
4554 * math/w_hypotf.c: Likewise.
4555 * math/w_hypotl.c: Likewise.
4556 * math/w_lgamma.c: Likewise.
4557 * math/w_lgamma_r.c: Likewise.
4558 * math/w_lgammaf.c: Likewise.
4559 * math/w_lgammaf_r.c: Likewise.
4560 * math/w_lgammal.c: Likewise.
4561 * math/w_lgammal_r.c: Likewise.
4562 * math/w_sinh.c: Likewise.
4563 * math/w_sinhf.c: Likewise.
4564 * math/w_sinhl.c: Likewise.
4565 * math/w_tgamma.c: Likewise.
4566 * math/w_tgammaf.c: Likewise.
4567 * math/w_tgammal.c: Likewise.
4568 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4570 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4571 Minor optimizations. Pretty printing. Remove cruft.
4572 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4573 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4574 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4575 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4576 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4577 * sysdeps/i386/fpu/e_asin.S: Likewise.
4578 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4579 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4580 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4581 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4583 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4585 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4586 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4587 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4588 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4589 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4590 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4591 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4592 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4593 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4594 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4595 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4596 * sysdeps/i386/fpu/e_log.S: Likewise.
4597 * sysdeps/i386/fpu/e_log10.S: Likewise.
4598 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4600 * sysdeps/i386/fpu/e_log2.S: Likewise.
4601 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4603 * sysdeps/i386/fpu/e_logf.S: Likewise.
4604 * sysdeps/i386/fpu/e_logl.S: Likewise.
4605 * sysdeps/i386/fpu/e_pow.S: Likewise.
4606 * sysdeps/i386/fpu/e_powf.S: Likewise.
4607 * sysdeps/i386/fpu/e_powl.S: Likewise.
4608 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4609 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4610 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4611 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4613 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4614 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4615 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4616 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4638 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4641 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4642 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4643 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4644 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4645 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4646 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4647 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4648 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4649 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4651 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4652 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4653 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4654 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4655 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4656 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4657 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4658 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4700 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4702 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4703 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4705 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4710 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4711 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4712 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4713 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4714 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4715 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4716 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4717 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4718 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4719 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4720 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4725 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4727 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4728 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4729 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4730 (__isnanf): Likewise.
4731 (__isinf_ns): Likewise.
4732 (__isinf_nsf): Likewise.
4733 (__finite): Likewise.
4734 (__finitef): Likewise.
4735 (__ieee754_sqrt): Define as macro.
4736 (__ieee754_sqrtf): Define as macro.
4737 (__ieee754_sqrtl): Define as macro.
4738 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4740 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4741 __FINITE_MATH_ONLY__ consistent.
4742 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4744 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4746 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4751 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4753 * po/ja.po: Update from translation team.
4755 2011-10-08 Roland McGrath <roland@hack.frob.com>
4757 * locale/programs/locarchive.c (prepare_address_space): New function.
4758 (create_archive, enlarge_archive, open_archive): Use it.
4760 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4761 inside [SHARED], where it is used.
4763 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4765 * nss/getent.c (netgroup_keys): Remove unused variable.
4766 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4768 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4770 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4771 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4773 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4774 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4775 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4776 * math/Makefile (libm-calls): Add s_isinf_ns.
4777 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4778 * math/multc3.c: Likewise.
4779 * math/s_casin.c: Likewise.
4780 * math/s_casinf.c: Likewise.
4781 * math/s_casinl.c: Likewise.
4782 * math/s_ccos.c: Likewise.
4783 * math/s_ccosf.c: Likewise.
4784 * math/s_ccosl.c: Likewise.
4785 * math/s_ctan.c: Likewise.
4786 * math/s_ctanf.c: Likewise.
4787 * math/s_ctanh.c: Likewise.
4788 * math/s_ctanhf.c: Likewise.
4789 * math/s_ctanhl.c: Likewise.
4790 * math/s_ctanl.c: Likewise.
4791 * math/w_fmod.c: Likewise.
4792 * math/w_fmodf.c: Likewise.
4793 * math/w_fmodl.c: Likewise.
4794 * math/w_remainder.c: Likewise.
4795 * math/w_remainderf.c: Likewise.
4796 * math/w_remainderl.c: Likewise.
4797 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4798 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4801 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4802 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4803 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4804 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4806 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4808 * stdio-common/printf_fphex.c: Likewise.
4809 * stdio-common/printf_size.c: Likewise.
4811 * math/e_exp10.c: Include math_private.h using <...> not "...".
4812 * math/e_exp10f.c: Likewise.
4813 * math/e_exp10l.c: Likewise.
4814 * math/e_exp2l.c: Likewise.
4815 * math/e_j0l.c: Likewise.
4816 * math/e_j1l.c: Likewise.
4817 * math/e_jnl.c: Likewise.
4818 * math/e_lgammal_r.c: Likewise.
4819 * math/e_rem_pio2l.c: Likewise.
4820 * math/e_scalb.c: Likewise.
4821 * math/e_scalbf.c: Likewise.
4822 * math/e_scalbl.c: Likewise.
4823 * math/k_cosl.c: Likewise.
4824 * math/k_sinl.c: Likewise.
4825 * math/k_tanl.c: Likewise.
4826 * math/s_cacoshf.c: Likewise.
4827 * math/s_catan.c: Likewise.
4828 * math/s_catanf.c: Likewise.
4829 * math/s_catanh.c: Likewise.
4830 * math/s_catanhf.c: Likewise.
4831 * math/s_catanhl.c: Likewise.
4832 * math/s_catanl.c: Likewise.
4833 * math/s_ccosh.c: Likewise.
4834 * math/s_ccoshf.c: Likewise.
4835 * math/s_ccoshl.c: Likewise.
4836 * math/s_cexp.c: Likewise.
4837 * math/s_cexpf.c: Likewise.
4838 * math/s_cexpl.c: Likewise.
4839 * math/s_clog.c: Likewise.
4840 * math/s_clog10.c: Likewise.
4841 * math/s_clog10f.c: Likewise.
4842 * math/s_clog10l.c: Likewise.
4843 * math/s_clogf.c: Likewise.
4844 * math/s_clogl.c: Likewise.
4845 * math/s_csin.c: Likewise.
4846 * math/s_csinf.c: Likewise.
4847 * math/s_csinh.c: Likewise.
4848 * math/s_csinhf.c: Likewise.
4849 * math/s_csinhl.c: Likewise.
4850 * math/s_csinl.c: Likewise.
4851 * math/s_csqrt.c: Likewise.
4852 * math/s_csqrtf.c: Likewise.
4853 * math/s_csqrtl.c: Likewise.
4854 * math/s_ctan.c: Likewise.
4855 * math/s_ctanf.c: Likewise.
4856 * math/s_ctanh.c: Likewise.
4857 * math/s_ctanhf.c: Likewise.
4858 * math/s_ctanhl.c: Likewise.
4859 * math/s_ctanl.c: Likewise.
4860 * math/s_ldexp.c: Likewise.
4861 * math/s_ldexpf.c: Likewise.
4862 * math/s_ldexpl.c: Likewise.
4863 * math/s_significand.c: Likewise.
4864 * math/s_significandf.c: Likewise.
4865 * math/s_significandl.c: Likewise.
4866 * math/w_acos.c: Likewise.
4867 * math/w_acosf.c: Likewise.
4868 * math/w_acosh.c: Likewise.
4869 * math/w_acoshf.c: Likewise.
4870 * math/w_acoshl.c: Likewise.
4871 * math/w_acosl.c: Likewise.
4872 * math/w_asin.c: Likewise.
4873 * math/w_asinf.c: Likewise.
4874 * math/w_asinl.c: Likewise.
4875 * math/w_atan2.c: Likewise.
4876 * math/w_atan2f.c: Likewise.
4877 * math/w_atan2l.c: Likewise.
4878 * math/w_atanh.c: Likewise.
4879 * math/w_atanhf.c: Likewise.
4880 * math/w_atanhl.c: Likewise.
4881 * math/w_cosh.c: Likewise.
4882 * math/w_coshf.c: Likewise.
4883 * math/w_coshl.c: Likewise.
4884 * math/w_dremf.c: Likewise.
4885 * math/w_exp10.c: Likewise.
4886 * math/w_exp10f.c: Likewise.
4887 * math/w_exp10l.c: Likewise.
4888 * math/w_exp2.c: Likewise.
4889 * math/w_exp2f.c: Likewise.
4890 * math/w_fmod.c: Likewise.
4891 * math/w_fmodf.c: Likewise.
4892 * math/w_fmodl.c: Likewise.
4893 * math/w_hypot.c: Likewise.
4894 * math/w_hypotf.c: Likewise.
4895 * math/w_hypotl.c: Likewise.
4896 * math/w_j0.c: Likewise.
4897 * math/w_j0f.c: Likewise.
4898 * math/w_j0l.c: Likewise.
4899 * math/w_j1.c: Likewise.
4900 * math/w_j1f.c: Likewise.
4901 * math/w_j1l.c: Likewise.
4902 * math/w_jn.c: Likewise.
4903 * math/w_jnf.c: Likewise.
4904 * math/w_jnl.c: Likewise.
4905 * math/w_lgamma.c: Likewise.
4906 * math/w_lgamma_r.c: Likewise.
4907 * math/w_lgammaf.c: Likewise.
4908 * math/w_lgammaf_r.c: Likewise.
4909 * math/w_lgammal.c: Likewise.
4910 * math/w_lgammal_r.c: Likewise.
4911 * math/w_log.c: Likewise.
4912 * math/w_log10.c: Likewise.
4913 * math/w_log10f.c: Likewise.
4914 * math/w_log10l.c: Likewise.
4915 * math/w_log2.c: Likewise.
4916 * math/w_log2f.c: Likewise.
4917 * math/w_log2l.c: Likewise.
4918 * math/w_logf.c: Likewise.
4919 * math/w_logl.c: Likewise.
4920 * math/w_pow.c: Likewise.
4921 * math/w_powf.c: Likewise.
4922 * math/w_powl.c: Likewise.
4923 * math/w_remainder.c: Likewise.
4924 * math/w_remainderf.c: Likewise.
4925 * math/w_remainderl.c: Likewise.
4926 * math/w_scalb.c: Likewise.
4927 * math/w_scalbf.c: Likewise.
4928 * math/w_scalbl.c: Likewise.
4929 * math/w_sinh.c: Likewise.
4930 * math/w_sinhf.c: Likewise.
4931 * math/w_sinhl.c: Likewise.
4932 * math/w_sqrt.c: Likewise.
4933 * math/w_sqrtf.c: Likewise.
4934 * math/w_sqrtl.c: Likewise.
4935 * math/w_tgamma.c: Likewise.
4936 * math/w_tgammaf.c: Likewise.
4937 * math/w_tgammal.c: Likewise.
4939 * po/ja.po: Update from translation team.
4941 2011-09-29 Andreas Jaeger <aj@suse.de>
4944 * sunrpc/netname.c (netname2host): Fix logic.
4948 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4950 * math/w_remainder.c (__remainder): Likewise.
4951 * math/w_remainderf.c (__remainderf): Likewise.
4952 * math/libm-test.inc (remainder_test): Add test cases.
4954 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4956 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4959 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4961 * string/test-memcmp.c: Avoid unncessary #defines.
4962 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4964 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4966 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4967 Use new sse2 version for core i3 - i7 as it's faster
4969 (bit_Prefer_PMINUB_for_stringop): New.
4970 * sysdeps/x86_64/rawmemchr.S: Update.
4971 Replace with faster SSE2 version.
4972 * sysdeps/x86_64/memrchr.S: New file.
4973 * sysdeps/x86_64/memchr.S: Update.
4974 Replace with faster SSE2 version.
4976 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4978 * elf/dl-load.c (lose): Add cast to avoid warning.
4980 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4982 * po/ca.po: Update from translation team.
4984 * inet/getnetgrent_r.c: Hook up nscd.
4985 * nscd/Makefile (routines): Add nscd_netgroup.
4986 (nscd-modules): Add netgroupcache.
4987 (CFLAGS-netgroupcache.c): Define.
4988 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4989 (cache_search): Add const to second parameter.
4990 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4992 (dbs): Add netgrdb entry.
4993 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4994 (verify_persistent_db): Handle netgrdb.
4995 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4996 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4998 (netgroup_response_header): Define.
4999 (innetgroup_response_header): Define.
5000 (datahead): Add netgroup_response_header and innetgroup_response_header
5002 * nscd/nscd.conf: Add entries for netgroup cache.
5003 * nscd/nscd.h (dbtype): Add netgrdb.
5004 (_PATH_NSCD_NETGROUP_DB): Define.
5005 (netgroup_iov_disabled): Declare.
5006 (xmalloc, xcalloc, xrealloc): Move declarations here.
5007 (cache_search): Adjust prototype.
5008 Add netgroup-related prototypes.
5009 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5010 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5011 (__nscd_innetgr): Declare.
5012 * nscd/selinux.c (perms): Use access_vector_t as element type and
5013 add netgroup-related initializers.
5014 * nscd/netgroupcache.c: New file.
5015 * nscd/nscd_netgroup.c: New file.
5016 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5017 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5018 For four parameters use innetgr.
5019 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5020 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5021 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5022 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5024 * nscd/connections.c (register_traced_file): Don't register file
5025 for disabled databases.
5027 2011-10-06 Ulrich Drepper <drepper@gmail.com>
5029 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5031 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5032 from tree and freeing node.
5034 2011-09-25 Jiri Olsa <jolsa@redhat.com>
5036 * nss/nsswitch.c (__nss_database_lookup): Handle
5037 nss_parse_service_list out of memory case.
5039 2011-09-15 Jiri Olsa <jolsa@redhat.com>
5041 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5044 2011-10-04 Andreas Schwab <schwab@redhat.com>
5046 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5047 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5049 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5050 elf_machine_rela, elf_machine_lazy_rel.
5051 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5052 (ELF_DYNAMIC_DO_REL): Likewise.
5053 (ELF_DYNAMIC_DO_RELA): Likewise.
5054 (ELF_DYNAMIC_RELOCATE): Likewise.
5055 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5056 to ELF_DYNAMIC_DO_REL.
5057 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5058 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5059 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5062 skip_ifunc, don't call ifunc function if non-zero.
5063 (elf_machine_rela): Likewise.
5064 (elf_machine_lazy_rel): Likewise.
5065 (elf_machine_lazy_rela): Likewise.
5066 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5067 (elf_machine_lazy_rel): Likewise.
5068 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5070 (elf_machine_lazy_rel): Likewise.
5071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5073 (elf_machine_lazy_rel): Likewise.
5074 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5075 (elf_machine_lazy_rel): Likewise.
5076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5077 (elf_machine_lazy_rel): Likewise.
5078 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5079 (elf_machine_lazy_rel): Likewise.
5080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5081 (elf_machine_lazy_rel): Likewise.
5082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5083 (elf_machine_lazy_rel): Likewise.
5084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5085 (elf_machine_lazy_rel): Likewise.
5087 2011-09-28 Ulrich Drepper <drepper@gmail.com>
5089 * nss/nss_files/files-init.c (_nss_files_init): Use static
5090 initialization for all the *_traced_file variables.
5092 2011-09-28 Andreas Schwab <schwab@redhat.com>
5094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5096 2011-09-27 Roland McGrath <roland@hack.frob.com>
5099 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5101 2011-09-27 Andreas Schwab <schwab@redhat.com>
5103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5104 Reread the line before reparsing it.
5106 2011-09-26 Andreas Schwab <schwab@redhat.com>
5108 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5110 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5111 Maxim Kuvyrkov <maxim@codesourcery.com>
5112 Joseph Myers <joseph@codesourcery.com>
5114 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5115 if needed for __stack_chk_guard.
5117 2011-09-19 Roland McGrath <roland@hack.frob.com>
5119 * sysdeps/posix/spawni.c (script_execute): Always define it.
5120 It will be optimized away if unused.
5121 (maybe_script_execute): New function.
5122 (__spawni): Call it.
5124 * Makerules: Don't include tls.make.
5125 (config-tls): Always set to thread.
5126 * tls.make.c: File removed.
5128 2011-09-19 Mike Frysinger <vapier@gentoo.org>
5130 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5131 * config.make.in (CPPFLAGS-config): New substituted variable.
5133 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5138 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5139 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5141 2011-09-15 Roland McGrath <roland@hack.frob.com>
5143 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5144 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5146 (CALL_FAIL): Likewise.
5147 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5148 (CALL_FAIL): Macro removed.
5149 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5151 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5153 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5154 for __FINITE_MATH_ONLY__ == 1.
5156 2011-09-15 Andreas Schwab <schwab@redhat.com>
5158 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5159 __ieee754_sqrt instead of sqrt.
5160 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5161 __ieee754_sqrtf instead of sqrtf.
5162 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5163 __floorf instead of floorf.
5164 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5165 __floorf, __truncf instead of floorf, truncf.
5167 2011-09-14 Ulrich Drepper <drepper@gmail.com>
5169 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5171 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5172 __extern_always_inline.
5173 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5176 2011-09-14 Andreas Schwab <schwab@redhat.com>
5178 * elf/rtld.c (dl_main): Also relocate in dependency order when
5179 doing symbol dependency testing.
5181 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5184 Always define `refsym'.
5186 2011-09-13 Andreas Schwab <schwab@redhat.com>
5188 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5189 (__FD_ELT): Renamed from __FDELT.
5190 * misc/bits/select2.h (__FD_ELT): Likewise.
5191 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5192 __FD_MASK instead of __FDELT, __FDMASK.
5193 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5195 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5198 * elf/Makefile (gen-ldd): Fix pattern.
5200 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5201 (init_tls): Likewise.
5203 2011-09-12 Ulrich Drepper <drepper@gmail.com>
5205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5207 2011-09-12 Andreas Schwab <schwab@redhat.com>
5209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5210 `struct cmsghdr *' instead of `void *'.
5211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5214 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5216 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5218 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5221 2011-09-11 Ulrich Drepper <drepper@gmail.com>
5223 * configure.in: Remove --with-tls option.
5224 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5225 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5226 out in case it is missing.
5227 * sysdeps/ia64/elf/configure.in: Likewise.
5228 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5229 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5230 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5231 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5232 * sysdeps/sh/elf/configure.in: Likewise.
5233 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5234 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5235 * sysdeps/x86_64/elf/configure.in: Likewise.
5236 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5237 * sysdeps/mach/hurd/tls.h: Likewise.
5240 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5243 * configure.in: Fix use of AC_INIT.
5245 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5247 2011-09-10 Ulrich Drepper <drepper@gmail.com>
5249 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5251 * malloc/hooks.c: Likewise.
5254 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5255 variables statically.
5256 (narenas): Initialize.
5257 (list_lock): Initialize.
5258 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5259 initializtion of main_arena and list_lock. Small cleanups.
5260 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5261 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5262 Add initializers to main_arena and mp_.
5263 (malloc_state): Remove pagesize member. Change all users to use
5266 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5267 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5268 is always initialized.
5270 * malloc/malloc.c: Removed unused configurations and dead code.
5271 * malloc/arena.c: Likewise.
5272 * malloc/hooks.c: Likewise.
5273 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5275 * include/tls.h: Removed. USE___THREAD must always be defined.
5276 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5277 * elf/dl-libc.c: Likewise.
5278 * elf/dl-tsd.c: Likewise.
5279 * include/errno.h: Likewise.
5280 * include/netdb.h: Likewise.
5281 * include/resolv.h: Likewise.
5282 * inet/herrno-loc.c: Likewise.
5283 * inet/herrno.c: Likewise.
5284 * malloc/arena.c: Likewise.
5285 * malloc/hooks.c: Likewise.
5286 * malloc/malloc.c: Likewise.
5287 * resolv/res-state.c: Likewise.
5288 * resolv/res_libc.c: Likewise.
5289 * sysdeps/i386/dl-machine.h: Likewise.
5290 * sysdeps/ia64/dl-machine.h: Likewise.
5291 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5292 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5293 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5294 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5295 * sysdeps/sh/dl-machine.h: Likewise.
5296 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5297 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5298 * sysdeps/unix/i386/sysdep.S: Likewise.
5299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5300 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5305 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5309 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5310 * sysdeps/x86_64/dl-machine.h: Likewise.
5311 * tls.make.c: Likewise.
5313 * configure.in: Remove --with-__thread option. Make tests for
5314 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5315 tls_model attribute fail if no support is available. Remove
5317 * Makeconfig: Adjust for dropped configure option. All features are
5319 * Makerules: Likewise.
5320 * Versions.def: Likewise.
5321 * argp/argp-fmtstream.c: Likewise.
5322 * argp/argp-fmtstream.h: Likewise.
5323 * argp/argp-help.c: Likewise.
5324 * assert/assert.c: Likewise.
5325 * config.h.in: Likewise.
5326 * config.make.in: Likewise.
5327 * configure: Likewise.
5328 * configure.in: Likewise.
5329 * csu/Versions: Likewise.
5330 * csu/init.c: Likewise.
5331 * elf/tst-audit2.c: Likewise.
5332 * elf/tst-tls10.c: Likewise.
5333 * elf/tst-tls10.h: Likewise.
5334 * elf/tst-tls11.c: Likewise.
5335 * elf/tst-tls12.c: Likewise.
5336 * elf/tst-tls14.c: Likewise.
5337 * elf/tst-tlsmod11.c: Likewise.
5338 * elf/tst-tlsmod12.c: Likewise.
5339 * elf/tst-tlsmod13.c: Likewise.
5340 * elf/tst-tlsmod13a.c: Likewise.
5341 * elf/tst-tlsmod14a.c: Likewise.
5342 * elf/tst-tlsmod15b.c: Likewise.
5343 * elf/tst-tlsmod16a.c: Likewise.
5344 * elf/tst-tlsmod16b.c: Likewise.
5345 * elf/tst-tlsmod7.c: Likewise.
5346 * elf/tst-tlsmod8.c: Likewise.
5347 * elf/tst-tlsmod9.c: Likewise.
5348 * gmon/gmon.c: Likewise.
5349 * grp/fgetgrent_r.c: Likewise.
5350 * grp/putgrent.c: Likewise.
5351 * hurd/fopenport.c: Likewise.
5352 * include/libc-symbols.h: Likewise.
5353 * include/tls.h: Likewise.
5354 * intl/gettextP.h: Likewise.
5355 * intl/loadinfo.h: Likewise.
5356 * locale/global-locale.c: Likewise.
5357 * locale/localeinfo.h: Likewise.
5358 * mach/devstream.c: Likewise.
5359 * malloc/arena.c: Likewise.
5360 * malloc/set-freeres.c: Likewise.
5361 * misc/err.c: Likewise.
5362 * misc/getttyent.c: Likewise.
5363 * misc/mntent_r.c: Likewise.
5364 * posix/getopt.c: Likewise.
5365 * posix/wordexp.c: Likewise.
5366 * pwd/fgetpwent_r.c: Likewise.
5367 * resolv/Versions: Likewise.
5368 * resolv/res_hconf.c: Likewise.
5369 * shadow/fgetspent_r.c: Likewise.
5370 * shadow/putspent.c: Likewise.
5371 * stdio-common/printf_fphex.c: Likewise.
5372 * stdio-common/tmpfile.c: Likewise.
5373 * stdlib/abort.c: Likewise.
5374 * stdlib/fmtmsg.c: Likewise.
5375 * sunrpc/auth_unix.c: Likewise.
5376 * sunrpc/clnt_perr.c: Likewise.
5377 * sunrpc/clnt_tcp.c: Likewise.
5378 * sunrpc/clnt_udp.c: Likewise.
5379 * sunrpc/clnt_unix.c: Likewise.
5380 * sunrpc/openchild.c: Likewise.
5381 * sunrpc/svc_simple.c: Likewise.
5382 * sunrpc/svc_tcp.c: Likewise.
5383 * sunrpc/svc_udp.c: Likewise.
5384 * sunrpc/svc_unix.c: Likewise.
5385 * sunrpc/xdr.c: Likewise.
5386 * sunrpc/xdr_array.c: Likewise.
5387 * sunrpc/xdr_rec.c: Likewise.
5388 * sunrpc/xdr_ref.c: Likewise.
5389 * sunrpc/xdr_stdio.c: Likewise.
5391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5393 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5395 2011-07-03 Andreas Jaeger <aj@suse.de>
5397 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5398 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5399 regenerate with gen-libm-tests.pl.
5401 2010-05-12 Petr Baudis <pasky@suse.cz>
5404 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5405 around j0() zero points by switching to j1().
5406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5411 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5413 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5418 Patch in part by Pavel Roskin <proski@gnu.org>.
5421 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5423 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5424 Free memory block if necessary.
5427 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5428 be NULL. Don't lock in this case.
5430 2011-09-09 Roland McGrath <roland@hack.frob.com>
5432 * elf/elf.h (ELFOSABI_GNU): New macro.
5433 (ELFOSABI_LINUX): Define to that.
5435 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5437 * string/strncat.c (strncat): Undef the symbol in case it has been
5438 defined in bits/string.h.
5440 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5442 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5444 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5447 2011-08-17 Andreas Jaeger <aj@suse.de>
5449 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5451 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5452 Ian Lance Taylor <iant@google.com>
5454 * math/libm-test.inc (lround_test): New testcase.
5455 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5457 2011-09-08 Ulrich Drepper <drepper@gmail.com>
5459 * Makefile: Remove support for automatic cvs check-ins.
5460 * Makerules: Likewise.
5461 * config.make.in: Likewise.
5462 * configure.in: Likewise.
5463 * intl/Makefile: Likewise.
5464 * locale/Makefile: Likewise.
5465 * po/Makefile: Likewise.
5466 * posix/Makefile: Likewise.
5467 * sysdeps/gnu/Makefile: Likewise.
5468 * sysdeps/mach/hurd/Makefile: Likewise.
5469 * sysdeps/sparc/sparc32/Makefile: Likewise.
5472 * posix/Makefile (bug-regex32-ENV): Define.
5473 Patch by John Stanley <jpsinthemix@verizon.net>.
5475 * misc/Makefile (headers): Add bits/select2.h.
5476 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5477 * misc/bits/select2.h: New file.
5478 * include/bits/select2.h: New file.
5479 * debug/Makefile (routines): Add fdelt_chk.
5480 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5481 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5483 * debug/fdelt_chk.c: New file.
5485 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5486 * wcsmbs/test-wmemcmp.c: Likewise.
5487 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5488 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5490 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5492 * string/Makefile (strop-tests): Add memcmp.
5493 * string/test-wmemcmp.c: New file.
5494 * string/test-memcmp.c: Add wmemcmp support.
5496 2011-09-08 Roland McGrath <roland@hack.frob.com>
5499 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5502 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5503 garbage value in a __mach_port_mod_refs call in the cases of the
5504 task-self and thread-self ports.
5506 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5508 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5510 2011-09-08 Andreas Schwab <schwab@redhat.com>
5512 * elf/dl-load.c (lose): Check for non-null L.
5514 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5516 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5518 * elf/dl-libc.c (dlerror_run): Pass back error code from
5522 * elf/dl-load.c (lose): Free l_origin if it is valid.
5524 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5526 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5529 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5530 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5531 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5533 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5535 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5536 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5537 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5538 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5539 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5540 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5541 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5542 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5543 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5544 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5546 2011-08-15 Alan Modra <amodra@gmail.com>
5549 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5550 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5551 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5552 ppc_mcount to static-only-routines.
5553 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5555 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5556 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5558 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5560 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5561 for finite and infinity parameters.
5563 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5566 and add nop instructions for throughput optimization.
5567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5569 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5571 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5572 aligned copy for power7 with vector-scalar instructions.
5573 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5575 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5580 2011-09-07 Andreas Schwab <schwab@redhat.com>
5583 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5586 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5589 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5590 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5591 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5594 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5597 Forgot to demangle the pointer.
5599 * sysdeps/i386/sysdep.h: Define atom_text_section.
5600 * sysdeps/x86_64/sysdep.h: Likewise.
5601 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5602 section with atom_text_section.
5603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5605 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5607 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5609 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5610 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5611 already be defined. Change to take two parameters and don't assign
5612 result to variable. Adjust all users.
5613 Define INTERNAL_GETTIME if not already defined.
5614 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5617 HAVE_CLOCK_GETTIME_VSYSCALL.
5618 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5621 gettimeofday vsyscall, just use time.
5623 2011-09-06 Andreas Schwab <schwab@redhat.com>
5625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5628 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5630 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5634 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5636 syscall if possible.
5638 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5640 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5641 e_ident. Don't pass to find_mapsXX.
5642 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5644 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5647 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5648 * sysdeps/x86_64/multiarch/strchr.S: Update.
5649 Check bit_slow_BSF bit.
5650 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5651 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5652 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5654 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5657 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5660 (__spawni): Change last parameter to be flag. Test
5661 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5662 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5663 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5664 * posix/spawni.c: Likewise.
5665 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5666 * posix/spawnp.c: Likewise. Change normal version to use
5667 SPAWN_XFLAGS_USE_PATH.
5668 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5669 SPAWN_XFLAGS_TRY_SHELL.
5672 * posix/glob.h: Remove gcc 1.x support.
5675 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5677 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5680 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5682 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5683 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5684 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5685 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5687 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5689 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5691 * sysdeps/x86_64/wcscmp.S: New file.
5693 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5694 wcscmp-c wcscmp-sse2
5695 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5696 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5697 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5698 * wcsmbs/wcscmp.c: Allow renaming.
5700 2011-09-05 David S. Miller <davem@davemloft.net>
5702 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5703 stack slot, rather than the struct return pointer slot.
5704 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5705 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5709 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5711 * po/ja.po: Update from translation team.
5714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5715 kernel in 64-bit binaries.
5717 2011-09-01 David S. Miller <davem@davemloft.net>
5719 * elf/elf.h (HWCAP_SPARC_*): Move to..
5720 * sysdeps/sparc/sysdep.h: this new file and add new values.
5721 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5722 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5723 _DL_HWCAP_COUNT to 24.
5724 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5726 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5727 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5728 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5730 instead of magic constants.
5731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5733 2011-08-31 David S. Miller <davem@davemloft.net>
5735 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5737 Reimplement to do errno handling inline.
5738 (SYSCALL_ERROR_HANDLER): New macro.
5739 (__SYSCALL_STRING): Do not do errno handling in asm.
5740 (__CLONE_SYSCALL_STRING): Delete.
5741 (__INTERNAL_SYSCALL_STRING): Delete.
5742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5743 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5744 (PSEUDO): Reimplement to do errno handling inline.
5745 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5746 (SYSCALL_ERROR_HANDLER): New macro.
5747 (__SYSCALL_STRING): Do not do errno handling in asm.
5748 (__CLONE_SYSCALL_STRING): Delete.
5749 (__INTERNAL_SYSCALL_STRING): Delete.
5750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5751 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5753 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5754 (inline_syscall*): Add 'err' argument.
5755 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5756 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5757 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5758 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5760 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5761 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5763 2011-08-30 Andreas Schwab <schwab@redhat.com>
5765 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5767 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5769 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5772 2011-08-24 David S. Miller <davem@davemloft.net>
5774 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5776 2011-08-24 Andreas Schwab <schwab@redhat.com>
5778 * elf/Makefile: Add rules to build and run unload8 test.
5779 * elf/unload8.c: New file.
5780 * elf/unload8mod1.c: New file.
5781 * elf/unload8mod1x.c: New file.
5782 * elf/unload8mod2.c: New file.
5783 * elf/unload8mod3.c: New file.
5785 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5788 2011-08-23 David S. Miller <davem@davemloft.net>
5790 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5791 subtract stack bias.
5792 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5793 %sp not %fp in calculations.
5794 (_JMPBUF_UNWINDS_ADJ): Likewise.
5796 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5797 (aio_suspend): Call it to force an exception region around the
5798 AIO_MISC_WAIT() invocation.
5800 2011-08-23 Andreas Schwab <schwab@redhat.com>
5802 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5805 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5807 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5809 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5811 (Elf64_FuncDesc): Remove.
5813 2011-08-22 David S. Miller <davem@davemloft.net>
5815 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5816 sigaltstack check, add missing cfi directives.
5817 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5818 missing cfi directives, and sigaltstack handling.
5820 2011-08-16 Andreas Schwab <schwab@redhat.com>
5823 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5824 object is seen twice.
5825 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5827 * elf/Makefile (distribute): Add tst-initorder2.c.
5828 (tests): Add tst-initorder2.
5829 (modules-names): Add tst-initorder2a tst-initorder2b
5830 tst-initorder2c tst-initorder2d. Add rules to build them.
5831 ($(objpfx)tst-initorder2.out): New rule.
5832 * elf/tst-initorder2.c: New file.
5833 * elf/tst-initorder2.exp: New file.
5835 2011-08-22 Andreas Schwab <schwab@redhat.com>
5837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5839 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5840 dependencies back to end of function.
5842 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5845 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5847 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5848 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5850 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5851 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5852 of __vdso_gettimeofday.
5853 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5854 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5856 (_libc_vdso_platform_setup): Remove initialization of
5857 __vdso_gettimeofday and __vdso_time.
5859 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5861 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5863 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5866 * elf/dl-open.c (add_to_global): Report additions to the global scope
5867 for LD_DEBUG=scopes.
5868 (dl_open_worker): Also print scope of newly loaded dependencies.
5869 (_dl_show_scope): Indicate if there is no scope.
5872 * stdio-common/Makefile (tests): Add bug24.
5873 * stdio-common/bug24.c: New file.
5875 2011-08-19 Andreas Jaeger <aj@suse.de>
5878 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5879 non-existant file when using close-on-exec mode.
5881 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5884 the very first instruction.
5886 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5887 the CFI state in the end.
5888 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5889 inclusion of dl-trampoline.h.
5890 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5892 2011-08-19 Andreas Schwab <schwab@redhat.com>
5894 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5895 expectations for long double.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5898 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5900 2011-08-14 David S. Miller <davem@davemloft.net>
5902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5903 artificual limit depends upon the system page size.
5905 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5907 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5908 * resolv/Makefile: Define CFLAGS-libresolv.
5910 2011-08-17 Andreas Schwab <schwab@redhat.com>
5912 * nss/makedb.c (compute_tables): Make variables used in nested
5915 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5917 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5918 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5919 if buffer was too small.
5921 * elf/pldd.c (main): Attach to all threads in the process.
5922 Rewrite /proc handling to use *at functions.
5924 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5926 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5927 specifies first scope to show.
5928 (dl_open_worker): Update callers. Move printing scope of new
5929 object to before the relocation.
5930 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5931 * sysdeps/generic/ldsodefs.h: Update declaration.
5933 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5934 string for the scope number.
5936 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5938 * nscd/servicescache.c (cache_addserv): Make sure written is always
5941 2011-08-14 Roland McGrath <roland@hack.frob.com>
5943 * sysdeps/i386/i486/bits/atomic.h
5944 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5945 statement expression, so as to suppress "set but not used" warning.
5946 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5948 * string/strncat.c (STRNCAT): Use prototype definition.
5950 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5951 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5953 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5954 (localedef-modules): Add localedef.
5955 (locale-modules): Add locale.
5957 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5958 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5961 2011-08-14 David S. Miller <davem@davemloft.net>
5963 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5964 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5966 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5968 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5969 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5970 * elf/rtld.c (dl_main): Set l_name of vDSO.
5971 Call _dl_show_scope when DL_DEBUG_SCOPES.
5972 (process_dl_debug): Recognize scopes flag and also set it for all.
5973 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5974 Declare _dl_show_scope.
5976 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5977 (do_dlopen): Pass caller_dlopen to dl_open.
5978 (__libc_dlopen_mode): Initialize caller_dlopen.
5980 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5981 of libc. Make tolower call locale-independent. Optimize a bit by
5982 using isdigit instead of isalnum.
5983 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5985 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5987 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5988 was a dependency or dynamically loaded.
5990 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5992 * intl/l10nflist.c: Allow architecture-specific pop function.
5993 * sysdeps/x86_64/l10nflist.c: New file.
5995 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5998 2011-08-10 Andreas Schwab <schwab@redhat.com>
6000 * include/dirent.h: Add libc_hidden_proto for scandirat and
6001 scandirat64. Don't declare __scandirat64.
6002 * dirent/scandirat.c: Add libc_hidden_def.
6003 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6004 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6006 2011-08-10 David S. Miller <davem@davemloft.net>
6008 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6014 2011-08-09 Ulrich Drepper <drepper@gmail.com>
6016 * Versions.def [libc]: Add GLIBC_2.15.
6017 * dirent/Makefile (routines): Add scandirat and scandirat64.
6018 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6020 * dirent/dirent.h: Declare scandirat and scandirat64.
6021 * dirent/scandirat.c: New file.
6022 * dirent/scandirat64.c: New file.
6023 * sysdeps/wordsize-64/scandirat.c: New file.
6024 * sysdeps/wordsize-64/scandirat64.c: New file.
6025 * dirent/opendir.c: Define opendirat.
6026 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6028 * dirent/scandir64.c: Adjust for scandir.c change.
6029 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6030 __scandirat64, and __scandir_cancel_handler.
6031 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6032 additional parameter and use openat instead of open (outside of ld.so).
6033 Add new __opendir as wrapper around __opendirat.
6034 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6035 here without requiring old scandirat implementation.
6037 2011-08-08 Ulrich Drepper <drepper@gmail.com>
6039 * dirent/scandir.c (cancel_handler): Renamed to
6040 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6041 defined. Adjust users.
6042 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6045 2011-08-04 Ulrich Drepper <drepper@gmail.com>
6047 * string/test-string.h (IMPL): Use __STRING to expand name and then
6050 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6053 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6055 * string/Makefile: Update.
6056 (strop-tests): Append strncat.
6057 * string/test-wcscmp.c: New file.
6058 New comprehensive test for wcscmp.
6059 * string/test-strcmp.c: Update.
6062 2011-07-22 Andreas Schwab <schwab@redhat.com>
6064 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6067 2011-07-26 Andreas Schwab <schwab@redhat.com>
6069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6070 encoding to ACE if AI_IDN.
6072 2011-08-01 Jakub Jelinek <jakub@redhat.com>
6074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6075 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6077 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6080 Fix overflow bug in strncat.
6081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6083 * string/test-strncat.c: Update.
6084 Add new tests for checking overflow bugs.
6086 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6089 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6090 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6091 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6093 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6094 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6095 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6096 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6098 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6099 (USE_AS_STRCAT): Define.
6100 Add strcat and strncat support.
6101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6103 2011-07-25 Andreas Schwab <schwab@redhat.com>
6105 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6106 __n bigger than INT_MAX+1.
6107 (__strncmp_g): Likewise.
6109 2011-07-23 Ulrich Drepper <drepper@gmail.com>
6111 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6112 * libio/stido.h: Likewise.
6114 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6119 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6120 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6126 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6131 (_dl_x86_64_save_sse): Likewise.
6133 2011-07-22 Ulrich Drepper <drepper@gmail.com>
6135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6137 (_dl_x86_64_save_sse): Likewise.
6139 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6141 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6143 2011-07-21 Andreas Schwab <schwab@redhat.com>
6145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6147 (_dl_x86_64_save_sse): Use correct AVX check.
6149 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6151 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6152 bug in strncpy/strncat.
6153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6155 2011-07-21 Ulrich Drepper <drepper@gmail.com>
6157 * string/tester.c (test_strcat): Add tests for different alignments
6158 of source and destination.
6159 (test_strncat): Likewise.
6161 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6164 * posix/glob.c (glob): Check passed in values before using them in
6165 expressions to avoid some overflows.
6166 (glob_in_dir): Likewise.
6169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6170 check for AVX enablement so that we don't crash with old kernels and
6172 * elf/tst-audit4.c: Add same checks here.
6173 * elf/tst-audit6.c: Likewise.
6175 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6177 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6179 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6181 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6183 * po/cs.po: Update from translation team.
6184 * po/bg.po: Likewise.
6186 2011-07-12 Marek Polacek <mpolacek@redhat.com>
6188 * misc/sys/cdefs.h: Add support for const attribute.
6189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6190 to gnu_dev_{major,minor,makedev} functions.
6192 2011-07-20 Marek Polacek <mpolacek@redhat.com>
6194 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6196 2011-07-20 Andreas Schwab <schwab@redhat.com>
6198 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6201 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6204 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6205 register in order to avoid conflicts with the soft frame pointer
6206 being held in r11 when necessary.
6207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6208 (INTERNAL_VSYSCALL_NCS): Likewise.
6210 2011-07-14 Marek Polacek <mpolacek@redhat.com>
6212 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6213 * elf/dl-fini.c (_dl_fini): Adjust caller.
6214 * elf/dl-close.c (_dl_close_worker): Likewise.
6215 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6217 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6219 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6220 "aux_cache->nlibs < 0".
6222 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6223 in the reload-count case.
6225 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6228 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6229 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6230 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6231 * sysdeps/x86_64/multiarch/strcat.S: New file.
6232 * sysdeps/x86_64/multiarch/strncat.S: New file.
6233 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6234 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6235 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6236 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6238 (USE_AS_STRCAT): Define.
6239 Add strcat and strncat support.
6240 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6242 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6243 * string/strncat.c: Update.
6244 (USE_AS_STRNCAT): Define.
6245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6246 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6248 * sysdeps/x86_64/multiarch/init-arch.h
6249 (bit_Prefer_PMINUB_for_stringop): New.
6250 (index_Prefer_PMINUB_for_stringop): Likewise.
6251 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6252 bit_Prefer_PMINUB_for_stringop.
6254 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6256 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6258 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6259 of casting of buffer.
6260 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6261 buffer32 and buffer64.
6262 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6263 writes instead of casting of buffer.
6264 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6266 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6269 2011-07-19 Andreas Schwab <schwab@redhat.com>
6271 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6273 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6275 * nscd/nscd.c (termination_handler): Don't do anything for a database
6276 if it has not yet been initialized.
6278 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6280 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6282 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6284 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6286 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6288 * po/nl.po: Update from translation team.
6289 * po/sv.po: Likewise.
6291 2011-07-16 Roland McGrath <roland@hack.frob.com>
6293 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6294 now disallowed by GCC.
6296 * configure.in (use-default-link): Default to yes if a test -shared
6297 link meets our qualifications.
6298 * configure: Regenerated.
6300 * config.make.in (output-format): New variable.
6301 * configure.in: Check for ld --print-output-format support.
6302 * configure: Regenerated.
6303 * Makerules ($(common-objpfx)format.lds)
6304 [$(output-format) != unknown]: Just use $(output-format),
6305 instead of the linker-script munging.
6307 2011-07-14 Roland McGrath <roland@hack.frob.com>
6309 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6310 of $(common-objpfx)shlib.lds.
6311 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6313 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6314 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6316 * configure.in (-z relro check): Adjust test code to add a large
6317 writable data section after it.
6318 * configure: Regenerated.
6320 2011-07-11 Roland McGrath <roland@hack.frob.com>
6322 * configure.in (-z relro check): Fix test code to make the variable
6324 * configure: Regenerated.
6326 2011-07-11 Ulrich Drepper <drepper@gmail.com>
6328 * nscd/nscd.h (struct traced_file): Define.
6329 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6330 elements. Add traced_files.
6331 (inotify_fd): Declare.
6332 (register_traced_file): Declare.
6333 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6334 (inotify_fd): Export.
6335 (resolv_conf_descr): Remove.
6336 (nscd_init): Move inotify descriptor creation to main.
6337 Don't register files for notification here.
6338 (register_traced_file): New function.
6339 (invalidate_cache): Don't use reset_res to determine whether to call
6340 res_init, go through the list of registered files.
6341 (main_loop_poll): The inotify descriptors are now stored in the
6342 structures for the traced files.
6343 (main_loop_epoll): Likewise
6344 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6345 to __nss_disable_nscd.
6346 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6347 for a database anymore. Check the records for all the registered
6349 * nss/Makefile (libnss_files-routines): Add files-init.
6350 (libnss_db-routines): Add db-init.
6351 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6352 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6353 * nss/nss_db/db-init.c: New file.
6354 * nss/nss_files/files-init.c: New file.
6355 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6356 __nss_lookup_function.
6357 (__nss_lookup_function): Call nss_load_library.
6358 (nss_load_all_libraries): New function.
6359 (__nss_disable_nscd): Take parameter with callback function for files
6360 to register. Set is_nscd. Load all the DSOs for the NSS modules
6361 used for the cached services.
6362 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6363 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6364 options for features to all the files in nscd.
6366 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6368 2011-07-10 Roland McGrath <roland@hack.frob.com>
6370 * csu/elf-init.c (__libc_csu_init): Comment typo.
6372 2011-07-09 Ulrich Drepper <drepper@gmail.com>
6374 * po/pl.po: Update from translation team.
6375 * po/ja.po: Likewise.
6376 * po/ru.po: Likewise.
6377 * po/ko.po: Likewise.
6378 * po/fr.po: Likewise.
6380 2011-07-09 Roland McGrath <roland@hack.frob.com>
6382 * configure.in (.ctors/.dtors header and trailer check):
6383 Use an empirical test on a built program.
6384 * configure: Regenerated.
6386 * configure.in (-z relro check): Use an empirical test on a built DSO.
6387 Detect, but do not require, on ia64.
6388 * configure: Regenerated.
6390 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6391 Update tests that use readelf to use $READELF instead.
6392 * configure: Regenerated.
6394 2011-07-08 Ulrich Drepper <drepper@gmail.com>
6396 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6397 if the result is not used.
6399 2011-07-05 Andreas Jaeger <aj@suse.de>
6402 * stdlib/tst-strtod.c: Add testcase.
6404 2011-07-07 Ulrich Drepper <drepper@gmail.com>
6406 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6407 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6408 The latter has a higher limit. Take additional parameter to pass to
6410 (__pathconf): Pass file to __statfs_link_max.
6411 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6413 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6417 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6421 (__statfs_filesize_max): Likewise.
6422 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6424 2011-07-05 Andreas Jaeger <aj@suse.de>
6426 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6428 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6430 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6432 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6435 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6437 * Makefile (strop-tests): Add strncat.
6438 * string/test-strncat.c: New file.
6440 2011-06-30 Marek Polacek <mpolacek@redhat.com>
6442 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6444 2011-06-21 Andreas Jaeger <aj@suse.de>
6446 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6447 Copy rule from iconvdata/Makefile.
6449 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6452 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6453 but no long options are defined, just return 'W'.
6455 2011-06-22 Marek Polacek <mpolacek@redhat.com>
6458 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6460 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6462 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6464 (innetgr): Likewise.
6466 2011-07-05 Roland McGrath <roland@hack.frob.com>
6468 * config.make.in (install_root): Default to $(DESTDIR).
6470 2011-07-05 Ulrich Drepper <drepper@gmail.com>
6472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6474 2011-07-02 Roland McGrath <roland@hack.frob.com>
6476 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6478 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6479 containing directory rather than embedding absolute directory names.
6481 * scripts/check-local-headers.sh: Rewritten using awk.
6482 Match by word, not by line. Print error messages for matches.
6483 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6485 * Makerules [shlib-lds-flags empty]:
6486 ($(common-objpfx)libc_pic.opts): New target.
6487 ($(common-objpfx)libc_pic.os.clean): New target.
6488 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6490 * config.make.in (OBJCOPY): New variable.
6491 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6492 * configure: Regenerated.
6494 * config.make.in (use-default-link): New variable.
6495 * configure.in (use_default_link): Grok --with-default-link to set it.
6496 * configure: Regenerated.
6497 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6498 (shlib-lds, shlib-lds-flags): Define to empty.
6500 * Makerules (shlib-lds): New variable.
6501 (shlib-lds-flags): New variable.
6502 (build-shlib, build-moduile, build-module-asneeded): Use it.
6503 ($(common-objpfx)libc.so): Use $(shlib-lds).
6504 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6505 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6507 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6508 DT_FLAGS/DT_FLAGS_1 with zero flags.
6510 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6511 linker script munging.
6513 2011-07-02 Ulrich Drepper <drepper@gmail.com>
6515 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6517 * crypt/sha512.c (sha512_process_block): Perform total addition using
6518 128-bit if possible.
6519 (__sha512_finish_ctx): Likewise.
6520 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6522 * crypt/sha256.c (SWAP64): Define.
6523 (sha256_process_block): Perform total addition using 64-bit if
6525 (__sha256_finish_ctx): Likewise.
6527 2011-07-01 Ulrich Drepper <drepper@gmail.com>
6529 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6531 * nscd/hstcache.c (cache_addhst): Likewise.
6532 * nscd/grpcache.c (cache_addgr): Likewise.
6533 * nscd/aicache.c (addhstaiX): Likewise
6534 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6536 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
6538 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6540 * nscd/hstcache.c (cache_addhst): Likewise.
6541 * nscd/grpcache.c (cache_addgr): Likewise.
6542 * nscd/aicache.c (addhstaiX): Likewise
6544 2011-07-01 Andreas Schwab <schwab@redhat.com>
6546 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6547 domain only when needed.
6549 2011-06-30 Andreas Schwab <schwab@redhat.com>
6551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6554 2011-06-29 Ulrich Drepper <drepper@gmail.com>
6556 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6557 are re-adding the entry.
6558 * nscd/servicescache.c (cache_addserv): Likewise.
6560 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6562 * sysdeps/generic/dl-irel.h: fix protection against multiple
6564 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6566 2011-06-28 Ulrich Drepper <drepper@gmail.com>
6569 * malloc/memusage.sh: Fix quoting in message.
6570 * debug/xtrace.sh: Likewise.
6572 * configure.in: Remove support for --experimental-malloc option, make
6574 * config.make.in: Likewise.
6575 * malloc/Makefile: Likewise.
6577 2011-06-27 Andreas Schwab <schwab@redhat.com>
6579 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6580 two-byte characters.
6582 2011-06-27 Roland McGrath <roland@hack.frob.com>
6584 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6585 AC_CACHE_CHECK invocation.
6586 * configure: Regenerated.
6588 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6590 2011-06-27 Ulrich Drepper <drepper@gmail.com>
6593 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6594 bit from old_res_options.
6596 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6598 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6599 value type for setfct.
6601 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6604 __gettimeofday instead of gettimeofday.
6606 2011-06-26 Ulrich Drepper <drepper@gmail.com>
6608 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6610 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6617 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6620 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6621 strcpy-sse2-unaligned strncpy-sse2-unaligned
6622 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6623 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6624 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6625 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6626 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6629 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6630 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6631 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6632 (STRCPY): Support SSE2 and SSSE3 versions.
6634 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6637 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6638 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6639 kernels which artificially limit size of requests.
6641 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6644 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6645 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6646 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6647 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6648 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6649 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6650 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6651 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6653 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6654 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6655 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6656 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6657 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6659 Enable unaligned load optimization for Intel Core i3, i5 and i7
6661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6663 (index_Fast_Unaligned_Load): Define.
6664 (HAS_FAST_UNALIGNED_LOAD): Define.
6666 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6668 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6670 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6674 until it is clear that the information is realy needed.
6675 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6677 2011-06-22 Andreas Schwab <schwab@redhat.com>
6679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6681 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6684 /sys/devices/system/cpu/online if it is usable.
6686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6687 reading the information from the /proc filesystem to once a second.
6689 2011-06-21 Andreas Jaeger <aj@suse.de>
6691 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6692 NULL after inclusion of kernel headers.
6694 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6696 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6697 calls to internal_setent.
6700 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6701 addresses using gethostbyname4_r ignore IPv4 addresses.
6703 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6704 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6706 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6708 2011-06-20 David S. Miller <davem@davemloft.net>
6710 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6712 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6714 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6716 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6717 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6718 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6719 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6720 * sysdeps/x86_64/dl-irel.h: Likewise.
6722 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6723 * elf/dl-sym.c: Likewise.
6725 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6727 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6728 need to dereference resplen2.
6730 2011-06-14 Andreas Schwab <schwab@redhat.com>
6732 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6734 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6736 * Makeconfig: Define vardbdir and inst_vardbdir.
6737 * nss/Makefile: Add rules to install db-Makefile.
6739 * nss/nss_db/db-XXX.c: Cleanup.
6741 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6742 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6744 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6745 * nss/makedb.c: Implement -g option to specify that value strings
6746 are generated and should not be added to table iterated over for
6748 * nss/nss_db/db-initgroups.c: New file.
6750 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6753 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6754 (internal_getgrouplist): Adjust to name change.
6755 Update use_initgroups_entry if this is not the first call.
6756 * nss/databases.def: Add initgroups entry.
6758 * nss/makedb.c (compute_tables): Check result of multiple hash table
6759 sizes to minimize maximum chain length.
6761 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6763 * Versions.def: Add entry for libnss_db.
6764 * shlib-versions: Likewise.
6765 * nss/Makefile: Add rules to build libnss_db.
6766 * nss/Versions: Add libnss_db information. Organize libnss_files
6768 * nss/db-Makefile: Add gshadow support. Change rules for the new
6769 makedb progra. Some minor improvements to generate smaller files.
6770 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6772 * nss/makedb.c: ...here.
6773 Improve database format to be smaller and require less memory at
6775 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6777 * nss/nss_db/db-netgrp.c: Likewise.
6778 * nss/nss_db/db-open.c: Likewise.
6779 * nss/nss_files/flies-XXX.x: Adjust comments.
6780 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6781 * nss/nss_files/files-grp.c: Likewise.
6782 * nss/nss_files/files-hosts.c: Likewise.
6783 * nss/nss_files/files-network.c: Likewise.
6784 * nss/nss_files/files-proto.c: Likewise.
6785 * nss/nss_files/files-pwd.c: Likewise.
6786 * nss/nss_files/files-rpc.c: Likewise.
6787 * nss/nss_files/files-service.c: Likewise.
6788 * nss/nss_files/files-sgrp.c: Likewise.
6789 * nss/nss_files/files-spwd.c: Likewise.
6790 * nss/nss_db/db-alias.c: Removed.
6791 * nss/nss_db/dummy-db.h: Removed.
6793 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6795 * nss/makedb.c: Rewritten to not use database library.
6796 * nss/Makefile: Update to build new makedb program.
6798 2011-06-14 Andreas Jaeger <aj@suse.de>
6800 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6803 2011-06-10 Andreas Schwab <schwab@redhat.com>
6805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6808 2011-06-10 Roland McGrath <roland@hack.frob.com>
6810 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6811 * elf/Makefile ($(objpfx)ld.so): Likewise.
6813 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6814 Don't list ld.so twice in dependencies.
6816 * posix/bug-regex31.c: Include <stdlib.h>.
6818 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6820 * nis/nss_compat/compat-spwd.c
6821 (getspent_next_nss_netgr): Remove unused variable.
6822 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6824 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6825 nonmembers" output to use the right array.
6827 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6829 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6831 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6832 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6833 * catgets/gencat.c (read_input_file): Likewise.
6834 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6836 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6837 variable definition inside #if's controlling its use.
6839 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6841 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6843 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6845 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6848 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6850 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6851 * configure: Regenerated.
6853 * Makerules: Revert last change.
6854 * elf/Makefile: Likewise.
6856 2011-06-09 Roland McGrath <roland@hack.frob.com>
6858 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6859 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6860 (reloc-link): Likewise.
6862 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6864 * elf/Makefile: Add rules to build pldd.
6865 * elf/pldd.c: New file.
6866 * elf/pldd-xx.c: New file.
6868 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6870 * version.h: Update for 2.15 development version.
6872 2011-06-07 David S. Miller <davem@davemloft.net>
6874 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6877 elf_machine_lazy_rel): Likewise.
6878 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6880 elf_machine_lazy_rel): Likewise.
6881 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6882 dl_hwcap via passed in argument.
6883 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6886 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6888 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6890 2011-06-06 Roland McGrath <roland@hack.frob.com>
6893 * manual/fdl-1.1.texi: New file, verbatim from:
6894 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6895 * manual/lgpl-2.1.texi: New file, verbatim from:
6896 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6897 * manual/Makefile (licenses): New variable, list those new file names.
6899 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6901 * manual/fdl.texi: File removed.
6902 * manual/lesser.texi: File removed.
6903 * manual/libc.texinfo (Copying, Documentation License):
6904 Use new @include file names, put @appendix directive before @include.
6906 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6909 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6910 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6911 (mq_open): Add __NTH.
6913 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6916 Assume Intel Core i3/i5/i7 processor if AVX is available.
6918 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6923 2011-05-31 Andreas Schwab <schwab@redhat.com>
6925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6926 memory. Use alloca_account. Fix memory leak when retrying.
6928 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6930 * version.h (RELEASE): Bump for 2.14 release.
6931 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6933 * config.make.in (RANLIB): Remove entry.
6935 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6937 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6938 (libc.pot): Work around missing support for .ksh extension in xgettext.
6941 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6942 if both request failed.
6943 (send_dg): In case of server errors clear resplen or *resplen2.
6946 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6947 when there are multiple maps.
6948 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6949 (_dl_fini): Remove test here.
6951 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6953 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6956 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6957 bit from old_res_options.
6958 (gaih_inet): Likewise.
6961 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6964 * resolv/res_init.c (res_setoptions): Make the code more compact.
6967 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6971 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6973 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6976 * malloc/malloc.h: Declare malloc hook variables as volatile.
6978 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6982 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6983 raise in the comment.
6984 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6986 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6988 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6991 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6992 grow the buffers more if it already has to be sufficient.
6993 (build_wcs_upper_buffer): Likewise.
6994 * posix/regexec.c (check_matching): Likewise.
6995 (clean_state_log_if_needed): Likewise.
6996 (extend_buffers): Don't enlarge buffers beyond size of the input
6998 Patches mostly by Emil Wojak <emil@wojak.eu>.
6999 * posix/bug-regex32.c: New file.
7000 * posix/Makefile (tests): Add bug-regex32.
7002 * locale/findlocale.c (_nl_find_locale): Return right away if
7003 _nl_explode_name failed.
7004 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7006 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7008 * debug/xtrace.sh: Unify messages.
7009 * malloc/memusage.sh: Likewise.
7012 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7013 time symbol from vDSO. Substitute with vsyscall if not available.
7014 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7017 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7018 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7019 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7020 Add sendmmsg and internal_sendmmsg.
7021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7022 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7023 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7025 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7026 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7029 2011-05-27 Ulrich Drepper <drepper@gmail.com>
7032 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7033 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7035 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7039 * iconvdata/Makefile (tests): Add bug-iconv9.
7040 * iconvdata/bug-iconv9.c: New file.
7042 2011-05-27 Andreas Schwab <schwab@redhat.com>
7045 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7047 2011-05-25 Jakub Jelinek <jakub@redhat.com>
7049 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7050 (struct user_regs_struct): Change intcs field back to cs.
7052 2011-05-25 Ulrich Drepper <drepper@gmail.com>
7054 * po/ja.po: Update from translation team.
7056 2011-05-23 Ulrich Drepper <drepper@gmail.com>
7059 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7060 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7062 2011-05-20 Andreas Schwab <schwab@redhat.com>
7064 * stdlib/longlong.h: Update from GCC.
7066 2011-05-23 Andreas Schwab <schwab@redhat.com>
7068 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7070 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7072 (__sysconf): Pass it down.
7074 2011-05-22 Ulrich Drepper <drepper@gmail.com>
7077 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7080 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7081 add in in __libc_use_alloca calls. Adjust callers.
7082 (glob): Use malloc in some situations.
7084 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7085 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7088 2011-05-21 Ulrich Drepper <drepper@gmail.com>
7090 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7091 and CLOCK_BOOTTIME_ALARM.
7094 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7097 * string/_strerror.c (__strerror_r): Print negative errors as signed
7101 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7102 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7103 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7105 * configure.in: Fix typo in redirection and correct removal of test
7109 * locale/setlocale.c (new_composite_name): Fix test to check for
7110 identical name of all categories.
7113 * libio/filedoalloc.c (local_isatty): New function.
7114 (_IO_file_doallocate): Use local_isatty.
7115 * stdio-common/perror.c (perror): In case a new stream is used
7116 forward the stream error.
7117 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7120 2011-05-20 Ulrich Drepper <drepper@gmail.com>
7123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7125 * include/alloca.h (extend_alloca_account): Define.
7128 * posix/regex.h: Fix comments with documentation of user-accessible
7129 fields after compilation and describe correct free'ing of pattern
7130 after re_compile_pattern.
7131 Patch by Reuben Thomas <rrt@sc3d.org>.
7133 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7135 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7136 and -mno-altivec to prevent the compiler from using Altivec and/or
7137 VSX instructions when the corresponding registers are not available.
7139 2011-05-19 Andreas Schwab <schwab@redhat.com>
7141 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7143 2011-05-19 Ulrich Drepper <drepper@gmail.com>
7145 * libio/freopen.c (freopen): Use __dup2, not dup2.
7146 * libio/freopen64.c (freopen64): Likewise.
7148 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7151 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7152 * math/Makefile (tests): Add test-powl.
7153 (CFLAGS-test-powl.c): Define.
7154 * math/test-powl.c: New file.
7156 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7158 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7160 2011-05-17 Ulrich Drepper <drepper@gmail.com>
7163 * iconvdata/gb18030.c: Update to GB18020-2005.
7165 2011-05-16 Ulrich Drepper <drepper@gmail.com>
7167 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7168 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7169 Patch by Aharon Robbins <arnold@skeeve.com>.
7172 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7176 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7180 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7181 point to strings before performing equality test for error_one_per_line
7185 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7189 (struct user_fpregs_struct): Avoid __uint*_t types.
7192 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7193 symbol info. Use it instead of calling _dl_addr locally.
7194 (lock_and_info): New function.
7195 (tr_freehook): Call lock_and_info and pass symbol info as additional
7196 parameter to tr_where.
7197 (tr_mallochook): Likewise.
7198 (tr_reallochook): Likewise.
7199 (tr_memalignhook): Likewise.
7201 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7202 used and couldn't be at all thread-safe.
7204 2011-05-15 Ulrich Drepper <drepper@gmail.com>
7206 * libio/freopen.c (freopen): Don't close old file descriptor
7207 before the new one is opened. Instead dup the new file descriptor
7208 to the old one after the new stream is created.
7209 * libio/freopen64.c (freopen64): Likewise.
7210 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7211 * libio/fileops.c (_IO_new_file_close_it): Handle new
7212 _IO_FLAGS2_NOCLOSE flag.
7213 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7214 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7215 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7216 _IO_FLAGS2_NOCLOSE flag.
7217 * include/unistd.h: Add hidden_proto for dup3.
7219 * io/dup3.c: Define hidden symbol.
7220 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7223 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7224 when an incomplete long option is used.
7225 * posix/tst-getopt_long1.c: New file.
7226 * posix/Makefile (tests): Add tst-getopt_long1.
7229 * scripts/config.guess: Update from autoconf-2.68.
7230 * scripts/config.sub: Likewise.
7233 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7235 (has_cpuclock): ...this. New function.
7236 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7237 macro here based on has_cpuclock code.
7240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7241 First byte (not low byte) is now always NUL.
7242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7245 Use non-cancelable interfaces.
7248 * locale/iso-639.def: Add entry for Sorani.
7251 * include/stdlib.h: Move include protection to the right place.
7252 Define abort_msg_s. Declare __abort_msg with it.
7253 * stdlib/abort.c (__abort_msg): Adjust type.
7254 * assert/assert.c (__assert_fail_base): New function. Majority
7255 of code from __assert_fail. Allocate memory for __abort_msg with
7257 (__assert_fail): Now call __assert_fail_base.
7258 * assert/assert-perr.c: Remove bulk of implementation. Use
7260 * include/assert.hL Declare __assert_fail_base.
7261 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7263 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7265 2011-05-14 Ulrich Drepper <drepper@gmail.com>
7269 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7270 until all modules are registered in the DTV.
7271 * elf/Makefile: Add rules to build and run tst-tls19.
7272 * elf/tst-tls19.c: New file.
7273 * elf/tst-tls19mod1.c: New file.
7274 * elf/tst-tls19mod2.c: New file.
7275 * elf/tst-tls19mod3.c: New file.
7276 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7279 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7283 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7284 two-byte sequence errors.
7285 * iconvdata/Makefile (tests): Add bug-iconv8.
7286 * iconvdata/bug-iconv8.c: New file.
7289 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7292 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7295 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7296 (dummy_getcfa): New function.
7297 (init): Get _Unwind_GetCFA address, use dummy if not found.
7298 (backtrace_helper): In recursion check, also check whether CFA changes.
7299 (__backtrace): Completely initialize arg.
7301 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7302 storing incomplete byte sequence in state object. Avoid testing for
7303 guaranteed too small input if we know there is enough data available.
7305 2011-05-11 Andreas Schwab <schwab@redhat.com>
7307 * Makeconfig (+link-pie): Indent.
7308 * Rules (binaries-pie): Define if $(have-fpie) and
7310 (binaries-shared): Also filter out $(binaries-pie).
7311 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7312 * nscd/Makefile (others-pie): Add nscd.
7313 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7314 ($(objpfx)nscd): Remove command override.
7315 * login/Makefile (others-pie): Add pt_chown.
7316 ($(objpfx)pt_chown): Remove command override.
7317 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7318 remove command overrides.
7320 2011-05-13 Ulrich Drepper <drepper@gmail.com>
7322 * libio/tst_putwc.c: Fix error messages.
7325 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7326 currently writing and seek to current position when not.
7327 * libio/Makefile (tests): Add bug-fclose1.
7328 * libio/bug-fclose1.c: New file.
7330 2011-05-12 Ulrich Drepper <drepper@gmail.com>
7333 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7334 don't set DF_1_NODELETE here.
7335 (do_lookup_x): When entering new entry test for copy relocation
7336 and if necessary set DF_1_NODELETE flag.
7337 * elf/tst-unique4.cc: New file.
7338 * elf/tst-unique4.h: New file.
7339 * elf/tst-unique4lib.cc: New file.
7340 * elf/Makefile: Add rules to build and run tst-unique4.
7341 Patch by Piotr Bury <pbury@goahead.com>.
7343 2011-05-11 Ulrich Drepper <drepper@gmail.com>
7346 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7349 * misc/mntent_r.c (addmntent): Flush the stream after the output
7352 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7353 (is_trusted_path_normalize): Skip initial colon. Append slash
7354 to empty buffer. Duplicate is_trusted_path code but allow
7355 constructed patch to be prefix.
7356 (is_dst): Allow $ORIGIN followed by /.
7357 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7358 Correct testing of result of is_trusted_path_normalize
7359 (decompose_rpath): Fix warning.
7361 2011-05-10 Ulrich Drepper <drepper@gmail.com>
7364 * grp/initgroups.c (internal_getgrouplist): When we found the service
7365 list through the initgroups entry in nsswitch.conf do not always
7366 continue on a successful lookup. Don't always use the
7367 __nss_group_database value if it is set.
7368 * nss/nsswitch.conf (initgroups): Change action for successful db
7369 lookup to continue for compatibility.
7371 2011-05-09 Ulrich Drepper <drepper@gmail.com>
7374 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7376 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7378 * iconvdata/tst-tables.sh: Likewise.
7379 * iconvdata/cp770.c: New file.
7380 * iconvdata/cp771.c: New file.
7381 * iconvdata/cp772.c: New file.
7382 * iconvdata/cp773.c: New file.
7383 * iconvdata/cp774.c: New file.
7384 * iconvdata/testdata/CP770: New file.
7385 * iconvdata/testdata/CP770..UTF8: New file.
7386 * iconvdata/testdata/CP771: New file.
7387 * iconvdata/testdata/CP771..UTF8: New file.
7388 * iconvdata/testdata/CP772: New file.
7389 * iconvdata/testdata/CP772..UTF8: New file.
7390 * iconvdata/testdata/CP773: New file.
7391 * iconvdata/testdata/CP773..UTF8: New file.
7392 * iconvdata/testdata/CP774: New file.
7393 * iconvdata/testdata/CP774..UTF8: New file.
7395 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7397 * iconvdata/gen-8bit-gap.sh: Likewise.
7398 * iconvdata/gen-8bit.sh: Likewise.
7400 * locale/iso-639.def: Add ary entry.
7403 * locale/C-translit.h.in: Add U20A1 transliteration.
7406 * locale/iso-639.def: Add wae entry.
7407 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7410 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7414 * locale/C-translit.h.in: Add entry for U20B9.
7415 Patch by pravin.d.s@gmail.com.
7417 2011-05-08 Ulrich Drepper <drepper@gmail.com>
7420 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7421 ENAMETOOLONG use generic getcwd.
7422 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7423 in rtld. Use *stat64.
7424 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7425 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7426 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7427 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7428 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7429 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7430 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7432 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7433 * dirent/rewinddir.c: Add libc_hidden_def.
7434 * sysdeps/mach/hurd/rewinddir.c: Likewise.
7435 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7437 * include/dirent.h (__alloc_dir): Add flags parameter.
7438 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7439 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7441 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7442 from fdopendir if O_CLOEXEC is already set.
7444 2011-03-15 Alan Modra <amodra@gmail.com>
7446 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7447 l_tls_firstbyte_offset non-zero. Save padding offset in
7448 l_tls_firstbyte_offset for later use.
7449 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7450 freeing static tls block.
7452 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7454 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7455 where #ifdef was intended. The intent is to prevent ARG_MAX from
7456 being defined by the kernel headers.
7458 2011-05-07 Ulrich Drepper <drepper@gmail.com>
7461 * resolv/resolv.h: Define RES_NOTLDQUERY.
7462 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7463 no-tld-query and set RES_NOTLDQUERY.
7464 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7465 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7466 modern BIND to search name as TLD unless forbidden.
7468 2011-05-07 Petr Baudis <pasky@suse.cz>
7469 Ulrich Drepper <drepper@gmail.com>
7472 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7473 (is_trusted_path): ...to here.
7474 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7475 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7476 using is_trusted_path_normalize() in setuid scripts.
7478 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7480 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7481 __BEGIN/__END_DECLS.
7483 2011-05-06 Ulrich Drepper <drepper@gmail.com>
7485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7486 NSS_STATUS_NOTFOUND if no record was found.
7488 2011-05-05 Andreas Schwab <schwab@redhat.com>
7490 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7491 (headers-not-in-tirpc): Remove rpc/netdb.h
7492 * resolv/netdb.h: Revert last change.
7494 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7496 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7497 circular dependency between libgcc.a and libc.a.
7499 2011-05-05 Andreas Schwab <schwab@redhat.com>
7501 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7502 * nis/Makefile: Don't install rpcsvc/*.
7503 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7504 instead of <rpc/types.h>.
7505 (MAXHOSTNAMELEN): Define.
7507 2011-05-03 Andreas Schwab <schwab@redhat.com>
7509 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7511 2011-04-28 Maciej Babinski <mbabinski@google.com>
7514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7515 gethostbyname4_r when IPv6 results are possible.
7517 2011-05-02 Ulrich Drepper <drepper@gmail.com>
7520 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7521 _PC_PIPE_BUF handling.
7523 2011-04-30 Bruno Haible <bruno@clisp.org>
7526 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7527 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7529 * inet/getnameinfo.c (getnameinfo): Likewise.
7531 2011-04-29 Ulrich Drepper <drepper@gmail.com>
7533 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7534 to groups setting in database lookup.
7535 * nss/nsswitch.conf: Add initgroups entry.
7537 2011-04-22 Ulrich Drepper <drepper@gmail.com>
7540 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7542 Patch by Eric Blake <eblake@redhat.com>.
7544 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7546 * sunrpc/Makefile (need-export-routines): Add svc_run.
7547 (routines): Remove svc_run.
7548 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7549 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7550 * sunrpc/svc_run.c (svc_run): Likewise.
7551 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7553 2011-04-21 Ulrich Drepper <drepper@gmail.com>
7555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7556 problem in reallocation in last patch.
7558 2011-04-20 Ulrich Drepper <drepper@gmail.com>
7560 * sunrpc/Makefile: Move inclusion of Rules.
7562 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7564 * nss/nss_files/files-initgroups.c: New file.
7565 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7566 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7567 _nss_files_initgroups_dyn.
7569 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7571 * elf/elf.h (R_ARM_IRELATIVE): Define.
7573 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7575 * po/ru.po: Update from translation team.
7577 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7579 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7582 2011-02-06 Mike Frysinger <vapier@gentoo.org>
7585 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7586 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7589 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7591 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7593 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7595 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7599 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7602 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7604 * stdlib/bug-getcontext.c: New file.
7605 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7607 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7609 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7610 instructions into .machine "z9-109".
7611 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7612 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7614 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7616 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7617 between environment variables and auxiliary vector.
7619 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7621 * Makefile: Add rules to build linkobj/libc.so.
7622 * include/libc-symbols.h: Define libc_hidden_nolink.
7623 * include/rpc/auth.h: Mark functions which are to be hidden.
7624 * include/rpc/auth_des.h: Likewise.
7625 * include/rpc/auth_unix.h: Likewise.
7626 * include/rpc/clnt.h: Likewise.
7627 * include/rpc/des_crypt.h: Likewise.
7628 * include/rpc/key_prot.h: Likewise.
7629 * include/rpc/pmap_clnt.h: Likewise.
7630 * include/rpc/pmap_prot.h: Likewise.
7631 * include/rpc/pmap_rmt.h: Likewise.
7632 * include/rpc/rpc_msg.h: Likewise.
7633 * include/rpc/svc.h: Likewise.
7634 * include/rpc/svc_auth.h: Likewise.
7635 * include/rpc/xdr.h: Likewise.
7636 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7637 * nss/Makefile: Likewise.
7638 * sunrpc/Makefile: Don't install headers. Build library with normal
7639 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7640 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7641 for the compat linking library. Remove use of INTDEF/INTUSE.
7642 * sunrpc/auth_none.c: Likewise.
7643 * sunrpc/auth_unix.c: Likewise.
7644 * sunrpc/authdes_prot.c: Likewise.
7645 * sunrpc/authuxprot.c: Likewise.
7646 * sunrpc/clnt_gen.c: Likewise.
7647 * sunrpc/clnt_perr.c: Likewise.
7648 * sunrpc/clnt_raw.c: Likewise.
7649 * sunrpc/clnt_simp.c: Likewise.
7650 * sunrpc/clnt_tcp.c: Likewise.
7651 * sunrpc/clnt_udp.c: Likewise.
7652 * sunrpc/clnt_unix.c: Likewise.
7653 * sunrpc/des_crypt.c: Likewise.
7654 * sunrpc/des_soft.c: Likewise.
7655 * sunrpc/get_myaddr.c: Likewise.
7656 * sunrpc/key_call.c: Likewise.
7657 * sunrpc/key_prot.c: Likewise.
7658 * sunrpc/netname.c: Likewise.
7659 * sunrpc/pm_getmaps.c: Likewise.
7660 * sunrpc/pm_getport.c: Likewise.
7661 * sunrpc/pmap_clnt.c: Likewise.
7662 * sunrpc/pmap_prot.c: Likewise.
7663 * sunrpc/pmap_prot2.c: Likewise.
7664 * sunrpc/pmap_rmt.c: Likewise.
7665 * sunrpc/publickey.c: Likewise.
7666 * sunrpc/rpc_cmsg.c: Likewise.
7667 * sunrpc/rpc_common.c: Likewise.
7668 * sunrpc/rpc_dtable.c: Likewise.
7669 * sunrpc/rpc_prot.c: Likewise.
7670 * sunrpc/rpc_thread.c: Likewise.
7671 * sunrpc/rtime.c: Likewise.
7672 * sunrpc/svc.c: Likewise.
7673 * sunrpc/svc_auth.c: Likewise.
7674 * sunrpc/svc_authux.c: Likewise.
7675 * sunrpc/svc_raw.c: Likewise.
7676 * sunrpc/svc_run.c: Likewise.
7677 * sunrpc/svc_simple.c: Likewise.
7678 * sunrpc/svc_tcp.c: Likewise.
7679 * sunrpc/svc_udp.c: Likewise.
7680 * sunrpc/svc_unix.c: Likewise.
7681 * sunrpc/svcauth_des.c: Likewise.
7682 * sunrpc/xcrypt.c: Likewise.
7683 * sunrpc/xdr.c: Likewise.
7684 * sunrpc/xdr_array.c: Likewise.
7685 * sunrpc/xdr_float.c: Likewise.
7686 * sunrpc/xdr_intXX_t.c: Likewise.
7687 * sunrpc/xdr_mem.c: Likewise.
7688 * sunrpc/xdr_rec.c: Likewise.
7689 * sunrpc/xdr_ref.c: Likewise.
7690 * sunrpc/xdr_sizeof.c: Likewise.
7691 * sunrpc/xdr_stdio.c: Likewise.
7693 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7696 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7697 * sysdeps/ia64/dl-tls.h: Likewise.
7698 * sysdeps/powerpc/dl-tls.h: Likewise.
7699 * sysdeps/s390/dl-tls.h: Likewise.
7700 * sysdeps/sh/dl-tls.h: Likewise.
7701 * sysdeps/sparc/dl-tls.h: Likewise.
7702 * sysdeps/x86_64/dl-tls.h: Likewise.
7703 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7705 2011-03-14 Andreas Schwab <schwab@redhat.com>
7707 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7708 rpath element also skip the following colon.
7709 (expand_dynamic_string_token): Add is_path parameter and pass
7710 down to DL_DST_REQUIRED and _dl_dst_substitute.
7711 (decompose_rpath): Call expand_dynamic_string_token with
7712 non-zero is_path. Ignore empty rpaths.
7713 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7716 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7721 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7724 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7725 Patch by Filipe David Manana <fdmanana@apache.org>.
7727 2011-04-07 Andreas Schwab <schwab@redhat.com>
7729 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7730 Maintain aligned stack.
7731 (CHECK_RSP): Remove unused macro.
7733 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7735 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7736 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7738 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7740 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7742 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7744 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7747 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7748 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7749 * sysdeps/x86_64/memmove.c: New file.
7750 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7751 (memcpy): Renamed to ...
7752 (__new_memcpy): This.
7753 (memcpy): Provide GLIBC_2_14 memcpy.
7754 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7755 (memcpy): Provide GLIBC_2_2_5 memcpy.
7757 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7760 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7762 2011-03-30 Andreas Schwab <schwab@redhat.com>
7764 * misc/syncfs.c: New file.
7765 * misc/Makefile (routines): Add syncfs.
7766 * posix/unistd.h: Declare syncfs.
7767 * sysdeps/unix/syscalls.list: Add syncfs.
7769 2011-04-01 Andreas Schwab <schwab@redhat.com>
7771 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7776 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7778 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7781 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7791 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7792 sync_file_range.c with -fexceptions.
7793 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7794 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7795 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7796 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7797 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7798 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7800 sync_file_range as cancellation point
7801 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7802 now a wrapper around __call_sync_file_range with cancellation handling.
7803 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7804 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7805 function name to __call_sync_file_range.
7806 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7807 Add call_sync_file_range.
7809 2011-04-01 Andreas Schwab <schwab@redhat.com>
7811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7814 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7816 * iconv/iconv.h: Fix typo in comment.
7817 * io/fcntl.h: Likewise.
7818 * libio/stdio.h: Likewise.
7819 * posix/spawn.h: Likewise.
7820 * posix/unistd.h: Likewise.
7821 * stdlib/stdlib.h: Likewise.
7822 * time/time.h: Likewise.
7823 * wcsmbs/wchar.h: Likewise.
7825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7826 open_by_handle): Add.
7827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7828 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7829 Augment a few comments.
7830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7835 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7838 * io/fcntl.h (AT_EMPTY_PATH): Define.
7840 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7842 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7843 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7844 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7846 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7847 * Versions.def: Add GLIBC_2.14.
7848 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7851 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7853 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7855 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7857 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7860 * string/test-strncmp.c (do_page_test): New function.
7862 (test_main): Call check2.
7863 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7865 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7869 Handle cache information in CPU leaf 4.
7870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7872 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7875 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7876 character representation.
7877 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7879 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7881 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7882 END(__isnan) to END(__isnanf) to match function entry point/label
7883 EALIGN(__isnanf,...).
7885 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7887 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7889 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7892 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7893 copy from the symbol referenced in the relocation to initialize the
7895 Patch by Piotr Bury <pbury@goahead.com>.
7896 * elf/Makefile: Add rules to build and tst-unique3.
7897 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7898 * elf/tst-unique3.cc: New file.
7899 * elf/tst-unique3.h: New file.
7900 * elf/tst-unique3lib.cc: New file.
7901 * elf/tst-unique3lib2.cc: New file.
7903 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7905 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7907 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7908 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7911 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7913 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7914 to-be-loaded object along a path to loader is ld.so.
7916 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7917 Ulrich Drepper <drepper@gmail.com>
7919 * sysdeps/x86_64/memset.S: After aligning destination, code
7920 branches to different locations depending on the value of
7921 misalignment, when multiarch is enabled. Fix this.
7923 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7925 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7926 Set _x86_64_preferred_memory_instruction for AMD processsors.
7927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7928 Set bit_Prefer_SSE_for_memop for AMD processors.
7930 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7932 * libio/fmemopen.c (fmemopen): Optimize a bit.
7934 2011-03-03 Andreas Schwab <schwab@redhat.com>
7936 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7938 2011-03-03 Roland McGrath <roland@redhat.com>
7940 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7942 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7944 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7945 __bzero_ultra1 instead of __memset_ultra1.
7947 2011-02-23 Andreas Schwab <schwab@redhat.com>
7948 Ulrich Drepper <drepper@gmail.com>
7951 * include/link.h (struct link_map): Add l_orig_initfini.
7952 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7953 returning unsuccessfully.
7954 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7955 close of a file loaded at startup, restore the original l_initfini
7957 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7958 list, store the pointer.
7959 * elf/Makefile ($(objpfx)noload-mem): New rule.
7960 (noload-ENV): Define.
7961 (tests): Add $(objpfx)noload-mem.
7962 * elf/noload.c: Include <memcheck.h>.
7963 (main): Call mtrace. Close all opened handles.
7965 2011-02-17 Andreas Schwab <schwab@redhat.com>
7968 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7969 dependencies are missing.
7971 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7973 Fix __if_freereq crash: Unlike the generic version which uses free,
7975 * sysdeps/mach/hurd/ifreq.h: New file.
7977 2011-01-27 Petr Baudis <pasky@suse.cz>
7978 Ulrich Drepper <drepper@gmail.com>
7981 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7983 * stdio-common/bug23.c: New file.
7984 * stdio-common/Makefile (tests): Add bug23.
7986 2010-09-28 Andreas Schwab <schwab@redhat.com>
7987 Ulrich Drepper <drepper@gmail.com>
7990 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7991 before performing relro protection. At old place add assertion
7992 to make sure nothing changed.
7994 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7995 Glauber de Oliveira Costa <glommer@gmail.com>
7997 * elf/elf.h: Add new ARM TLS relocs.
7999 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8002 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8004 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8006 * sysdeps/wordsize-64/tst-writev.c: New file.
8008 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8010 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8011 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8012 insns in _dl_start to prevent a TOC reference before relocs are
8015 2011-02-15 Ulrich Drepper <drepper@gmail.com>
8018 * Makeconfig: Remove RANLIB definition.
8019 * Makerules: Don't use RANLIB.
8020 * aclocal.m4: Remove ranlib test.
8021 * configure.in: No need to check for ranlib.
8022 * elf/rtld-Rules: Don't use RANLIB.
8024 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8026 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8028 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8029 inclusion protection macro.
8031 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8032 SIGRTMIN and SIGRTMAX and print information in that case only when
8033 SIGRTMIN is defined.
8035 2011-02-11 Jakub Jelinek <jakub@redhat.com>
8037 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8038 arginfo fn returning -1.
8040 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8041 and thousands string is zero terminated.
8043 2011-02-03 Andreas Schwab <schwab@redhat.com>
8045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8046 sysdeps/unix/sysv/linux/bits/socket.h.
8048 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8050 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8051 (__CPU_COUNT): Remove old macros.
8052 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8053 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8054 (__CPU_ALLOC, __CPU_FREE): Add macros.
8055 (__sched_cpualloc, __sched_cpufree): Add declarations.
8057 2011-02-05 Ulrich Drepper <drepper@gmail.com>
8059 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8060 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8061 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8062 (readdhstai): Return value of addhstaiX call.
8063 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8064 (addgrbyX): Return value returned by cache_addgr.
8065 (readdgrbyname): Return value returned by addgrbyX.
8066 (readdgrbygid): Likewise.
8067 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8068 (addpwbyX): Return value returned by cache_addpw.
8069 (readdpwbyname): Return value returned by addhstbyX.
8070 (readdpwbyuid): Likewise.
8071 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8072 (addservbyX): Return value returned by cache_addserv.
8073 (readdservbyname): Return value returned by addservbyX:
8074 (readdservbyport): Likewise.
8075 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8076 (addhstbyX): Return value returned by cache_addhst.
8077 (readdhstbyname): Return value returned by addhstbyX.
8078 (readdhstbyaddr): Likewise.
8079 (readdhstbynamev6): Likewise.
8080 (readdhstbyaddrv6): Likewise.
8081 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8082 (readdinitgroups): Return value returned by addinitgroupsX.
8083 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8084 (prune_cache): Keep track of timeout value of re-added entries.
8085 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8086 * nscd/nscd.h: Adjust prototypes of readd* functions.
8088 2011-02-04 Roland McGrath <roland@redhat.com>
8090 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8091 (nis_stats): Likewise.
8092 * nis/nis_modify.c (nis_modify): Likewise.
8093 * nis/nis_remove.c (nis_remove): Likewise.
8094 * nis/nis_add.c (nis_add): Likewise.
8096 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8098 * posix/fnmatch_loop.c: Add some consts.
8100 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8102 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8105 * config.make.in (config-cflags-novzeroupper): Define.
8106 * configure.in: Substitute libc_cv_cc_novzeroupper.
8107 * elf/Makefile (AVX-CFLAGS): Define.
8108 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8109 (CFLAGS-tst-auditmod4a.c): Likewise.
8110 (CFLAGS-tst-auditmod4b.c): Likewise.
8111 (CFLAGS-tst-auditmod6b.c): Likewise.
8112 (CFLAGS-tst-auditmod6c.c): Likewise.
8113 (CFLAGS-tst-auditmod7b.c): Likewise.
8114 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8116 2011-02-02 Ulrich Drepper <drepper@gmail.com>
8118 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8119 function to the callback.
8120 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8122 2011-02-02 Andreas Schwab <schwab@redhat.com>
8124 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8127 2011-01-19 Ulrich Drepper <drepper@gmail.com>
8130 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8132 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8134 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8137 * elf/Makefile: Add rules to build and run new test.
8138 * elf/tst-initorder.c: New file.
8139 * elf/tst-initorder.exp: New file.
8140 * elf/tst-initordera1.c: New file.
8141 * elf/tst-initordera2.c: New file.
8142 * elf/tst-initordera3.c: New file.
8143 * elf/tst-initordera4.c: New file.
8144 * elf/tst-initorderb1.c: New file.
8145 * elf/tst-initorderb2.c: New file.
8146 * elf/tst-order-a1.c: New file.
8147 * elf/tst-order-a2.c: New file.
8148 * elf/tst-order-a3.c: New file.
8149 * elf/tst-order-a4.c: New file.
8150 * elf/tst-order-b1.c: New file.
8151 * elf/tst-order-b2.c: New file.
8152 * elf/tst-order-main.c: New file.
8153 New test case by George Gensure <werkt0@gmail.com>.
8155 2010-10-01 Andreas Schwab <schwab@redhat.com>
8157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8158 decoding ACE if AI_CANONIDN.
8160 2011-01-18 Ulrich Drepper <drepper@gmail.com>
8162 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8164 2011-01-17 Ulrich Drepper <drepper@gmail.com>
8166 * version.h (RELEASE): Bump for 2.13 release.
8167 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8169 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8173 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8180 * posix/getconf.c: Update copyright year.
8181 * catgets/gencat.c: Likewise.
8182 * csu/version.c: Likewise.
8183 * debug/catchsegv.sh: Likewise.
8184 * debug/xtrace.sh: Likewise.
8185 * elf/ldconfig.c: Likewise.
8186 * elf/ldd.bash.in: Likewise.
8187 * elf/sprof.c (print_version): Likewise.
8188 * iconv/iconv_prog.c: Likewise.
8189 * iconv/iconvconfig.c: Likewise.
8190 * locale/programs/locale.c: Likewise.
8191 * locale/programs/localedef.c: Likewise.
8192 * malloc/memusage.sh: Likewise.
8193 * malloc/mtrace.pl: Likewise.
8194 * nscd/nscd.c (print_version): Likewise.
8195 * nss/getent.c: Likewise.
8197 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8198 PF_CAIF, and PF_ALG.
8199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8201 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8203 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8204 (modules-names): Use them.
8205 (ifunc-test-modules, ifunc-pie-tests): Define.
8206 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8207 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8208 (test-extras): Likewise.
8209 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8210 $(compile-command.c).
8211 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8212 (all-built-dso): Define.
8213 (check-textrel.out, check-execstack.out): Depend on it.
8215 * configure.in: Don't override --enable-multi-arch.
8217 2011-01-15 Ulrich Drepper <drepper@gmail.com>
8220 * nscd/hstcache.c (tryagain): Define.
8221 (cache_addhst): Return tryagain not notfound for temporary errors.
8222 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8225 2011-01-14 Ulrich Drepper <drepper@gmail.com>
8228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8229 to make the syscall.
8230 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8233 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8234 and fall back to matching as normal character if the string ends before
8235 the matching ']' is found. This is what POSIX requires.
8236 * posix/testfnm.c: Adjust test result.
8237 * posix/globtest.sh: Adjust test result. Add new test.
8238 * posix/tst-fnmatch.input: Likewise.
8239 * posix/tst-fnmatch2.c: Add new test.
8241 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8243 * elf/Makefile (check-execstack): Revert last change. Depend on
8245 (check-execstack.h): New target.
8246 (generated): Add check-execstack.h.
8247 * elf/check-execstack.c: Include "check-execstack.h".
8248 (main): Revert last change.
8249 (handle_file): Return zero if GNU_STACK is absent and
8250 DEFAULT_STACK_PERMS doesn't include PF_X.
8252 2011-01-13 Ulrich Drepper <drepper@gmail.com>
8254 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8255 in child fails because the descriptor is already closed.
8256 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8257 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8261 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8265 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8266 temporary buffer used to handle multi lookups locally.
8267 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8269 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8271 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8274 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8276 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8279 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8282 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8283 characters. When rounding increased number of integer digits recompute
8285 * stdio-common/tst-grouping.c: New file.
8286 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8288 2011-01-09 Ulrich Drepper <drepper@gmail.com>
8290 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8291 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8293 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8295 * bits/select.h: Likewise.
8297 2011-01-08 Ulrich Drepper <drepper@gmail.com>
8299 * po/ja.po: Update from translation team.
8301 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
8304 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8305 implementation just like for lxstat, fxstatat, et al.
8307 2010-12-27 Jim Meyering <meyering@redhat.com>
8310 * posix/regexec.c (build_trtable): Return failure indication upon
8311 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8313 2010-12-25 Ulrich Drepper <drepper@gmail.com>
8316 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8317 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8318 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8322 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8325 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8326 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8328 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8330 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8331 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8332 script has SORT_BY_INIT_PRIORITY.
8333 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8334 NO_CTORS_DTORS_SECTIONS is defined.
8335 * elf/soinit.c: Likewise.
8336 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8337 NO_CTORS_DTORS_SECTIONS is defined.
8338 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8339 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8340 * sysdeps/sh/init-first.c: Likewise.
8341 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8343 2010-12-24 Ulrich Drepper <drepper@gmail.com>
8345 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8346 always use the slow path.
8348 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8350 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8351 similar rule which adds the sysdep directories to the header search in
8352 order to pick up the correct platform stackinfo.h.
8353 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8354 perform test if it is, otherwise return successfully without testing.
8355 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8356 DEFAULT_STACK_PERMS define in stackinfo.h.
8357 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8358 defined in stackinfo.h.
8359 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8360 DEFAULT_STACK_PERMS defined in stackinfo.h.
8361 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8362 * sysdeps/ia64/stackinfo.h: Likewise.
8363 * sysdeps/s390/stackinfo.h: Likewise.
8364 * sysdeps/sh/stackinfo.h: Likewise.
8365 * sysdeps/sparc/stackinfo.h: Likewise.
8366 * sysdeps/x86_64/stackinfo.h: Likewise.
8367 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8368 PF_X for powerpc64. Retain PF_X for powerpc32.
8370 2010-12-19 Ulrich Drepper <drepper@gmail.com>
8372 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8374 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8375 GETDENTS_64BIT_ALIGNED.
8377 2010-12-14 Ulrich Drepper <dreper@gmail.com>
8379 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8381 2010-12-10 Andreas Schwab <schwab@redhat.com>
8383 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8386 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8387 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8389 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8390 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8392 2010-12-09 Ulrich Drepper <drepper@gmail.com>
8395 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8398 2010-12-09 Jakub Jelinek <jakub@redhat.com>
8400 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8402 2010-12-03 Ulrich Drepper <drepper@gmail.com>
8404 * po/it.po: Update from translation team.
8406 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8411 2010-11-30 Ulrich Drepper <drepper@gmail.com>
8413 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8415 2010-11-24 Andreas Schwab <schwab@redhat.com>
8417 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8419 (gaih_getanswer_slice): Likewise.
8421 2010-10-20 Jakub Jelinek <jakub@redhat.com>
8423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8425 2010-05-31 Petr Baudis <pasky@suse.cz>
8428 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8429 silently even in the chroot mode.
8431 2010-11-22 Ulrich Drepper <drepper@gmail.com>
8433 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8434 last patch a bit. Pretty printing
8436 2010-05-31 Petr Baudis <pasky@suse.cz>
8439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8440 initialization of skip_initgroups_dyn.
8442 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8444 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8447 2010-11-16 Ulrich Drepper <drepper@gmail.com>
8449 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8451 2010-11-11 Andreas Schwab <schwab@redhat.com>
8453 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8454 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8455 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8456 ($(objpfx)tst-fnmatch-mem): New rule.
8457 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8458 * posix/tst-fnmatch.c (main): Call mtrace.
8460 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8463 Support Intel processor model 6 and model 0x2c.
8465 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8470 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8473 * string/test-strncasecmp.c (check_result): New function.
8474 (do_one_test): Use it.
8475 (check1): New function.
8476 (test_main): Use it.
8477 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8478 Support strcasecmp and strncasecmp.
8480 2010-11-08 Ulrich Drepper <drepper@gmail.com>
8483 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8486 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8488 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8492 * sysdeps/x86_64/multiarch/bzero.S: New file.
8493 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8494 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8495 * sysdeps/x86_64/multiarch/memset.S: New file.
8496 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8498 Set bit_Prefer_SSE_for_memop for Intel processors.
8499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8501 (index_Prefer_SSE_for_memop): Define.
8502 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8504 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
8506 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8507 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8509 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8512 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8513 (__x86_64_raw_data_cache_size_half): Likewise.
8514 (__x86_64_raw_shared_cache_size): Likewise.
8515 (__x86_64_raw_shared_cache_size_half): Likewise.
8517 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8518 (__x86_64_raw_data_cache_size_half): Likewise.
8519 (__x86_64_raw_shared_cache_size): Likewise.
8520 (__x86_64_raw_shared_cache_size_half): Likewise.
8521 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8522 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8523 and __x86_64_raw_shared_cache_size_half. Round
8524 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8525 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8526 to multiple of 256 bytes.
8528 2010-11-03 Ulrich Drepper <drepper@gmail.com>
8531 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8532 of inacessible symlinks. Verify result of symlink before returning it.
8533 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8534 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8536 2010-10-28 Erich Ritz <erichritz@gmail.com>
8538 * math/math.h (isinf): Fix typo in comment.
8540 2010-11-01 Ulrich Drepper <drepper@gmail.com>
8542 * po/da.po: Update from translation team.
8544 2010-10-26 Ulrich Drepper <drepper@gmail.com>
8546 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8547 is added to the list.
8549 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8550 Ulrich Drepper <drepper@gmail.com>
8552 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8553 the global list here. Move code to...
8554 (_dl_add_to_namespace_list): ...here. New function.
8555 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8556 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8557 * elf/dl-load.c (lose): Don't remove the element from the list.
8558 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8559 (_dl_map_object): Likewise.
8561 2010-10-25 Ulrich Drepper <drepper@gmail.com>
8564 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8565 into all bytes of SSE register.
8566 Patch by Richard Li <richardpku@gmail.com>.
8568 2010-10-24 Ulrich Drepper <drepper@gmail.com>
8571 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8574 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8576 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8577 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8579 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8584 2010-10-22 Andreas Schwab <schwab@redhat.com>
8586 * include/dlfcn.h (__RTLD_SECURE): Define.
8587 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8588 mode & __RTLD_SECURE instead.
8589 (open_path): Rename preloaded parameter to secure.
8590 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8591 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8592 * elf/dl-deps.c (openaux): Likewise.
8593 * elf/rtld.c (struct map_args): Remove is_preloaded.
8594 (map_doit): Don't use it.
8595 (dl_main): Likewise.
8596 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8597 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8599 2010-09-09 Andreas Schwab <schwab@redhat.com>
8601 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8602 (sysd-rules-targets): Remove duplicates.
8603 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8604 rtld-%.$o dependency.
8606 2010-10-18 Andreas Schwab <schwab@redhat.com>
8608 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8609 _dl_map_object do it.
8611 2010-10-19 Ulrich Drepper <drepper@gmail.com>
8613 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8614 fast fma builtins, define the macros in the C99 standard.
8615 (FP_FAST_FMAF): Likewise.
8616 (FP_FAST_FMAL): Likewise.
8617 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8619 * bits/mathdef.h: Update copyright year.
8620 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8622 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8624 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8625 builtins, define the macros in the C99 standard.
8626 (FP_FAST_FMAF): Likewise.
8627 (FP_FAST_FMAL): Likewise.
8628 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8630 (FP_FAST_FMAF): Likewise.
8632 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8635 * math/libm-test.inc (fma_test): Some new testcases.
8636 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8638 y and infinite z. Do multiplication by C already in long double.
8639 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8641 y and infinite z. Do bitwise or of inexact bit into u.d.
8642 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8643 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8644 * sysdeps/i386/fpu/s_fma.S: Removed.
8645 * sysdeps/i386/fpu/s_fmal.S: Removed.
8647 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8650 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8652 computation is not scheduled after fetestexcept. Fix value
8653 of minimum denormal long double.
8655 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8658 * math/libm-test.inc (fma_test): Add some more tests.
8659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8662 2010-10-15 Andreas Schwab <schwab@redhat.com>
8664 * scripts/data/localplt-s390-linux-gnu.data: New file.
8665 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8667 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8670 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8671 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8673 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8675 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8677 if one of x and y is very large and the other is subnormal.
8678 * sysdeps/s390/fpu/s_fmaf.c: New file.
8679 * sysdeps/s390/fpu/s_fma.c: New file.
8680 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8681 * sysdeps/powerpc/fpu/s_fma.S: New file.
8682 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8683 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8684 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8686 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8689 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8691 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8692 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8693 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8694 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8695 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8696 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8699 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8702 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8703 * posix/bug-regex31.input: Add test case.
8705 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8707 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8708 * posix/bug-regex31.input: New file.
8711 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8712 (parse_sub_exp): Fix last change, use postorder.
8714 * posix/bug-regex31.c: New file.
8715 * posix/Makefile: Add rules to build and run bug-regex31.
8717 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8720 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8723 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8724 to have entries in sys_siglist.
8727 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8730 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8733 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8734 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8735 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8736 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8737 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8738 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8739 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8740 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8741 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8742 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8743 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8744 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8745 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8746 * math/ftestexcept.c (fetestexcept): Likewise.
8747 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8748 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8749 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8750 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8751 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8752 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8753 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8755 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8758 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8761 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8763 * string/bug-strstr1.c: New file.
8764 * string/Makefile: Add rules to build and run bug-strstr1.
8766 2010-10-05 Eric Blake <eblake@redhat.com>
8769 * string/str-two-way.h (two_way_long_needle): Always clear memory
8770 when skipping input due to the shift table.
8772 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8775 * malloc/mcheck.c: Handle large requests.
8778 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8779 for strncmp and strncasecmp.
8780 * string/stratcliff.c: Add tests for strcmp and strncmp.
8781 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8783 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8785 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8788 2010-09-30 Andreas Jaeger <aj@suse.de>
8790 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8791 (CGROUP_SUPER_MAGIC): Define.
8792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8793 Handle btrfs and cgroup file systems.
8794 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8797 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8799 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8800 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8802 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8805 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8806 trying to locate the ELF header.
8808 2010-09-27 Andreas Schwab <schwab@redhat.com>
8811 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8812 Mask out sign-bit copies when constructing f_fsid.
8814 2010-09-24 Petr Baudis <pasky@suse.cz>
8816 * debug/stack_chk_fail_local.c: Add missing licence exception.
8817 * debug/warning-nop.c: Likewise.
8819 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8821 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8822 implementing getdents64 using getdents syscall, set d_type if
8823 __ASSUME_GETDENTS32_D_TYPE.
8825 2010-09-16 Andreas Schwab <schwab@redhat.com>
8827 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8828 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8830 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8833 * posix/unistd.h: Undo change of feature selection for ftruncate from
8836 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8838 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8841 2010-09-20 Andreas Schwab <schwab@redhat.com>
8843 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8845 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8847 2010-09-14 Andreas Schwab <schwab@redhat.com>
8849 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8850 variables after CHECK_SP call.
8851 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8853 2010-09-13 Andreas Schwab <schwab@redhat.com>
8854 Ulrich Drepper <drepper@redhat.com>
8856 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8857 re-relocationg ld.so.
8858 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8859 _dl_init_paths call.
8860 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8863 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8865 * resolv/res_init.c (__res_vinit): Count the default server we added.
8867 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8868 Ulrich Drepper <drepper@redhat.com>
8871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8872 (____longjmp_chk): Use %ebx for saving value across system call.
8875 2010-09-06 Andreas Schwab <schwab@redhat.com>
8877 * manual/Makefile: Don't mix pattern rules with normal rules.
8879 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8881 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8883 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8884 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8885 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8886 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8890 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8893 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8894 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8896 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8898 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8899 * sysdeps/x86_64/addmul_1.S: Likewise.
8900 * sysdeps/x86_64/lshift.S: Likewise.
8901 * sysdeps/x86_64/mul_1.S: Likewise.
8902 * sysdeps/x86_64/rshift.S: Likewise.
8903 * sysdeps/x86_64/sub_n.S: Likewise.
8904 * sysdeps/x86_64/submul_1.S: Likewise.
8906 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8908 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8909 Define __sched_param instead of SCHED_* and sched_param when
8910 <bits/sched.h> is included with __need_schedparam defined.
8911 * bits/sched.h [__need_schedparam]
8912 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8913 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8914 (__defined_schedparam): Define to 1.
8915 (__sched_param): New structure, identical to sched_param.
8916 (__need_schedparam): Undefine.
8918 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8921 (epoll_create1): Declare.
8923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8925 2010-08-31 Andreas Schwab <schwab@redhat.com>
8928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8929 shifting retval into place.
8931 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8933 * nis/rpcsvc/nis.h: Update copyright notice.
8934 * nis/rpcsvc/nis.x: Likewise.
8935 * nis/rpcsvc/nis_callback.h: Likewise.
8936 * nis/rpcsvc/nis_callback.x: Likewise.
8937 * nis/rpcsvc/nis_object.x: Likewise.
8938 * nis/rpcsvc/nis_tags.h: Likewise.
8939 * nis/rpcsvc/yp.h: Likewise.
8940 * nis/rpcsvc/yp.x: Likewise.
8941 * nis/rpcsvc/ypupd.h: Likewise.
8942 * nis/yp_xdr.c: Likewise.
8943 * nis/ypupdate_xdr.c: Likewise.
8945 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8946 mainly the body of pmap_getport. Add parameters to specify timeouts.
8947 (pmap_getport): Use __libc_rpc_getport.
8948 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8949 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8950 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8952 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8957 2010-08-27 Roland McGrath <roland@redhat.com>
8959 * sysdeps/i386/i686/multiarch/Makefile
8960 (CFLAGS-varshift.c): New variable.
8962 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8964 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8965 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8969 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8971 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8973 * sysdeps/x86_64/strlen.S: Unroll the loop.
8974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8975 strlen-sse2 strlen-sse2-bsf.
8976 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8977 __strlen_no_bsf if bit_Slow_BSF is set.
8978 (__strlen_sse42): Removed.
8979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8980 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8982 2010-08-25 Roland McGrath <roland@redhat.com>
8984 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8985 * sysdeps/x86_64/multiarch/varshift.c: New file.
8986 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8987 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8988 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8989 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8991 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8994 strlen-sse2 strlen-sse2-bsf.
8995 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8996 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8997 (__strlen_sse2): Removed.
8998 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9001 bit_Slow_BSF for Atom.
9002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9003 (index_Slow_BSF): Define.
9004 (HAS_SLOW_BSF): Define.
9006 2010-08-25 Ulrich Drepper <drepper@redhat.com>
9009 * resolv/res_init.c (__res_vinit): When no server address at all
9010 is given default to loopback.
9012 2010-08-24 Roland McGrath <roland@redhat.com>
9014 * configure.in: Remove config-name.h generation.
9015 * configure: Regenerated.
9016 * config-name.in: File removed.
9017 * scripts/config-uname.sh: New file.
9018 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9019 ($(objdir)config-name.h): New target.
9021 * sunrpc/rpc_parse.h: Avoid nested comment.
9023 2010-08-24 Richard Henderson <rth@redhat.com>
9024 Ulrich Drepper <drepper@redhat.com>
9025 H.J. Lu <hongjiu.lu@intel.com>
9027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9029 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9030 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9031 _mm_alignr_epi8 with _mm_loadu_si128.
9032 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9033 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9034 (__m128i_shift_right): Removed.
9035 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9036 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9037 * sysdeps/x86_64/multiarch/varshift.h: New file.
9038 * sysdeps/x86_64/multiarch/varshift.S: New file.
9040 2010-08-21 Mike Frysinger <vapier@gentoo.org>
9042 * configure.in: Move assembler checks to before sysdep dir checking.
9044 2010-08-20 Petr Baudis <pasky@suse.cz>
9046 * LICENSES: Sync the sunrpc license.
9048 2010-08-19 Ulrich Drepper <drepper@redhat.com>
9050 * sunrpc/auth_des.c: Update copyright notice once again.
9051 * sunrpc/auth_none.c: Likewise.
9052 * sunrpc/auth_unix.c: Likewise.
9053 * sunrpc/authdes_prot.c: Likewise.
9054 * sunrpc/authuxprot.c: Likewise.
9055 * sunrpc/bindrsvprt.c: Likewise.
9056 * sunrpc/clnt_gen.c: Likewise.
9057 * sunrpc/clnt_perr.c: Likewise.
9058 * sunrpc/clnt_raw.c: Likewise.
9059 * sunrpc/clnt_simp.c: Likewise.
9060 * sunrpc/clnt_tcp.c: Likewise.
9061 * sunrpc/clnt_udp.c: Likewise.
9062 * sunrpc/clnt_unix.c: Likewise.
9063 * sunrpc/des_crypt.c: Likewise.
9064 * sunrpc/des_soft.c: Likewise.
9065 * sunrpc/get_myaddr.c: Likewise.
9066 * sunrpc/getrpcport.c: Likewise.
9067 * sunrpc/key_call.c: Likewise.
9068 * sunrpc/key_prot.c: Likewise.
9069 * sunrpc/openchild.c: Likewise.
9070 * sunrpc/pm_getmaps.c: Likewise.
9071 * sunrpc/pm_getport.c: Likewise.
9072 * sunrpc/pmap_clnt.c: Likewise.
9073 * sunrpc/pmap_prot.c: Likewise.
9074 * sunrpc/pmap_prot2.c: Likewise.
9075 * sunrpc/pmap_rmt.c: Likewise.
9076 * sunrpc/rpc/auth.h: Likewise.
9077 * sunrpc/rpc/auth_unix.h: Likewise.
9078 * sunrpc/rpc/clnt.h: Likewise.
9079 * sunrpc/rpc/des_crypt.h: Likewise.
9080 * sunrpc/rpc/key_prot.h: Likewise.
9081 * sunrpc/rpc/netdb.h: Likewise.
9082 * sunrpc/rpc/pmap_clnt.h: Likewise.
9083 * sunrpc/rpc/pmap_prot.h: Likewise.
9084 * sunrpc/rpc/pmap_rmt.h: Likewise.
9085 * sunrpc/rpc/rpc.h: Likewise.
9086 * sunrpc/rpc/rpc_des.h: Likewise.
9087 * sunrpc/rpc/rpc_msg.h: Likewise.
9088 * sunrpc/rpc/svc.h: Likewise.
9089 * sunrpc/rpc/svc_auth.h: Likewise.
9090 * sunrpc/rpc/types.h: Likewise.
9091 * sunrpc/rpc/xdr.h: Likewise.
9092 * sunrpc/rpc_clntout.c: Likewise.
9093 * sunrpc/rpc_cmsg.c: Likewise.
9094 * sunrpc/rpc_common.c: Likewise.
9095 * sunrpc/rpc_cout.c: Likewise.
9096 * sunrpc/rpc_dtable.c: Likewise.
9097 * sunrpc/rpc_hout.c: Likewise.
9098 * sunrpc/rpc_main.c: Likewise.
9099 * sunrpc/rpc_parse.c: Likewise.
9100 * sunrpc/rpc_parse.h: Likewise.
9101 * sunrpc/rpc_prot.c: Likewise.
9102 * sunrpc/rpc_sample.c: Likewise.
9103 * sunrpc/rpc_scan.c: Likewise.
9104 * sunrpc/rpc_scan.h: Likewise.
9105 * sunrpc/rpc_svcout.c: Likewise.
9106 * sunrpc/rpc_tblout.c: Likewise.
9107 * sunrpc/rpc_util.c: Likewise.
9108 * sunrpc/rpc_util.h: Likewise.
9109 * sunrpc/rpcinfo.c: Likewise.
9110 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9111 * sunrpc/rpcsvc/key_prot.x: Likewise.
9112 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9113 * sunrpc/rpcsvc/mount.x: Likewise.
9114 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9115 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9116 * sunrpc/rpcsvc/rex.x: Likewise.
9117 * sunrpc/rpcsvc/rstat.x: Likewise.
9118 * sunrpc/rpcsvc/rusers.x: Likewise.
9119 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9120 * sunrpc/rpcsvc/spray.x: Likewise.
9121 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9122 * sunrpc/rtime.c: Likewise.
9123 * sunrpc/svc.c: Likewise.
9124 * sunrpc/svc_auth.c: Likewise.
9125 * sunrpc/svc_authux.c: Likewise.
9126 * sunrpc/svc_raw.c: Likewise.
9127 * sunrpc/svc_run.c: Likewise.
9128 * sunrpc/svc_simple.c: Likewise.
9129 * sunrpc/svc_tcp.c: Likewise.
9130 * sunrpc/svc_udp.c: Likewise.
9131 * sunrpc/svc_unix.c: Likewise.
9132 * sunrpc/svcauth_des.c: Likewise.
9133 * sunrpc/xcrypt.c: Likewise.
9134 * sunrpc/xdr.c: Likewise.
9135 * sunrpc/xdr_array.c: Likewise.
9136 * sunrpc/xdr_float.c: Likewise.
9137 * sunrpc/xdr_mem.c: Likewise.
9138 * sunrpc/xdr_rec.c: Likewise.
9139 * sunrpc/xdr_ref.c: Likewise.
9140 * sunrpc/xdr_sizeof.c: Likewise.
9141 * sunrpc/xdr_stdio.c: Likewise.
9143 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9146 2010-08-19 Andreas Schwab <schwab@redhat.com>
9148 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9150 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
9152 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9153 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9154 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9155 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9156 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9157 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9158 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9159 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9160 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9161 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9162 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9163 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9164 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9165 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9167 2010-07-26 Anton Blanchard <anton@samba.org>
9169 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9170 * malloc/arena.c (heap_trim): Likewise.
9172 2010-08-16 Ulrich Drepper <drepper@redhat.com>
9174 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9177 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9179 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9181 * sysdeps/i386/elf/Makefile: New file.
9183 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9185 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9190 2010-08-15 Ulrich Drepper <drepper@redhat.com>
9192 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9194 * sysdeps/multiarch/strcmp.S: Likewise.
9196 2010-08-14 Ulrich Drepper <drepper@redhat.com>
9198 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9199 strncase_l-nonascii.
9200 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9201 Add strncase_l-ssse3.
9202 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9203 * sysdeps/x86_64/strcmp.S: Likewise.
9204 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9205 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9206 * sysdeps/x86_64/strncase.S: New file.
9207 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9208 * sysdeps/x86_64/strncase_l.S: New file.
9209 * string/Makefile (strop-tests): Add strncasecmp.
9210 * string/test-strncasecmp.c: New file.
9212 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9215 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9216 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9218 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9220 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9222 2010-08-12 Ulrich Drepper <drepper@redhat.com>
9224 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9225 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9228 2010-05-01 Alan Modra <amodra@gmail.com>
9230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9231 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9232 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9233 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9234 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9235 tidying. Don't tail-call __sigjmp_save for static lib.
9236 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9238 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9239 (CALL_MCOUNT): Add eh info, and nop after bl.
9240 (TAIL_CALL_SYSCALL_ERROR): New macro.
9241 (PSEUDO_RET): Use it.
9242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9243 Correct save location of integer regs and cr.
9244 (_dl_profile_resolve): Correct cr save location. Delete nops
9245 after bl when SHARED. Reduce cfi size a little by better
9246 placement of cfi directives.
9247 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9248 make a stack frame. Instead use parm save area as a temp.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9250 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9252 Don't make a stack frame for parent, use parm save area.
9253 Increase child stack frame to 112 bytes. Don't save unused reg,
9254 and adjust reg usage. Set up cfi on error recovery and
9255 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9257 (__makecontext): Add dummy nop after jump to exit.
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9259 Use correct parm save area and cr save, reduce stack frame.
9260 Correct cfi for possible PSEUDO_RET frame setup.
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9262 Branch to local label emitted by PSEUDO_RET rather than
9265 2010-08-12 Andreas Schwab <schwab@redhat.com>
9268 * locale/programs/locale.c (print_assignment): New function.
9269 (show_locale_vars): Use it.
9271 2010-08-11 Ulrich Drepper <drepper@redhat.com>
9273 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9275 (struct statfs64): Likewise.
9276 (_STATFS_F_FLAGS): Define.
9277 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9279 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9280 (ST_VALID): Define locally.
9281 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9282 __statvfs_getflags, use the provided value.
9283 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9284 __ASSUME_STATFS_F_FLAGS.
9286 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9288 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9290 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9291 fanotify_mask for GLIBC_2.13.
9292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9293 fanotify_init and fanotify_mark.
9294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9295 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9297 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9299 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9300 prlimit64 for GLIBC_2.13.
9301 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9307 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9308 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9311 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9314 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9315 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9317 * nss/Makefile: Add rules to build and run tst-nss-test1.
9318 * shlib-versions: Add entry for libnss_test1.
9319 * nss/nss_test1.c: New file.
9320 * nss/tst-nss-test1.c: New file.
9322 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9323 (__nss_configure_lookup): Set appropriate entry in
9324 __nss_configure_lookup to true.
9325 * nss/nsswitch.h: Define enum with indeces of databases in
9326 databases and __nss_database_custom arrays. Declare
9327 __nss_database_custom.
9328 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9329 to avoid using nscd when custom rules are installed.
9330 * nss/getXXbyYY_r.c: Likewise.
9331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9333 * nss/nss_files/files-parse.c: Whitespace fixes.
9335 2010-08-09 Ulrich Drepper <drepper@redhat.com>
9338 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9339 * posix/fnmatch_loop.c: Likewise.
9341 2010-07-17 Andi Kleen <ak@linux.intel.com>
9343 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9344 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9345 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9346 * Versions.def [GLIBC_2.13]: Add.
9348 2010-08-06 Ulrich Drepper <drepper@redhat.com>
9350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9351 Also fail if tpwd after pwuid call is NULL.
9353 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9355 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9356 when converting to ms.
9358 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9360 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9361 EOPNOTSUPP errors with ENOTTY.
9362 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9363 EOPNOTSUPP errors with ENOTTY.
9365 2010-07-31 Ulrich Drepper <drepper@redhat.com>
9367 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9368 Add strcasecmp_l-ssse3.
9369 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9371 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9372 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9373 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9375 2010-07-30 Ulrich Drepper <drepper@redhat.com>
9377 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9379 * string/Makefile (strop-tests): Add strcasecmp.
9380 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9381 strcasecmp_l-nonascii.
9382 (gen-as-const-headers): Add locale-defines.sym.
9383 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9384 * sysdeps/x86_64/strcasecmp.S: New file.
9385 * sysdeps/x86_64/strcasecmp_l.S: New file.
9386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9387 * sysdeps/x86_64/locale-defines.sym: New file.
9388 * string/test-strcasecmp.c: New file.
9390 * string/test-strcasestr.c: Test both ends of the range of characters.
9391 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9393 2010-07-29 Roland McGrath <roland@redhat.com>
9396 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9398 2010-07-27 Ulrich Drepper <drepper@redhat.com>
9400 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9403 2010-07-27 Andreas Schwab <schwab@redhat.com>
9405 * manual/memory.texi (Malloc Tunable Parameters): Document
9408 2010-07-26 Roland McGrath <roland@redhat.com>
9411 * configure.in (-fgnu89-inline check): Set and substitute
9412 gnu89_inline, not libc_cv_gnu89_inline.
9413 * configure: Regenerated.
9414 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9416 2010-07-26 Ulrich Drepper <drepper@redhat.com>
9418 * string/test-strnlen.c: New file.
9419 * string/Makefile (strop-tests): Add strnlen.
9420 * string/tester.c (test_strnlen): Add a few more test cases.
9421 * string/tst-strlen.c: Better error reporting.
9423 * sysdeps/x86_64/strnlen.S: New file.
9425 2010-07-24 Ulrich Drepper <drepper@redhat.com>
9427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9428 lower-latency instructions.
9430 2010-07-23 Ulrich Drepper <drepper@redhat.com>
9432 * string/test-strcasestr.c: New file.
9433 * string/test-strstr.c: New file.
9434 * string/Makefile (strop-tests): Add strstr and strcasestr.
9435 * string/str-two-way.h: Don't undefine MAX.
9436 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9438 2010-07-21 Andreas Schwab <schwab@redhat.com>
9440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9441 strcasestr-nonascii.
9442 (CFLAGS-strcasestr-nonascii.c): Define.
9443 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9445 Remove unused attribute.
9447 2010-07-20 Roland McGrath <roland@redhat.com>
9449 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9450 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9451 ld.so.cache was broken. With it, there is no way to disable dsocaps
9452 like LD_HWCAP_MASK can disable hwcaps.
9454 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9456 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9458 2010-07-16 Ulrich Drepper <drepper@redhat.com>
9460 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9462 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9463 __strcasestr_sse42_nonascii.
9464 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9465 strcasestr-nonascii.c.
9466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9468 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
9470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9471 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9472 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9473 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9475 2010-07-09 Ulrich Drepper <drepper@redhat.com>
9477 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9480 2010-07-06 Andreas Schwab <schwab@redhat.com>
9483 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9486 2010-07-06 Ulrich Drepper <drepper@redhat.com>
9488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9489 _PC_PIPE_BUF using F_GETPIPE_SZ.
9491 2010-07-05 Roland McGrath <roland@redhat.com>
9493 * manual/arith.texi (Rounding Functions): Fix rint description
9494 implicit in round description.
9496 2010-07-02 Ulrich Drepper <drepper@redhat.com>
9498 * elf/Makefile: Fix linking for a few tests to make recent linker
9501 2010-06-30 Andreas Schwab <schwab@redhat.com>
9503 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9504 $(common-objpfx)libc_nonshared.a.
9506 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
9508 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9509 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9510 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9511 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9512 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9513 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9514 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9515 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9530 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9531 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9532 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9533 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9534 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9535 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9536 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9537 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9538 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9539 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9540 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9541 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9557 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9559 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9560 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9561 * string/memmove.c (memmove): Renamed to ...
9562 (MEMMOVE): ...this. Default to memmove.
9563 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9564 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9567 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9568 mempcpy-ssse3-back memmove-ssse3-back.
9569 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9572 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9573 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9574 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9575 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9576 * sysdeps/x86_64/multiarch/memmove.c: New file.
9577 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9578 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9579 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9580 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9581 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9584 (index_Fast_Copy_Backward): Define.
9585 (HAS_ARCH_FEATURE): Define.
9586 (HAS_FAST_REP_STRING): Define.
9587 (HAS_FAST_COPY_BACKWARD): Define.
9589 2010-06-21 Andreas Schwab <schwab@redhat.com>
9591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9592 Restore proper fallback handling.
9594 2010-06-19 Ulrich Drepper <drepper@redhat.com>
9597 * posix/group_member.c (__group_member): Correct checking loop.
9599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9600 OOM in getpwuid_r correctly. Return error number when the caller
9601 should return, otherwise -1.
9602 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9603 call returning > 0 value.
9604 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9606 2010-06-07 Andreas Schwab <schwab@redhat.com>
9608 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9609 libc_nonshared.a from targets in modules-names.
9611 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9613 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9616 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9618 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9619 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9623 2010-06-02 Andreas Schwab <schwab@redhat.com>
9625 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9627 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9629 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9631 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9638 2010-06-14 Roland McGrath <roland@redhat.com>
9640 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9642 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9644 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9645 __REDIRECT followed by __THROW.
9646 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9647 * posix/getopt.h (getopt): Likewise.
9649 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9651 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9652 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9653 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9655 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9656 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9658 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9662 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9666 Properly check family and model.
9668 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9672 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9674 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9676 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9678 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9681 2010-05-19 Andreas Schwab <schwab@redhat.com>
9683 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9686 2010-05-21 Andreas Schwab <schwab@redhat.com>
9688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9689 and internal_recvmmsg.
9690 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9691 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9692 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9693 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9695 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9696 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9697 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9699 2010-05-20 Andreas Schwab <schwab@redhat.com>
9701 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9703 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9705 POWER7 optimizations.
9706 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9707 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9709 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9711 * version.h: Update for 2.13 development version.
9713 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9716 exceptions. Return 0.
9718 2010-05-07 Roland McGrath <roland@redhat.com>
9720 * elf/ldconfig.c (main): Add a const.
9722 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9724 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9725 (args_options): Add no-idn option.
9726 (ahosts_keys_int): Add idn_flags to ai_flags.
9727 (parse_option): Handle 'i' option to clear idn_flags.
9729 * malloc/malloc.c (_int_free): Possible race in the most recently
9730 added check. Only act on the data if no current modification
9733 See ChangeLog.17 for earlier changes.