]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix ChangeLog format.
[thirdparty/glibc.git] / ChangeLog
1 2012-03-09 Richard Henderson <rth@twiddle.net>
2
3 * include/math_private.h: Remove file.
4 * math/math_private.h: Move file ...
5 * sysdeps/generic/math_private.h: ... here.
6
7 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10
11 * sysdeps/i386/fpu/s_fpclassifyl.c Use <> to include both <math.h>
12 and <math_private.h>.
13 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
88 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
89 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
90 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
91 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
92 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
93 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
94 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
95 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
96 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
97 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
98 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
99 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
100 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
101 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
102 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
103 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
104 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
105 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
106 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
107 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
108 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
109 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
110 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
111 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
112 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
113 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
114 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
115 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
116 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
117 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
118 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
119 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
120 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
121 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
122 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
123 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
124 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
125 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
126 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
127 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
129 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
130 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
131 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
132 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
133 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
134 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
135 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
136 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
137 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
138 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
139 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
140 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
141 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
142 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
143 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
144 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
146 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
147 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
148 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
150 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
151 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
152 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
154 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
155 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
156 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
157 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
158 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
159 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
160 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
161 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
162 * sysdeps/ieee754/k_standard.c: Likewise.
163 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
164 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
166 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
167 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
168 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
169 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
170 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
171 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
172 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
173 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
175 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
176 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
177 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
178 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
179 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
180 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
181 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
182 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
183 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
184 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
185 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
186 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
187 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
188 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
189 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
190 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
191 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
192 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
193 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
196 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
198 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
199 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
200 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
201 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
202 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
203 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
204 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
205 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
206 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
207 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
208 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
209 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
210 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
211 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
212 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
213 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
214 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
215 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
216 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
219 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
220 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
221 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
222 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
223 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
224 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
229 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
230 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
231 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
236 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
237 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
238 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
239 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
240 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
241 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
242 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
243 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
249 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
255 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
256 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
258 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
260 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
262 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
275 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
277 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
278 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
279 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
281 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
282 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
283 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
284 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
285 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
286 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
287 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
288 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
289 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
290 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
291 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
292 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
293 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
294 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
295 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
296 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
297 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
298 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
299 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
300 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
301 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
302 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
303 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
304 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
305 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
306 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
307 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
310 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
311 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
318 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
319 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
320 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
321 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
322 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
323 * sysdeps/ieee754/s_lib_version.c: Likewise.
324 * sysdeps/ieee754/s_matherr.c: Likewise.
325 * sysdeps/ieee754/s_signgam.c: Likewise.
326 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
327 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
328 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
329 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
330 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
331 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
332 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
333 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
334 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
335 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
336 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
337 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
338 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
339 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
340 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
341 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
342 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
343 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
347
348 2012-03-09 Joseph Myers <joseph@codesourcery.com>
349
350 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
351 * sunrpc/rpc_main.c: Likewise.
352 * sunrpc/rpc_svcout.c: Likewise.
353
354 2012-03-09 David S. Miller <davem@davemloft.net>
355
356 * include/math_private.h: New file.
357
358 2012-03-09 Joseph Myers <joseph@codesourcery.com>
359
360 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
361 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
362 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
363 from <bits/socket_type.h>.
364 (enum __socket_type): Don't define here.
365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
367 bits/socket_type.h.
368
369 [BZ #13566]
370 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
371 checking __USE_GNU.
372
373 * Makerules ($(inst_includedir)/%.h): New rule.
374 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
375 (install-others): Remove variable setting.
376 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
377
378 2012-03-08 Richard Henderson <rth@twiddle.net>
379
380 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
381 from macro to inline function; merge with the
382 !__LIBC_INTERNAL_MATH_INLINES version.
383 (__ieee754_sqrtf): Likewise.
384
385 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
386 to inline function.
387 (__rintf, __floor, __floorf): Likewise.
388
389 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
390 macro to inline function.
391 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
392
393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
394 not <math/math_private.h>.
395
396 2012-03-08 David S. Miller <davem@davemloft.net>
397
398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
399 copyright year.
400 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
401
402 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
403
404 * resolv/gai_misc.c (handle_requests): Fix struct timespec
405 normalization.
406 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
407 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
408
409 2012-03-08 Ulrich Drepper <drepper@gmail.com>
410
411 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
412 be defined individually, they must be defined as a block. Define
413 S for printing a string instead of hidint the different by using a
414 macro for adding the 'l'.
415 * stdio-common/tst-fphex-wide.c: Adjust.
416
417 2012-03-07 Marek Polacek <polacek@redhat.com>
418
419 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
420
421 2012-03-08 Marek Polacek <polacek@redhat.com>
422
423 [BZ #13806]
424 * stdio-common/Makefile (tests): Add tst-fphex-wide.
425 * stdio-common/tst-fphex.c: Define a few macros to make the
426 test reusable. Use them.
427 * stdio-common/tst-fphex-wide.c: New file.
428
429 2012-03-08 Joseph Myers <joseph@codesourcery.com>
430
431 [BZ #6911]
432 * manual/macros.texi (gnusystems): New macro.
433 (nongnusystems): Likewise.
434 (gnulinuxhurdsystems): Likewise.
435 (gnuhurdsystems): Likewise..
436 (gnulinuxsystems): Likewise.
437 * manual/charset.texi: Use new macros or @theglibc{} to refer to
438 variants of the GNU system, not "GNU system".
439 * manual/conf.texi: Likewise.
440 * manual/errno.texi: Likewise. Update example of errno macro
441 expansion.
442 * manual/filesys.texi: Likewise.
443 (getumask): Document as specific to GNU/Hurd.
444 * manual/install.texi: Likewise. Reword some references to
445 GNU/Linux.
446 * manual/intro.texi: Likewise.
447 * manual/io.texi: Likewise.
448 (File Name Portability): Detail which constraints are inapplicable
449 to all GNU systems and which are only inapplicable to GNU/Hurd.
450 * manual/job.texi: Likewise.
451 * manual/llio.texi: Likewise.
452 (O_NOCTTY): Document as present on GNU/Linux.
453 * manual/maint.texi: Likewise.
454 * manual/memory.texi: Likewise.
455 * manual/pattern.texi: Likewise.
456 * manual/pipe.texi: Likewise.
457 * manual/process.texi: Likewise.
458 * manual/resource.texi: Likewise.
459 (RUSAGE_CHILDREN): Remove statement about specifying a particular
460 child on GNU/Hurd.
461 * manual/setjmp.texi: Likewise.
462 * manual/signal.texi: Likewise.
463 * manual/startup.texi: Likewise.
464 * manual/stdio.texi: Likewise.
465 * manual/terminal.texi: Likewise.
466 (ONLCR): Document as POSIX.
467 (OXTABS): Document availability on GNU/Linux as XTABS.
468 (ONOEOT): Document availability separately from other bits.
469 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
470 * manual/time.texi: Likewise.
471 * manual/users.texi: Likewise.
472 * INSTALL: Regenerated.
473 * sysdeps/gnu/errlist.c: Regenerated.
474
475 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
476 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
477 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
478 puts.
479 * configure: Regenerated.
480
481 2012-03-07 Joseph Myers <joseph@codesourcery.com>
482
483 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
484 default includes instead of AC_HEADER_CHECK.
485 * sysdeps/i386/configure: Regenerated.
486
487 [BZ #10716]
488 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
489 * math/s_cacoshf.c (__cacoshf): Likewise.
490 * math/s_cacoshl.c (__cacoshl): Likewise.
491 * math/s_casinh.c (__casinh): Set signs of result from argument.
492 * math/s_casinhf.c (__casinhf): Likewise.
493 * math/s_casinhl.c (__casinhl): Likewise.
494 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
495 (casinh_test): Add more tests.
496 * sysdeps/i386/fpu/libm-test-ulps: Update.
497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
498
499 2012-03-07 Ulrich Drepper <drepper@gmail.com>
500
501 * po/zh_TW.po: Update from translation team.
502
503 * login/Makefile (distribute): Remove variable.
504 * catgets/Makefile: Likewise.
505 * mach/Makefile: Likewise.
506 * malloc/Makefile: Likewise.
507 * misc/Makefile: Likewise.
508 * iconv/Makefile: Likewise.
509 * nscd/Makefile: Likewise.
510 * hurd/Makefile: Likewise.
511 * manual/Makefile: Likewise.
512 * locale/Makefile: Likewise.
513 * intl/Makefile: Likewise.
514 * conform/Makefile: Likewise.
515 * nss/Makefile: Likewise.
516 * time/Makefile: Likewise.
517 * soft-fp/Makefile: Likewise.
518 * dirent/Makefile: Likewise.
519 * gmon/Makefile: Likewise.
520 * po/Makefile: Likewise.
521 * rt/Makefile: Likewise.
522 * socket/Makefile: Likewise.
523 * math/Makefile: Likewise.
524 * signal/Makefile: Likewise.
525 * debug/Makefile: Likewise.
526 * elf/Makefile: Likewise.
527 * timezone/Makefile: Likewise.
528 * stdlib/Makefile: Likewise.
529 * iconvdata/Makefile: Likewise.
530 * sunrpc/Makefile: Likewise.
531 * io/Makefile: Likewise.
532 * argp/Makefile: Likewise.
533 * inet/Makefile: Likewise.
534 * hesiod/Makefile: Likewise.
535 * grp/Makefile: Likewise.
536 * csu/Makefile: Likewise.
537 * wctype/Makefile: Likewise.
538 * crypt/Makefile: Likewise.
539 * libio/Makefile: Likewise.
540 * string/Makefile: Likewise.
541 * nis/Makefile: Likewise.
542 * resolv/Makefile: Likewise.
543 * stdio-common/Makefile: Likewise.
544 * wcsmbs/Makefile: Likewise.
545 * dlfcn/Makefile: Likewise.
546 * posix/Makefile: Likewise.
547
548 * timezone/Makefile: Don't install timezone files, just the programs
549 and scripts.
550
551 2012-03-06 Ulrich Drepper <drepper@gmail.com>
552
553 * nss/databases.def: Add missing gshadow entry.
554
555 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
556
557 2012-03-06 Marek Polacek <polacek@redhat.com>
558
559 [BZ #13726]
560 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
561 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
562 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
563 * stdio-common/tst-long-dbl-fphex.c: New file.
564
565 2012-03-06 David S. Miller <davem@davemloft.net>
566
567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
568 (set_obp_int): New function.
569 (get_obp_int): New function.
570 (__get_clockfreq_via_dev_openprom): Likewise.
571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
572 Avoid unused variable warnings on 'val' and use builtin_expect.
573 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
574 __builtin_expect.
575 (INLINE_CLONE_SYSCALL): Likewise.
576
577 2012-03-05 David S. Miller <davem@davemloft.net>
578
579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
580
581 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
582
583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
584
585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
586 only for |x| >= 40.
587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
588
589 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
590
591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
592 Replace gettimeofday with __vdso_gettimeofday.
593
594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
595 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
596 __vdso_clock_gettime and __vdso_getcpu.
597
598 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
599 time with __vdso_time.
600
601 2012-03-05 Joseph Myers <joseph@codesourcery.com>
602
603 * manual/lang.texi (size_t): Note types to which size_t may be
604 equivalent with the GNU C Library, but do not describe when
605 differences between them are significant.
606
607 2012-03-05 Andreas Jaeger <aj@suse.de>
608
609 * sysdeps/i386/fpu/libm-test-ulps: Update.
610
611 2012-03-05 Joseph Myers <joseph@codesourcery.com>
612
613 [BZ #3976]
614 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
615 (__ieee754_pow): Save and restore rounding mode and use
616 round-to-nearest for main computations.
617 * math/libm-test.inc (pow_test_tonearest): New function.
618 (pow_test_towardzero): Likewise.
619 (pow_test_downward): Likewise.
620 (pow_test_upward): Likewise.
621 (main): Call the new functions.
622 * sysdeps/i386/fpu/libm-test-ulps: Update.
623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
624
625 [BZ #3976]
626 * math/libm-test.inc (cosh_test_tonearest): New function.
627 (cosh_test_towardzero): Likewise.
628 (cosh_test_downward): Likewise.
629 (cosh_test_upward): Likewise.
630 (sinh_test_tonearest): Likewise.
631 (sinh_test_towardzero): Likewise.
632 (sinh_test_downward): Likewise.
633 (sinh_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.
637
638 2012-03-05 Tom de Vries <tom@codesourcery.com>
639
640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
641 default stack guard is set in last bytes.
642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
643
644 2012-03-05 Kees Cook <keescook@chromium.org>
645
646 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
647
648 [BZ #13656]
649 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
650 possibly allocate from heap instead of stack.
651 * stdio-common/bug-vfprintf-nargs.c: New file.
652 * stdio-common/Makefile (tests): Add nargs overflow test.
653
654 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
655
656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
657
658 2012-03-03 Marek Polacek <polacek@redhat.com>
659
660 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
661 * math/math_private.h: Likewise.
662 * stdlib/tst-strtod.c: Likewise.
663 * sysdeps/i386/i486/bits/atomic.h: Likewise.
664 * sysdeps/x86_64/bits/atomic.h: Likewise.
665
666 2012-03-02 David S. Miller <davem@davemloft.net>
667
668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
672 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
673 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
674 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
675 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
676
677 2012-03-02 Roland McGrath <roland@hack.frob.com>
678
679 [BZ #13792]
680 * manual/examples/README: New file, says the example source files
681 can be used under GPL>=2.
682 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
683 line containing just "*/".
684 * manual/examples/add.c: Add copyright header (GPL>=2).
685 * manual/examples/argp-ex1.c: Likewise.
686 * manual/examples/argp-ex2.c: Likewise.
687 * manual/examples/argp-ex3.c: Likewise.
688 * manual/examples/argp-ex4.c: Likewise.
689 * manual/examples/atexit.c: Likewise.
690 * manual/examples/db.c: Likewise.
691 * manual/examples/dir.c: Likewise.
692 * manual/examples/dir2.c: Likewise.
693 * manual/examples/execinfo.c: Likewise.
694 * manual/examples/filecli.c: Likewise.
695 * manual/examples/filesrv.c: Likewise.
696 * manual/examples/fmtmsgexpl.c: Likewise.
697 * manual/examples/genpass.c: Likewise.
698 * manual/examples/inetcli.c: Likewise.
699 * manual/examples/inetsrv.c: Likewise.
700 * manual/examples/isockad.c: Likewise.
701 * manual/examples/longopt.c: Likewise.
702 * manual/examples/memopen.c: Likewise.
703 * manual/examples/memstrm.c: Likewise.
704 * manual/examples/mkfsock.c: Likewise.
705 * manual/examples/mkisock.c: Likewise.
706 * manual/examples/mygetpass.c: Likewise.
707 * manual/examples/pipe.c: Likewise.
708 * manual/examples/popen.c: Likewise.
709 * manual/examples/rprintf.c: Likewise.
710 * manual/examples/search.c: Likewise.
711 * manual/examples/select.c: Likewise.
712 * manual/examples/setjmp.c: Likewise.
713 * manual/examples/sigh1.c: Likewise.
714 * manual/examples/sigusr.c: Likewise.
715 * manual/examples/stpcpy.c: Likewise.
716 * manual/examples/strdupa.c: Likewise.
717 * manual/examples/strftim.c: Likewise.
718 * manual/examples/strncat.c: Likewise.
719 * manual/examples/subopt.c: Likewise.
720 * manual/examples/swapcontext.c: Likewise.
721 * manual/examples/termios.c: Likewise.
722 * manual/examples/testopt.c: Likewise.
723 * manual/examples/testpass.c: Likewise.
724 * manual/examples/timeval_subtract.c: Likewise.
725
726 [BZ #13792]
727 * manual/time.texi (Elapsed Time): Move timeval_subtract example
728 function to ...
729 * manual/timeval_subtract.c.texi: ... here, new file.
730
731 2012-03-02 David S. Miller <davem@davemloft.net>
732
733 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
734
735 2012-03-02 Joseph Myers <joseph@codesourcery.com>
736
737 [BZ #3976]
738 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
739 (__sin): Save and restore rounding mode and use round-to-nearest
740 for all computations.
741 (__cos): Save and restore rounding mode and use round-to-nearest
742 for all computations.
743 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
744 <fenv.h>.
745 (tan): Save and restore rounding mode and use round-to-nearest for
746 all computations.
747 * math/libm-test.inc (cos_test_tonearest): New function.
748 (cos_test_towardzero): Likewise.
749 (cos_test_downward): Likewise.
750 (cos_test_upward): Likewise.
751 (sin_test_tonearest): Likewise.
752 (sin_test_towardzero): Likewise.
753 (sin_test_downward): Likewise.
754 (sin_test_upward): Likewise.
755 (tan_test_tonearest): Likewise.
756 (tan_test_towardzero): Likewise.
757 (tan_test_downward): Likewise.
758 (tan_test_upward): Likewise.
759 (main): Call the new functions.
760 * sysdeps/i386/fpu/libm-test-ulps: Update.
761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
762
763 [BZ #10135]
764 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
765 small n, then large n, before computing and testing k+n.
766 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
768 Likewise.
769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
770 Likewise.
771 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
772 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
779 * math/libm-test.inc (scalbn_test): Add more tests.
780 (scalbln_test): Likewise.
781
782 * manual/filesys.texi (mode_t): Describe constraints on size and
783 signedness, not exact equivalence to a particular type.
784 (ino_t): Likewise.
785 (ino64_t): Likewise.
786 (dev_t): Likewise.
787 (nlink_t): Likewise.
788 (blkcnt_t): Likewise.
789 (blkcnt64_t): Likewise.
790 * manual/llio.texi (off_t): Likewise.
791
792 [BZ #3976]
793 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
794 (__ieee754_exp): Save and restore rounding mode and use
795 round-to-nearest for all computations.
796 * math/libm-test.inc (exp_test_tonearest): New function.
797 (exp_test_towardzero): Likewise.
798 (exp_test_downward): Likewise.
799 (exp_test_upward): Likewise.
800 (main): Call the new functions.
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
803
804 2012-03-01 Chris Demetriou <cgd@google.com>
805
806 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
807 have predictable order.
808
809 2012-03-01 David S. Miller <davem@davemloft.net>
810
811 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
812
813 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
814 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
815 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
816 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
817
818 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
819 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
820 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
822 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
823 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
824 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
825 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
826 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
827
828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
829
830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
831 * sysdeps/sparc/fpu/libm-test-ulps: to here.
832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
833
834 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
836 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
837 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
838 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
841 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
842 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
843 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
844 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
847 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
848 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
850 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
851 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
852 * sysdeps/sparc/elf/configure: Regenerated.
853
854 2012-03-01 Joseph Myers <joseph@codesourcery.com>
855
856 * configure.in (AS, LD): Require binutils 2.20 or later.
857 * configure: Regenerated.
858 * manual/install.texi (Tools for Compilation): Give binutils 2.20
859 as required minimum version.
860 * INSTALL: Regenerated.
861
862 [BZ #2541]
863 [BZ #4108]
864 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
865 before squaring exponent.
866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
867 bottom long double and 27 bits of top long double before squaring
868 exponent.
869 * math/libm-test.inc (erfc_test): Add more tests.
870 * sysdeps/i386/fpu/libm-test-ulps: Update.
871 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
873
874 2012-03-01 Kai Tietz <ktietz@redhat.com>
875
876 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
877 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
878 containing bit-fields.
879 * soft-fp/extended.h (_FP_UNION_E): Likewise.
880 * soft-fp/single.h (_FP_UNION_S): Likewise.
881 * soft-fp/double.h (_FP_UNION_D): Likewise.
882
883 2012-02-29 Joseph Myers <joseph@codesourcery.com>
884
885 [BZ #13786]
886 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
887 not include ../strcmp.S.
888 [USE_AS_STRNCASECMP_L]: Likewise.
889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
890 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
891 * sysdeps/i386/i686/multiarch/strncase_l-c.c
892 (__strncasecmp_l_ia32): Define as alias to
893 __strncasecmp_l_nonascii.
894
895 [BZ #5794]
896 * math/libm-test.inc (expm1_test): Add test for bug 5794.
897 * sysdeps/i386/fpu/libm-test-ulps: Update.
898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899
900 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
902
903 2012-02-29 Jeff Law <law@redhat.com>
904
905 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
906 out of bounds read.
907
908 2012-02-29 Marek Polacek <polacek@redhat.com>
909
910 [BZ #13706]
911 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
912 * elf/Makefile: Add rules to run tst-unused-dep.out.
913
914 2012-02-28 David S. Miller <davem@davemloft.net>
915
916 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
917 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
919 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
922
923 2012-02-29 Joseph Myers <joseph@codesourcery.com>
924
925 * math/libm-test.inc (llround_test): Move one test from
926 lround_test. Use TEST_f_L in moved test.
927 (lround_test): Move misplaced test to llround_test. Add testcase
928 from bug 2561.
929
930 2012-02-28 Ulrich Drepper <drepper@gmail.com>
931
932 * sysdeps/x86_64/fpu/e_expf.S: New file.
933 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
934
935 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
936
937 [BZ #13637]
938 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
939 of remain_len that may cause incomplete multi-byte character and
940 false match.
941 * posix/bug-regex33.c: New file.
942 * posix/Makefile (tests): Add bug-regex33.
943
944 2012-02-28 Joseph Myers <joseph@codesourcery.com>
945
946 * manual/macros.texi: New file.
947 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
948 * manual/libc.texinfo: Include macros.texi.
949 * manual/creatute.texi: Likewise.
950 * manual/install.texi: Likewise.
951 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
952 @glibcadj{} in references to the GNU C Library.
953 * manual/charset.texi: Likewise.
954 * manual/conf.texi: Likewise.
955 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
956 when not using those macros.
957 * manual/creature.texi: Likewise.
958 * manual/crypt.texi: Likewise.
959 * manual/errno.texi: Likewise.
960 * manual/filesys.texi: Likewise.
961 * manual/header.texi: Likewise.
962 * manual/install.texi: Likewise.
963 * manual/intro.texi: Likewise.
964 * manual/io.texi: Likewise.
965 * manual/job.texi: Likewise.
966 * manual/lang.texi: Likewise.
967 * manual/libc.texiinfo: Likewise.
968 * manual/llio.texi: Likewise.
969 * manual/locale.texi: Likewise.
970 * manual/maint.texi: Likewise.
971 * manual/math.texi: Likewise.
972 * manual/memory.texi: Likewise.
973 * manual/message.texi: Likewise.
974 * manual/nss.texi: Likewise.
975 * manual/pattern.texi: Likewise.
976 * manual/process.texi: Likewise.
977 * manual/resource.texi: Likewise.
978 * manual/search.texi: Likewise.
979 * manual/setjmp.texi: Likewise.
980 * manual/signal.texi: Likewise.
981 * manual/socket.texi: Likewise.
982 * manual/startup.texi: Likewise.
983 * manual/stdio.texi: Likewise.
984 * manual/string.texi: Likewise.
985 * manual/sysinfo.texi: Likewise.
986 * manual/syslog.texi: Likewise.
987 * manual/terminal.texi: Likewise.
988 * manual/time.texi: Likewise.
989 * manual/users.texi: Likewise.
990 * INSTALL: Regenerated.
991 * NOTES: Regenerated.
992 * sysdeps/gnu/errlist.c: Regenerated.
993
994 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
995
996 * include/dirent.h: Include <dirstream.h> before
997 <dirent/dirent.h>.
998
999 2012-02-28 David S. Miller <davem@davemloft.net>
1000
1001 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1002 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1003 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1004 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1005
1006 2012-02-27 David S. Miller <davem@davemloft.net>
1007
1008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1010 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1011 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1012
1013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1014 frame pointer instead of stack pointer relative arg slot.
1015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1016 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1017 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1018
1019 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1020
1021 [BZ #3992]
1022 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1023
1024 2012-02-27 David S. Miller <davem@davemloft.net>
1025
1026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1032 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1034
1035 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1036
1037 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1038 later. Allow versions 5-9.
1039 * configure: Regenerated.
1040 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1041 required minimum version and 4.6 as recommended version. Do not
1042 mention bugs in GCC 2.7 and 2.8.
1043 * INSTALL: Regenerated.
1044
1045 2012-02-27 David S. Miller <davem@davemloft.net>
1046
1047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1053 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1054 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1055
1056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1057 manipulate bits before adding and subtracting TWO112[sx].
1058 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1059
1060 2012-02-27 Roland McGrath <roland@hack.frob.com>
1061
1062 [BZ #13775]
1063 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1064 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1065 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1066 being in POSIX, because they are in 1003.1-2008.
1067
1068 * rt/tst-aio.c: Include <fcntl.h>.
1069 * rt/tst-aio7.c: Likewise.
1070 * rt/tst-aio64.c: Likewise.
1071
1072 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1073
1074 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1075
1076 * manual/install.texi (--with-headers): Describe headers as
1077 interface headers, not private headers.
1078 (Specific advice for GNU/Linux systems): Describe use of headers
1079 from "make headers_install", not private headers from older
1080 kernels.
1081 * INSTALL: Regenerated.
1082 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1083 Change to 2.6.19.
1084 * sysdeps/unix/sysv/linux/configure: Regenerated.
1085
1086 * manual/llio.texi (fclean): Remove documentation.
1087
1088 * manual/Makefile (libc-texi-generated): New variable. Include
1089 version.texi.
1090 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1091 $(libc-texi-generated), not duplicated list of files.
1092 (version.texi, stamp-version): New rules.
1093 (realclean): Remove $(libc-texi-generated), not individual files
1094 from that list. Do not remove dir-add.texinfo.
1095 * manual/libc.texinfo: Comment out uses of edition numbers and
1096 references to printed manual. Remove last-updated dates.
1097 (EDITION): Comment out.
1098 (ISBN): Likewise.
1099 (VERSION, UPDATED): Remove.
1100 (version.texi): Include.
1101
1102 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1103
1104 * sysdeps/posix/spawni.c: Include <signal.h>.
1105 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1106 * sysdeps/pthread/aio_fsync.c: Likewise.
1107
1108 2012-02-26 Ulrich Drepper <drepper@gmail.com>
1109
1110 * conform/Makefile (tests): Run only when not cross-compiling and
1111 when fast-check is not defined.
1112
1113 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1114 * conform/data/limits.h-data: Fixes for POSIX2008.
1115 * conform/run-conformtest.sh: Run all tests.
1116 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1117 headers.
1118 * include/bits/dlfcn.h: Likewise.
1119 * include/langinfo.h: Likewise.
1120 * include/monetary.h: Likewise.
1121 * include/sys/poll.h: Likewise.
1122
1123 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1124 for __USE_GNU.
1125 * posix/spawn.h: Define __need_sigset_t.
1126 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1127 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1128 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1129 to get sigevent_t only.
1130 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1131 only for __USE_GNU.
1132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1134 process_vm_writev only for __USE_GNU.
1135 * termios/termios.h: Declare tcgetsid also for POSIX2008.
1136
1137 * conform/Makefile: For now ignore errors from run-conformtest.
1138 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1139 POSIX to avoid namespace pollution. Don't prepend headers.
1140 * conform/data/aio.h-data: Fixes for POSIX testing.
1141 * conform/data/fcntl.h-data: Likewise.
1142 * conform/data/glob.h-data: Likewise.
1143 * conform/data/grp.h-data: Likewise.
1144 * conform/data/pthread.h-data: Likewise.
1145 * conform/data/pwd.h-data: Likewise.
1146 * conform/data/signal.h-data: Likewise.
1147 * conform/data/spawn.h-data: Likewise.
1148 * conform/data/stdio.h-data: Likewise.
1149 * conform/data/stdlib.h-data: Likewise.
1150 * conform/data/stropts.h-data: Likewise.
1151 * conform/data/sys/mman.h-data: Likewise.
1152 * conform/data/sys/stat.h-data: Likewise.
1153 * conform/data/sys/types.h-data: Likewise.
1154 * conform/data/sys/wait.h-data: Likewise.
1155 * conform/data/time.h-data: Likewise.
1156 * conform/data/unistd.h-data: Likewise.
1157 * conform/data/utime.h-data: Likewise.
1158
1159 * io/sys/stat.h: fchmod was always in POSIX.
1160 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1161 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1162 * rt/aio.h: Define __need_timespec before including <time.h>.
1163 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1164 struct. Add forward declaration of pthread_attr_t and use it in
1165 sigevent.
1166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1167 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1168 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1169 always remove CLK_TCK definition.
1170
1171 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1172
1173 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1174
1175 2012-02-25 Ulrich Drepper <drepper@gmail.com>
1176
1177 * conform/run-conformtest.sh: New file.
1178 * conform/Makefile: Run run-conformtest for tests.
1179 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1180 support.
1181
1182 * conform/data/uchar.h-data: New file.
1183 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1184 * conform/data/arpa/inet.h-data: Likewise.
1185 * conform/data/assert.h-data: Likewise.
1186 * conform/data/complex.h-data: Likewise.
1187 * conform/data/cpio.h-data: Likewise.
1188 * conform/data/ctype.h-data: Likewise.
1189 * conform/data/dirent.h-data: Likewise.
1190 * conform/data/dlfcn.h-data: Likewise.
1191 * conform/data/errno.h-data: Likewise.
1192 * conform/data/fcntl.h-data: Likewise.
1193 * conform/data/float.h-data: Likewise.
1194 * conform/data/fmtmsg.h-data: Likewise.
1195 * conform/data/fnmatch.h-data: Likewise.
1196 * conform/data/ftw.h-data: Likewise.
1197 * conform/data/glob.h-data: Likewise.
1198 * conform/data/grp.h-data: Likewise.
1199 * conform/data/iconv.h-data: Likewise.
1200 * conform/data/inttypes.h-data: Likewise.
1201 * conform/data/langinfo.h-data: Likewise.
1202 * conform/data/libgen.h-data: Likewise.
1203 * conform/data/limits.h-data: Likewise.
1204 * conform/data/locale.h-data: Likewise.
1205 * conform/data/math.h-data: Likewise.
1206 * conform/data/monetary.h-data: Likewise.
1207 * conform/data/mqueue.h-data: Likewise.
1208 * conform/data/ndbm.h-data: Likewise.
1209 * conform/data/net/if.h-data: Likewise.
1210 * conform/data/netdb.h-data: Likewise.
1211 * conform/data/netinet/in.h-data: Likewise.
1212 * conform/data/nl_types.h-data: Likewise.
1213 * conform/data/poll.h-data: Likewise.
1214 * conform/data/pthread.h-data: Likewise.
1215 * conform/data/pwd.h-data: Likewise.
1216 * conform/data/regex.h-data: Likewise.
1217 * conform/data/sched.h-data: Likewise.
1218 * conform/data/search.h-data: Likewise.
1219 * conform/data/semaphore.h-data: Likewise.
1220 * conform/data/setjmp.h-data: Likewise.
1221 * conform/data/signal.h-data: Likewise.
1222 * conform/data/spawn.h-data: Likewise.
1223 * conform/data/stdarg.h-data: Likewise.
1224 * conform/data/stdio.h-data: Likewise.
1225 * conform/data/stdlib.h-data: Likewise.
1226 * conform/data/string.h-data: Likewise.
1227 * conform/data/strings.h-data: Likewise.
1228 * conform/data/stropts.h-data: Likewise.
1229 * conform/data/sys/ipc.h-data: Likewise.
1230 * conform/data/sys/mman.h-data: Likewise.
1231 * conform/data/sys/msg.h-data: Likewise.
1232 * conform/data/sys/resource.h-data: Likewise.
1233 * conform/data/sys/select.h-data: Likewise.
1234 * conform/data/sys/sem.h-data: Likewise.
1235 * conform/data/sys/shm.h-data: Likewise.
1236 * conform/data/sys/socket.h-data: Likewise.
1237 * conform/data/sys/stat.h-data: Likewise.
1238 * conform/data/sys/statvfs.h-data: Likewise.
1239 * conform/data/sys/time.h-data: Likewise.
1240 * conform/data/sys/timeb.h-data: Likewise.
1241 * conform/data/sys/times.h-data: Likewise.
1242 * conform/data/sys/types.h-data: Likewise.
1243 * conform/data/sys/uio.h-data: Likewise.
1244 * conform/data/sys/un.h-data: Likewise.
1245 * conform/data/sys/utsname.h-data: Likewise.
1246 * conform/data/sys/wait.h-data: Likewise.
1247 * conform/data/syslog.h-data: Likewise.
1248 * conform/data/tar.h-data: Likewise.
1249 * conform/data/termios.h-data: Likewise.
1250 * conform/data/utime.h-data: Likewise.
1251 * conform/data/utmpx.h-data: Likewise.
1252 * conform/data/varargs.h-data: Likewise.
1253 * conform/data/wchar.h-data: Likewise.
1254 * conform/data/wctype.h-data: Likewise.
1255 * conform/data/wordexp.h-data: Likewise.
1256
1257 * include/stropts.h: New file.
1258 * include/uchar.h: New file.
1259 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1260 * include/assert.h: Likewise.
1261 * include/ctype.h: Likewise.
1262 * include/dirent.h: Likewise.
1263 * include/dlfcn.h: Likewise.
1264 * include/fcntl.h: Likewise.
1265 * include/fnmatch.h: Likewise.
1266 * include/glob.h: Likewise.
1267 * include/grp.h: Likewise.
1268 * include/libio.h: Likewise.
1269 * include/locale.h: Likewise.
1270 * include/math.h: Likewise.
1271 * include/net/if.h: Likewise.
1272 * include/netdb.h: Likewise.
1273 * include/netinet/in.h: Likewise.
1274 * include/pthread.h: Likewise.
1275 * include/pwd.h: Likewise.
1276 * include/regex.h: Likewise.
1277 * include/sched.h: Likewise.
1278 * include/search.h: Likewise.
1279 * include/setjmp.h: Likewise.
1280 * include/signal.h: Likewise.
1281 * include/stdio.h: Likewise.
1282 * include/stdlib.h: Likewise.
1283 * include/string.h: Likewise.
1284 * include/sys/cdefs.h: Likewise.
1285 * include/sys/mman.h: Likewise.
1286 * include/sys/msg.h: Likewise.
1287 * include/sys/resource.h: Likewise.
1288 * include/sys/select.h: Likewise.
1289 * include/sys/socket.h: Likewise.
1290 * include/sys/stat.h: Likewise.
1291 * include/sys/statvfs.h: Likewise.
1292 * include/sys/time.h: Likewise.
1293 * include/sys/times.h: Likewise.
1294 * include/sys/uio.h: Likewise.
1295 * include/sys/utsname.h: Likewise.
1296 * include/sys/wait.h: Likewise.
1297 * include/termios.h: Likewise.
1298 * include/time.h: Likewise.
1299 * include/ulimit.h: Likewise.
1300 * include/unistd.h: Likewise.
1301 * include/utime.h: Likewise.
1302 * include/wchar.h: Likewise.
1303 * include/wctype.h: Likewise.
1304 * include/wordexp.h: Likewise.
1305
1306 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1307
1308 * time/time.h: TIME_UTC must be a macro.
1309 Make timespec_get available for ISO C11 only as well.
1310
1311 2012-02-24 Ulrich Drepper <drepper@gmail.com>
1312
1313 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1314 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1315
1316 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1317
1318 * configure.in: Use -o not -a in test for unsupported multi-arch.
1319
1320 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1321
1322 * manual/texinfo.tex: Update to version 2012-01-19.16.
1323
1324 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1325
1326 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1327
1328 2012-02-24 Roland McGrath <roland@hack.frob.com>
1329
1330 [BZ #13738]
1331 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1332 * manual/fdl-1.3.texi: New file.
1333 * manual/fdl-1.1.texi: File removed.
1334
1335 [BZ #13738]
1336 * manual/libc.texinfo (FDL_VERSION): New @set.
1337 Use it for mention of FDL in cover text.
1338 (Documentation License): Use it in @include file name.
1339
1340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1341 Roland McGrath <roland@hack.frob.com>
1342
1343 [BZ #5461]
1344 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1345 not LONG_LONG_MAX and LONG_LONG_MIN.
1346 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1347 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1348 name.
1349 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1350
1351 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1352
1353 [BZ #2547]
1354 [BZ #11365]
1355 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1356 manipulate bits before adding and subtracting TWO23[sx].
1357 * math/libm-test.inc (nearbyint_test): Add more tests.
1358
1359 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1360
1361 [BZ #2548]
1362 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1363 bits before adding and subtracting TWO23[sx].
1364 * math/libm-test.inc (rint_test): Add more tests.
1365 (rint_test_tonearest): Likewise.
1366 (rint_test_towardzero): Likewise.
1367 (rint_test_downward): Likewise.
1368 (rint_test_upward: Likewise.
1369
1370 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #10110]
1373 * include/stdc-predef.h: New file. Extracted from features.h.
1374 * include/features.h: Include stdc-predef.h.
1375 * Makefile (headers): Add stdc-predef.h.
1376 * CONFORMANCE (Compiler limitations): Update.
1377
1378 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1379
1380 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1381
1382 2012-02-21 David S. Miller <davem@davemloft.net>
1383
1384 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1386
1387 2012-02-20 David S. Miller <davem@davemloft.net>
1388
1389 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1390 using a normal save/restore sequence, rather than allocating a
1391 dummy stack frame just to store a frame pointer and restore.
1392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1393
1394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1395
1396 * manual/install.texi: Fix stray word in line-wrapped comment.
1397
1398 2012-02-20 David S. Miller <davem@davemloft.net>
1399
1400 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1401 both binutils and gcc support GOTDATA.
1402
1403 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1404 "rd %pc" in the PIC register setup sequences.
1405
1406 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1407 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1408 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1409 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1415 (SYSCALL_ERROR_HANDLER): Likewise.
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1417 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1419 (SYSCALL_ERROR_HANDLER): Likewise.
1420
1421 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1422 (HAVE_GCC_GOTDATA): New.
1423 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1424 relocation support in both binutils and gcc.
1425 * sysdeps/sparc/elf/configure: Regenerate.
1426
1427 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1428 * sysdeps/sparc/sparc32/elf/configure: Delete.
1429 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1430 * sysdeps/sparc/sparc64/elf/configure: Delete.
1431 * sysdeps/sparc/elf/configure.in: New file.
1432 * sysdeps/sparc/elf/configure: Generate.
1433
1434 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1435 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1436 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1437 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1438 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1439
1440 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1441
1442 * manual/install.texi: Do not mention specific glibc version
1443 numbers.
1444 * manual/libc.texinfo (VERSION, UPDATED): Update.
1445 (@copying): Use @copyright{} and range of years.
1446
1447 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1448
1449 [BZ #13695]
1450 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1451 [crti.S not in sysdirs] (generated): Do not append.
1452 [crti.S not in sysdirs] (omit-deps): Likewise.
1453 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1454 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1455 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1456 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1457 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1458 Likewise.
1459 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1460 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1461 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1462 * csu/defs.awk: Remove file.
1463 * sysdeps/generic/initfini.c: Likewise.
1464 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1465 variable.
1466 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1467 Likewise.
1468
1469 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1470
1471 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1472 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1476 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1477 <bits/epoll.h>.
1478 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1479 (__EPOLL_PACKED): Define to empty if not defined by
1480 <bits/epoll.h>.
1481 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1483 bits/epoll.h.
1484
1485 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1486
1487 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1488 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1489 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1490 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1491 <bits/timerfd.h>.
1492 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1494 bits/timerfd.h.
1495
1496 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1497
1498 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1499 in C locale.
1500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1501 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1504
1505 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1506
1507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1509
1510 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1511
1512 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1513 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1514 defined.
1515 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1516 Likewise.
1517 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1518 entry for 2.16.
1519
1520 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1521
1522 * math/w_acos.c: Use non-signaling floating-point comparisons.
1523 * math/w_acosf.c: Likewise.
1524 * math/w_acosh.c: Likewise.
1525 * math/w_acoshf.c: Likewise.
1526 * math/w_acoshl.c: Likewise.
1527 * math/w_acosl.c: Likewise.
1528 * math/w_asin.c: Likewise.
1529 * math/w_asinf.c: Likewise.
1530 * math/w_asinl.c: Likewise.
1531 * math/w_atanh.c: Likewise.
1532 * math/w_atanhf.c: Likewise.
1533 * math/w_atanhl.c: Likewise.
1534 * math/w_exp2.c: Likewise.
1535 * math/w_exp2f.c: Likewise.
1536 * math/w_exp2l.c: Likewise.
1537 * math/w_j0.c: Likewise.
1538 * math/w_j0f.c: Likewise.
1539 * math/w_j0l.c: Likewise.
1540 * math/w_j1.c: Likewise.
1541 * math/w_j1f.c: Likewise.
1542 * math/w_j1l.c: Likewise.
1543 * math/w_jn.c: Likewise.
1544 * math/w_jnf.c: Likewise.
1545 * math/w_log.c: Likewise.
1546 * math/w_log10.c: Likewise.
1547 * math/w_log10f.c: Likewise.
1548 * math/w_log10l.c: Likewise.
1549 * math/w_log2.c: Likewise.
1550 * math/w_log2f.c: Likewise.
1551 * math/w_log2l.c: Likewise.
1552 * math/w_logf.c: Likewise.
1553 * math/w_logl.c: Likewise.
1554 * math/w_sqrt.c: Likewise.
1555 * math/w_sqrtf.c: Likewise.
1556 * math/w_sqrtl.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1561 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1562
1563 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1564
1565 [BZ #9739]
1566 * manual/string.texi (strnlen): Use correct parameter name in
1567 equivalent expression.
1568
1569 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #11174]
1572 * manual/users.texi (seteuid): Consistently use neweuid for
1573 argument name.
1574
1575 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1576
1577 [BZ #13704]
1578 * manual/nss.texi (Services in the NSS configuration): Correct
1579 list of services in example configuration file.
1580
1581 2012-02-19 Nick Bowler <nbowler@draconx.ca>
1582
1583 [BZ #11322]
1584 * manual/arith.texi: Remove statements about negative zero
1585 behaving identically to zero.
1586
1587 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1588
1589 [BZ #5993]
1590 * manual/install.texi: Do not document upgrading from libc5.
1591
1592 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1593
1594 [BZ #4596]
1595 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1596
1597 2012-02-18 David S. Miller <davem@davemloft.net>
1598
1599 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1600 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1601 %o7 across the call.
1602 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1603 instead.
1604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1605 SETUP_PIC_REG_LEAF.
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1607 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1608 * sysdeps/sparc/crtn.S: Likewise.
1609
1610 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1611
1612 * aout/Makefile: Remove.
1613
1614 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1615
1616 [BZ #13058]
1617 * manual/examples/argp-ex1.c (main): Format definition in GNU
1618 style.
1619 * manual/examples/argp-ex2.c (main): Likewise.
1620 * manual/examples/argp-ex3.c (main): Likewise.
1621 * manual/examples/argp-ex4.c (main): Likewise.
1622 * manual/examples/longopt.c (main): Use new-style prototype
1623 definition.
1624 * manual/examples/strncat.c (main): Specify return type and use
1625 (void) for arguments.
1626 * manual/examples/subopt.c (main): Use char **argv argument.
1627
1628 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1629
1630 [BZ #5077]
1631 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1632 rounding modes.
1633
1634 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1635
1636 [BZ #6907]
1637 * manual/string.texi (strchr): Change when strchrnul is
1638 recommended.
1639
1640 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1641
1642 [BZ #174]
1643 * manual/locale.texi (setlocale): Document LOCPATH.
1644
1645 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1646
1647 [BZ #10210]
1648 * manual/process.texi (execle): Move @dots{} before last argument.
1649
1650 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1651
1652 [BZ #12047]
1653 * manual/charset.texi (Generic Charset Conversion): Fix typo
1654 (LC_TYPE -> LC_CTYPE).
1655
1656 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1657
1658 [BZ #5805]
1659 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1660 (scalbnf): Likewise.
1661 (scalbnl): Likewise.
1662 (scalbln): Likewise.
1663 (scalblnf): Likewise.
1664 (scalblnl): Likewise.
1665 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1666 (vwarnx): Likewise.
1667 (verr): Likewise.
1668 (verrx): Likewise.
1669 * manual/filesys.texi (telldir): Use braces around return type.
1670 * manual/llio.texi (mmap): Add space after comma.
1671 (mmap64): Likewise.
1672 * manual/math.texi (jn): Use @var{} on parameter names.
1673 (jnf): Likewise.
1674 (jnl): Likewise.
1675 (yn): Likewise.
1676 (ynf): Likewise.
1677 (ynl): Likewise.
1678 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1679 line.
1680 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1681 "...".
1682 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1683 (sched_get_priority_max): Likewise.
1684 * manual/signal.texi (sigvec): Add space after comma.
1685 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1686 names.
1687 (if_indextoname): Likewise.
1688 (if_freenameindex): Likewise.
1689 (sendto): Use ',' instead of '.' in prototype.
1690 * manual/startup.texi (syscall): Use @dots{} instead of literal
1691 "...".
1692 * manual/stdio.texi (__fpending): Separate initial words of
1693 paragraph from @deftypefun line.
1694 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1695 "...".
1696 (vsyslog): Use @var{} on parameter names.
1697 * manual/terminal.texi (stty): Use @var{} on parameter names.
1698 * manual/users.texi (getutmp): Use @var{} on parameter names.
1699 (getutmpx): Likewise.
1700
1701 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1702
1703 [BZ #6884]
1704 * manual/stdio.texi (fopen): Fix typos in description of
1705 ",ccs=STRING".
1706
1707 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1708
1709 [BZ #4026]
1710 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1711 get clock_id definition.
1712
1713 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1714
1715 [BZ #4822]
1716 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1717 (madvise): Cast every argument to void on its own.
1718
1719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1720
1721 [BZ #9902]
1722 * manual/startup.texi (Exit Status): Fix typo.
1723
1724 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1725
1726 [BZ #10140]
1727 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1728 * manual/examples/argp-ex2.c: Likewise.
1729 * manual/examples/argp-ex3.c: Likewise.
1730
1731 2012-02-16 Richard Henderson <rth@redhat.com>
1732
1733 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1734 * sysdeps/s390/s390-32/initfini.c: Remove.
1735 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1736 * sysdeps/s390/s390-64/initfini.c: Remove.
1737
1738 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1739
1740 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1741 compiler output for sysdeps/generic/initfini.c.
1742 * sysdeps/sh/elf/initfini.c: Remove file.
1743
1744 2012-02-16 David S. Miller <davem@davemloft.net>
1745
1746 [BZ #11494]
1747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1748
1749 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1750 * sysdeps/sparc/crti.S: New file.
1751 * sysdeps/sparc/crtn.S: New file.
1752 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1753 * sysdeps/sparc/sparc64/Makefile: Likewise.
1754
1755 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1756
1757 [BZ #3335]
1758 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1759
1760 2012-02-15 Roland McGrath <roland@hack.frob.com>
1761
1762 [BZ #4822]
1763 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1764
1765 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1766 (write, read, close): Likewise.
1767 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1768
1769 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1770
1771 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1772 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1773 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1774 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1775 <bits/signalfd.h>.
1776 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1778 bits/signalfd.h.
1779
1780 2012-02-14 Marek Polacek <polacek@redhat.com>
1781
1782 * sysdeps/x86_64/crti.S: New file.
1783 * sysdeps/x86_64/crtn.S: New file.
1784 * sysdeps/x86_64/elf/initfini.c: Remove file.
1785
1786 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1787
1788 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1789 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1790 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1791 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1792 <bits/inotify.h>.
1793 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1795 bits/inotify.h.
1796
1797 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1798
1799 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1800 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1801 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1802 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1803 <bits/eventfd.h>.
1804 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1806 bits/eventfd.h.
1807
1808 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1809
1810 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1811 __feraiseexcept instead of feraiseexcept.
1812
1813 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1814 nanosleep invocations.
1815 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1816 strings, and add error checking for a nanosleep invocations.
1817
1818 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1819
1820 Replace FSF snail mail address with URLs, as per GNU coding standards.
1821 Most of the snail mail addresses were wrong anyway, and omitting
1822 them makes the source code easier to maintain. Almost all of the
1823 changes are to license notices and to locale LC_IDENTIFICATION
1824 addresses, except for this one:
1825 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1826 not its snail mail address.
1827
1828 2012-02-09 Richard Henderson <rth@twiddle.net>
1829
1830 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1831 of kernel-features.h.
1832
1833 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1834
1835 2012-02-08 Marek Polacek <polacek@redhat.com>
1836
1837 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1838 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1839 * sysdeps/gnu/_G_config.h: Likewise.
1840 * sysdeps/generic/_G_config.h: Likewise.
1841
1842 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1843
1844 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1845 tests.
1846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847
1848 * sysdeps/powerpc/powerpc32/crti.S: New file.
1849 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1850 * sysdeps/powerpc/powerpc64/crti.S: New file.
1851 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1852
1853 * Makeconfig (have-initfini): Don't set.
1854 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1855 * configure.in (nopic_initfini): Don't substitute.
1856 * config.h.in (HAVE_INITFINI): Don't #undef.
1857 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1858 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1859
1860 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1861
1862 Support crti.S and crtn.S provided directly by architectures.
1863 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1864 [crti.S in sysdirs] (omit-deps): Likewise.
1865 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1866 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1867 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1868 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1869 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1870 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1871 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1872 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1873 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1874 compiler output for sysdeps/generic/initfini.c.
1875 * sysdeps/i386/elf/Makefile: Remove file.
1876 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1877
1878 2012-02-07 Marek Polacek <polacek@redhat.com>
1879
1880 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1881 * sysdeps/gnu/_G_config.h: Likewise.
1882 * sysdeps/mach/hurd/_G_config.h: Likewise.
1883
1884 2012-02-07 Marek Polacek <polacek@redhat.com>
1885
1886 * math/Makefile (tests): Add tst-CMPLX2.
1887 * math/tst-CMPLX2.c: New file.
1888
1889 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1890
1891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1892
1893 * math/libm-test.inc (jn_test): Add missing L suffix.
1894
1895 2012-02-06 Marek Polacek <polacek@redhat.com>
1896
1897 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1898 * sysdeps/i386/fpu/e_powf.S: Likewise.
1899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1900 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1901 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1902 * sysdeps/i386/fpu/e_pow.S: Likewise.
1903 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1904 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1905 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1906 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1907 * sysdeps/i386/fpu/e_log2.S: Likewise.
1908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1910 * sysdeps/i386/fpu/e_powl.S: Likewise.
1911 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1912 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1913 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1914 * sysdeps/i386/fpu/e_logl.S: Likewise.
1915 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1916 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1917 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1918 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1919 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1920 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1921 * sysdeps/i386/fpu/e_log.S: Likewise.
1922 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1924 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1925 * sysdeps/i386/fpu/e_logf.S: Likewise.
1926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1927 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1928 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1929 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1930 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1931 * sysdeps/i386/fpu/e_log10.S: Likewise.
1932 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1934 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1935 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1937 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1938 * sysdeps/i386/asm-syntax.h: Likewise.
1939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1942 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1943 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1945 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1946 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1947 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1948 * sysdeps/powerpc/sysdep.h: Likewise.
1949 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1950 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1951
1952 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1953
1954 [BZ #411]
1955 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1956
1957 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1958
1959 * sysdeps/i386/sysdep.h: Include <features.h>.
1960 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1961 version.
1962
1963 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1964
1965 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1966 Define.
1967 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1968 LOAD_PIC_REG_STR.
1969
1970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1971
1972 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1973 (SETUP_PIC_REG): Use GET_PC_THUNK.
1974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1975 macro.
1976
1977 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1978
1979 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1980 for non-PIC compilation.
1981 (SETUP_PIC_REG): Add .p2align directive.
1982 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1983 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1984 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1985 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1986 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1990 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1991 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1992 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1993 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1994 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1995 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1996 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1997 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1998 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1999 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2000 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2001 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2002 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2004 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2005 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2010 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2011 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2012 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2013 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2015 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2016 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2023
2024 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2025
2026 * math/tst-CMPLX.c: Include <stdio.h>.
2027
2028 2012-01-31 Joseph Myers <joseph@codesourcery.com>
2029
2030 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2031 float.
2032 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2033 * sysdeps/sparc/bits/mathdef.h: Likewise.
2034
2035 2012-01-31 Marek Polacek <polacek@redhat.com>
2036
2037 * libio/libio.h: Don't define _PARAMS.
2038 * locale/programs/config.h: Don't define PARAMS.
2039 * stdlib/strtol_l.c: Likewise.
2040 (__strtol_l): Remove PARAMS from the prototype.
2041
2042 2012-01-31 Ulrich Drepper <drepper@gmail.com>
2043
2044 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2045 names. Just use the correct names. Remove unnecessary wrapper
2046 functions.
2047 * malloc/arena.c: Likewise.
2048 * malloc/hooks.c: Likewise.
2049
2050 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2051 ARENA_TEST says not to. Simplify test for creation of a new arena.
2052 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2053
2054 2012-01-30 Ulrich Drepper <drepper@gmail.com>
2055
2056 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2057 into tail calls.
2058 (update_get_addr): New function.
2059 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2060 GET_ADDR_MODULE parameter.
2061
2062 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2063
2064 * crypt/cert.c: Remove __STDC__ conditionals.
2065 * crypt/crypt-entry.c: Likewise.
2066 * crypt/crypt_util.c: Likewise.
2067 * libio/filedoalloc.c: Likewise.
2068 * libio/fileops.c: Likewise.
2069 * libio/genops.c: Likewise.
2070 * libio/iofclose.c: Likewise.
2071 * libio/iofdopen.c: Likewise.
2072 * libio/iofopen.c: Likewise.
2073 * libio/iofopen64.c: Likewise.
2074 * libio/iogetdelim.c: Likewise.
2075 * libio/iopopen.c: Likewise.
2076 * libio/obprintf.c: Likewise.
2077 * libio/oldfileops.c: Likewise.
2078 * libio/oldiofclose.c: Likewise.
2079 * libio/oldiofdopen.c: Likewise.
2080 * libio/oldiofopen.c: Likewise.
2081 * libio/oldiopopen.c: Likewise.
2082 * libio/wfiledoalloc.c: Likewise.
2083 * libio/wgenops.c: Likewise.
2084 * locale/programs/xmalloc.c: Likewise.
2085 * misc/syslog.c: Likewise.
2086 * stdio-common/xbug.c: Likewise.
2087 * string/memchr.c: Likewise.
2088 * string/memcmp.c: Likewise.
2089 * string/memrchr.c: Likewise.
2090 * string/rawmemchr.c: Likewise.
2091 * sysdeps/posix/getcwd.c: Likewise.
2092 * time/strftime_l.c: Likewise.
2093
2094 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2095
2096 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2097 * config.make.in (config-cflags-sse2avx): Define.
2098 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2099 Fix typo.
2100
2101 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2102
2103 * scripts/config.guess: Update from upstream config git repository.
2104 * scripts/config.sub: Likewise.
2105
2106 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2107
2108 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2109 (EM_NUM): Update.
2110 (R_TILEPRO_*, R_TILEGX_*): New macros.
2111
2112 * scripts/firstversions.awk: Fix bug in version range handling.
2113
2114 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2115
2116 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2117
2118 * include/sys/epoll.h: New file.
2119 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2120 libc_hidden_def.
2121
2122 2012-01-28 Ulrich Drepper <drepper@gmail.com>
2123
2124 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2125 Avoid unnecessary __WORDSIZE == 64 test.
2126 (fmaxf): Use VEX format if possible.
2127 (fmax): Likewise.
2128 (fminf): Likewise.
2129 (fmin): Likewise.
2130
2131 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2132 * math/math_private.h: Remove libc_fegetround* and
2133 libc_fesetround*.
2134 * sysdeps/i386/configure.in: Check for -msse2avx.
2135 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2136 also if SSE2AVX is defined.
2137 Remove libc_fegetround* and libc_fesetround*.
2138 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2139 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2141 of HAS_YMM_USABLE.
2142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2147
2148 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2149
2150 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2151
2152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2153 size is not set.
2154 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2155
2156 2012-01-27 Ulrich Drepper <drepper@gmail.com>
2157
2158 [BZ #13618]
2159 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2160 relocation.
2161 * Makeconfig (libm): Define.
2162 * elf/Makefile: Add rules to build and run tst-relsort1.
2163 * elf/tst-relsort1.c: New file.
2164 * elf/tst-relsort1mod1.c: New file.
2165 * elf/tst-relsort1mod2.c: New file.
2166
2167 2012-01-27 Joseph Myers <joseph@codesourcery.com>
2168
2169 * math/s_ldexp.c: Remove __STDC__ conditionals.
2170 * math/s_ldexpf.c: Likewise.
2171 * math/s_ldexpl.c: Likewise.
2172 * math/s_nextafter.c: Likewise.
2173 * math/s_nexttowardf.c: Likewise.
2174 * math/s_significand.c: Likewise.
2175 * math/s_significandf.c: Likewise.
2176 * math/s_significandl.c: Likewise.
2177 * math/w_jnl.c: Likewise.
2178 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2179 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2180 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2181 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2182 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2184 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2197 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2198 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2200 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2203 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2204 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2209 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2210 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2211 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2212 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2213 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2215 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2216 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2217 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2218 * sysdeps/ieee754/k_standard.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2293 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2298 * sysdeps/ieee754/s_matherr.c: Likewise.
2299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2303
2304 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2305
2306 * crypt/md5.h: Remove __STDC__ conditionals.
2307 * libio/libioP.h: Likewise.
2308 * locale/programs/config.h: Likewise.
2309 * sysdeps/generic/sysdep.h: Likewise.
2310 * sysdeps/i386/asm-syntax.h: Likewise.
2311 * sysdeps/s390/asm-syntax.h: Likewise.
2312 * sysdeps/unix/sysdep.h: Likewise.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2315
2316 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2317
2318 * libio/libio.h: Remove __STDC__ conditionals.
2319 * malloc/obstack.h: Likewise.
2320 * math/complex.h: Likewise.
2321 * math/math.h: Likewise.
2322 * sysdeps/generic/_G_config.h: Likewise.
2323 * sysdeps/gnu/_G_config.h: Likewise.
2324 * sysdeps/mach/hurd/_G_config.h: Likewise.
2325 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2326 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2327 * sysdeps/sparc/bits/mathdef.h: Likewise.
2328
2329 2012-01-26 Ulrich Drepper <drepper@gmail.com>
2330
2331 [BZ #13583]
2332 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2333 Clean up HAS_* macros.
2334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2335 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2336 possible.
2337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2338 HAS_AVX.
2339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2344
2345 2012-01-25 Joseph Myers <joseph@codesourcery.com>
2346
2347 * elf/tst-unique3.cc (gets): Remove declaration.
2348 * elf/tst-unique3lib.cc (gets): Likewise.
2349 * elf/tst-unique3lib2.cc (gets): Likewise.
2350 * elf/tst-unique4.cc (gets): Likewise.
2351
2352 2012-01-24 Ulrich Drepper <drepper@gmail.com>
2353
2354 * include/stdio.h: Add C++ protection. Add gets declarations and
2355 definitions.
2356 * debug/tst-chk1.c: Don't declare gets here.
2357 * stdio-common/tst-gets.c: Likewise.
2358
2359 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2360
2361 * posix/glob: Remove directory.
2362
2363 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2364
2365 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2366
2367 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2368
2369 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2370 of the non-standard EPFNOSUPPORT.
2371
2372 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2373
2374 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2375 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2376 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2377
2378 2012-01-21 Ulrich Drepper <drepper@gmail.com>
2379
2380 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2381
2382 2012-01-20 Ulrich Drepper <drepper@gmail.com>
2383
2384 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2385 transient errors.
2386 * nscd/grpcache.c (cache_addgr): Likewise.
2387 * nscd/hstcache.c (cache_addhst): Likewise.
2388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2389 * nscd/pwdcache.c (cache_addpw): Likewise.
2390 * nscd/servicescache.c (cache_addserv): Likewise.
2391
2392 2012-01-16 Ulrich Drepper <drepper@gmail.com>
2393
2394 * malloc/malloc.c: Various cleanups.
2395 * malloc/hooks.c: Likewise.
2396
2397 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2398 * stdlib/bug-fmtmsg1.c: New file.
2399
2400 * stdlib/fmtmsg.c (init): Add missing unlock.
2401 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2402
2403 2012-01-12 Marek Polacek <polacek@redhat.com>
2404
2405 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2406 and _GNU_SOURCE.
2407
2408 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2409
2410 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2411 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2412 macro to ensure uniqueness of label name.
2413 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2414 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2415
2416 2012-01-11 Ulrich Drepper <drepper@gmail.com>
2417
2418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2419
2420 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2421 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2424
2425 2012-01-10 Ulrich Drepper <drepper@gmail.com>
2426
2427 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2428
2429 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2430 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2432
2433 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2434
2435 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2436 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2439
2440 * math/bits/math-finite.h: Add ldexp support.
2441
2442 2012-01-10 Marek Polacek <polacek@redhat.com>
2443
2444 * locale/programs/localedef.h (show_archive_content): Add noreturn
2445 attribute.
2446
2447 2012-01-09 Ulrich Drepper <drepper@gmail.com>
2448
2449 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2450
2451 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2452
2453 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2454
2455 * io/Makefile (headers): Add bits/poll2.h.
2456
2457 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2458
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2460 typo #include statement.
2461
2462 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2463
2464 * include/sys/cdefs.h: Define __attribute_alloc_size.
2465 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2466 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2467 * elf/pldd.c: Likewise.
2468 * iconv/iconv_charmap.c: Likewise.
2469 * iconv/iconvconfig.c: Likewise.
2470 * iconv/strtab.c: Likewise.
2471 * locale/programs/locale.c: Likewise.
2472 * locale/programs/localedef.h: Likewise.
2473 * locale/programs/simple-hash.c: Likewise.
2474 * nscd/nscd.h: Likewise.
2475 * nss/makedb.c: Likewise.
2476 * sysdeps/generic/ldconfig.h: Likewise.
2477 * locale/programs/localedef.c: Remove xmalloc prototype.
2478 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2479
2480 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2481
2482 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2483 appropriate.
2484
2485 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2486
2487 * math/Makefile (tests): Add tst-CMPLX.
2488 * math/tst-CMPLX.c: New file.
2489
2490 * math/complex.h (CMPLXL): Fix typo.
2491
2492 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2493 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2494 GLIBC_2.16.
2495 * debug/tst-chk1.c: Add poll and ppoll tests.
2496 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2497 * include/sys/poll.h: Add hidden proto for ppoll.
2498 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2499 * sysdeps/mach/hurd/ppoll.c: Likewise.
2500 * io/ppoll.c: Likewise.
2501 * debug/poll_chk.c: New file.
2502 * debug/ppoll_chk.c: New file.
2503 * include/bits/poll2.h: New file.
2504 * io/bits/poll2.h: New file.
2505
2506 [BZ #1350]
2507 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2508
2509 * configure.in: static is always set to yes. Remove.
2510 * config.make.in: Don't set build-static.
2511 * Makeconfig: Remove use of build-static.
2512 * dlfcn/Makefile: Likewise.
2513 * elf/Makefile: Likewise.
2514 * math/Makefile: Likewise.
2515 * misc/Makefile: Likewise.
2516 * nptl/Makefile: Likewise.
2517 * sysdeps/mach/hurd/Makefile: Likewise.
2518
2519 * configure.in: PWD_P is not used anymore.
2520 * config.make.in: Remove PWD_P entry.
2521
2522 * configure.in: Remove last remnants of RANLIB.
2523 No need to check for signed size_t anymore.
2524 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2525 and IA-64.
2526 Remove __builtin_expect test because we require at least gcc 3.4.
2527 * aclocal.m4: Likewise.
2528
2529 * wcsmbs/mbrtoc16.c: Implement using towc function.
2530 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2531 * wcsmbs/wcsmbsload.c: Likewise.
2532 * iconv/gconv_simple.c: Likewise.
2533 * iconv/gconv_int.h: Likewise.
2534 * iconv/gconv_builtin.h: Likewise.
2535 * iconv/iconv_prog.c: Remove CHAR16 handling.
2536
2537 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2538
2539 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2540
2541 * configure.in: Remove --with-elf and --enable-bounded options.
2542 Dont set base_machine for ia64. More non-ELF conditions removed.
2543 Remove testing and setting of leading underscore information.
2544 * config.make.in (build-bounded): Set to no.
2545 * config.h.in: Remove NO_UNDERSCORES entry.
2546 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2547 them.
2548 * csu/start.c: Remove !NO_UNDERSCORE code.
2549 * locale/localeinfo.h: Likewise.
2550 * sysdeps/generic/machine-gmon.h: Likewise.
2551 * sysdeps/generic/sysdep.h: Likewise.
2552 * sysdeps/i386/sysdep.h: Likewise.
2553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2554 * sysdeps/mach/sysdep.h: Likewise.
2555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2557 * sysdeps/sh/sysdep.h: Likewise.
2558 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2559 * sysdeps/unix/i386/sysdep.S: Likewise.
2560 * sysdeps/unix/sparc/start.c: Likewise.
2561 * sysdeps/unix/sparc/sysdep.S: Likewise.
2562 * sysdeps/unix/sparc/sysdep.h: Likewise.
2563 * sysdeps/unix/start.c: Likewise.
2564 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2565 * sysdeps/x86_64/sysdep.h: Likewise.
2566
2567 2012-01-07 Ulrich Drepper <drepper@gmail.com>
2568
2569 [BZ #13553]
2570 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2571 for non-gcc.
2572 * argp/argp-fmtstream.h: Use const instead __const.
2573 * argp/argp.h: Likewise.
2574 * assert/assert.h: Likewise.
2575 * bits/fenv.h: Likewise.
2576 * bits/sched.h: Likewise.
2577 * bits/sigset.h: Likewise.
2578 * bits/sigthread.h: Likewise.
2579 * catgets/nl_types.h: Likewise.
2580 * conform/data/pthread.h-data: Likewise.
2581 * crypt/crypt-private.h: Likewise.
2582 * crypt/crypt.h: Likewise.
2583 * crypt/crypt_util.c: Likewise.
2584 * ctype/ctype.h: Likewise.
2585 * debug/execinfo.h: Likewise.
2586 * debug/mbsnrtowcs_chk.c: Likewise.
2587 * debug/mbsrtowcs_chk.c: Likewise.
2588 * debug/wcsnrtombs_chk.c: Likewise.
2589 * debug/wcsrtombs_chk.c: Likewise.
2590 * debug/wcstombs_chk.c: Likewise.
2591 * dirent/dirent.h: Likewise.
2592 * dlfcn/dlfcn.h: Likewise.
2593 * elf/neededtest4.c: Likewise.
2594 * grp/grp.h: Likewise.
2595 * gshadow/gshadow.h: Likewise.
2596 * iconv/gconv.h: Likewise.
2597 * iconv/gconv_int.h: Likewise.
2598 * iconv/gconv_simple.c: Likewise.
2599 * iconv/iconv.h: Likewise.
2600 * iconv/loop.c: Likewise.
2601 * iconv/skeleton.c: Likewise.
2602 * include/aio.h: Likewise.
2603 * include/aliases.h: Likewise.
2604 * include/argz.h: Likewise.
2605 * include/arpa/inet.h: Likewise.
2606 * include/assert.h: Likewise.
2607 * include/dirent.h: Likewise.
2608 * include/dlfcn.h: Likewise.
2609 * include/execinfo.h: Likewise.
2610 * include/fcntl.h: Likewise.
2611 * include/fenv.h: Likewise.
2612 * include/glob.h: Likewise.
2613 * include/grp.h: Likewise.
2614 * include/libintl.h: Likewise.
2615 * include/mntent.h: Likewise.
2616 * include/netdb.h: Likewise.
2617 * include/pwd.h: Likewise.
2618 * include/rpc/netdb.h: Likewise.
2619 * include/sched.h: Likewise.
2620 * include/search.h: Likewise.
2621 * include/shadow.h: Likewise.
2622 * include/signal.h: Likewise.
2623 * include/stdio.h: Likewise.
2624 * include/stdlib.h: Likewise.
2625 * include/string.h: Likewise.
2626 * include/sys/socket.h: Likewise.
2627 * include/sys/stat.h: Likewise.
2628 * include/sys/statfs.h: Likewise.
2629 * include/sys/statvfs.h: Likewise.
2630 * include/sys/syslog.h: Likewise.
2631 * include/sys/time.h: Likewise.
2632 * include/sys/uio.h: Likewise.
2633 * include/time.h: Likewise.
2634 * include/unistd.h: Likewise.
2635 * include/utmp.h: Likewise.
2636 * include/wchar.h: Likewise.
2637 * include/wctype.h: Likewise.
2638 * inet/aliases.h: Likewise.
2639 * inet/arpa/inet.h: Likewise.
2640 * inet/netinet/ether.h: Likewise.
2641 * inet/netinet/in.h: Likewise.
2642 * intl/libintl.h: Likewise.
2643 * io/bits/fcntl2.h: Likewise.
2644 * io/fcntl.h: Likewise.
2645 * io/ftw.h: Likewise.
2646 * io/sys/poll.h: Likewise.
2647 * io/sys/stat.h: Likewise.
2648 * io/sys/statfs.h: Likewise.
2649 * io/sys/statvfs.h: Likewise.
2650 * io/utime.h: Likewise.
2651 * libio/bits/stdio.h: Likewise.
2652 * libio/bits/stdio2.h: Likewise.
2653 * libio/libio.h: Likewise.
2654 * libio/libioP.h: Likewise.
2655 * libio/stdio.h: Likewise.
2656 * locale/lc-ctype.c: Likewise.
2657 * locale/locale.h: Likewise.
2658 * login/utmp.h: Likewise.
2659 * malloc/arena.c: Likewise.
2660 * malloc/malloc.c: Likewise.
2661 * malloc/malloc.h: Likewise.
2662 * malloc/mcheck.c: Likewise.
2663 * malloc/mtrace.c: Likewise.
2664 * math/bits/mathcalls.h: Likewise.
2665 * math/fenv.h: Likewise.
2666 * math/math_private.h: Likewise.
2667 * misc/bits/error.h: Likewise.
2668 * misc/bits/syslog.h: Likewise.
2669 * misc/err.h: Likewise.
2670 * misc/error.h: Likewise.
2671 * misc/fstab.h: Likewise.
2672 * misc/mntent.h: Likewise.
2673 * misc/regexp.h: Likewise.
2674 * misc/search.h: Likewise.
2675 * misc/sgtty.h: Likewise.
2676 * misc/sys/mman.h: Likewise.
2677 * misc/sys/syslog.h: Likewise.
2678 * misc/sys/uio.h: Likewise.
2679 * misc/sys/xattr.h: Likewise.
2680 * misc/ttyent.h: Likewise.
2681 * nis/rpcsvc/ypclnt.h: Likewise.
2682 * nss/nss.h: Likewise.
2683 * posix/bits/unistd.h: Likewise.
2684 * posix/fnmatch.h: Likewise.
2685 * posix/glob.h: Likewise.
2686 * posix/sched.h: Likewise.
2687 * posix/spawn.h: Likewise.
2688 * posix/sys/wait.h: Likewise.
2689 * posix/unistd.h: Likewise.
2690 * posix/wordexp.h: Likewise.
2691 * pwd/pwd.h: Likewise.
2692 * resolv/netdb.h: Likewise.
2693 * resource/sys/resource.h: Likewise.
2694 * rt/aio.h: Likewise.
2695 * rt/bits/mqueue2.h: Likewise.
2696 * rt/mqueue.h: Likewise.
2697 * shadow/shadow.h: Likewise.
2698 * signal/signal.h: Likewise.
2699 * socket/send.c: Likewise.
2700 * socket/sendto.c: Likewise.
2701 * socket/sys/socket.h: Likewise.
2702 * stdio-common/printf.h: Likewise.
2703 * stdlib/bits/stdlib.h: Likewise.
2704 * stdlib/fmtmsg.h: Likewise.
2705 * stdlib/monetary.h: Likewise.
2706 * stdlib/stdlib.h: Likewise.
2707 * stdlib/ucontext.h: Likewise.
2708 * streams/stropts.h: Likewise.
2709 * string/argz.h: Likewise.
2710 * string/bits/string2.h: Likewise.
2711 * string/string.h: Likewise.
2712 * string/strings.h: Likewise.
2713 * sunrpc/rpc/auth.h: Likewise.
2714 * sunrpc/rpc/auth_des.h: Likewise.
2715 * sunrpc/rpc/clnt.h: Likewise.
2716 * sunrpc/rpc/netdb.h: Likewise.
2717 * sunrpc/rpc/pmap_clnt.h: Likewise.
2718 * sunrpc/rpc/xdr.h: Likewise.
2719 * sysdeps/generic/inttypes.h: Likewise.
2720 * sysdeps/generic/net/if.h: Likewise.
2721 * sysdeps/generic/sys/swap.h: Likewise.
2722 * sysdeps/gnu/net/if.h: Likewise.
2723 * sysdeps/gnu/utmpx.h: Likewise.
2724 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2725 * sysdeps/i386/i486/bits/string.h: Likewise.
2726 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2727 * sysdeps/s390/bits/string.h: Likewise.
2728 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2729 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2730 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2731 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2732 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2733 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2734 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2735 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2736 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2737 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2738 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2739 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2740 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2741 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2742 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2749 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2750 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2751 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2752 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2753 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2756 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2757 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2758 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2759 * sysvipc/sys/ipc.h: Likewise.
2760 * sysvipc/sys/msg.h: Likewise.
2761 * sysvipc/sys/sem.h: Likewise.
2762 * sysvipc/sys/shm.h: Likewise.
2763 * termios/termios.h: Likewise.
2764 * time/sys/time.h: Likewise.
2765 * time/time.h: Likewise.
2766 * wcsmbs/bits/wchar2.h: Likewise.
2767 * wcsmbs/uchar.h: Likewise.
2768 * wcsmbs/wchar.h: Likewise.
2769 * wctype/wctype.h: Likewise.
2770
2771 [BZ #13551]
2772 * Makeconfig: Remove all but ELF support including AIX support.
2773 * Makerules: Likewise.
2774 * config.h.in: Likewise.
2775 * config.make.in: Likewise.
2776 * configure: Likewise.
2777 * configure.in: Likewise.
2778 * csu/Makefile: Likewise.
2779 * csu/version.c: Likewise.
2780 * debug/Makefile: Likewise.
2781 * dlfcn/Makefile: Likewise.
2782 * elf/Makefile: Likewise.
2783 * extra-lib.mk: Likewise.
2784 * iconv/Makefile: Likewise.
2785 * include/libc-symbols.h: Likewise.
2786 * include/shlib-compat.h: Likewise.
2787 * resolv/Makefile: Likewise.
2788 * resolv/res_libc.c: Likewise.
2789 * rt/Makefile: Likewise.
2790 * sysdeps/i386/asm-syntax.h: Likewise.
2791 * sysdeps/i386/sysdep.h: Likewise.
2792 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2793 * sysdeps/mach/sysdep.h: Likewise.
2794 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2795 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2796 * sysdeps/s390/asm-syntax.h: Likewise.
2797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2799 * sysdeps/sh/sysdep.h: Likewise.
2800 * sysdeps/unix/sparc/sysdep.h: Likewise.
2801 * sysdeps/wordsize-32/divdi3.c: Likewise.
2802 * sysdeps/x86_64/sysdep.h: Likewise.
2803
2804 * argp/Versions: Remove _argp_unlock_xxx.
2805
2806 [BZ #13559]
2807 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2808 * abilist/libBrokenLocale.abilist: Likewise.
2809 * abilist/libanl.abilist: Likewise.
2810 * abilist/libc.abilist: Likewise.
2811 * abilist/libcrypt.abilist: Likewise.
2812 * abilist/libdl.abilist: Likewise.
2813 * abilist/libm.abilist: Likewise.
2814 * abilist/libnsl.abilist: Likewise.
2815 * abilist/libpthread.abilist: Likewise.
2816 * abilist/libresolv.abilist: Likewise.
2817 * abilist/librt.abilist: Likewise.
2818 * abilist/libthread_db.abilist: Likewise.
2819 * abilist/libutil.abilist: Likewise.
2820 * abilist/libnss_db.abilist: New file.
2821
2822 * scripts/abilist.awk: Add support for indirect functions.
2823
2824 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2825
2826 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2827
2828 * shlib-versions: Remove entries for ports architectures.
2829
2830 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2831 files in ports.
2832 * elf/stackguard-macros.h: Remove support for IA-64.
2833 * elf/tst-auditmod1.c: Likewise.
2834 * sysdeps/generic/ldsodefs.h: Likewise.
2835
2836 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2837 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2838 configure files.
2839
2840 [BZ #13552]
2841 * configure.in: Remove --enable-omitfp support.
2842 * FAQ.in: Adjust.
2843 * config.make.in: Likewise.
2844 * Makeconfig: Likewise.
2845 * manual/install.texi: Likewise.
2846
2847 In case anyone cares, the IA-64 architecture could move to ports.
2848 * sysdeps/ia64/*: Removed.
2849 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2850 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2851
2852 [BZ #13555]
2853 * configure.in: Remove entries for unsupported architectures.
2854
2855 [BZ #13533]
2856 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2857 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2858 routines.
2859 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2860 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2861 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2862 fall back to using wcrtomb.
2863 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2864 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2865 renaming.
2866 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2867 * wcsmbs/tst-c16c32-1.c: New file.
2868
2869 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2870 local variable.
2871
2872 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2873
2874 * elf/tst-unique3.cc: Add explicit declaration of gets.
2875 * elf/tst-unique3lib.cc: Likewise.
2876 * elf/tst-unique3lib2.cc: Likewise.
2877 * elf/tst-unique4.cc: Likewise.
2878
2879 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2880
2881 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2882
2883 [BZ #13566]
2884 * assert/assert.h (static_assert): Don't define for C++.
2885 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2886 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2887
2888 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2889
2890 * iconv/loop.c (single loop): Fix assertion in storing of
2891 remaining bytes.
2892
2893 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2894
2895 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2896
2897 * posix/getconf.c: Update copyright year.
2898 * nss/getent.c: Likewise.
2899 * nss/makedb.c: Likewise.
2900 * iconv/iconvconfig.c: Likewise.
2901 * iconv/iconv_prog.c: Likewise.
2902 * elf/ldconfig.c: Likewise.
2903 * elf/pldd.c: Likewise.
2904 * elf/sotruss.ksh: Likewise.
2905 * catgets/gencat.c: Likewise.
2906 * csu/version.c: Likewise.
2907 * elf/ldd.bash.in: Likewise.
2908 * elf/sprof.c (print_version): Likewise.
2909 * locale/programs/locale.c: Likewise.
2910 * locale/programs/localedef.c: Likewise.
2911 * login/programs/pt_chown.c: Likewise.
2912 * nscd/nscd.c (print_version): Likewise.
2913 * debug/xtrace.sh: Likewise.
2914 * malloc/memusage.sh: Likewise.
2915 * malloc/mtrace.pl: Likewise.
2916 * debug/catchsegv.sh: Likewise.
2917
2918 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2919
2920 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2921 pure attribute.
2922
2923 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2924
2925 [BZ #13533]
2926 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2927 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2928 transformations.
2929 * iconv/gconv_int.h: Likewise.
2930 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2931 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2932 from libc for GLIBC_2.16.
2933 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2934 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2935 * wcsmbs/uchar.h: Really define mbstate_t.
2936 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2937 * wcsmbs/c16rtomb.c: New file.
2938 * wcsmbs/mbrtoc16.c: New file.
2939 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2940 for C/POSIX locale.
2941 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2942 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2943
2944 * wcsmbs/wchar.h: Add missing __restrict.
2945
2946 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2947
2948 [BZ #13532]
2949 * time/Makefile (routines): Add timespec_get.
2950 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2951 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2952 timespec for ISO C11.
2953 * time/timespec_get.c: New file.
2954 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2955 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2956
2957 [BZ #13531]
2958 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2959 * stdlib/stdlib.h: Declare aligned_alloc.
2960 * Versions.def: Add GLIBC_2.16 for libc.
2961 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2962
2963 [BZ 13527]
2964 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2965 ISO C11.
2966
2967 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2968 code.
2969
2970 [BZ #13528]
2971 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2972
2973 [BZ #13529]
2974 * assert/assert.h (static_assert): Define.
2975
2976 * version.h: Update for 2.16 development version.
2977
2978 [BZ #13526]
2979 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2980 _ISOC11_SOURCE.
2981
2982 * version.h (RELEASE): Bump for 2.15 release.
2983 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2984
2985 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2986 Patch by Marek Polacek <mpolacek@redhat.com>.
2987
2988 * bits/byteswap.h: Protect long long constants with __extension__.
2989 * sysdeps/i386/bits/byteswap.h: Likewise.
2990 * sysdeps/ia64/bits/byteswap.h: Likewise.
2991 * sysdeps/s390/bits/byteswap.h: Likewise.
2992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2993
2994 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2995
2996 [BZ #13540]
2997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2998 destination buffer.
2999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3000
3001 2011-12-23 Marek Polacek <polacek@redhat.com>
3002
3003 * elf/dl-addr.c (determine_info): Add inline keyword.
3004 * elf/tst-auditmod4b.c (check_avx): Likewise.
3005 * elf/tst-auditmod6b.c (check_avx): Likewise.
3006 * elf/tst-auditmod6c.c (check_avx): Likewise.
3007 * elf/tst-auditmod7b.c (check_avx): Likewise.
3008
3009 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3010
3011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3012 !__SSE_MATH__.
3013
3014 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3015
3016 [BZ #13540]
3017 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3018 processing for last bytes.
3019
3020 2011-08-06 Bruno Haible <bruno@clisp.org>
3021
3022 [BZ #13061]
3023 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3024 U+0385, not to U+1FEE.
3025
3026 [BZ #13062]
3027 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3028 entry for U+00A5 U+0301.
3029
3030 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3031
3032 [BZ #13166]
3033 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3034 buffer for the output is too small.
3035
3036 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3037 optimization.
3038
3039 [BZ #13185]
3040 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3041 SSE flags if possible.
3042
3043 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3044
3045 [BZ #13540]
3046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3047 processing for last bytes.
3048
3049 2011-12-22 Joseph Myers <joseph@codesourcery.com>
3050
3051 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3052 (syscall-list-default-options, syscall-list-default-condition)
3053 (syscall-list-includes): Define.
3054 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3055 list of ABIs and options and #if conditions for each ABI. Do not
3056 handle common syscalls between ABIs specially.
3057 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3058 Remove.
3059 (syscall-list-variants, syscall-list-32bit-options)
3060 (syscall-list-32bit-condition, syscall-list-64bit-options)
3061 (syscall-list-64bit-condition): Define.
3062 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3063 (syscall-list-variants, syscall-list-32bit-options)
3064 (syscall-list-32bit-condition, syscall-list-64bit-options)
3065 (syscall-list-64bit-condition): Define.
3066 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3067 Remove.
3068 (syscall-list-variants, syscall-list-32bit-options)
3069 (syscall-list-32bit-condition, syscall-list-64bit-options)
3070 (syscall-list-64bit-condition): Define.
3071 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3072 Remove.
3073 (syscall-list-variants, syscall-list-32bit-options)
3074 (syscall-list-32bit-condition, syscall-list-64bit-options)
3075 (syscall-list-64bit-condition): Define.
3076
3077 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3078
3079 * locale/iso-639.def: Add brx entry.
3080
3081 [BZ #13328]
3082 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3083 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3084
3085 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3086 __feraiseexcept_renamed.
3087
3088 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3089
3090 [BZ #13538]
3091 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3092 EPOLLET with unsigned values.
3093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3095
3096 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3097 to large cancellation.
3098 * math/s_cacoshf.c: Likewise.
3099 * math/s_cacoshl.c: Likewise.
3100
3101 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3102
3103 [BZ #13305]
3104 [BZ #12786]
3105 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3106 * math/s_cacoshf.c: Likewise.
3107 * math/s_cacoshl.c: Likewise.
3108
3109 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3110
3111 [BZ #13439]
3112 * iconv/gconv.h: Define __GCONV_SWAP.
3113 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3114 * iconvdata/utf-16.c: Likewise.
3115 * iconvdata/utf-32.c: Likewise.
3116
3117 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3118
3119 [BZ #13524]
3120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3121 numerator after shifting it by one limb.
3122
3123 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3124
3125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3126 under [__USE_EXTERN_INLINES].
3127
3128 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3129
3130 [BZ #13446]
3131 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3132
3133 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134
3135 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3136 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3137 optimized code.
3138 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3139 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3140 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3141 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3142 for strncasecmp/strncasecmp_l compilation.
3143 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3144 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3145
3146 2011-12-08 Marek Polacek <mpolacek@redhat.com>
3147
3148 [BZ #13484]
3149 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3150 of __asm__.
3151
3152 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3153
3154 [BZ #13506]
3155 * time/tzfile.c (__tzfile_read): Check values from file header.
3156
3157 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3158
3159 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3160 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3161 * powerpc/powerpc32/dl-start.S: Likewise.
3162 * powerpc/powerpc32/elf/start.S: Likewise.
3163 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3164 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3165 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3166 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3167 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3168 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3169 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3170 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3171 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3172 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3173 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3174 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3175 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3176 * powerpc/powerpc32/memset.S: Likewise.
3177 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3178 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3179 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3180 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3181 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3182 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3183 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3184 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3185 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3186 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3188 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3189 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3190
3191 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192
3193 * math/libm-test.inc: Added more nearbyint tests.
3194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3195 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3198
3199 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3200
3201 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3202 FD_CLOEXEC.
3203
3204 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3205
3206 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3207 Add wcscpy-ssse3 wcscpy-c.
3208 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3209 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3210 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3211 * sysdeps/x86_64/wcschr.S: New file.
3212 * sysdeps/x86_64/wcsrchr.S: New file.
3213 * string/test-strcmp.c: Remove checking of wcscmp function for
3214 wrong alignments.
3215 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3216 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3217 wcsrchr-sse2 wcsrchr-c.
3218 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3219 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3220 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3221 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3222 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3223 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3224 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3225 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3226 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3227 * wcsmbc/wcschr.c (WCSCHR): New macro.
3228
3229 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3230
3231 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3232 * wcsmbs/test-wcsrchr.c: New file.
3233 * string/test-strrchr.c: Add wcsrchr support.
3234 (WIDE): New macro.
3235 * wcsmbs/test-wcscpy.c: New file.
3236 * string/test-strcpy.c: Add wcscpy support.
3237 (WIDE): New macro.
3238
3239 2011-12-10 Ulrich Drepper <drepper@gmail.com>
3240
3241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3242 the inner loop.
3243
3244 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3245
3246 [BZ #13472]
3247 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3248
3249 2011-12-04 Ulrich Drepper <drepper@gmail.com>
3250
3251 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3252 Minor optimizations.
3253
3254 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3255 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3256 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3257
3258 2011-12-03 Ulrich Drepper <drepper@gmail.com>
3259
3260 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3261 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3262 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3263 for gcc to avoid warnings.
3264 * inet/Makefile (tests): Add tst-checks.
3265 * inet/tst-checks.c: New file.
3266
3267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3268 warning.
3269
3270 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3271 __wmemcmp_sse2.
3272
3273 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3274 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3275
3276 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3277
3278 2011-12-02 Ulrich Drepper <drepper@gmail.com>
3279
3280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3281 problem.
3282
3283 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3284
3285 2011-11-29 Joseph Myers <joseph@codesourcery.com>
3286
3287 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3288 conditional on GCC version.
3289 (__arch_compare_and_exchange_val_8_acq)
3290 (__arch_compare_and_exchange_val_16_acq)
3291 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3292 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3293 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3294
3295 2011-12-02 Joseph Myers <joseph@codesourcery.com>
3296
3297 * sysdeps/sh/backtrace.c: New file.
3298
3299 2011-12-02 Andreas Schwab <schwab@redhat.com>
3300
3301 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3302 parenthesis.
3303
3304 2011-12-01 Andreas Schwab <schwab@redhat.com>
3305
3306 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3307 falling back to utime.
3308
3309 2011-11-30 Andreas Schwab <schwab@redhat.com>
3310
3311 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3312 expectations for float.
3313
3314 2011-11-29 Andreas Schwab <schwab@redhat.com>
3315
3316 * locale/weight.h (findidx): Add parameter len.
3317 * locale/weightwc.h (findidx): Likewise.
3318 * posix/fnmatch_loop.c (FCT): Adjust caller.
3319 * posix/regcomp.c (build_equiv_class): Likewise.
3320 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3321 * posix/regexec.c (check_node_accept_bytes): Likewise.
3322 * string/strcoll_l.c (STRCOLL): Likewise.
3323 * string/strxfrm_l.c (STRXFRM): Likewise.
3324
3325 2011-11-17 Ulrich Drepper <drepper@gmail.com>
3326
3327 * Makefile.in: Remove CVSOPT handling.
3328 * configure.in: Remove use of AC_REVISION.
3329 * iconvdata/Makefile (distribute): No need to filter out CVS.
3330 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3331 handling.
3332
3333 2011-11-16 Andreas Schwab <schwab@redhat.com>
3334
3335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3336 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3337 [USE_AS_STRNCASECMP_L]: Likewise.
3338 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3339 NO_TLS_DIRECT_SEG_REFS.
3340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3341 Fix argument offsets for non-PIC.
3342 [USE_AS_STRNCASECMP_L]: Likewise.
3343 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3344 NO_TLS_DIRECT_SEG_REFS.
3345
3346 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3347
3348 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3349 O_CLOEXEC.
3350 * locale/loadlocale.c (_nl_load_locale): Likewise.
3351
3352 2011-11-15 Andreas Schwab <schwab@redhat.com>
3353
3354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3355 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3356 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3357 (SYSCALL_GETTIME): Set errno on error.
3358
3359 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3360 count references to noai6ai_cached.
3361
3362 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3363
3364 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3365
3366 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3367 FD_CLOEXEC for /proc/self/maps.
3368
3369 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3370 FD_CLOEXEC for /proc/meminfo.
3371
3372 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3373 gai.conf.
3374
3375 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3376 FD_CLOEXEC for given file.
3377
3378 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3379
3380 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3381 FD_CLOEXEC for /etc/hosts.
3382 (_gethtent): Likewise.
3383
3384 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3385
3386 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3387 cancellation and set FD_CLOEXEC for /etc/netgroup.
3388
3389 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3390 reading /etc/publickey.
3391
3392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3393 allow cancellation when reading /etc/group.
3394
3395 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3396 cancellation.
3397 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3398
3399 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3400 when using data file.
3401
3402 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3403
3404 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3405 (write_nis_obj): Use "c" and "e" in fopen.
3406
3407 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3408
3409 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3410
3411 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3412
3413 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3414
3415 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3416 locale.alias.
3417
3418 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3419
3420 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3421
3422 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3423
3424 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3425 file parsing and set FD_CLOEXEC.
3426
3427 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3428
3429 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3430
3431 2011-11-14 Andreas Schwab <schwab@redhat.com>
3432
3433 * malloc/arena.c (arena_get2): Don't call reused_arena when
3434 _int_new_arena failed.
3435
3436 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3437
3438 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3439 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3441 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3444 to compile strcasecmp and strncasecmp.
3445 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3446 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3447
3448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3449
3450 2011-11-13 Ulrich Drepper <drepper@gmail.com>
3451
3452 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3453 locale-defines.sym to gen-as-const-headers.
3454 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3455 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3457 to compile strcasecmp and strncasecmp.
3458 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3459 strcasecmp_l and strncasecmp_l.
3460 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3461 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3462 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3463 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3464 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3465 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3466 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3467 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3468 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3469 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3470 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3471
3472 2011-11-12 Ulrich Drepper <drepper@gmail.com>
3473
3474 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3475 result of SYSDEP_GETTIME_CPU to retval.
3476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3477 parameter list to macro. Remove trailing semicolon. Adjust users.
3478
3479 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3480 variable.
3481
3482 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3483 mantissa words.
3484 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3485
3486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3487 from unused variable.
3488
3489 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3490 DWARF definitions.
3491 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3492 for assembling.
3493
3494 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3495 over namespaces.
3496
3497 * sunrpc/rpc_prot.c (rejected): Fix case value.
3498
3499 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3500 unsigned long long int to avoid warnings in shift.
3501
3502 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3503 of use of trans.
3504 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3505 variable tmp.
3506
3507 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3508 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3509 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3510
3511 * nis/nis_table.c (nis_list): Use variable of correct type for
3512 result of __follow_path call.
3513
3514 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3515
3516 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3517 of math functions ceil, trunc, floor, round, and sqrt, when
3518 avaliable on the platform.
3519 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3520 name clash.
3521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3522 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3523 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3524
3525 2011-10-30 Marek Polacek <mpolacek@redhat.com>
3526
3527 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3529
3530 2011-11-11 Roland McGrath <roland@hack.frob.com>
3531
3532 * include/unistd.h: Fix __readlink return type.
3533 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3534
3535 2011-11-11 Ulrich Drepper <drepper@gmail.com>
3536
3537 * stdlib/ucontext.h: Undo last change for makecontext.
3538
3539 2011-11-11 Andreas Schwab <schwab@redhat.com>
3540
3541 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3542
3543 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3544 * setjmp/setjmp.h: Mark functions as non-leaf.
3545 * setjmp/bits/setjmp2.h: Likewise.
3546 * stdlib/ucontext.h: Likewise.
3547
3548 2011-11-10 Andreas Schwab <schwab@redhat.com>
3549
3550 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3551 (reused_arena): Don't check arena limit.
3552 (arena_get2): Atomically check arena limit.
3553
3554 2011-11-08 Ulrich Drepper <drepper@gmail.com>
3555
3556 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3557 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3558
3559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3560 instructions.
3561
3562 2011-11-07 Andreas Schwab <schwab@redhat.com>
3563
3564 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3565 handler when locking.
3566
3567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3568 Fix size of allocated buffer.
3569
3570 2011-11-04 Andreas Schwab <schwab@redhat.com>
3571
3572 [BZ #10103]
3573 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3574 declarations for long double functions.
3575 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3576
3577 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3578
3579 2011-11-03 Andreas Schwab <schwab@redhat.com>
3580
3581 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3582 installed.
3583
3584 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3585 is disabled.
3586
3587 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3588
3589 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3590
3591 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3592
3593 * include/alloca.h (stackinfo_alloca_round): Define.
3594 (extend_alloca): Use it.
3595 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3596 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3597 here.
3598
3599 * scripts/check-local-headers.sh: Ignore libaudit.h.
3600
3601 * nscd/Makefile (extra-objs): Make recursively expanded.
3602
3603 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3604
3605 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3607
3608 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3609 * posix/tst-rfc3484-2.c: Likewise.
3610 * posix/tst-rfc3484-3.c: Likewise.
3611
3612 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3613 process_vm_writev.
3614 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3615 process_vm_writev.
3616 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3617 process_vm_writev from libc using GLIBC_2.15 version.
3618
3619 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3620
3621 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3622
3623 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3624 stack usage.
3625
3626 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3627
3628 [BZ #13367]
3629 * nss/getent.c (initgroups_keys): Show error message in case no group
3630 names are given.
3631
3632 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3633 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3634 __bump_nl_timestamp.
3635 * nscd/connections (nscd_init): When host database is served open
3636 netlink socket and request notification about configuration changes.
3637 (main_loop_poll): Track netlink file descriptor and bump timestamp
3638 in case data becomes available.
3639 (main_loop_epoll): Likewise.
3640 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3641 (database_pers_head): Add extra_data fileds.
3642 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3643 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3644 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3645 Adjust caller.
3646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3647 in6ai data, call __free_in6ai.
3648 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3649 Add -DHAVE_NETLINK.
3650 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3651 interface information. Reuse previous data if netlink timestamp
3652 is not changed.
3653 (__bump_nl_timestamp): New function.
3654 (__free_in6ai): New function.
3655
3656 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3657
3658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3659 close_not_cancel_no_status here.
3660 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3661
3662 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3663
3664 [BZ #13276]
3665 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3666 return value.
3667
3668 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3669 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3670 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3671
3672 2011-07-03 Andreas Jaeger <aj@suse.de>
3673
3674 [BZ #10709]
3675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3676 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3677 * math/libm-test.inc (sin_test): Add test case.
3678
3679 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3680
3681 [BZ #13337]
3682 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3683 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3684
3685 * elf/chroot_canon.c (chroot_canon): Cleanups.
3686
3687 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3688
3689 [BZ #13335]
3690 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3691 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3692
3693 * string/test-strchr.c: Make usable for strchrnul testing.
3694 * string/test-strchrnul.c: New file.
3695 * string/Makefile (strop-tests): Add strchrnul.
3696
3697 * po/it.po: Update from translation team.
3698 * po/es.po: Likewise.
3699
3700 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3701
3702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3703 the three constants needed as parameters. Drop the others.
3704 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3705 __m128i_strloadu_tolower.
3706 Create and initialize variable zero and use it in all the places
3707 where _mm_setzero_si128 was used.
3708
3709 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3710 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3711 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3713 anymore.
3714 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3715 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3716 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3717 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3718 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3719 __mpranred, __mptan.
3720 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3721 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3722 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3723 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3724 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3725 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3727 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3728 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3729
3730 2011-10-28 Andreas Schwab <schwab@redhat.com>
3731
3732 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3733 redefine if SHARED.
3734 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3735
3736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3737 wide char related routines to wcsmbs subdir.
3738
3739 2011-10-27 Andreas Schwab <schwab@redhat.com>
3740
3741 [BZ #13344]
3742 * misc/sys/cdefs.h (__THROWNL): Define.
3743 * posix/unistd.h: Use __THREADNL instead of __THREAD
3744 for memory synchronization functions.
3745
3746 2011-10-26 Roland McGrath <roland@hack.frob.com>
3747
3748 [BZ #13349]
3749 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3750 doesn't exist.
3751 * manual/stdio.texi (Obstack Streams): Node removed.
3752
3753 2011-10-26 Andreas Schwab <schwab@redhat.com>
3754
3755 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3758
3759 * math/math_private.h (math_force_eval): Allow non-addressable
3760 arguments.
3761 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3762
3763 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3764
3765 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3766 file is not needed.
3767
3768 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3775 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3776 Add AVX variants.
3777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3781 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3782 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3783 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3785 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3786 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3787 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3788 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3790 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3791 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3792 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3793 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3794 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3795 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3796
3797 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3798 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3799
3800 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3801 place. Use VEX encoding when compiling for AVX.
3802
3803 2011-10-25 Andreas Schwab <schwab@redhat.com>
3804
3805 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3806 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3807
3808 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3809
3810 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3811
3812 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3813 useless if() expression.
3814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3832 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3833
3834 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3835
3836 2011-10-25 Andreas Schwab <schwab@redhat.com>
3837
3838 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3839 condition.
3840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3841
3842 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3843
3844 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3845 .text section. Avoid duplicate constants.
3846 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3858 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3873 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3877 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3878 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3879 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3880 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3881 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3882 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3884 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3885 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3888 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3891
3892 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3893
3894 * sysdeps/x86_64/dla.h: Move to ...
3895 * sysdeps/x86_64/fpu/dla.h: ...here.
3896 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3897 situations. Use __builtin_fma only for gcc 4.6 and up.
3898
3899 * config.make.in: Add have-mfma4 entry.
3900 * configure.in: Substitute libc_cv_cc_fma4.
3901 * math/Makefile (dbl-only-routines): Add sincostab.
3902 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3903 Use __sincostab not sincos.
3904 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3905 name is a macro.
3906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3910 using __copysign.
3911 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3912 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3913 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3914 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3915 and __inv.
3916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3917 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3918 __copysign.
3919 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3920 define aliases when function name is a macro.
3921 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3922 sysdeps/ieee754/dbl-64/sincos.tbl.
3923 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3924 fma4-enabled routines.
3925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3926 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3927 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3928 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3934 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3935 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3936 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3937 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3943 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3945 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3950 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3951 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3955
3956 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3957 rename.
3958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3966
3967 2011-10-24 Andreas Schwab <schwab@redhat.com>
3968
3969 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3970
3971 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3972
3973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3974
3975 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3976 prediction.
3977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3978
3979 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3980 Remove unused variable magic_bits.
3981 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3982
3983 * string/strnlen.c: Define and use STRNLEN macro.
3984 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3985 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3987 * wcsmbs/wcslen.c: Define and use WCSLEN.
3988 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3989 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3990 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3991 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3992 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3993 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3994 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3995
3996 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3997
3998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3999 strnlen-sse2-no-bsf.
4000 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4002 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4003 Add strnlen support.
4004 (USE_AS_STRNLEN): New macro.
4005 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4007 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4008 * sysdeps/x86_64/wcslen.S: New file.
4009
4010 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4011
4012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4013 XMM-moves are used for copying on small sizes.
4014
4015 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4016
4017 * wcsmbs/Makefile (strop-tests): Add wcschr.
4018 * wcsmbs/test-wcschr.c: New file.
4019 * string/test-strchr.c: Update.
4020 Add wcschr support.
4021 (WIDE): New macro.
4022
4023 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4024
4025 * wcsmbs/Makefile (strop-tests): Add wcslen.
4026 * wcsmbs/test-wcslen.c: New file.
4027 * string/test-strlen.c: Update.
4028 Add wcslen support.
4029 (WIDE): New macro.
4030
4031 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4032
4033 * po/it.po: Update from translation team.
4034
4035 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4036
4037 * sysdeps/x86_64/wcscmp.S: Update.
4038 Fix wrong comparison semantics.
4039 wcscmp shall use signed comparison not unsigned.
4040 Don't use substraction to avoid overflow bug.
4041 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4042 * wcsmbc/wcscmp.c: Likewise.
4043 * string/test-strcmp.c: Likewise.
4044 Add new tests to check cases with negative values.
4045
4046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4047
4048 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4049 * sysdeps/x86_64/dla.h: ...here. New file.
4050 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4059
4060 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4061
4062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4063 __ynl_finite aliases.
4064
4065 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4066
4067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4068
4069 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4070 define DLA_FMA.
4071 [DLA_FMA] (EMULV): Use DLA_FMA.
4072 [DLA_FMA] (MUL12): Use EMULV.
4073 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4074 that are not needed.
4075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4082
4083 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4084
4085 * math/s_nan.c: Undef __nan.
4086 * math/s_nanf.c: Undef __nanf.
4087 * math/s_nanl.c: Undef __nanl.
4088 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4089 "math_private.h".
4090
4091 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4092
4093 * math/s_catan.c: Add branch predictions.
4094 * math/s_catanf.c: Likewise.
4095 * math/s_catanh.c: Likewise.
4096 * math/s_catanhf.c: Likewise.
4097 * math/s_catanhl.c: Likewise.
4098 * math/s_catanl.c: Likewise.
4099 * math/s_cexp.c: Likewise.
4100 * math/s_cexpf.c: Likewise.
4101 * math/s_cexpl.c: Likewise.
4102 * math/s_clog.c: Likewise.
4103 * math/s_clog10.c: Likewise.
4104 * math/s_clog10f.c: Likewise.
4105 * math/s_clog10l.c: Likewise.
4106 * math/s_clogf.c: Likewise.
4107 * math/s_clogl.c: Likewise.
4108 * math/s_csqrt.c: Likewise.
4109 * math/s_csqrtf.c: Likewise.
4110 * math/s_csqrtl.c: Likewise.
4111 * math/s_ctanf.c: Likewise.
4112 * math/s_ctanh.c: Likewise.
4113 * math/s_ctanhf.c: Likewise.
4114 * math/s_ctanhl.c: Likewise.
4115 * math/s_ctanl.c: Likewise.
4116
4117 * math/math_private.h: Define __nan, __nanf, __nanl.
4118 * math/s_cacosh.c: Include <math_private.h>.
4119 * math/s_cacoshl.c: Likewise.
4120 * math/s_casinh.c: Likewise.
4121 * math/s_casinhf.c: Likewise.
4122 * math/s_casinhl.c: Likewise.
4123 * math/s_ccos.c: Rely entire on ccosh.
4124 * math/s_ccosf.c: Rely entire on ccoshf.
4125 * math/s_ccosl.c: Rely entirely on ccoshl.
4126 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4127 Remove tests for FE_INVALID.
4128 * math/s_ccoshf.c: Likewise.
4129 * math/s_ccoshl.c: Likewise.
4130 * math/s_csin.c: Likewise.
4131 * math/s_csinf.c: Likewise.
4132 * math/s_csinh.c Likewise.
4133 * math/s_csinhf.c: Likewise.
4134 * math/s_csinhl.c: Likewise.
4135 * math/s_csinl.c: Likewise.
4136 * math/s_ctan.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4138 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4140
4141 2011-10-21 Ulrich Drepper <drepper@gmail.com>
4142
4143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4144 compilation problems.
4145
4146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4147 __builtin_expect.
4148
4149 2011-10-20 Ulrich Drepper <drepper@gmail.com>
4150
4151 * sysdeps/i386/configure.in: Test for -mfma4 option.
4152 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4153 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4154 COMMON_CPUID_INDEX_80000001.
4155 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4156 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4157 use it if FMA3 is not supported.
4158 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4159
4160 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4161 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4162
4163 2011-10-20 Andreas Schwab <schwab@redhat.com>
4164
4165 [BZ #12892]
4166 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4167 it would create a cycle with a link time dependency.
4168
4169 2011-10-19 Ulrich Drepper <drepper@gmail.com>
4170
4171 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4172 instruction.
4173 * string/Makefile (strop-tests): Add rawmemchr.
4174 * string/test-rawmemchr.c: New file.
4175
4176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4178 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4179 when compiling str{,n}casecmp and when AVX is available. Hook up
4180 new optimized code in initializers.
4181
4182 2011-10-19 Andreas Schwab <schwab@redhat.com>
4183
4184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4185 __feraiseexcept instead of feraiseexcept.
4186
4187 2011-10-18 Ulrich Drepper <drepper@gmail.com>
4188
4189 * math/math_private.h: Define defaults for libc_fetestexcept and
4190 libc_feupdateenv.
4191 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4192 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4194 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4196 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4197 libc_fetestexcept and libc_feupdateenv.
4198
4199 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4200 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4201 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4202 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4203 libc_feholdexcept_setround.
4204
4205 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4206 Add s_nearbyint-c and s_nearbyintf-c.
4207 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4208 nearbyintf inlines.
4209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4212 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4213
4214 * math/math_private.h: Define defaults for libc_fegetround,
4215 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4216 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4217 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4219 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4220 standard functions.
4221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4222 Remove comments and hacks for old compiler versions.
4223 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4224 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4225 libc_feholdexceptl.
4226
4227 2011-10-18 Andreas Schwab <schwab@redhat.com>
4228
4229 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4230 (__feraiseexcept_renamed): Add __NTH.
4231 (feraiseexcept): Add __NTH. Rename local variables to fix
4232 namespace violations.
4233
4234 2011-10-17 Ulrich Drepper <drepper@gmail.com>
4235
4236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4237
4238 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4239
4240 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4241 recently added interfaces.
4242 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4243
4244 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4245 about macro parameter expansion.
4246
4247 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4248 __NO_MATH_INLINES is defined. Cleanups.
4249
4250 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4251 and __floorf is target has SSE4.1.
4252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4255 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4256
4257 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4258 name.
4259 (floorf): Likewise.
4260
4261 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4262
4263 2011-10-17 Andreas Schwab <schwab@redhat.com>
4264
4265 * misc/sys/cdefs.h: Fix last change.
4266
4267 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4268 database lookup.
4269
4270 2011-10-16 Ulrich Drepper <drepper@gmail.com>
4271
4272 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4273
4274 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4281 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4282 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4283 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4284 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4285 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4286 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4287 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4288 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4289 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4291 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4292 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4293 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4294 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4295 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4296
4297 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4298 ceil, ceilf, floor, floorf.
4299
4300 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4301 Perform IRELATIVE relocations last.
4302
4303 * elf/do-rel.h: Add another parameter nrelative, replacing the
4304 local variable with the same name. Change name of the function
4305 to end in Rel or Rela (uppercase).
4306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4307 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4308 elf_dynamic_do_##reloc function.
4309
4310 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4311
4312 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4313 is sufficient, at least on modern CPUs.
4314
4315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4316
4317 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4319
4320 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4321 __expl_finite.
4322 * math/bits/math-finite.h: Add entries for exp.
4323 * math/e_expl.c: Add __*_finite alias.
4324 * sysdeps/i386/fpu/e_exp.S: Likewise.
4325 * sysdeps/i386/fpu/e_expf.S: Likewise.
4326 * sysdeps/i386/fpu/e_expl.c: Likewise.
4327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4328 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4331 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4334
4335 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4336 is sufficient, at least on modern CPUs.
4337
4338 * ctype/ctype-info.c (__ctype_init): Define.
4339 * include/ctype.h (__ctype_init): Declare.
4340 (__ctype_b_loc): The variable is always initialized.
4341 (__ctype_toupper_loc): Likewise.
4342 (__ctype_tolower_loc): Likewise.
4343 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4344 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4345
4346 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4347
4348 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4349
4350 * configure.in: Also look in $cxxmachine/include for C++ system
4351 headers.
4352
4353 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4354
4355 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4356 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4357 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4358 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4359 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4360 (USE_AS_WMEMCMP): New macro.
4361 Fixing indents.
4362 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4363 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4364 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4365 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4367 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4368 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4370 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4371 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4372 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4373 (USE_AS_WMEMCMP): New macro.
4374 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4375 * sysdeps/string/test-memcmp.c: Update.
4376 Fix simple_wmemcmp.
4377 Add new tests.
4378 * wcsmbs/wmemcmp.c: Update.
4379 (WMEMCMP): New macro.
4380 Fix overflow bug.
4381
4382 2011-10-12 Andreas Jaeger <aj@suse.de>
4383
4384 [BZ #13268]
4385 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4386
4387 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4388
4389 * libio/iofwide.c (do_length): Avoid warning.
4390
4391 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4392
4393 2011-10-14 Ulrich Drepper <drepper@gmail.com>
4394
4395 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4396
4397 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4398 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4399 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4400 * sysdeps/i386/i686/fpu/e_log.S: New file.
4401 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4402 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4403
4404 * ctype/ctype.h: Add support for inlined isXXX functions when
4405 compiling C++ code.
4406
4407 2011-10-14 Andreas Schwab <schwab@redhat.com>
4408
4409 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4410
4411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4412
4413 2011-10-13 Roland McGrath <roland@hack.frob.com>
4414
4415 [BZ #13291]
4416 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4417
4418 2011-10-13 Andreas Schwab <schwab@redhat.com>
4419
4420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4421 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4422 feraiseexcept.
4423
4424 * sysdeps/x86_64/memrchr.S: Check for zero size.
4425
4426 * string/stratcliff.c: Add memrchr tests.
4427
4428 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4429
4430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4431 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4432 rawmemchr-sse2 rawmemchr-sse2-bsf.
4433 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4434 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4435 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4436 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4437 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4438 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4439 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4440 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4442 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4443 * string/memrchr.c (MEMRCHR): New macro.
4444
4445 2011-10-12 Ulrich Drepper <drepper@gmail.com>
4446
4447 Add integration with gcc's -ffinite-math-only and optimize wrapper
4448 functions in libm.
4449 * Versions.def: Define GLIBC_2.15 version for libm.
4450 * math/Makefile (headers): Add bits/math-finite.h.
4451 * math/bits/math-finite.h: New file.
4452 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4453 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4454 * math/e_acoshl.c: Add __*_finite alias.
4455 * math/e_acosl.c: Likewise.
4456 * math/e_asinl.c: Likewise.
4457 * math/e_atan2l.c: Likewise.
4458 * math/e_atanhl.c: Likewise.
4459 * math/e_coshl.c: Likewise.
4460 * math/e_exp10.c: Likewise.
4461 * math/e_exp10f.c: Likewise.
4462 * math/e_exp10l.c: Likewise.
4463 * math/e_exp2l.c: Likewise.
4464 * math/e_fmodl.c: Likewise.
4465 * math/e_gammal_r.c: Likewise.
4466 * math/e_hypotl.c: Likewise.
4467 * math/e_j0l.c: Likewise.
4468 * math/e_j1l.c: Likewise.
4469 * math/e_jnl.c: Likewise.
4470 * math/e_lgammal_r.c: Likewise.
4471 * math/e_log10l.c: Likewise.
4472 * math/e_log2l.c: Likewise.
4473 * math/e_logl.c: Likewise.
4474 * math/e_powl.c: Likewise.
4475 * math/e_sinhl.c: Likewise.
4476 * math/e_sqrtl.c: Likewise.
4477 * math/e_scalb.c: Completely rewritten and optimized.
4478 * math/e_scalbf.c: Likewise.
4479 * math/e_scalbl.c: Likewise.
4480 * math/w_acos.c: Likewise.
4481 * math/w_acosf.c: Likewise.
4482 * math/w_acosl.c: Likewise.
4483 * math/w_acosh.c: Likewise.
4484 * math/w_acoshf.c: Likewise.
4485 * math/w_acoshl.c: Likewise.
4486 * math/w_asin.c: Likewise.
4487 * math/w_asinf.c: Likewise.
4488 * math/w_asinl.c: Likewise.
4489 * math/w_atan2.c: Likewise.
4490 * math/w_atan2f.c: Likewise.
4491 * math/w_atan2l.c: Likewise.
4492 * math/w_atanh.c: Likewise.
4493 * math/w_atanhf.c: Likewise.
4494 * math/w_atanhl.c: Likewise.
4495 * math/w_exp10.c: Likewise.
4496 * math/w_exp10f.c: Likewise.
4497 * math/w_exp10l.c: Likewise.
4498 * math/w_fmod.c: Likewise.
4499 * math/w_fmodf.c: Likewise.
4500 * math/w_fmodl.c: Likewise.
4501 * math/w_j0.c: Likewise.
4502 * math/w_j0f.c: Likewise.
4503 * math/w_j0l.c: Likewise.
4504 * math/w_j1.c: Likewise.
4505 * math/w_j1f.c: Likewise.
4506 * math/w_j1l.c: Likewise.
4507 * math/w_jn.c: Likewise.
4508 * math/w_jnf.c: Likewise.
4509 * math/w_log.c: Likewise.
4510 * math/w_logf.c: Likewise.
4511 * math/w_logl.c: Likewise.
4512 * math/w_log10.c: Likewise.
4513 * math/w_log10f.c: Likewise.
4514 * math/w_log10l.c: Likewise.
4515 * math/w_log2.c: Likewise.
4516 * math/w_log2f.c: Likewise.
4517 * math/w_log2l.c: Likewise.
4518 * math/w_pow.c: Likewise.
4519 * math/w_powf.c: Likewise.
4520 * math/w_powl.c: Likewise.
4521 * math/w_remainder.c: Likewise.
4522 * math/w_remainderf.c: Likewise.
4523 * math/w_remainderl.c: Likewise.
4524 * math/w_scalb.c: Likewise.
4525 * math/w_scalbf.c: Likewise.
4526 * math/w_scalbl.c: Likewise.
4527 * math/w_sqrt.c: Likewise.
4528 * math/w_sqrtf.c: Likewise.
4529 * math/w_sqrtl.c: Likewise.
4530 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4531 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4532 used.
4533 * math/math_private.h: Declare __kernel_standard_f.
4534 * math/w_cosh.c: Remove cruft and optimize a bit.
4535 * math/w_coshf.c: Likewise.
4536 * math/w_coshl.c: Likewise.
4537 * math/w_exp2.c: Likewise.
4538 * math/w_exp2f.c: Likewise.
4539 * math/w_exp2l.c: Likewise.
4540 * math/w_hypot.c: Likewise.
4541 * math/w_hypotf.c: Likewise.
4542 * math/w_hypotl.c: Likewise.
4543 * math/w_lgamma.c: Likewise.
4544 * math/w_lgamma_r.c: Likewise.
4545 * math/w_lgammaf.c: Likewise.
4546 * math/w_lgammaf_r.c: Likewise.
4547 * math/w_lgammal.c: Likewise.
4548 * math/w_lgammal_r.c: Likewise.
4549 * math/w_sinh.c: Likewise.
4550 * math/w_sinhf.c: Likewise.
4551 * math/w_sinhl.c: Likewise.
4552 * math/w_tgamma.c: Likewise.
4553 * math/w_tgammaf.c: Likewise.
4554 * math/w_tgammal.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4557 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4558 Minor optimizations. Pretty printing. Remove cruft.
4559 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4562 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4563 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4564 * sysdeps/i386/fpu/e_asin.S: Likewise.
4565 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4566 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4567 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4568 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4569 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4570 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4571 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4572 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4573 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4574 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4575 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4576 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4577 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4578 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4579 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4580 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4581 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4582 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4583 * sysdeps/i386/fpu/e_log.S: Likewise.
4584 * sysdeps/i386/fpu/e_log10.S: Likewise.
4585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4586 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4587 * sysdeps/i386/fpu/e_log2.S: Likewise.
4588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4590 * sysdeps/i386/fpu/e_logf.S: Likewise.
4591 * sysdeps/i386/fpu/e_logl.S: Likewise.
4592 * sysdeps/i386/fpu/e_pow.S: Likewise.
4593 * sysdeps/i386/fpu/e_powf.S: Likewise.
4594 * sysdeps/i386/fpu/e_powl.S: Likewise.
4595 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4596 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4597 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4600 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4601 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4602 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4603 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4629 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4630 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4632 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4687 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4689 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4690 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4692 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4695 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4696 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4697 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4698 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4699 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4700 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4701 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4702 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4703 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4704 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4705 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4706 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4707 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4709 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4710 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4712 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4713 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4714 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4715 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4716 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4717 (__isnanf): Likewise.
4718 (__isinf_ns): Likewise.
4719 (__isinf_nsf): Likewise.
4720 (__finite): Likewise.
4721 (__finitef): Likewise.
4722 (__ieee754_sqrt): Define as macro.
4723 (__ieee754_sqrtf): Define as macro.
4724 (__ieee754_sqrtl): Define as macro.
4725 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4726 inlined copy.
4727 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4728 __FINITE_MATH_ONLY__ consistent.
4729 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4730
4731 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4732
4733 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4734 of rawmemchr.
4735
4736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4737
4738 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4739
4740 * po/ja.po: Update from translation team.
4741
4742 2011-10-08 Roland McGrath <roland@hack.frob.com>
4743
4744 * locale/programs/locarchive.c (prepare_address_space): New function.
4745 (create_archive, enlarge_archive, open_archive): Use it.
4746
4747 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4748 inside [SHARED], where it is used.
4749
4750 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4751
4752 * nss/getent.c (netgroup_keys): Remove unused variable.
4753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4754
4755 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4756
4757 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4761 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4762 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4763 * math/Makefile (libm-calls): Add s_isinf_ns.
4764 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4765 * math/multc3.c: Likewise.
4766 * math/s_casin.c: Likewise.
4767 * math/s_casinf.c: Likewise.
4768 * math/s_casinl.c: Likewise.
4769 * math/s_ccos.c: Likewise.
4770 * math/s_ccosf.c: Likewise.
4771 * math/s_ccosl.c: Likewise.
4772 * math/s_ctan.c: Likewise.
4773 * math/s_ctanf.c: Likewise.
4774 * math/s_ctanh.c: Likewise.
4775 * math/s_ctanhf.c: Likewise.
4776 * math/s_ctanhl.c: Likewise.
4777 * math/s_ctanl.c: Likewise.
4778 * math/w_fmod.c: Likewise.
4779 * math/w_fmodf.c: Likewise.
4780 * math/w_fmodl.c: Likewise.
4781 * math/w_remainder.c: Likewise.
4782 * math/w_remainderf.c: Likewise.
4783 * math/w_remainderl.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4785 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4788 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4789 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4790 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4791 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4792
4793 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4794 of the number.
4795 * stdio-common/printf_fphex.c: Likewise.
4796 * stdio-common/printf_size.c: Likewise.
4797
4798 * math/e_exp10.c: Include math_private.h using <...> not "...".
4799 * math/e_exp10f.c: Likewise.
4800 * math/e_exp10l.c: Likewise.
4801 * math/e_exp2l.c: Likewise.
4802 * math/e_j0l.c: Likewise.
4803 * math/e_j1l.c: Likewise.
4804 * math/e_jnl.c: Likewise.
4805 * math/e_lgammal_r.c: Likewise.
4806 * math/e_rem_pio2l.c: Likewise.
4807 * math/e_scalb.c: Likewise.
4808 * math/e_scalbf.c: Likewise.
4809 * math/e_scalbl.c: Likewise.
4810 * math/k_cosl.c: Likewise.
4811 * math/k_sinl.c: Likewise.
4812 * math/k_tanl.c: Likewise.
4813 * math/s_cacoshf.c: Likewise.
4814 * math/s_catan.c: Likewise.
4815 * math/s_catanf.c: Likewise.
4816 * math/s_catanh.c: Likewise.
4817 * math/s_catanhf.c: Likewise.
4818 * math/s_catanhl.c: Likewise.
4819 * math/s_catanl.c: Likewise.
4820 * math/s_ccosh.c: Likewise.
4821 * math/s_ccoshf.c: Likewise.
4822 * math/s_ccoshl.c: Likewise.
4823 * math/s_cexp.c: Likewise.
4824 * math/s_cexpf.c: Likewise.
4825 * math/s_cexpl.c: Likewise.
4826 * math/s_clog.c: Likewise.
4827 * math/s_clog10.c: Likewise.
4828 * math/s_clog10f.c: Likewise.
4829 * math/s_clog10l.c: Likewise.
4830 * math/s_clogf.c: Likewise.
4831 * math/s_clogl.c: Likewise.
4832 * math/s_csin.c: Likewise.
4833 * math/s_csinf.c: Likewise.
4834 * math/s_csinh.c: Likewise.
4835 * math/s_csinhf.c: Likewise.
4836 * math/s_csinhl.c: Likewise.
4837 * math/s_csinl.c: Likewise.
4838 * math/s_csqrt.c: Likewise.
4839 * math/s_csqrtf.c: Likewise.
4840 * math/s_csqrtl.c: Likewise.
4841 * math/s_ctan.c: Likewise.
4842 * math/s_ctanf.c: Likewise.
4843 * math/s_ctanh.c: Likewise.
4844 * math/s_ctanhf.c: Likewise.
4845 * math/s_ctanhl.c: Likewise.
4846 * math/s_ctanl.c: Likewise.
4847 * math/s_ldexp.c: Likewise.
4848 * math/s_ldexpf.c: Likewise.
4849 * math/s_ldexpl.c: Likewise.
4850 * math/s_significand.c: Likewise.
4851 * math/s_significandf.c: Likewise.
4852 * math/s_significandl.c: Likewise.
4853 * math/w_acos.c: Likewise.
4854 * math/w_acosf.c: Likewise.
4855 * math/w_acosh.c: Likewise.
4856 * math/w_acoshf.c: Likewise.
4857 * math/w_acoshl.c: Likewise.
4858 * math/w_acosl.c: Likewise.
4859 * math/w_asin.c: Likewise.
4860 * math/w_asinf.c: Likewise.
4861 * math/w_asinl.c: Likewise.
4862 * math/w_atan2.c: Likewise.
4863 * math/w_atan2f.c: Likewise.
4864 * math/w_atan2l.c: Likewise.
4865 * math/w_atanh.c: Likewise.
4866 * math/w_atanhf.c: Likewise.
4867 * math/w_atanhl.c: Likewise.
4868 * math/w_cosh.c: Likewise.
4869 * math/w_coshf.c: Likewise.
4870 * math/w_coshl.c: Likewise.
4871 * math/w_dremf.c: Likewise.
4872 * math/w_exp10.c: Likewise.
4873 * math/w_exp10f.c: Likewise.
4874 * math/w_exp10l.c: Likewise.
4875 * math/w_exp2.c: Likewise.
4876 * math/w_exp2f.c: Likewise.
4877 * math/w_fmod.c: Likewise.
4878 * math/w_fmodf.c: Likewise.
4879 * math/w_fmodl.c: Likewise.
4880 * math/w_hypot.c: Likewise.
4881 * math/w_hypotf.c: Likewise.
4882 * math/w_hypotl.c: Likewise.
4883 * math/w_j0.c: Likewise.
4884 * math/w_j0f.c: Likewise.
4885 * math/w_j0l.c: Likewise.
4886 * math/w_j1.c: Likewise.
4887 * math/w_j1f.c: Likewise.
4888 * math/w_j1l.c: Likewise.
4889 * math/w_jn.c: Likewise.
4890 * math/w_jnf.c: Likewise.
4891 * math/w_jnl.c: Likewise.
4892 * math/w_lgamma.c: Likewise.
4893 * math/w_lgamma_r.c: Likewise.
4894 * math/w_lgammaf.c: Likewise.
4895 * math/w_lgammaf_r.c: Likewise.
4896 * math/w_lgammal.c: Likewise.
4897 * math/w_lgammal_r.c: Likewise.
4898 * math/w_log.c: Likewise.
4899 * math/w_log10.c: Likewise.
4900 * math/w_log10f.c: Likewise.
4901 * math/w_log10l.c: Likewise.
4902 * math/w_log2.c: Likewise.
4903 * math/w_log2f.c: Likewise.
4904 * math/w_log2l.c: Likewise.
4905 * math/w_logf.c: Likewise.
4906 * math/w_logl.c: Likewise.
4907 * math/w_pow.c: Likewise.
4908 * math/w_powf.c: Likewise.
4909 * math/w_powl.c: Likewise.
4910 * math/w_remainder.c: Likewise.
4911 * math/w_remainderf.c: Likewise.
4912 * math/w_remainderl.c: Likewise.
4913 * math/w_scalb.c: Likewise.
4914 * math/w_scalbf.c: Likewise.
4915 * math/w_scalbl.c: Likewise.
4916 * math/w_sinh.c: Likewise.
4917 * math/w_sinhf.c: Likewise.
4918 * math/w_sinhl.c: Likewise.
4919 * math/w_sqrt.c: Likewise.
4920 * math/w_sqrtf.c: Likewise.
4921 * math/w_sqrtl.c: Likewise.
4922 * math/w_tgamma.c: Likewise.
4923 * math/w_tgammaf.c: Likewise.
4924 * math/w_tgammal.c: Likewise.
4925
4926 * po/ja.po: Update from translation team.
4927
4928 2011-09-29 Andreas Jaeger <aj@suse.de>
4929
4930 [BZ #13179]
4931 * sunrpc/netname.c (netname2host): Fix logic.
4932
4933 [BZ #6779]
4934 [BZ #6783]
4935 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4936 correctly.
4937 * math/w_remainder.c (__remainder): Likewise.
4938 * math/w_remainderf.c (__remainderf): Likewise.
4939 * math/libm-test.inc (remainder_test): Add test cases.
4940
4941 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4942
4943 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4944 sdiv_qrnnd.
4945
4946 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4947
4948 * string/test-memcmp.c: Avoid unncessary #defines.
4949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4950
4951 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4952
4953 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4954 Use new sse2 version for core i3 - i7 as it's faster
4955 than sse42 version.
4956 (bit_Prefer_PMINUB_for_stringop): New.
4957 * sysdeps/x86_64/rawmemchr.S: Update.
4958 Replace with faster SSE2 version.
4959 * sysdeps/x86_64/memrchr.S: New file.
4960 * sysdeps/x86_64/memchr.S: Update.
4961 Replace with faster SSE2 version.
4962
4963 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4964
4965 * elf/dl-load.c (lose): Add cast to avoid warning.
4966
4967 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4968
4969 * po/ca.po: Update from translation team.
4970
4971 * inet/getnetgrent_r.c: Hook up nscd.
4972 * nscd/Makefile (routines): Add nscd_netgroup.
4973 (nscd-modules): Add netgroupcache.
4974 (CFLAGS-netgroupcache.c): Define.
4975 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4976 (cache_search): Add const to second parameter.
4977 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4978 INNETGR.
4979 (dbs): Add netgrdb entry.
4980 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4981 (verify_persistent_db): Handle netgrdb.
4982 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4983 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4984 GETFDNETGR.
4985 (netgroup_response_header): Define.
4986 (innetgroup_response_header): Define.
4987 (datahead): Add netgroup_response_header and innetgroup_response_header
4988 elements.
4989 * nscd/nscd.conf: Add entries for netgroup cache.
4990 * nscd/nscd.h (dbtype): Add netgrdb.
4991 (_PATH_NSCD_NETGROUP_DB): Define.
4992 (netgroup_iov_disabled): Declare.
4993 (xmalloc, xcalloc, xrealloc): Move declarations here.
4994 (cache_search): Adjust prototype.
4995 Add netgroup-related prototypes.
4996 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4997 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4998 (__nscd_innetgr): Declare.
4999 * nscd/selinux.c (perms): Use access_vector_t as element type and
5000 add netgroup-related initializers.
5001 * nscd/netgroupcache.c: New file.
5002 * nscd/nscd_netgroup.c: New file.
5003 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5004 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5005 For four parameters use innetgr.
5006 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5007 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5008 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5009 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5010
5011 * nscd/connections.c (register_traced_file): Don't register file
5012 for disabled databases.
5013
5014 2011-10-06 Ulrich Drepper <drepper@gmail.com>
5015
5016 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5017
5018 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5019 from tree and freeing node.
5020
5021 2011-09-25 Jiri Olsa <jolsa@redhat.com>
5022
5023 * nss/nsswitch.c (__nss_database_lookup): Handle
5024 nss_parse_service_list out of memory case.
5025
5026 2011-09-15 Jiri Olsa <jolsa@redhat.com>
5027
5028 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5029 out of memory case.
5030
5031 2011-10-04 Andreas Schwab <schwab@redhat.com>
5032
5033 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5034 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5035 pass it down.
5036 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5037 elf_machine_rela, elf_machine_lazy_rel.
5038 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5039 (ELF_DYNAMIC_DO_REL): Likewise.
5040 (ELF_DYNAMIC_DO_RELA): Likewise.
5041 (ELF_DYNAMIC_RELOCATE): Likewise.
5042 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5043 to ELF_DYNAMIC_DO_REL.
5044 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5045 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5046 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5047 elf_machine_rela.
5048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5049 skip_ifunc, don't call ifunc function if non-zero.
5050 (elf_machine_rela): Likewise.
5051 (elf_machine_lazy_rel): Likewise.
5052 (elf_machine_lazy_rela): Likewise.
5053 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5054 (elf_machine_lazy_rel): Likewise.
5055 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5056 Likewise.
5057 (elf_machine_lazy_rel): Likewise.
5058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5059 Likewise.
5060 (elf_machine_lazy_rel): Likewise.
5061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5062 (elf_machine_lazy_rel): Likewise.
5063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5064 (elf_machine_lazy_rel): Likewise.
5065 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5066 (elf_machine_lazy_rel): Likewise.
5067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5068 (elf_machine_lazy_rel): Likewise.
5069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5070 (elf_machine_lazy_rel): Likewise.
5071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5072 (elf_machine_lazy_rel): Likewise.
5073
5074 2011-09-28 Ulrich Drepper <drepper@gmail.com>
5075
5076 * nss/nss_files/files-init.c (_nss_files_init): Use static
5077 initialization for all the *_traced_file variables.
5078
5079 2011-09-28 Andreas Schwab <schwab@redhat.com>
5080
5081 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5082
5083 2011-09-27 Roland McGrath <roland@hack.frob.com>
5084
5085 [BZ #13226]
5086 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5087
5088 2011-09-27 Andreas Schwab <schwab@redhat.com>
5089
5090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5091 Reread the line before reparsing it.
5092
5093 2011-09-26 Andreas Schwab <schwab@redhat.com>
5094
5095 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5096
5097 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5098 Maxim Kuvyrkov <maxim@codesourcery.com>
5099 Joseph Myers <joseph@codesourcery.com>
5100
5101 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5102 if needed for __stack_chk_guard.
5103
5104 2011-09-19 Roland McGrath <roland@hack.frob.com>
5105
5106 * sysdeps/posix/spawni.c (script_execute): Always define it.
5107 It will be optimized away if unused.
5108 (maybe_script_execute): New function.
5109 (__spawni): Call it.
5110
5111 * Makerules: Don't include tls.make.
5112 (config-tls): Always set to thread.
5113 * tls.make.c: File removed.
5114
5115 2011-09-19 Mike Frysinger <vapier@gentoo.org>
5116
5117 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5118 * config.make.in (CPPFLAGS-config): New substituted variable.
5119
5120 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5121
5122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5123
5124 [BZ #13192]
5125 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5126 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5127
5128 2011-09-15 Roland McGrath <roland@hack.frob.com>
5129
5130 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5131 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5133 (CALL_FAIL): Likewise.
5134 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5135 (CALL_FAIL): Macro removed.
5136 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5137
5138 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5139
5140 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5141 for __FINITE_MATH_ONLY__ == 1.
5142
5143 2011-09-15 Andreas Schwab <schwab@redhat.com>
5144
5145 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5146 __ieee754_sqrt instead of sqrt.
5147 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5148 __ieee754_sqrtf instead of sqrtf.
5149 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5150 __floorf instead of floorf.
5151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5152 __floorf, __truncf instead of floorf, truncf.
5153
5154 2011-09-14 Ulrich Drepper <drepper@gmail.com>
5155
5156 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5157
5158 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5159 __extern_always_inline.
5160 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5161 32-bit.
5162
5163 2011-09-14 Andreas Schwab <schwab@redhat.com>
5164
5165 * elf/rtld.c (dl_main): Also relocate in dependency order when
5166 doing symbol dependency testing.
5167
5168 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5169
5170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5171 Always define `refsym'.
5172
5173 2011-09-13 Andreas Schwab <schwab@redhat.com>
5174
5175 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5176 (__FD_ELT): Renamed from __FDELT.
5177 * misc/bits/select2.h (__FD_ELT): Likewise.
5178 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5179 __FD_MASK instead of __FDELT, __FDMASK.
5180 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5181 Likewise.
5182 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5183 Likewise.
5184
5185 * elf/Makefile (gen-ldd): Fix pattern.
5186
5187 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5188 (init_tls): Likewise.
5189
5190 2011-09-12 Ulrich Drepper <drepper@gmail.com>
5191
5192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5193
5194 2011-09-12 Andreas Schwab <schwab@redhat.com>
5195
5196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5197 `struct cmsghdr *' instead of `void *'.
5198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5199 Likewise.
5200
5201 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5202
5203 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5204 if non-absolute.
5205 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5206 ldd_rewrite_script.
5207
5208 2011-09-11 Ulrich Drepper <drepper@gmail.com>
5209
5210 * configure.in: Remove --with-tls option.
5211 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5212 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5213 out in case it is missing.
5214 * sysdeps/ia64/elf/configure.in: Likewise.
5215 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5216 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5217 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5218 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5219 * sysdeps/sh/elf/configure.in: Likewise.
5220 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5221 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5222 * sysdeps/x86_64/elf/configure.in: Likewise.
5223 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5224 * sysdeps/mach/hurd/tls.h: Likewise.
5225
5226 [BZ #13067]
5227 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5228
5229 [BZ #13090]
5230 * configure.in: Fix use of AC_INIT.
5231
5232 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5233
5234 2011-09-10 Ulrich Drepper <drepper@gmail.com>
5235
5236 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5237 __set_errno.
5238 * malloc/hooks.c: Likewise.
5239
5240 [BZ #11929]
5241 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5242 variables statically.
5243 (narenas): Initialize.
5244 (list_lock): Initialize.
5245 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5246 initializtion of main_arena and list_lock. Small cleanups.
5247 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5248 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5249 Add initializers to main_arena and mp_.
5250 (malloc_state): Remove pagesize member. Change all users to use
5251 GLRO(dl_pagesize).
5252
5253 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5254 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5255 is always initialized.
5256
5257 * malloc/malloc.c: Removed unused configurations and dead code.
5258 * malloc/arena.c: Likewise.
5259 * malloc/hooks.c: Likewise.
5260 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5261
5262 * include/tls.h: Removed. USE___THREAD must always be defined.
5263 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5264 * elf/dl-libc.c: Likewise.
5265 * elf/dl-tsd.c: Likewise.
5266 * include/errno.h: Likewise.
5267 * include/netdb.h: Likewise.
5268 * include/resolv.h: Likewise.
5269 * inet/herrno-loc.c: Likewise.
5270 * inet/herrno.c: Likewise.
5271 * malloc/arena.c: Likewise.
5272 * malloc/hooks.c: Likewise.
5273 * malloc/malloc.c: Likewise.
5274 * resolv/res-state.c: Likewise.
5275 * resolv/res_libc.c: Likewise.
5276 * sysdeps/i386/dl-machine.h: Likewise.
5277 * sysdeps/ia64/dl-machine.h: Likewise.
5278 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5279 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5280 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5281 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5282 * sysdeps/sh/dl-machine.h: Likewise.
5283 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5284 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5285 * sysdeps/unix/i386/sysdep.S: Likewise.
5286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5287 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5292 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5296 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5297 * sysdeps/x86_64/dl-machine.h: Likewise.
5298 * tls.make.c: Likewise.
5299
5300 * configure.in: Remove --with-__thread option. Make tests for
5301 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5302 tls_model attribute fail if no support is available. Remove
5303 USE_IN_LIBIO.
5304 * Makeconfig: Adjust for dropped configure option. All features are
5305 now mandatory.
5306 * Makerules: Likewise.
5307 * Versions.def: Likewise.
5308 * argp/argp-fmtstream.c: Likewise.
5309 * argp/argp-fmtstream.h: Likewise.
5310 * argp/argp-help.c: Likewise.
5311 * assert/assert.c: Likewise.
5312 * config.h.in: Likewise.
5313 * config.make.in: Likewise.
5314 * configure: Likewise.
5315 * configure.in: Likewise.
5316 * csu/Versions: Likewise.
5317 * csu/init.c: Likewise.
5318 * elf/tst-audit2.c: Likewise.
5319 * elf/tst-tls10.c: Likewise.
5320 * elf/tst-tls10.h: Likewise.
5321 * elf/tst-tls11.c: Likewise.
5322 * elf/tst-tls12.c: Likewise.
5323 * elf/tst-tls14.c: Likewise.
5324 * elf/tst-tlsmod11.c: Likewise.
5325 * elf/tst-tlsmod12.c: Likewise.
5326 * elf/tst-tlsmod13.c: Likewise.
5327 * elf/tst-tlsmod13a.c: Likewise.
5328 * elf/tst-tlsmod14a.c: Likewise.
5329 * elf/tst-tlsmod15b.c: Likewise.
5330 * elf/tst-tlsmod16a.c: Likewise.
5331 * elf/tst-tlsmod16b.c: Likewise.
5332 * elf/tst-tlsmod7.c: Likewise.
5333 * elf/tst-tlsmod8.c: Likewise.
5334 * elf/tst-tlsmod9.c: Likewise.
5335 * gmon/gmon.c: Likewise.
5336 * grp/fgetgrent_r.c: Likewise.
5337 * grp/putgrent.c: Likewise.
5338 * hurd/fopenport.c: Likewise.
5339 * include/libc-symbols.h: Likewise.
5340 * include/tls.h: Likewise.
5341 * intl/gettextP.h: Likewise.
5342 * intl/loadinfo.h: Likewise.
5343 * locale/global-locale.c: Likewise.
5344 * locale/localeinfo.h: Likewise.
5345 * mach/devstream.c: Likewise.
5346 * malloc/arena.c: Likewise.
5347 * malloc/set-freeres.c: Likewise.
5348 * misc/err.c: Likewise.
5349 * misc/getttyent.c: Likewise.
5350 * misc/mntent_r.c: Likewise.
5351 * posix/getopt.c: Likewise.
5352 * posix/wordexp.c: Likewise.
5353 * pwd/fgetpwent_r.c: Likewise.
5354 * resolv/Versions: Likewise.
5355 * resolv/res_hconf.c: Likewise.
5356 * shadow/fgetspent_r.c: Likewise.
5357 * shadow/putspent.c: Likewise.
5358 * stdio-common/printf_fphex.c: Likewise.
5359 * stdio-common/tmpfile.c: Likewise.
5360 * stdlib/abort.c: Likewise.
5361 * stdlib/fmtmsg.c: Likewise.
5362 * sunrpc/auth_unix.c: Likewise.
5363 * sunrpc/clnt_perr.c: Likewise.
5364 * sunrpc/clnt_tcp.c: Likewise.
5365 * sunrpc/clnt_udp.c: Likewise.
5366 * sunrpc/clnt_unix.c: Likewise.
5367 * sunrpc/openchild.c: Likewise.
5368 * sunrpc/svc_simple.c: Likewise.
5369 * sunrpc/svc_tcp.c: Likewise.
5370 * sunrpc/svc_udp.c: Likewise.
5371 * sunrpc/svc_unix.c: Likewise.
5372 * sunrpc/xdr.c: Likewise.
5373 * sunrpc/xdr_array.c: Likewise.
5374 * sunrpc/xdr_rec.c: Likewise.
5375 * sunrpc/xdr_ref.c: Likewise.
5376 * sunrpc/xdr_stdio.c: Likewise.
5377
5378 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5379
5380 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5381
5382 2011-07-03 Andreas Jaeger <aj@suse.de>
5383
5384 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5385 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5386 regenerate with gen-libm-tests.pl.
5387
5388 2010-05-12 Petr Baudis <pasky@suse.cz>
5389
5390 [BZ #11589]
5391 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5392 around j0() zero points by switching to j1().
5393 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5397
5398 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5399
5400 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5401 instead of 0.
5402 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5403 instead of 0. .
5404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5405 Patch in part by Pavel Roskin <proski@gnu.org>.
5406
5407 [BZ #13138]
5408 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5409 realloc.
5410 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5411 Free memory block if necessary.
5412
5413 [BZ #12847]
5414 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5415 be NULL. Don't lock in this case.
5416
5417 2011-09-09 Roland McGrath <roland@hack.frob.com>
5418
5419 * elf/elf.h (ELFOSABI_GNU): New macro.
5420 (ELFOSABI_LINUX): Define to that.
5421
5422 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5423
5424 * string/strncat.c (strncat): Undef the symbol in case it has been
5425 defined in bits/string.h.
5426
5427 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5428
5429 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5430
5431 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5432 link map.
5433
5434 2011-08-17 Andreas Jaeger <aj@suse.de>
5435
5436 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5437
5438 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5439 Ian Lance Taylor <iant@google.com>
5440
5441 * math/libm-test.inc (lround_test): New testcase.
5442 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5443
5444 2011-09-08 Ulrich Drepper <drepper@gmail.com>
5445
5446 * Makefile: Remove support for automatic cvs check-ins.
5447 * Makerules: Likewise.
5448 * config.make.in: Likewise.
5449 * configure.in: Likewise.
5450 * intl/Makefile: Likewise.
5451 * locale/Makefile: Likewise.
5452 * po/Makefile: Likewise.
5453 * posix/Makefile: Likewise.
5454 * sysdeps/gnu/Makefile: Likewise.
5455 * sysdeps/mach/hurd/Makefile: Likewise.
5456 * sysdeps/sparc/sparc32/Makefile: Likewise.
5457
5458 [BZ #13118]
5459 * posix/Makefile (bug-regex32-ENV): Define.
5460 Patch by John Stanley <jpsinthemix@verizon.net>.
5461
5462 * misc/Makefile (headers): Add bits/select2.h.
5463 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5464 * misc/bits/select2.h: New file.
5465 * include/bits/select2.h: New file.
5466 * debug/Makefile (routines): Add fdelt_chk.
5467 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5468 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5469 FD_ISSET.
5470 * debug/fdelt_chk.c: New file.
5471
5472 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5473 * wcsmbs/test-wmemcmp.c: Likewise.
5474 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5475 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5476
5477 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5478
5479 * string/Makefile (strop-tests): Add memcmp.
5480 * string/test-wmemcmp.c: New file.
5481 * string/test-memcmp.c: Add wmemcmp support.
5482
5483 2011-09-08 Roland McGrath <roland@hack.frob.com>
5484
5485 [BZ #13153]
5486 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5487 2011-07-19 change.
5488
5489 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5490 garbage value in a __mach_port_mod_refs call in the cases of the
5491 task-self and thread-self ports.
5492
5493 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5494
5495 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5496
5497 2011-09-08 Andreas Schwab <schwab@redhat.com>
5498
5499 * elf/dl-load.c (lose): Check for non-null L.
5500
5501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5502
5503 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5504
5505 * elf/dl-libc.c (dlerror_run): Pass back error code from
5506 dl_catch_error.
5507
5508 [BZ #13123]
5509 * elf/dl-load.c (lose): Free l_origin if it is valid.
5510
5511 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5512 names.
5513 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5516 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5518 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5519
5520 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521
5522 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5523 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5524 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5525 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5526 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5527 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5528 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5529 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5530 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5531 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5532
5533 2011-08-15 Alan Modra <amodra@gmail.com>
5534
5535 [BZ #13092]
5536 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5537 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5538 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5539 ppc_mcount to static-only-routines.
5540 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5541 __mcount_internal.
5542 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5543 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5544
5545 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5546
5547 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5548 for finite and infinity parameters.
5549
5550 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5551
5552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5553 and add nop instructions for throughput optimization.
5554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5555
5556 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5557
5558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5559 aligned copy for power7 with vector-scalar instructions.
5560 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5561
5562 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5563
5564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5565 AVX check.
5566
5567 2011-09-07 Andreas Schwab <schwab@redhat.com>
5568
5569 [BZ #13144]
5570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5571 last change.
5572
5573 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5574
5575 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5576 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5577 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5578 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5579 clock_gettime.
5580
5581 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5582
5583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5584 Forgot to demangle the pointer.
5585
5586 * sysdeps/i386/sysdep.h: Define atom_text_section.
5587 * sysdeps/x86_64/sysdep.h: Likewise.
5588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5589 section with atom_text_section.
5590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5591 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5595
5596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5597 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5598 already be defined. Change to take two parameters and don't assign
5599 result to variable. Adjust all users.
5600 Define INTERNAL_GETTIME if not already defined.
5601 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5602 call.
5603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5604 HAVE_CLOCK_GETTIME_VSYSCALL.
5605 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5606
5607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5608 gettimeofday vsyscall, just use time.
5609
5610 2011-09-06 Andreas Schwab <schwab@redhat.com>
5611
5612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5613 <errno.h>.
5614
5615 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5616
5617 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5618 syscall on x86-64.
5619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5620 syscall.
5621 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5622 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5623 syscall if possible.
5624
5625 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5626
5627 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5628 e_ident. Don't pass to find_mapsXX.
5629 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5630
5631 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5632
5633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5634 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5635 * sysdeps/x86_64/multiarch/strchr.S: Update.
5636 Check bit_slow_BSF bit.
5637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5638 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5639 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5640
5641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5642
5643 [BZ #13134]
5644 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5645 before glibc 2.15.
5646 (tryshell): Define.
5647 (__spawni): Change last parameter to be flag. Test
5648 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5649 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5650 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5651 * posix/spawni.c: Likewise.
5652 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5653 * posix/spawnp.c: Likewise. Change normal version to use
5654 SPAWN_XFLAGS_USE_PATH.
5655 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5656 SPAWN_XFLAGS_TRY_SHELL.
5657
5658 [BZ #13150]
5659 * posix/glob.h: Remove gcc 1.x support.
5660
5661 [BZ #13068]
5662 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5663
5664 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5665
5666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5667 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5668 strrchr-sse2-bsf
5669 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5670 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5671 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5675
5676 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5677
5678 * sysdeps/x86_64/wcscmp.S: New file.
5679
5680 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5681 wcscmp-c wcscmp-sse2
5682 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5683 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5684 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5685 * wcsmbs/wcscmp.c: Allow renaming.
5686
5687 2011-09-05 David S. Miller <davem@davemloft.net>
5688
5689 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5690 stack slot, rather than the struct return pointer slot.
5691 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5692 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5695
5696 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5697
5698 * po/ja.po: Update from translation team.
5699
5700 [BZ #13144]
5701 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5702 kernel in 64-bit binaries.
5703
5704 2011-09-01 David S. Miller <davem@davemloft.net>
5705
5706 * elf/elf.h (HWCAP_SPARC_*): Move to..
5707 * sysdeps/sparc/sysdep.h: this new file and add new values.
5708 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5709 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5710 _DL_HWCAP_COUNT to 24.
5711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5712 entries.
5713 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5714 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5715 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5717 instead of magic constants.
5718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5719
5720 2011-08-31 David S. Miller <davem@davemloft.net>
5721
5722 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5724 Reimplement to do errno handling inline.
5725 (SYSCALL_ERROR_HANDLER): New macro.
5726 (__SYSCALL_STRING): Do not do errno handling in asm.
5727 (__CLONE_SYSCALL_STRING): Delete.
5728 (__INTERNAL_SYSCALL_STRING): Delete.
5729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5730 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5731 (PSEUDO): Reimplement to do errno handling inline.
5732 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5733 (SYSCALL_ERROR_HANDLER): New macro.
5734 (__SYSCALL_STRING): Do not do errno handling in asm.
5735 (__CLONE_SYSCALL_STRING): Delete.
5736 (__INTERNAL_SYSCALL_STRING): Delete.
5737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5738 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5739 i386.
5740 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5741 (inline_syscall*): Add 'err' argument.
5742 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5743 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5744 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5745 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5746
5747 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5748 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5749
5750 2011-08-30 Andreas Schwab <schwab@redhat.com>
5751
5752 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5753
5754 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5755
5756 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5757 directive.
5758
5759 2011-08-24 David S. Miller <davem@davemloft.net>
5760
5761 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5762
5763 2011-08-24 Andreas Schwab <schwab@redhat.com>
5764
5765 * elf/Makefile: Add rules to build and run unload8 test.
5766 * elf/unload8.c: New file.
5767 * elf/unload8mod1.c: New file.
5768 * elf/unload8mod1x.c: New file.
5769 * elf/unload8mod2.c: New file.
5770 * elf/unload8mod3.c: New file.
5771
5772 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5773 it wasn't used.
5774
5775 2011-08-23 David S. Miller <davem@davemloft.net>
5776
5777 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5778 subtract stack bias.
5779 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5780 %sp not %fp in calculations.
5781 (_JMPBUF_UNWINDS_ADJ): Likewise.
5782
5783 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5784 (aio_suspend): Call it to force an exception region around the
5785 AIO_MISC_WAIT() invocation.
5786
5787 2011-08-23 Andreas Schwab <schwab@redhat.com>
5788
5789 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5790 backslash.
5791
5792 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5793
5794 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5795 protection macro.
5796 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5797 and <dl-machine.h>.
5798 (Elf64_FuncDesc): Remove.
5799
5800 2011-08-22 David S. Miller <davem@davemloft.net>
5801
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5803 sigaltstack check, add missing cfi directives.
5804 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5805 missing cfi directives, and sigaltstack handling.
5806
5807 2011-08-16 Andreas Schwab <schwab@redhat.com>
5808
5809 [BZ #11724]
5810 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5811 object is seen twice.
5812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5813
5814 * elf/Makefile (distribute): Add tst-initorder2.c.
5815 (tests): Add tst-initorder2.
5816 (modules-names): Add tst-initorder2a tst-initorder2b
5817 tst-initorder2c tst-initorder2d. Add rules to build them.
5818 ($(objpfx)tst-initorder2.out): New rule.
5819 * elf/tst-initorder2.c: New file.
5820 * elf/tst-initorder2.exp: New file.
5821
5822 2011-08-22 Andreas Schwab <schwab@redhat.com>
5823
5824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5825
5826 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5827 dependencies back to end of function.
5828
5829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5830 $(elfobjdir)/ld.so.
5831
5832 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5833
5834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5835 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5836 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5837 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5838 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5839 of __vdso_gettimeofday.
5840 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5841 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5842 attribute_hidden.
5843 (_libc_vdso_platform_setup): Remove initialization of
5844 __vdso_gettimeofday and __vdso_time.
5845
5846 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5847
5848 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5849 and fgetc_unlocked.
5850 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5851 getc_unlocked.
5852
5853 * elf/dl-open.c (add_to_global): Report additions to the global scope
5854 for LD_DEBUG=scopes.
5855 (dl_open_worker): Also print scope of newly loaded dependencies.
5856 (_dl_show_scope): Indicate if there is no scope.
5857
5858 [BZ #13114]
5859 * stdio-common/Makefile (tests): Add bug24.
5860 * stdio-common/bug24.c: New file.
5861
5862 2011-08-19 Andreas Jaeger <aj@suse.de>
5863
5864 [BZ #13114]
5865 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5866 non-existant file when using close-on-exec mode.
5867
5868 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5869
5870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5871 the very first instruction.
5872
5873 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5874 the CFI state in the end.
5875 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5876 inclusion of dl-trampoline.h.
5877 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5878
5879 2011-08-19 Andreas Schwab <schwab@redhat.com>
5880
5881 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5882 expectations for long double.
5883
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5885 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5886
5887 2011-08-14 David S. Miller <davem@davemloft.net>
5888
5889 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5890 artificual limit depends upon the system page size.
5891
5892 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5893
5894 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5895 * resolv/Makefile: Define CFLAGS-libresolv.
5896
5897 2011-08-17 Andreas Schwab <schwab@redhat.com>
5898
5899 * nss/makedb.c (compute_tables): Make variables used in nested
5900 function static.
5901
5902 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5903
5904 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5905 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5906 if buffer was too small.
5907
5908 * elf/pldd.c (main): Attach to all threads in the process.
5909 Rewrite /proc handling to use *at functions.
5910
5911 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5912
5913 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5914 specifies first scope to show.
5915 (dl_open_worker): Update callers. Move printing scope of new
5916 object to before the relocation.
5917 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5918 * sysdeps/generic/ldsodefs.h: Update declaration.
5919
5920 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5921 string for the scope number.
5922
5923 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5924
5925 * nscd/servicescache.c (cache_addserv): Make sure written is always
5926 initialized.
5927
5928 2011-08-14 Roland McGrath <roland@hack.frob.com>
5929
5930 * sysdeps/i386/i486/bits/atomic.h
5931 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5932 statement expression, so as to suppress "set but not used" warning.
5933 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5934
5935 * string/strncat.c (STRNCAT): Use prototype definition.
5936
5937 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5938 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5939 -Iprograms here.
5940 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5941 (localedef-modules): Add localedef.
5942 (locale-modules): Add locale.
5943
5944 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5945 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5946 to avoid a warning.
5947
5948 2011-08-14 David S. Miller <davem@davemloft.net>
5949
5950 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5951 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5952
5953 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5954
5955 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5956 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5957 * elf/rtld.c (dl_main): Set l_name of vDSO.
5958 Call _dl_show_scope when DL_DEBUG_SCOPES.
5959 (process_dl_debug): Recognize scopes flag and also set it for all.
5960 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5961 Declare _dl_show_scope.
5962
5963 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5964 (do_dlopen): Pass caller_dlopen to dl_open.
5965 (__libc_dlopen_mode): Initialize caller_dlopen.
5966
5967 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5968 of libc. Make tolower call locale-independent. Optimize a bit by
5969 using isdigit instead of isalnum.
5970 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5971
5972 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5973
5974 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5975 was a dependency or dynamically loaded.
5976
5977 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5978
5979 * intl/l10nflist.c: Allow architecture-specific pop function.
5980 * sysdeps/x86_64/l10nflist.c: New file.
5981
5982 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5983 classification.
5984
5985 2011-08-10 Andreas Schwab <schwab@redhat.com>
5986
5987 * include/dirent.h: Add libc_hidden_proto for scandirat and
5988 scandirat64. Don't declare __scandirat64.
5989 * dirent/scandirat.c: Add libc_hidden_def.
5990 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5991 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5992
5993 2011-08-10 David S. Miller <davem@davemloft.net>
5994
5995 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5996 enum.
5997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6000
6001 2011-08-09 Ulrich Drepper <drepper@gmail.com>
6002
6003 * Versions.def [libc]: Add GLIBC_2.15.
6004 * dirent/Makefile (routines): Add scandirat and scandirat64.
6005 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6006 GLIBC_2.15.
6007 * dirent/dirent.h: Declare scandirat and scandirat64.
6008 * dirent/scandirat.c: New file.
6009 * dirent/scandirat64.c: New file.
6010 * sysdeps/wordsize-64/scandirat.c: New file.
6011 * sysdeps/wordsize-64/scandirat64.c: New file.
6012 * dirent/opendir.c: Define opendirat.
6013 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6014 using scandirat.
6015 * dirent/scandir64.c: Adjust for scandir.c change.
6016 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6017 __scandirat64, and __scandir_cancel_handler.
6018 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6019 additional parameter and use openat instead of open (outside of ld.so).
6020 Add new __opendir as wrapper around __opendirat.
6021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6022 here without requiring old scandirat implementation.
6023
6024 2011-08-08 Ulrich Drepper <drepper@gmail.com>
6025
6026 * dirent/scandir.c (cancel_handler): Renamed to
6027 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6028 defined. Adjust users.
6029 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6031
6032 2011-08-04 Ulrich Drepper <drepper@gmail.com>
6033
6034 * string/test-string.h (IMPL): Use __STRING to expand name and then
6035 stringify it.
6036
6037 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6038 of cleanups.
6039
6040 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6041
6042 * string/Makefile: Update.
6043 (strop-tests): Append strncat.
6044 * string/test-wcscmp.c: New file.
6045 New comprehensive test for wcscmp.
6046 * string/test-strcmp.c: Update.
6047 (WIDE): New define.
6048
6049 2011-07-22 Andreas Schwab <schwab@redhat.com>
6050
6051 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6052 line.
6053
6054 2011-07-26 Andreas Schwab <schwab@redhat.com>
6055
6056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6057 encoding to ACE if AI_IDN.
6058
6059 2011-08-01 Jakub Jelinek <jakub@redhat.com>
6060
6061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6062 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6063
6064 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6065
6066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6067 Fix overflow bug in strncat.
6068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6069
6070 * string/test-strncat.c: Update.
6071 Add new tests for checking overflow bugs.
6072
6073 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6074
6075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6076 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6077 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6078 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6080 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6081 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6082 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6083 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6084
6085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6086 (USE_AS_STRCAT): Define.
6087 Add strcat and strncat support.
6088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6089
6090 2011-07-25 Andreas Schwab <schwab@redhat.com>
6091
6092 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6093 __n bigger than INT_MAX+1.
6094 (__strncmp_g): Likewise.
6095
6096 2011-07-23 Ulrich Drepper <drepper@gmail.com>
6097
6098 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6099 * libio/stido.h: Likewise.
6100
6101 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6102 (AF_NFC): Define.
6103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6104 (AF_NFC): Define.
6105
6106 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6109 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6111
6112 [BZ #13021]
6113 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6114 installed.
6115
6116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6117 typo.
6118 (_dl_x86_64_save_sse): Likewise.
6119
6120 2011-07-22 Ulrich Drepper <drepper@gmail.com>
6121
6122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6123 OSXSAVE.
6124 (_dl_x86_64_save_sse): Likewise.
6125
6126 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6127
6128 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6129
6130 2011-07-21 Andreas Schwab <schwab@redhat.com>
6131
6132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6133 change.
6134 (_dl_x86_64_save_sse): Use correct AVX check.
6135
6136 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6137
6138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6139 bug in strncpy/strncat.
6140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6141
6142 2011-07-21 Ulrich Drepper <drepper@gmail.com>
6143
6144 * string/tester.c (test_strcat): Add tests for different alignments
6145 of source and destination.
6146 (test_strncat): Likewise.
6147
6148 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6149
6150 [BZ #12852]
6151 * posix/glob.c (glob): Check passed in values before using them in
6152 expressions to avoid some overflows.
6153 (glob_in_dir): Likewise.
6154
6155 [BZ #13007]
6156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6157 check for AVX enablement so that we don't crash with old kernels and
6158 new hardware.
6159 * elf/tst-audit4.c: Add same checks here.
6160 * elf/tst-audit6.c: Likewise.
6161
6162 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6163
6164 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6165
6166 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6167
6168 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6169
6170 * po/cs.po: Update from translation team.
6171 * po/bg.po: Likewise.
6172
6173 2011-07-12 Marek Polacek <mpolacek@redhat.com>
6174
6175 * misc/sys/cdefs.h: Add support for const attribute.
6176 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6177 to gnu_dev_{major,minor,makedev} functions.
6178
6179 2011-07-20 Marek Polacek <mpolacek@redhat.com>
6180
6181 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6182
6183 2011-07-20 Andreas Schwab <schwab@redhat.com>
6184
6185 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6186 strlen results.
6187
6188 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6189
6190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6191 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6192 register in order to avoid conflicts with the soft frame pointer
6193 being held in r11 when necessary.
6194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6195 (INTERNAL_VSYSCALL_NCS): Likewise.
6196
6197 2011-07-14 Marek Polacek <mpolacek@redhat.com>
6198
6199 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6200 * elf/dl-fini.c (_dl_fini): Adjust caller.
6201 * elf/dl-close.c (_dl_close_worker): Likewise.
6202 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6203
6204 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6205
6206 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6207 "aux_cache->nlibs < 0".
6208
6209 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6210 in the reload-count case.
6211
6212 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6213
6214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6215 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6216 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6217 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6218 * sysdeps/x86_64/multiarch/strcat.S: New file.
6219 * sysdeps/x86_64/multiarch/strncat.S: New file.
6220 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6221 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6222 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6223 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6225 (USE_AS_STRCAT): Define.
6226 Add strcat and strncat support.
6227 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6228 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6229 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6230 * string/strncat.c: Update.
6231 (USE_AS_STRNCAT): Define.
6232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6233 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6234 and i7.
6235 * sysdeps/x86_64/multiarch/init-arch.h
6236 (bit_Prefer_PMINUB_for_stringop): New.
6237 (index_Prefer_PMINUB_for_stringop): Likewise.
6238 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6239 bit_Prefer_PMINUB_for_stringop.
6240
6241 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6242
6243 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6244 buffer64.
6245 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6246 of casting of buffer.
6247 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6248 buffer32 and buffer64.
6249 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6250 writes instead of casting of buffer.
6251 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6252 buffer32.
6253 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6254 casting of buffer.
6255
6256 2011-07-19 Andreas Schwab <schwab@redhat.com>
6257
6258 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6259
6260 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6261
6262 * nscd/nscd.c (termination_handler): Don't do anything for a database
6263 if it has not yet been initialized.
6264
6265 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6266
6267 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6268
6269 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6270
6271 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6272
6273 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6274
6275 * po/nl.po: Update from translation team.
6276 * po/sv.po: Likewise.
6277
6278 2011-07-16 Roland McGrath <roland@hack.frob.com>
6279
6280 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6281 now disallowed by GCC.
6282
6283 * configure.in (use-default-link): Default to yes if a test -shared
6284 link meets our qualifications.
6285 * configure: Regenerated.
6286
6287 * config.make.in (output-format): New variable.
6288 * configure.in: Check for ld --print-output-format support.
6289 * configure: Regenerated.
6290 * Makerules ($(common-objpfx)format.lds)
6291 [$(output-format) != unknown]: Just use $(output-format),
6292 instead of the linker-script munging.
6293
6294 2011-07-14 Roland McGrath <roland@hack.frob.com>
6295
6296 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6297 of $(common-objpfx)shlib.lds.
6298 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6299
6300 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6301 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6302
6303 * configure.in (-z relro check): Adjust test code to add a large
6304 writable data section after it.
6305 * configure: Regenerated.
6306
6307 2011-07-11 Roland McGrath <roland@hack.frob.com>
6308
6309 * configure.in (-z relro check): Fix test code to make the variable
6310 truly const.
6311 * configure: Regenerated.
6312
6313 2011-07-11 Ulrich Drepper <drepper@gmail.com>
6314
6315 * nscd/nscd.h (struct traced_file): Define.
6316 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6317 elements. Add traced_files.
6318 (inotify_fd): Declare.
6319 (register_traced_file): Declare.
6320 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6321 (inotify_fd): Export.
6322 (resolv_conf_descr): Remove.
6323 (nscd_init): Move inotify descriptor creation to main.
6324 Don't register files for notification here.
6325 (register_traced_file): New function.
6326 (invalidate_cache): Don't use reset_res to determine whether to call
6327 res_init, go through the list of registered files.
6328 (main_loop_poll): The inotify descriptors are now stored in the
6329 structures for the traced files.
6330 (main_loop_epoll): Likewise
6331 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6332 to __nss_disable_nscd.
6333 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6334 for a database anymore. Check the records for all the registered
6335 files instead.
6336 * nss/Makefile (libnss_files-routines): Add files-init.
6337 (libnss_db-routines): Add db-init.
6338 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6339 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6340 * nss/nss_db/db-init.c: New file.
6341 * nss/nss_files/files-init.c: New file.
6342 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6343 __nss_lookup_function.
6344 (__nss_lookup_function): Call nss_load_library.
6345 (nss_load_all_libraries): New function.
6346 (__nss_disable_nscd): Take parameter with callback function for files
6347 to register. Set is_nscd. Load all the DSOs for the NSS modules
6348 used for the cached services.
6349 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6350 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6351 options for features to all the files in nscd.
6352
6353 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6354
6355 2011-07-10 Roland McGrath <roland@hack.frob.com>
6356
6357 * csu/elf-init.c (__libc_csu_init): Comment typo.
6358
6359 2011-07-09 Ulrich Drepper <drepper@gmail.com>
6360
6361 * po/pl.po: Update from translation team.
6362 * po/ja.po: Likewise.
6363 * po/ru.po: Likewise.
6364 * po/ko.po: Likewise.
6365 * po/fr.po: Likewise.
6366
6367 2011-07-09 Roland McGrath <roland@hack.frob.com>
6368
6369 * configure.in (.ctors/.dtors header and trailer check):
6370 Use an empirical test on a built program.
6371 * configure: Regenerated.
6372
6373 * configure.in (-z relro check): Use an empirical test on a built DSO.
6374 Detect, but do not require, on ia64.
6375 * configure: Regenerated.
6376
6377 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6378 Update tests that use readelf to use $READELF instead.
6379 * configure: Regenerated.
6380
6381 2011-07-08 Ulrich Drepper <drepper@gmail.com>
6382
6383 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6384 if the result is not used.
6385
6386 2011-07-05 Andreas Jaeger <aj@suse.de>
6387
6388 [BZ#9696]
6389 * stdlib/tst-strtod.c: Add testcase.
6390
6391 2011-07-07 Ulrich Drepper <drepper@gmail.com>
6392
6393 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6394 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6395 The latter has a higher limit. Take additional parameter to pass to
6396 the new function.
6397 (__pathconf): Pass file to __statfs_link_max.
6398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6399 __statfs_link_max.
6400 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6401 __statfs_link_max.
6402
6403 [BZ #12868]
6404 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6406 Handle Lustre.
6407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6408 (__statfs_filesize_max): Likewise.
6409 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6410
6411 2011-07-05 Andreas Jaeger <aj@suse.de>
6412
6413 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6414
6415 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6416
6417 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6418 `status' variable.
6419 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6420 Likewise.
6421
6422 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 * Makefile (strop-tests): Add strncat.
6425 * string/test-strncat.c: New file.
6426
6427 2011-06-30 Marek Polacek <mpolacek@redhat.com>
6428
6429 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6430
6431 2011-06-21 Andreas Jaeger <aj@suse.de>
6432
6433 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6434 Copy rule from iconvdata/Makefile.
6435
6436 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6437
6438 [BZ #12922]
6439 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6440 but no long options are defined, just return 'W'.
6441
6442 2011-06-22 Marek Polacek <mpolacek@redhat.com>
6443
6444 [BZ #9696]
6445 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6446
6447 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6448
6449 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6450 netgroups to read.
6451 (innetgr): Likewise.
6452
6453 2011-07-05 Roland McGrath <roland@hack.frob.com>
6454
6455 * config.make.in (install_root): Default to $(DESTDIR).
6456
6457 2011-07-05 Ulrich Drepper <drepper@gmail.com>
6458
6459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6460
6461 2011-07-02 Roland McGrath <roland@hack.frob.com>
6462
6463 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6464
6465 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6466 containing directory rather than embedding absolute directory names.
6467
6468 * scripts/check-local-headers.sh: Rewritten using awk.
6469 Match by word, not by line. Print error messages for matches.
6470 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6471
6472 * Makerules [shlib-lds-flags empty]:
6473 ($(common-objpfx)libc_pic.opts): New target.
6474 ($(common-objpfx)libc_pic.os.clean): New target.
6475 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6476
6477 * config.make.in (OBJCOPY): New variable.
6478 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6479 * configure: Regenerated.
6480
6481 * config.make.in (use-default-link): New variable.
6482 * configure.in (use_default_link): Grok --with-default-link to set it.
6483 * configure: Regenerated.
6484 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6485 (shlib-lds, shlib-lds-flags): Define to empty.
6486
6487 * Makerules (shlib-lds): New variable.
6488 (shlib-lds-flags): New variable.
6489 (build-shlib, build-moduile, build-module-asneeded): Use it.
6490 ($(common-objpfx)libc.so): Use $(shlib-lds).
6491 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6492 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6493
6494 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6495 DT_FLAGS/DT_FLAGS_1 with zero flags.
6496
6497 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6498 linker script munging.
6499
6500 2011-07-02 Ulrich Drepper <drepper@gmail.com>
6501
6502 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6503 as 128-bit value.
6504 * crypt/sha512.c (sha512_process_block): Perform total addition using
6505 128-bit if possible.
6506 (__sha512_finish_ctx): Likewise.
6507 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6508 as 64-bit value.
6509 * crypt/sha256.c (SWAP64): Define.
6510 (sha256_process_block): Perform total addition using 64-bit if
6511 possible.
6512 (__sha256_finish_ctx): Likewise.
6513
6514 2011-07-01 Ulrich Drepper <drepper@gmail.com>
6515
6516 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6518 * nscd/hstcache.c (cache_addhst): Likewise.
6519 * nscd/grpcache.c (cache_addgr): Likewise.
6520 * nscd/aicache.c (addhstaiX): Likewise
6521 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6522
6523 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
6524
6525 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6527 * nscd/hstcache.c (cache_addhst): Likewise.
6528 * nscd/grpcache.c (cache_addgr): Likewise.
6529 * nscd/aicache.c (addhstaiX): Likewise
6530
6531 2011-07-01 Andreas Schwab <schwab@redhat.com>
6532
6533 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6534 domain only when needed.
6535
6536 2011-06-30 Andreas Schwab <schwab@redhat.com>
6537
6538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6539 is always restored.
6540
6541 2011-06-29 Ulrich Drepper <drepper@gmail.com>
6542
6543 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6544 are re-adding the entry.
6545 * nscd/servicescache.c (cache_addserv): Likewise.
6546
6547 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6548
6549 * sysdeps/generic/dl-irel.h: fix protection against multiple
6550 inclusions.
6551 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6552
6553 2011-06-28 Ulrich Drepper <drepper@gmail.com>
6554
6555 [BZ #12935]
6556 * malloc/memusage.sh: Fix quoting in message.
6557 * debug/xtrace.sh: Likewise.
6558
6559 * configure.in: Remove support for --experimental-malloc option, make
6560 it the default.
6561 * config.make.in: Likewise.
6562 * malloc/Makefile: Likewise.
6563
6564 2011-06-27 Andreas Schwab <schwab@redhat.com>
6565
6566 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6567 two-byte characters.
6568
6569 2011-06-27 Roland McGrath <roland@hack.frob.com>
6570
6571 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6572 AC_CACHE_CHECK invocation.
6573 * configure: Regenerated.
6574
6575 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6576
6577 2011-06-27 Ulrich Drepper <drepper@gmail.com>
6578
6579 [BZ #12350]
6580 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6581 bit from old_res_options.
6582
6583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6584
6585 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6586 value type for setfct.
6587
6588 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6589
6590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6591 __gettimeofday instead of gettimeofday.
6592
6593 2011-06-26 Ulrich Drepper <drepper@gmail.com>
6594
6595 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6596
6597 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6598
6599 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6600
6601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6602 info.
6603
6604 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6605
6606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6607 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6608 strcpy-sse2-unaligned strncpy-sse2-unaligned
6609 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6610 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6611 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6612 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6613 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6616 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6617 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6618 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6619 (STRCPY): Support SSE2 and SSSE3 versions.
6620
6621 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6622
6623 [BZ #12874]
6624 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6625 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6626 kernels which artificially limit size of requests.
6627
6628 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6629
6630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6631 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6632 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6633 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6634 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6635 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6636 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6637 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6640 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6641 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6642 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6643 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6644 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6646 Enable unaligned load optimization for Intel Core i3, i5 and i7
6647 processors.
6648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6649 Define.
6650 (index_Fast_Unaligned_Load): Define.
6651 (HAS_FAST_UNALIGNED_LOAD): Define.
6652
6653 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6654
6655 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6656
6657 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6658
6659 [BZ #12907]
6660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6661 until it is clear that the information is realy needed.
6662 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6663
6664 2011-06-22 Andreas Schwab <schwab@redhat.com>
6665
6666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6667
6668 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6669
6670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6671 /sys/devices/system/cpu/online if it is usable.
6672
6673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6674 reading the information from the /proc filesystem to once a second.
6675
6676 2011-06-21 Andreas Jaeger <aj@suse.de>
6677
6678 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6679 NULL after inclusion of kernel headers.
6680
6681 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6682
6683 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6684 calls to internal_setent.
6685
6686 [BZ #12885]
6687 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6688 addresses using gethostbyname4_r ignore IPv4 addresses.
6689
6690 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6691 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6692
6693 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6694
6695 2011-06-20 David S. Miller <davem@davemloft.net>
6696
6697 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6698 inclusions.
6699 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6700
6701 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6702 (elf_irel): Use it.
6703 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6704 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6705 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6706 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6707 * sysdeps/x86_64/dl-irel.h: Likewise.
6708
6709 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6710 * elf/dl-sym.c: Likewise.
6711
6712 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6713
6714 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6715 need to dereference resplen2.
6716
6717 2011-06-14 Andreas Schwab <schwab@redhat.com>
6718
6719 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6720
6721 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6722
6723 * Makeconfig: Define vardbdir and inst_vardbdir.
6724 * nss/Makefile: Add rules to install db-Makefile.
6725
6726 * nss/nss_db/db-XXX.c: Cleanup.
6727
6728 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6729 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6730 GLIBC_PRIVATE.
6731 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6732 * nss/makedb.c: Implement -g option to specify that value strings
6733 are generated and should not be added to table iterated over for
6734 get*ent calls.
6735 * nss/nss_db/db-initgroups.c: New file.
6736
6737 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6738 interface.
6739
6740 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6741 (internal_getgrouplist): Adjust to name change.
6742 Update use_initgroups_entry if this is not the first call.
6743 * nss/databases.def: Add initgroups entry.
6744
6745 * nss/makedb.c (compute_tables): Check result of multiple hash table
6746 sizes to minimize maximum chain length.
6747
6748 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6749
6750 * Versions.def: Add entry for libnss_db.
6751 * shlib-versions: Likewise.
6752 * nss/Makefile: Add rules to build libnss_db.
6753 * nss/Versions: Add libnss_db information. Organize libnss_files
6754 entries better.
6755 * nss/db-Makefile: Add gshadow support. Change rules for the new
6756 makedb progra. Some minor improvements to generate smaller files.
6757 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6758 here from...
6759 * nss/makedb.c: ...here.
6760 Improve database format to be smaller and require less memory at
6761 runtime.
6762 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6763 db anymore.
6764 * nss/nss_db/db-netgrp.c: Likewise.
6765 * nss/nss_db/db-open.c: Likewise.
6766 * nss/nss_files/flies-XXX.x: Adjust comments.
6767 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6768 * nss/nss_files/files-grp.c: Likewise.
6769 * nss/nss_files/files-hosts.c: Likewise.
6770 * nss/nss_files/files-network.c: Likewise.
6771 * nss/nss_files/files-proto.c: Likewise.
6772 * nss/nss_files/files-pwd.c: Likewise.
6773 * nss/nss_files/files-rpc.c: Likewise.
6774 * nss/nss_files/files-service.c: Likewise.
6775 * nss/nss_files/files-sgrp.c: Likewise.
6776 * nss/nss_files/files-spwd.c: Likewise.
6777 * nss/nss_db/db-alias.c: Removed.
6778 * nss/nss_db/dummy-db.h: Removed.
6779
6780 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6781
6782 * nss/makedb.c: Rewritten to not use database library.
6783 * nss/Makefile: Update to build new makedb program.
6784
6785 2011-06-14 Andreas Jaeger <aj@suse.de>
6786
6787 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6788 memset declaration.
6789
6790 2011-06-10 Andreas Schwab <schwab@redhat.com>
6791
6792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6793 tmpbuf.
6794
6795 2011-06-10 Roland McGrath <roland@hack.frob.com>
6796
6797 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6798 * elf/Makefile ($(objpfx)ld.so): Likewise.
6799
6800 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6801 Don't list ld.so twice in dependencies.
6802
6803 * posix/bug-regex31.c: Include <stdlib.h>.
6804
6805 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6806
6807 * nis/nss_compat/compat-spwd.c
6808 (getspent_next_nss_netgr): Remove unused variable.
6809 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6810
6811 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6812 nonmembers" output to use the right array.
6813
6814 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6815
6816 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6817
6818 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6819 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6820 * catgets/gencat.c (read_input_file): Likewise.
6821 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6822
6823 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6824 variable definition inside #if's controlling its use.
6825
6826 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6827
6828 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6829
6830 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6831
6832 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6833 unreachable code.
6834
6835 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6836
6837 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6838 * configure: Regenerated.
6839
6840 * Makerules: Revert last change.
6841 * elf/Makefile: Likewise.
6842
6843 2011-06-09 Roland McGrath <roland@hack.frob.com>
6844
6845 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6846 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6847 (reloc-link): Likewise.
6848
6849 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6850
6851 * elf/Makefile: Add rules to build pldd.
6852 * elf/pldd.c: New file.
6853 * elf/pldd-xx.c: New file.
6854
6855 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6856
6857 * version.h: Update for 2.15 development version.
6858
6859 2011-06-07 David S. Miller <davem@davemloft.net>
6860
6861 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6862 ifuncs.
6863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6864 elf_machine_lazy_rel): Likewise.
6865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6867 elf_machine_lazy_rel): Likewise.
6868 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6869 dl_hwcap via passed in argument.
6870 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6871 Likewise.
6872
6873 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6874
6875 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6876
6877 2011-06-06 Roland McGrath <roland@hack.frob.com>
6878
6879 [BZ #12849]
6880 * manual/fdl-1.1.texi: New file, verbatim from:
6881 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6882 * manual/lgpl-2.1.texi: New file, verbatim from:
6883 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6884 * manual/Makefile (licenses): New variable, list those new file names.
6885 (texis): Use it.
6886 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6887
6888 * manual/fdl.texi: File removed.
6889 * manual/lesser.texi: File removed.
6890 * manual/libc.texinfo (Copying, Documentation License):
6891 Use new @include file names, put @appendix directive before @include.
6892
6893 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6894
6895 [BZ #12841]
6896 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6897 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6898 (mq_open): Add __NTH.
6899
6900 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6901
6902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6903 Assume Intel Core i3/i5/i7 processor if AVX is available.
6904
6905 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6906
6907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6908 typo.
6909
6910 2011-05-31 Andreas Schwab <schwab@redhat.com>
6911
6912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6913 memory. Use alloca_account. Fix memory leak when retrying.
6914
6915 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6916
6917 * version.h (RELEASE): Bump for 2.14 release.
6918 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6919
6920 * config.make.in (RANLIB): Remove entry.
6921
6922 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6923
6924 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6925 (libc.pot): Work around missing support for .ksh extension in xgettext.
6926
6927 [BZ #12684]
6928 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6929 if both request failed.
6930 (send_dg): In case of server errors clear resplen or *resplen2.
6931
6932 [BZ #12454]
6933 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6934 when there are multiple maps.
6935 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6936 (_dl_fini): Remove test here.
6937
6938 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6939
6940 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6941
6942 [BZ #12350]
6943 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6944 bit from old_res_options.
6945 (gaih_inet): Likewise.
6946
6947 [BZ #11099]
6948 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6949 as signed.
6950
6951 * resolv/res_init.c (res_setoptions): Make the code more compact.
6952
6953 [BZ #11558]
6954 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6955 set RES_USEVC.
6956
6957 [BZ #11634]
6958 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6959
6960 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6961
6962 [BZ #11781]
6963 * malloc/malloc.h: Declare malloc hook variables as volatile.
6964
6965 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6966 in last patch.
6967
6968 [BZ #11799]
6969 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6970 raise in the comment.
6971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6973 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6974
6975 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6976
6977 [BZ #12811]
6978 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6979 grow the buffers more if it already has to be sufficient.
6980 (build_wcs_upper_buffer): Likewise.
6981 * posix/regexec.c (check_matching): Likewise.
6982 (clean_state_log_if_needed): Likewise.
6983 (extend_buffers): Don't enlarge buffers beyond size of the input
6984 buffer.
6985 Patches mostly by Emil Wojak <emil@wojak.eu>.
6986 * posix/bug-regex32.c: New file.
6987 * posix/Makefile (tests): Add bug-regex32.
6988
6989 * locale/findlocale.c (_nl_find_locale): Return right away if
6990 _nl_explode_name failed.
6991 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6992
6993 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6994
6995 * debug/xtrace.sh: Unify messages.
6996 * malloc/memusage.sh: Likewise.
6997
6998 [BZ #12813]
6999 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7000 time symbol from vDSO. Substitute with vsyscall if not available.
7001 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7002 __vdso_time.
7003
7004 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7005 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7006 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7007 Add sendmmsg and internal_sendmmsg.
7008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7009 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7011
7012 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7013 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7014 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7015
7016 2011-05-27 Ulrich Drepper <drepper@gmail.com>
7017
7018 [BZ #12813]
7019 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7020 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7021 available.
7022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7023 __vdso_getcpu.
7024
7025 [BZ #12814]
7026 * iconvdata/Makefile (tests): Add bug-iconv9.
7027 * iconvdata/bug-iconv9.c: New file.
7028
7029 2011-05-27 Andreas Schwab <schwab@redhat.com>
7030
7031 [BZ #12814]
7032 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7033
7034 2011-05-25 Jakub Jelinek <jakub@redhat.com>
7035
7036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7037 (struct user_regs_struct): Change intcs field back to cs.
7038
7039 2011-05-25 Ulrich Drepper <drepper@gmail.com>
7040
7041 * po/ja.po: Update from translation team.
7042
7043 2011-05-23 Ulrich Drepper <drepper@gmail.com>
7044
7045 [BZ #12795]
7046 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7047 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7048
7049 2011-05-20 Andreas Schwab <schwab@redhat.com>
7050
7051 * stdlib/longlong.h: Update from GCC.
7052
7053 2011-05-23 Andreas Schwab <schwab@redhat.com>
7054
7055 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7056 parameter name.
7057 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7058 Add parameter name.
7059 (__sysconf): Pass it down.
7060
7061 2011-05-22 Ulrich Drepper <drepper@gmail.com>
7062
7063 [BZ #12671]
7064 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7065 some situations.
7066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7067 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7068 add in in __libc_use_alloca calls. Adjust callers.
7069 (glob): Use malloc in some situations.
7070
7071 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7072 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7073 pltexit.
7074
7075 2011-05-21 Ulrich Drepper <drepper@gmail.com>
7076
7077 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7078 and CLOCK_BOOTTIME_ALARM.
7079
7080 [BZ #12782]
7081 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7082 is returned.
7083
7084 * string/_strerror.c (__strerror_r): Print negative errors as signed
7085 numbers.
7086
7087 [BZ #12777]
7088 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7089 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7090 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7091
7092 * configure.in: Fix typo in redirection and correct removal of test
7093 files in two cases.
7094
7095 [BZ #12788]
7096 * locale/setlocale.c (new_composite_name): Fix test to check for
7097 identical name of all categories.
7098
7099 [BZ #12792]
7100 * libio/filedoalloc.c (local_isatty): New function.
7101 (_IO_file_doallocate): Use local_isatty.
7102 * stdio-common/perror.c (perror): In case a new stream is used
7103 forward the stream error.
7104 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7105 error flag.
7106
7107 2011-05-20 Ulrich Drepper <drepper@gmail.com>
7108
7109 [BZ #11869]
7110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7111 alloca.
7112 * include/alloca.h (extend_alloca_account): Define.
7113
7114 [BZ #11857]
7115 * posix/regex.h: Fix comments with documentation of user-accessible
7116 fields after compilation and describe correct free'ing of pattern
7117 after re_compile_pattern.
7118 Patch by Reuben Thomas <rrt@sc3d.org>.
7119
7120 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7121
7122 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7123 and -mno-altivec to prevent the compiler from using Altivec and/or
7124 VSX instructions when the corresponding registers are not available.
7125
7126 2011-05-19 Andreas Schwab <schwab@redhat.com>
7127
7128 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7129
7130 2011-05-19 Ulrich Drepper <drepper@gmail.com>
7131
7132 * libio/freopen.c (freopen): Use __dup2, not dup2.
7133 * libio/freopen64.c (freopen64): Likewise.
7134
7135 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 [BZ #12775]
7138 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7139 * math/Makefile (tests): Add test-powl.
7140 (CFLAGS-test-powl.c): Define.
7141 * math/test-powl.c: New file.
7142
7143 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7146
7147 2011-05-17 Ulrich Drepper <drepper@gmail.com>
7148
7149 [BZ #11837]
7150 * iconvdata/gb18030.c: Update to GB18020-2005.
7151
7152 2011-05-16 Ulrich Drepper <drepper@gmail.com>
7153
7154 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7155 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7156 Patch by Aharon Robbins <arnold@skeeve.com>.
7157
7158 [BZ #11892]
7159 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7160 on the stack.
7161
7162 [BZ #11895]
7163 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7164 through underflows.
7165
7166 [BZ #12766]
7167 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7168 point to strings before performing equality test for error_one_per_line
7169 mode.
7170
7171 [BZ #11697]
7172 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7173
7174 [BZ #11820]
7175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7176 (struct user_fpregs_struct): Avoid __uint*_t types.
7177
7178 [BZ #6420]
7179 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7180 symbol info. Use it instead of calling _dl_addr locally.
7181 (lock_and_info): New function.
7182 (tr_freehook): Call lock_and_info and pass symbol info as additional
7183 parameter to tr_where.
7184 (tr_mallochook): Likewise.
7185 (tr_reallochook): Likewise.
7186 (tr_memalignhook): Likewise.
7187
7188 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7189 used and couldn't be at all thread-safe.
7190
7191 2011-05-15 Ulrich Drepper <drepper@gmail.com>
7192
7193 * libio/freopen.c (freopen): Don't close old file descriptor
7194 before the new one is opened. Instead dup the new file descriptor
7195 to the old one after the new stream is created.
7196 * libio/freopen64.c (freopen64): Likewise.
7197 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7198 * libio/fileops.c (_IO_new_file_close_it): Handle new
7199 _IO_FLAGS2_NOCLOSE flag.
7200 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7201 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7202 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7203 _IO_FLAGS2_NOCLOSE flag.
7204 * include/unistd.h: Add hidden_proto for dup3.
7205 Define __have_dup3.
7206 * io/dup3.c: Define hidden symbol.
7207 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7208
7209 [BZ #7101]
7210 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7211 when an incomplete long option is used.
7212 * posix/tst-getopt_long1.c: New file.
7213 * posix/Makefile (tests): Add tst-getopt_long1.
7214
7215 [BZ #10138]
7216 * scripts/config.guess: Update from autoconf-2.68.
7217 * scripts/config.sub: Likewise.
7218
7219 [BZ #10157]
7220 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7221 tests into ...
7222 (has_cpuclock): ...this. New function.
7223 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7224 macro here based on has_cpuclock code.
7225
7226 [BZ #10149]
7227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7228 First byte (not low byte) is now always NUL.
7229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7230
7231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7232 Use non-cancelable interfaces.
7233
7234 [BZ #9809]
7235 * locale/iso-639.def: Add entry for Sorani.
7236
7237 [BZ #11901]
7238 * include/stdlib.h: Move include protection to the right place.
7239 Define abort_msg_s. Declare __abort_msg with it.
7240 * stdlib/abort.c (__abort_msg): Adjust type.
7241 * assert/assert.c (__assert_fail_base): New function. Majority
7242 of code from __assert_fail. Allocate memory for __abort_msg with
7243 mmap.
7244 (__assert_fail): Now call __assert_fail_base.
7245 * assert/assert-perr.c: Remove bulk of implementation. Use
7246 __assert_fail_base.
7247 * include/assert.hL Declare __assert_fail_base.
7248 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7249 mmap.
7250 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7251
7252 2011-05-14 Ulrich Drepper <drepper@gmail.com>
7253
7254 [BZ #11952]
7255 [BZ #12453]
7256 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7257 until all modules are registered in the DTV.
7258 * elf/Makefile: Add rules to build and run tst-tls19.
7259 * elf/tst-tls19.c: New file.
7260 * elf/tst-tls19mod1.c: New file.
7261 * elf/tst-tls19mod2.c: New file.
7262 * elf/tst-tls19mod3.c: New file.
7263 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7264
7265 [BZ #12083]
7266 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7267 correctly.
7268
7269 [BZ #12601]
7270 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7271 two-byte sequence errors.
7272 * iconvdata/Makefile (tests): Add bug-iconv8.
7273 * iconvdata/bug-iconv8.c: New file.
7274
7275 [BZ #12626]
7276 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7277 buf2 definition.
7278
7279 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7280
7281 [BZ #12432]
7282 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7283 (dummy_getcfa): New function.
7284 (init): Get _Unwind_GetCFA address, use dummy if not found.
7285 (backtrace_helper): In recursion check, also check whether CFA changes.
7286 (__backtrace): Completely initialize arg.
7287
7288 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7289 storing incomplete byte sequence in state object. Avoid testing for
7290 guaranteed too small input if we know there is enough data available.
7291
7292 2011-05-11 Andreas Schwab <schwab@redhat.com>
7293
7294 * Makeconfig (+link-pie): Indent.
7295 * Rules (binaries-pie): Define if $(have-fpie) and
7296 $(build-shared).
7297 (binaries-shared): Also filter out $(binaries-pie).
7298 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7299 * nscd/Makefile (others-pie): Add nscd.
7300 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7301 ($(objpfx)nscd): Remove command override.
7302 * login/Makefile (others-pie): Add pt_chown.
7303 ($(objpfx)pt_chown): Remove command override.
7304 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7305 remove command overrides.
7306
7307 2011-05-13 Ulrich Drepper <drepper@gmail.com>
7308
7309 * libio/tst_putwc.c: Fix error messages.
7310
7311 [BZ #12724]
7312 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7313 currently writing and seek to current position when not.
7314 * libio/Makefile (tests): Add bug-fclose1.
7315 * libio/bug-fclose1.c: New file.
7316
7317 2011-05-12 Ulrich Drepper <drepper@gmail.com>
7318
7319 [BZ #12511]
7320 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7321 don't set DF_1_NODELETE here.
7322 (do_lookup_x): When entering new entry test for copy relocation
7323 and if necessary set DF_1_NODELETE flag.
7324 * elf/tst-unique4.cc: New file.
7325 * elf/tst-unique4.h: New file.
7326 * elf/tst-unique4lib.cc: New file.
7327 * elf/Makefile: Add rules to build and run tst-unique4.
7328 Patch by Piotr Bury <pbury@goahead.com>.
7329
7330 2011-05-11 Ulrich Drepper <drepper@gmail.com>
7331
7332 [BZ #12052]
7333 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7334
7335 [BZ #12625]
7336 * misc/mntent_r.c (addmntent): Flush the stream after the output
7337
7338 [BZ #12393]
7339 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7340 (is_trusted_path_normalize): Skip initial colon. Append slash
7341 to empty buffer. Duplicate is_trusted_path code but allow
7342 constructed patch to be prefix.
7343 (is_dst): Allow $ORIGIN followed by /.
7344 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7345 Correct testing of result of is_trusted_path_normalize
7346 (decompose_rpath): Fix warning.
7347
7348 2011-05-10 Ulrich Drepper <drepper@gmail.com>
7349
7350 [BZ #11257]
7351 * grp/initgroups.c (internal_getgrouplist): When we found the service
7352 list through the initgroups entry in nsswitch.conf do not always
7353 continue on a successful lookup. Don't always use the
7354 __nss_group_database value if it is set.
7355 * nss/nsswitch.conf (initgroups): Change action for successful db
7356 lookup to continue for compatibility.
7357
7358 2011-05-09 Ulrich Drepper <drepper@gmail.com>
7359
7360 [BZ #11532]
7361 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7362 and CP774 modules.
7363 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7364 and CP774 modules.
7365 * iconvdata/tst-tables.sh: Likewise.
7366 * iconvdata/cp770.c: New file.
7367 * iconvdata/cp771.c: New file.
7368 * iconvdata/cp772.c: New file.
7369 * iconvdata/cp773.c: New file.
7370 * iconvdata/cp774.c: New file.
7371 * iconvdata/testdata/CP770: New file.
7372 * iconvdata/testdata/CP770..UTF8: New file.
7373 * iconvdata/testdata/CP771: New file.
7374 * iconvdata/testdata/CP771..UTF8: New file.
7375 * iconvdata/testdata/CP772: New file.
7376 * iconvdata/testdata/CP772..UTF8: New file.
7377 * iconvdata/testdata/CP773: New file.
7378 * iconvdata/testdata/CP773..UTF8: New file.
7379 * iconvdata/testdata/CP774: New file.
7380 * iconvdata/testdata/CP774..UTF8: New file.
7381
7382 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7383 END CHARMAP line.
7384 * iconvdata/gen-8bit-gap.sh: Likewise.
7385 * iconvdata/gen-8bit.sh: Likewise.
7386
7387 * locale/iso-639.def: Add ary entry.
7388
7389 [BZ #11258]
7390 * locale/C-translit.h.in: Add U20A1 transliteration.
7391
7392 [BZ #12178]
7393 * locale/iso-639.def: Add wae entry.
7394 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7395
7396 [BZ #12545]
7397 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7398 for n.
7399
7400 [BZ #12711]
7401 * locale/C-translit.h.in: Add entry for U20B9.
7402 Patch by pravin.d.s@gmail.com.
7403
7404 2011-05-08 Ulrich Drepper <drepper@gmail.com>
7405
7406 [BZ #12713]
7407 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7408 ENAMETOOLONG use generic getcwd.
7409 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7410 in rtld. Use *stat64.
7411 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7412 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7413 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7414 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7415 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7416 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7417 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7418 __fstatat64 macros.
7419 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7420 * dirent/rewinddir.c: Add libc_hidden_def.
7421 * sysdeps/mach/hurd/rewinddir.c: Likewise.
7422 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7423
7424 * include/dirent.h (__alloc_dir): Add flags parameter.
7425 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7426 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7427 __alloc_dir.
7428 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7429 from fdopendir if O_CLOEXEC is already set.
7430
7431 2011-03-15 Alan Modra <amodra@gmail.com>
7432
7433 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7434 l_tls_firstbyte_offset non-zero. Save padding offset in
7435 l_tls_firstbyte_offset for later use.
7436 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7437 freeing static tls block.
7438
7439 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7440
7441 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7442 where #ifdef was intended. The intent is to prevent ARG_MAX from
7443 being defined by the kernel headers.
7444
7445 2011-05-07 Ulrich Drepper <drepper@gmail.com>
7446
7447 [BZ #12734]
7448 * resolv/resolv.h: Define RES_NOTLDQUERY.
7449 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7450 no-tld-query and set RES_NOTLDQUERY.
7451 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7452 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7453 modern BIND to search name as TLD unless forbidden.
7454
7455 2011-05-07 Petr Baudis <pasky@suse.cz>
7456 Ulrich Drepper <drepper@gmail.com>
7457
7458 [BZ #12393]
7459 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7460 (is_trusted_path): ...to here.
7461 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7462 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7463 using is_trusted_path_normalize() in setuid scripts.
7464
7465 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7466
7467 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7468 __BEGIN/__END_DECLS.
7469
7470 2011-05-06 Ulrich Drepper <drepper@gmail.com>
7471
7472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7473 NSS_STATUS_NOTFOUND if no record was found.
7474
7475 2011-05-05 Andreas Schwab <schwab@redhat.com>
7476
7477 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7478 (headers-not-in-tirpc): Remove rpc/netdb.h
7479 * resolv/netdb.h: Revert last change.
7480
7481 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7482
7483 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7484 circular dependency between libgcc.a and libc.a.
7485
7486 2011-05-05 Andreas Schwab <schwab@redhat.com>
7487
7488 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7489 * nis/Makefile: Don't install rpcsvc/*.
7490 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7491 instead of <rpc/types.h>.
7492 (MAXHOSTNAMELEN): Define.
7493
7494 2011-05-03 Andreas Schwab <schwab@redhat.com>
7495
7496 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7497
7498 2011-04-28 Maciej Babinski <mbabinski@google.com>
7499
7500 [BZ #12714]
7501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7502 gethostbyname4_r when IPv6 results are possible.
7503
7504 2011-05-02 Ulrich Drepper <drepper@gmail.com>
7505
7506 [BZ #12723]
7507 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7508 _PC_PIPE_BUF handling.
7509
7510 2011-04-30 Bruno Haible <bruno@clisp.org>
7511
7512 [BZ #12717]
7513 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7514 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7515 to 'int'.
7516 * inet/getnameinfo.c (getnameinfo): Likewise.
7517
7518 2011-04-29 Ulrich Drepper <drepper@gmail.com>
7519
7520 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7521 to groups setting in database lookup.
7522 * nss/nsswitch.conf: Add initgroups entry.
7523
7524 2011-04-22 Ulrich Drepper <drepper@gmail.com>
7525
7526 [BZ #12685]
7527 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7528 mode string.
7529 Patch by Eric Blake <eblake@redhat.com>.
7530
7531 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7532
7533 * sunrpc/Makefile (need-export-routines): Add svc_run.
7534 (routines): Remove svc_run.
7535 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7536 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7537 * sunrpc/svc_run.c (svc_run): Likewise.
7538 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7539
7540 2011-04-21 Ulrich Drepper <drepper@gmail.com>
7541
7542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7543 problem in reallocation in last patch.
7544
7545 2011-04-20 Ulrich Drepper <drepper@gmail.com>
7546
7547 * sunrpc/Makefile: Move inclusion of Rules.
7548
7549 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7550
7551 * nss/nss_files/files-initgroups.c: New file.
7552 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7553 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7554 _nss_files_initgroups_dyn.
7555
7556 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7557
7558 * elf/elf.h (R_ARM_IRELATIVE): Define.
7559
7560 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7561
7562 * po/ru.po: Update from translation team.
7563
7564 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7565
7566 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7567 dependencies.
7568
7569 2011-02-06 Mike Frysinger <vapier@gentoo.org>
7570
7571 [BZ #12653]
7572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7573 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7577
7578 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7579
7580 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7581 differing bytes.
7582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7584 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7585
7586 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7587
7588 [BZ #12420]
7589 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7590 storing it.
7591 * stdlib/bug-getcontext.c: New file.
7592 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7593
7594 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7595
7596 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7597 instructions into .machine "z9-109".
7598 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7599 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7600
7601 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7602
7603 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7604 between environment variables and auxiliary vector.
7605
7606 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7607
7608 * Makefile: Add rules to build linkobj/libc.so.
7609 * include/libc-symbols.h: Define libc_hidden_nolink.
7610 * include/rpc/auth.h: Mark functions which are to be hidden.
7611 * include/rpc/auth_des.h: Likewise.
7612 * include/rpc/auth_unix.h: Likewise.
7613 * include/rpc/clnt.h: Likewise.
7614 * include/rpc/des_crypt.h: Likewise.
7615 * include/rpc/key_prot.h: Likewise.
7616 * include/rpc/pmap_clnt.h: Likewise.
7617 * include/rpc/pmap_prot.h: Likewise.
7618 * include/rpc/pmap_rmt.h: Likewise.
7619 * include/rpc/rpc_msg.h: Likewise.
7620 * include/rpc/svc.h: Likewise.
7621 * include/rpc/svc_auth.h: Likewise.
7622 * include/rpc/xdr.h: Likewise.
7623 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7624 * nss/Makefile: Likewise.
7625 * sunrpc/Makefile: Don't install headers. Build library with normal
7626 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7627 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7628 for the compat linking library. Remove use of INTDEF/INTUSE.
7629 * sunrpc/auth_none.c: Likewise.
7630 * sunrpc/auth_unix.c: Likewise.
7631 * sunrpc/authdes_prot.c: Likewise.
7632 * sunrpc/authuxprot.c: Likewise.
7633 * sunrpc/clnt_gen.c: Likewise.
7634 * sunrpc/clnt_perr.c: Likewise.
7635 * sunrpc/clnt_raw.c: Likewise.
7636 * sunrpc/clnt_simp.c: Likewise.
7637 * sunrpc/clnt_tcp.c: Likewise.
7638 * sunrpc/clnt_udp.c: Likewise.
7639 * sunrpc/clnt_unix.c: Likewise.
7640 * sunrpc/des_crypt.c: Likewise.
7641 * sunrpc/des_soft.c: Likewise.
7642 * sunrpc/get_myaddr.c: Likewise.
7643 * sunrpc/key_call.c: Likewise.
7644 * sunrpc/key_prot.c: Likewise.
7645 * sunrpc/netname.c: Likewise.
7646 * sunrpc/pm_getmaps.c: Likewise.
7647 * sunrpc/pm_getport.c: Likewise.
7648 * sunrpc/pmap_clnt.c: Likewise.
7649 * sunrpc/pmap_prot.c: Likewise.
7650 * sunrpc/pmap_prot2.c: Likewise.
7651 * sunrpc/pmap_rmt.c: Likewise.
7652 * sunrpc/publickey.c: Likewise.
7653 * sunrpc/rpc_cmsg.c: Likewise.
7654 * sunrpc/rpc_common.c: Likewise.
7655 * sunrpc/rpc_dtable.c: Likewise.
7656 * sunrpc/rpc_prot.c: Likewise.
7657 * sunrpc/rpc_thread.c: Likewise.
7658 * sunrpc/rtime.c: Likewise.
7659 * sunrpc/svc.c: Likewise.
7660 * sunrpc/svc_auth.c: Likewise.
7661 * sunrpc/svc_authux.c: Likewise.
7662 * sunrpc/svc_raw.c: Likewise.
7663 * sunrpc/svc_run.c: Likewise.
7664 * sunrpc/svc_simple.c: Likewise.
7665 * sunrpc/svc_tcp.c: Likewise.
7666 * sunrpc/svc_udp.c: Likewise.
7667 * sunrpc/svc_unix.c: Likewise.
7668 * sunrpc/svcauth_des.c: Likewise.
7669 * sunrpc/xcrypt.c: Likewise.
7670 * sunrpc/xdr.c: Likewise.
7671 * sunrpc/xdr_array.c: Likewise.
7672 * sunrpc/xdr_float.c: Likewise.
7673 * sunrpc/xdr_intXX_t.c: Likewise.
7674 * sunrpc/xdr_mem.c: Likewise.
7675 * sunrpc/xdr_rec.c: Likewise.
7676 * sunrpc/xdr_ref.c: Likewise.
7677 * sunrpc/xdr_sizeof.c: Likewise.
7678 * sunrpc/xdr_stdio.c: Likewise.
7679
7680 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7681
7682 [BZ #12650]
7683 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7684 * sysdeps/ia64/dl-tls.h: Likewise.
7685 * sysdeps/powerpc/dl-tls.h: Likewise.
7686 * sysdeps/s390/dl-tls.h: Likewise.
7687 * sysdeps/sh/dl-tls.h: Likewise.
7688 * sysdeps/sparc/dl-tls.h: Likewise.
7689 * sysdeps/x86_64/dl-tls.h: Likewise.
7690 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7691
7692 2011-03-14 Andreas Schwab <schwab@redhat.com>
7693
7694 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7695 rpath element also skip the following colon.
7696 (expand_dynamic_string_token): Add is_path parameter and pass
7697 down to DL_DST_REQUIRED and _dl_dst_substitute.
7698 (decompose_rpath): Call expand_dynamic_string_token with
7699 non-zero is_path. Ignore empty rpaths.
7700 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7701 with zero is_path.
7702
7703 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7704
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7706 Make cancelable.
7707
7708 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7709
7710 [BZ #12655]
7711 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7712 Patch by Filipe David Manana <fdmanana@apache.org>.
7713
7714 2011-04-07 Andreas Schwab <schwab@redhat.com>
7715
7716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7717 Maintain aligned stack.
7718 (CHECK_RSP): Remove unused macro.
7719
7720 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7721
7722 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7723 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7724
7725 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7726
7727 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7728
7729 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7730
7731 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 [BZ #12518]
7734 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7735 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7736 * sysdeps/x86_64/memmove.c: New file.
7737 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7738 (memcpy): Renamed to ...
7739 (__new_memcpy): This.
7740 (memcpy): Provide GLIBC_2_14 memcpy.
7741 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7742 (memcpy): Provide GLIBC_2_2_5 memcpy.
7743
7744 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7745
7746 [BZ #12631]
7747 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7748
7749 2011-03-30 Andreas Schwab <schwab@redhat.com>
7750
7751 * misc/syncfs.c: New file.
7752 * misc/Makefile (routines): Add syncfs.
7753 * posix/unistd.h: Declare syncfs.
7754 * sysdeps/unix/syscalls.list: Add syncfs.
7755
7756 2011-04-01 Andreas Schwab <schwab@redhat.com>
7757
7758 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7759 open_by_handle_at.
7760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7765 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7767
7768 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7769
7770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7777
7778 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7779 sync_file_range.c with -fexceptions.
7780 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7781 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7782 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7783 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7784 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7785 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7787 sync_file_range as cancellation point
7788 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7789 now a wrapper around __call_sync_file_range with cancellation handling.
7790 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7791 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7792 function name to __call_sync_file_range.
7793 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7794 Add call_sync_file_range.
7795
7796 2011-04-01 Andreas Schwab <schwab@redhat.com>
7797
7798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7799 bits/timex.h.
7800
7801 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7802
7803 * iconv/iconv.h: Fix typo in comment.
7804 * io/fcntl.h: Likewise.
7805 * libio/stdio.h: Likewise.
7806 * posix/spawn.h: Likewise.
7807 * posix/unistd.h: Likewise.
7808 * stdlib/stdlib.h: Likewise.
7809 * time/time.h: Likewise.
7810 * wcsmbs/wchar.h: Likewise.
7811
7812 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7813 open_by_handle): Add.
7814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7815 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7816 Augment a few comments.
7817 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7819 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7822 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7823 open_by_handle.
7824
7825 * io/fcntl.h (AT_EMPTY_PATH): Define.
7826
7827 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7828
7829 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7830 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7831 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7832 to...
7833 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7834 * Versions.def: Add GLIBC_2.14.
7835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7836 Export.
7837
7838 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7839
7840 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7841 round counter.
7842 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7843
7844 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7845
7846 [BZ #12597]
7847 * string/test-strncmp.c (do_page_test): New function.
7848 (check2): Likewise.
7849 (test_main): Call check2.
7850 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7851
7852 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7853
7854 [BZ #12587]
7855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7856 Handle cache information in CPU leaf 4.
7857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7858
7859 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7860
7861 [BZ #12583]
7862 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7863 character representation.
7864 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7865
7866 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7867
7868 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7869 END(__isnan) to END(__isnanf) to match function entry point/label
7870 EALIGN(__isnanf,...).
7871
7872 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7873
7874 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7875
7876 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7877
7878 [BZ #12510]
7879 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7880 copy from the symbol referenced in the relocation to initialize the
7881 used variable.
7882 Patch by Piotr Bury <pbury@goahead.com>.
7883 * elf/Makefile: Add rules to build and tst-unique3.
7884 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7885 * elf/tst-unique3.cc: New file.
7886 * elf/tst-unique3.h: New file.
7887 * elf/tst-unique3lib.cc: New file.
7888 * elf/tst-unique3lib2.cc: New file.
7889
7890 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7891
7892 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7893
7894 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7895 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7896 to _start.
7897
7898 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7899
7900 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7901 to-be-loaded object along a path to loader is ld.so.
7902
7903 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7904 Ulrich Drepper <drepper@gmail.com>
7905
7906 * sysdeps/x86_64/memset.S: After aligning destination, code
7907 branches to different locations depending on the value of
7908 misalignment, when multiarch is enabled. Fix this.
7909
7910 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7911
7912 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7913 Set _x86_64_preferred_memory_instruction for AMD processsors.
7914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7915 Set bit_Prefer_SSE_for_memop for AMD processors.
7916
7917 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7918
7919 * libio/fmemopen.c (fmemopen): Optimize a bit.
7920
7921 2011-03-03 Andreas Schwab <schwab@redhat.com>
7922
7923 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7924
7925 2011-03-03 Roland McGrath <roland@redhat.com>
7926
7927 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7928
7929 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7930
7931 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7932 __bzero_ultra1 instead of __memset_ultra1.
7933
7934 2011-02-23 Andreas Schwab <schwab@redhat.com>
7935 Ulrich Drepper <drepper@gmail.com>
7936
7937 [BZ #12509]
7938 * include/link.h (struct link_map): Add l_orig_initfini.
7939 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7940 returning unsuccessfully.
7941 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7942 close of a file loaded at startup, restore the original l_initfini
7943 list.
7944 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7945 list, store the pointer.
7946 * elf/Makefile ($(objpfx)noload-mem): New rule.
7947 (noload-ENV): Define.
7948 (tests): Add $(objpfx)noload-mem.
7949 * elf/noload.c: Include <memcheck.h>.
7950 (main): Call mtrace. Close all opened handles.
7951
7952 2011-02-17 Andreas Schwab <schwab@redhat.com>
7953
7954 [BZ #12454]
7955 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7956 dependencies are missing.
7957
7958 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7959
7960 Fix __if_freereq crash: Unlike the generic version which uses free,
7961 Hurd needs munmap.
7962 * sysdeps/mach/hurd/ifreq.h: New file.
7963
7964 2011-01-27 Petr Baudis <pasky@suse.cz>
7965 Ulrich Drepper <drepper@gmail.com>
7966
7967 [BZ 12445]#
7968 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7969 to extend_alloca().
7970 * stdio-common/bug23.c: New file.
7971 * stdio-common/Makefile (tests): Add bug23.
7972
7973 2010-09-28 Andreas Schwab <schwab@redhat.com>
7974 Ulrich Drepper <drepper@gmail.com>
7975
7976 [BZ #12489]
7977 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7978 before performing relro protection. At old place add assertion
7979 to make sure nothing changed.
7980
7981 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7982 Glauber de Oliveira Costa <glommer@gmail.com>
7983
7984 * elf/elf.h: Add new ARM TLS relocs.
7985
7986 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7987
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7989 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7990 cast from r3.
7991 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7992 'tests' variable.
7993 * sysdeps/wordsize-64/tst-writev.c: New file.
7994
7995 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7996
7997 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7998 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7999 insns in _dl_start to prevent a TOC reference before relocs are
8000 resolved.
8001
8002 2011-02-15 Ulrich Drepper <drepper@gmail.com>
8003
8004 [BZ #12469]
8005 * Makeconfig: Remove RANLIB definition.
8006 * Makerules: Don't use RANLIB.
8007 * aclocal.m4: Remove ranlib test.
8008 * configure.in: No need to check for ranlib.
8009 * elf/rtld-Rules: Don't use RANLIB.
8010
8011 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8012
8013 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8014 protection macro.
8015 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8016 inclusion protection macro.
8017
8018 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8019 SIGRTMIN and SIGRTMAX and print information in that case only when
8020 SIGRTMIN is defined.
8021
8022 2011-02-11 Jakub Jelinek <jakub@redhat.com>
8023
8024 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8025 arginfo fn returning -1.
8026
8027 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8028 and thousands string is zero terminated.
8029
8030 2011-02-03 Andreas Schwab <schwab@redhat.com>
8031
8032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8033 sysdeps/unix/sysv/linux/bits/socket.h.
8034
8035 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8036
8037 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8038 (__CPU_COUNT): Remove old macros.
8039 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8040 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8041 (__CPU_ALLOC, __CPU_FREE): Add macros.
8042 (__sched_cpualloc, __sched_cpufree): Add declarations.
8043
8044 2011-02-05 Ulrich Drepper <drepper@gmail.com>
8045
8046 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8047 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8048 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8049 (readdhstai): Return value of addhstaiX call.
8050 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8051 (addgrbyX): Return value returned by cache_addgr.
8052 (readdgrbyname): Return value returned by addgrbyX.
8053 (readdgrbygid): Likewise.
8054 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8055 (addpwbyX): Return value returned by cache_addpw.
8056 (readdpwbyname): Return value returned by addhstbyX.
8057 (readdpwbyuid): Likewise.
8058 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8059 (addservbyX): Return value returned by cache_addserv.
8060 (readdservbyname): Return value returned by addservbyX:
8061 (readdservbyport): Likewise.
8062 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8063 (addhstbyX): Return value returned by cache_addhst.
8064 (readdhstbyname): Return value returned by addhstbyX.
8065 (readdhstbyaddr): Likewise.
8066 (readdhstbynamev6): Likewise.
8067 (readdhstbyaddrv6): Likewise.
8068 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8069 (readdinitgroups): Return value returned by addinitgroupsX.
8070 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8071 (prune_cache): Keep track of timeout value of re-added entries.
8072 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8073 * nscd/nscd.h: Adjust prototypes of readd* functions.
8074
8075 2011-02-04 Roland McGrath <roland@redhat.com>
8076
8077 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8078 (nis_stats): Likewise.
8079 * nis/nis_modify.c (nis_modify): Likewise.
8080 * nis/nis_remove.c (nis_remove): Likewise.
8081 * nis/nis_add.c (nis_add): Likewise.
8082
8083 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8084
8085 * posix/fnmatch_loop.c: Add some consts.
8086
8087 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8088
8089 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8090
8091 [BZ #12460]
8092 * config.make.in (config-cflags-novzeroupper): Define.
8093 * configure.in: Substitute libc_cv_cc_novzeroupper.
8094 * elf/Makefile (AVX-CFLAGS): Define.
8095 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8096 (CFLAGS-tst-auditmod4a.c): Likewise.
8097 (CFLAGS-tst-auditmod4b.c): Likewise.
8098 (CFLAGS-tst-auditmod6b.c): Likewise.
8099 (CFLAGS-tst-auditmod6c.c): Likewise.
8100 (CFLAGS-tst-auditmod7b.c): Likewise.
8101 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8102
8103 2011-02-02 Ulrich Drepper <drepper@gmail.com>
8104
8105 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8106 function to the callback.
8107 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8108
8109 2011-02-02 Andreas Schwab <schwab@redhat.com>
8110
8111 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8112 of errno.
8113
8114 2011-01-19 Ulrich Drepper <drepper@gmail.com>
8115
8116 [BZ #11724]
8117 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8118 of constructors.
8119 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8120 of destructors.
8121 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8122
8123 [BZ #11724]
8124 * elf/Makefile: Add rules to build and run new test.
8125 * elf/tst-initorder.c: New file.
8126 * elf/tst-initorder.exp: New file.
8127 * elf/tst-initordera1.c: New file.
8128 * elf/tst-initordera2.c: New file.
8129 * elf/tst-initordera3.c: New file.
8130 * elf/tst-initordera4.c: New file.
8131 * elf/tst-initorderb1.c: New file.
8132 * elf/tst-initorderb2.c: New file.
8133 * elf/tst-order-a1.c: New file.
8134 * elf/tst-order-a2.c: New file.
8135 * elf/tst-order-a3.c: New file.
8136 * elf/tst-order-a4.c: New file.
8137 * elf/tst-order-b1.c: New file.
8138 * elf/tst-order-b2.c: New file.
8139 * elf/tst-order-main.c: New file.
8140 New test case by George Gensure <werkt0@gmail.com>.
8141
8142 2010-10-01 Andreas Schwab <schwab@redhat.com>
8143
8144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8145 decoding ACE if AI_CANONIDN.
8146
8147 2011-01-18 Ulrich Drepper <drepper@gmail.com>
8148
8149 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8150
8151 2011-01-17 Ulrich Drepper <drepper@gmail.com>
8152
8153 * version.h (RELEASE): Bump for 2.13 release.
8154 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8155
8156 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8157
8158 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8159 MADV_NOHUGEPAGE.
8160 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8166
8167 * posix/getconf.c: Update copyright year.
8168 * catgets/gencat.c: Likewise.
8169 * csu/version.c: Likewise.
8170 * debug/catchsegv.sh: Likewise.
8171 * debug/xtrace.sh: Likewise.
8172 * elf/ldconfig.c: Likewise.
8173 * elf/ldd.bash.in: Likewise.
8174 * elf/sprof.c (print_version): Likewise.
8175 * iconv/iconv_prog.c: Likewise.
8176 * iconv/iconvconfig.c: Likewise.
8177 * locale/programs/locale.c: Likewise.
8178 * locale/programs/localedef.c: Likewise.
8179 * malloc/memusage.sh: Likewise.
8180 * malloc/mtrace.pl: Likewise.
8181 * nscd/nscd.c (print_version): Likewise.
8182 * nss/getent.c: Likewise.
8183
8184 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8185 PF_CAIF, and PF_ALG.
8186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8187
8188 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8189
8190 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8191 (modules-names): Use them.
8192 (ifunc-test-modules, ifunc-pie-tests): Define.
8193 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8194 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8195 (test-extras): Likewise.
8196 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8197 $(compile-command.c).
8198 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8199 (all-built-dso): Define.
8200 (check-textrel.out, check-execstack.out): Depend on it.
8201
8202 * configure.in: Don't override --enable-multi-arch.
8203
8204 2011-01-15 Ulrich Drepper <drepper@gmail.com>
8205
8206 [BZ #6812]
8207 * nscd/hstcache.c (tryagain): Define.
8208 (cache_addhst): Return tryagain not notfound for temporary errors.
8209 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8210 failed.
8211
8212 2011-01-14 Ulrich Drepper <drepper@gmail.com>
8213
8214 [BZ #10563]
8215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8216 to make the syscall.
8217 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8218
8219 [BZ #12378]
8220 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8221 and fall back to matching as normal character if the string ends before
8222 the matching ']' is found. This is what POSIX requires.
8223 * posix/testfnm.c: Adjust test result.
8224 * posix/globtest.sh: Adjust test result. Add new test.
8225 * posix/tst-fnmatch.input: Likewise.
8226 * posix/tst-fnmatch2.c: Add new test.
8227
8228 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8229
8230 * elf/Makefile (check-execstack): Revert last change. Depend on
8231 check-execstack.h.
8232 (check-execstack.h): New target.
8233 (generated): Add check-execstack.h.
8234 * elf/check-execstack.c: Include "check-execstack.h".
8235 (main): Revert last change.
8236 (handle_file): Return zero if GNU_STACK is absent and
8237 DEFAULT_STACK_PERMS doesn't include PF_X.
8238
8239 2011-01-13 Ulrich Drepper <drepper@gmail.com>
8240
8241 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8242 in child fails because the descriptor is already closed.
8243 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8244 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8246
8247 [BZ #12397]
8248 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8249 syscall.
8250
8251 [BZ #10484]
8252 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8253 temporary buffer used to handle multi lookups locally.
8254 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8255
8256 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8257
8258 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8259 loader is ld.so.
8260
8261 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8262
8263 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8264 alignment for SSE2.
8265
8266 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8267
8268 [BZ #12394]
8269 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8270 characters. When rounding increased number of integer digits recompute
8271 number of groups.
8272 * stdio-common/tst-grouping.c: New file.
8273 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8274
8275 2011-01-09 Ulrich Drepper <drepper@gmail.com>
8276
8277 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8278 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8279
8280 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8281 void.
8282 * bits/select.h: Likewise.
8283
8284 2011-01-08 Ulrich Drepper <drepper@gmail.com>
8285
8286 * po/ja.po: Update from translation team.
8287
8288 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
8289
8290 [BZ #11155]
8291 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8292 implementation just like for lxstat, fxstatat, et al.
8293
8294 2010-12-27 Jim Meyering <meyering@redhat.com>
8295
8296 [BZ #12348]
8297 * posix/regexec.c (build_trtable): Return failure indication upon
8298 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8299
8300 2010-12-25 Ulrich Drepper <drepper@gmail.com>
8301
8302 [BZ #12201]
8303 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8304 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8305 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8307
8308 [BZ #12207]
8309 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8310
8311 [BZ #12204]
8312 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8313 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8314
8315 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8316
8317 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8318 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8319 script has SORT_BY_INIT_PRIORITY.
8320 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8321 NO_CTORS_DTORS_SECTIONS is defined.
8322 * elf/soinit.c: Likewise.
8323 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8324 NO_CTORS_DTORS_SECTIONS is defined.
8325 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8326 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8327 * sysdeps/sh/init-first.c: Likewise.
8328 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8329
8330 2010-12-24 Ulrich Drepper <drepper@gmail.com>
8331
8332 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8333 always use the slow path.
8334
8335 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8336
8337 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8338 similar rule which adds the sysdep directories to the header search in
8339 order to pick up the correct platform stackinfo.h.
8340 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8341 perform test if it is, otherwise return successfully without testing.
8342 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8343 DEFAULT_STACK_PERMS define in stackinfo.h.
8344 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8345 defined in stackinfo.h.
8346 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8347 DEFAULT_STACK_PERMS defined in stackinfo.h.
8348 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8349 * sysdeps/ia64/stackinfo.h: Likewise.
8350 * sysdeps/s390/stackinfo.h: Likewise.
8351 * sysdeps/sh/stackinfo.h: Likewise.
8352 * sysdeps/sparc/stackinfo.h: Likewise.
8353 * sysdeps/x86_64/stackinfo.h: Likewise.
8354 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8355 PF_X for powerpc64. Retain PF_X for powerpc32.
8356
8357 2010-12-19 Ulrich Drepper <drepper@gmail.com>
8358
8359 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8360 accurately.
8361 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8362 GETDENTS_64BIT_ALIGNED.
8363
8364 2010-12-14 Ulrich Drepper <dreper@gmail.com>
8365
8366 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8367
8368 2010-12-10 Andreas Schwab <schwab@redhat.com>
8369
8370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8371 _GNU_SOURCE.
8372
8373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8374 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8375 Remove __restrict.
8376 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8377 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8378
8379 2010-12-09 Ulrich Drepper <drepper@gmail.com>
8380
8381 [BZ #11655]
8382 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8383 are initialized.
8384
8385 2010-12-09 Jakub Jelinek <jakub@redhat.com>
8386
8387 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8388
8389 2010-12-03 Ulrich Drepper <drepper@gmail.com>
8390
8391 * po/it.po: Update from translation team.
8392
8393 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8396 unused codes.
8397
8398 2010-11-30 Ulrich Drepper <drepper@gmail.com>
8399
8400 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8401
8402 2010-11-24 Andreas Schwab <schwab@redhat.com>
8403
8404 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8405 specially.
8406 (gaih_getanswer_slice): Likewise.
8407
8408 2010-10-20 Jakub Jelinek <jakub@redhat.com>
8409
8410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8411
8412 2010-05-31 Petr Baudis <pasky@suse.cz>
8413
8414 [BZ #11149]
8415 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8416 silently even in the chroot mode.
8417
8418 2010-11-22 Ulrich Drepper <drepper@gmail.com>
8419
8420 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8421 last patch a bit. Pretty printing
8422
8423 2010-05-31 Petr Baudis <pasky@suse.cz>
8424
8425 [BZ #10085]
8426 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8427 initialization of skip_initgroups_dyn.
8428
8429 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8430
8431 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8433
8434 2010-11-16 Ulrich Drepper <drepper@gmail.com>
8435
8436 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8437
8438 2010-11-11 Andreas Schwab <schwab@redhat.com>
8439
8440 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8441 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8442 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8443 ($(objpfx)tst-fnmatch-mem): New rule.
8444 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8445 * posix/tst-fnmatch.c (main): Call mtrace.
8446
8447 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8448
8449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8450 Support Intel processor model 6 and model 0x2c.
8451
8452 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8453
8454 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8455 signed comparison.
8456
8457 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8458
8459 [BZ #12205]
8460 * string/test-strncasecmp.c (check_result): New function.
8461 (do_one_test): Use it.
8462 (check1): New function.
8463 (test_main): Use it.
8464 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8465 Support strcasecmp and strncasecmp.
8466
8467 2010-11-08 Ulrich Drepper <drepper@gmail.com>
8468
8469 [BZ #12194]
8470 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8472
8473 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8474
8475 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8476 IFUNC support.
8477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8478 memset-x86-64.
8479 * sysdeps/x86_64/multiarch/bzero.S: New file.
8480 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8481 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8482 * sysdeps/x86_64/multiarch/memset.S: New file.
8483 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8485 Set bit_Prefer_SSE_for_memop for Intel processors.
8486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8487 Define.
8488 (index_Prefer_SSE_for_memop): Define.
8489 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8490
8491 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
8492
8493 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8495
8496 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8497
8498 [BZ #12191]
8499 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8500 (__x86_64_raw_data_cache_size_half): Likewise.
8501 (__x86_64_raw_shared_cache_size): Likewise.
8502 (__x86_64_raw_shared_cache_size_half): Likewise.
8503
8504 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8505 (__x86_64_raw_data_cache_size_half): Likewise.
8506 (__x86_64_raw_shared_cache_size): Likewise.
8507 (__x86_64_raw_shared_cache_size_half): Likewise.
8508 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8509 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8510 and __x86_64_raw_shared_cache_size_half. Round
8511 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8512 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8513 to multiple of 256 bytes.
8514
8515 2010-11-03 Ulrich Drepper <drepper@gmail.com>
8516
8517 [BZ #12167]
8518 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8519 of inacessible symlinks. Verify result of symlink before returning it.
8520 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8521 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8522
8523 2010-10-28 Erich Ritz <erichritz@gmail.com>
8524
8525 * math/math.h (isinf): Fix typo in comment.
8526
8527 2010-11-01 Ulrich Drepper <drepper@gmail.com>
8528
8529 * po/da.po: Update from translation team.
8530
8531 2010-10-26 Ulrich Drepper <drepper@gmail.com>
8532
8533 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8534 is added to the list.
8535
8536 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8537 Ulrich Drepper <drepper@gmail.com>
8538
8539 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8540 the global list here. Move code to...
8541 (_dl_add_to_namespace_list): ...here. New function.
8542 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8543 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8544 * elf/dl-load.c (lose): Don't remove the element from the list.
8545 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8546 (_dl_map_object): Likewise.
8547
8548 2010-10-25 Ulrich Drepper <drepper@gmail.com>
8549
8550 [BZ #12159]
8551 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8552 into all bytes of SSE register.
8553 Patch by Richard Li <richardpku@gmail.com>.
8554
8555 2010-10-24 Ulrich Drepper <drepper@gmail.com>
8556
8557 [BZ #12140]
8558 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8559 perturbing.
8560
8561 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8562
8563 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8564 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8565 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8568 submachine.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8570
8571 2010-10-22 Andreas Schwab <schwab@redhat.com>
8572
8573 * include/dlfcn.h (__RTLD_SECURE): Define.
8574 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8575 mode & __RTLD_SECURE instead.
8576 (open_path): Rename preloaded parameter to secure.
8577 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8578 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8579 * elf/dl-deps.c (openaux): Likewise.
8580 * elf/rtld.c (struct map_args): Remove is_preloaded.
8581 (map_doit): Don't use it.
8582 (dl_main): Likewise.
8583 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8584 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8585
8586 2010-09-09 Andreas Schwab <schwab@redhat.com>
8587
8588 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8589 (sysd-rules-targets): Remove duplicates.
8590 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8591 rtld-%.$o dependency.
8592
8593 2010-10-18 Andreas Schwab <schwab@redhat.com>
8594
8595 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8596 _dl_map_object do it.
8597
8598 2010-10-19 Ulrich Drepper <drepper@gmail.com>
8599
8600 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8601 fast fma builtins, define the macros in the C99 standard.
8602 (FP_FAST_FMAF): Likewise.
8603 (FP_FAST_FMAL): Likewise.
8604 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8605
8606 * bits/mathdef.h: Update copyright year.
8607 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8608
8609 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8610
8611 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8612 builtins, define the macros in the C99 standard.
8613 (FP_FAST_FMAF): Likewise.
8614 (FP_FAST_FMAL): Likewise.
8615 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8616 multiply/add.
8617 (FP_FAST_FMAF): Likewise.
8618
8619 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8620
8621 [BZ #3268]
8622 * math/libm-test.inc (fma_test): Some new testcases.
8623 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8625 y and infinite z. Do multiplication by C already in long double.
8626 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8628 y and infinite z. Do bitwise or of inexact bit into u.d.
8629 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8630 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8631 * sysdeps/i386/fpu/s_fma.S: Removed.
8632 * sysdeps/i386/fpu/s_fmal.S: Removed.
8633
8634 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8635
8636 [BZ #3268]
8637 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8639 computation is not scheduled after fetestexcept. Fix value
8640 of minimum denormal long double.
8641
8642 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8643
8644 [BZ #3268]
8645 * math/libm-test.inc (fma_test): Add some more tests.
8646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8647 correctly.
8648
8649 2010-10-15 Andreas Schwab <schwab@redhat.com>
8650
8651 * scripts/data/localplt-s390-linux-gnu.data: New file.
8652 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8653
8654 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8655
8656 [BZ #3268]
8657 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8658 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8659 instead of dbl-64.
8660 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8661 inlines.
8662 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8664 if one of x and y is very large and the other is subnormal.
8665 * sysdeps/s390/fpu/s_fmaf.c: New file.
8666 * sysdeps/s390/fpu/s_fma.c: New file.
8667 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8668 * sysdeps/powerpc/fpu/s_fma.S: New file.
8669 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8670 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8671 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8672
8673 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8674
8675 [BZ #3268]
8676 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8677 fma tests.
8678 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8679 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8680 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8681 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8682 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8683 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8685
8686 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8687
8688 [BZ #12078]
8689 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8690 * posix/bug-regex31.input: Add test case.
8691
8692 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8693
8694 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8695 * posix/bug-regex31.input: New file.
8696
8697 [BZ #12078]
8698 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8699 (parse_sub_exp): Fix last change, use postorder.
8700
8701 * posix/bug-regex31.c: New file.
8702 * posix/Makefile: Add rules to build and run bug-regex31.
8703
8704 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8705
8706 [BZ #12078]
8707 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8708
8709 [BZ #12108]
8710 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8711 to have entries in sys_siglist.
8712
8713 [BZ #12093]
8714 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8715 be NULL.
8716
8717 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8718
8719 [BZ #3268]
8720 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8721 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8722 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8723 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8725 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8726 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8727 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8728 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8729 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8730 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8731 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8732 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8733 * math/ftestexcept.c (fetestexcept): Likewise.
8734 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8735 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8736 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8737 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8738 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8739 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8741
8742 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8743
8744 [BZ #12107]
8745 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8746 newline.
8747
8748 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8749
8750 * string/bug-strstr1.c: New file.
8751 * string/Makefile: Add rules to build and run bug-strstr1.
8752
8753 2010-10-05 Eric Blake <eblake@redhat.com>
8754
8755 [BZ #12092]
8756 * string/str-two-way.h (two_way_long_needle): Always clear memory
8757 when skipping input due to the shift table.
8758
8759 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8760
8761 [BZ #12005]
8762 * malloc/mcheck.c: Handle large requests.
8763
8764 [BZ #12077]
8765 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8766 for strncmp and strncasecmp.
8767 * string/stratcliff.c: Add tests for strcmp and strncmp.
8768 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8769
8770 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8771
8772 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8773 __set_fpscr.
8774
8775 2010-09-30 Andreas Jaeger <aj@suse.de>
8776
8777 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8778 (CGROUP_SUPER_MAGIC): Define.
8779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8780 Handle btrfs and cgroup file systems.
8781 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8782 Likewise.
8783
8784 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8785
8786 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8787 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8788
8789 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8790
8791 [BZ #12067]
8792 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8793 trying to locate the ELF header.
8794
8795 2010-09-27 Andreas Schwab <schwab@redhat.com>
8796
8797 [BZ #11611]
8798 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8799 Mask out sign-bit copies when constructing f_fsid.
8800
8801 2010-09-24 Petr Baudis <pasky@suse.cz>
8802
8803 * debug/stack_chk_fail_local.c: Add missing licence exception.
8804 * debug/warning-nop.c: Likewise.
8805
8806 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8807
8808 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8809 implementing getdents64 using getdents syscall, set d_type if
8810 __ASSUME_GETDENTS32_D_TYPE.
8811
8812 2010-09-16 Andreas Schwab <schwab@redhat.com>
8813
8814 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8815 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8816
8817 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8818
8819 [BZ #12037]
8820 * posix/unistd.h: Undo change of feature selection for ftruncate from
8821 2010-01-11.
8822
8823 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8824
8825 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8826 detection.
8827
8828 2010-09-20 Andreas Schwab <schwab@redhat.com>
8829
8830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8831 fanotify_mark.
8832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8833
8834 2010-09-14 Andreas Schwab <schwab@redhat.com>
8835
8836 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8837 variables after CHECK_SP call.
8838 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8839
8840 2010-09-13 Andreas Schwab <schwab@redhat.com>
8841 Ulrich Drepper <drepper@redhat.com>
8842
8843 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8844 re-relocationg ld.so.
8845 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8846 _dl_init_paths call.
8847 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8848 here anymore.
8849
8850 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8851
8852 * resolv/res_init.c (__res_vinit): Count the default server we added.
8853
8854 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8855 Ulrich Drepper <drepper@redhat.com>
8856
8857 [BZ #11968]
8858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8859 (____longjmp_chk): Use %ebx for saving value across system call.
8860 Add unwind info.
8861
8862 2010-09-06 Andreas Schwab <schwab@redhat.com>
8863
8864 * manual/Makefile: Don't mix pattern rules with normal rules.
8865
8866 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8867
8868 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8869 operation.
8870 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8871 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8872 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8873 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8875 Likewise.
8876
8877 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8878
8879 [BZ #11979]
8880 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8881 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8882
8883 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8884
8885 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8886 * sysdeps/x86_64/addmul_1.S: Likewise.
8887 * sysdeps/x86_64/lshift.S: Likewise.
8888 * sysdeps/x86_64/mul_1.S: Likewise.
8889 * sysdeps/x86_64/rshift.S: Likewise.
8890 * sysdeps/x86_64/sub_n.S: Likewise.
8891 * sysdeps/x86_64/submul_1.S: Likewise.
8892
8893 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8894
8895 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8896 Define __sched_param instead of SCHED_* and sched_param when
8897 <bits/sched.h> is included with __need_schedparam defined.
8898 * bits/sched.h [__need_schedparam]
8899 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8900 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8901 (__defined_schedparam): Define to 1.
8902 (__sched_param): New structure, identical to sched_param.
8903 (__need_schedparam): Undefine.
8904
8905 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8906
8907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8908 (epoll_create1): Declare.
8909
8910 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8911
8912 2010-08-31 Andreas Schwab <schwab@redhat.com>
8913
8914 [BZ #7066]
8915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8916 shifting retval into place.
8917
8918 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8919
8920 * nis/rpcsvc/nis.h: Update copyright notice.
8921 * nis/rpcsvc/nis.x: Likewise.
8922 * nis/rpcsvc/nis_callback.h: Likewise.
8923 * nis/rpcsvc/nis_callback.x: Likewise.
8924 * nis/rpcsvc/nis_object.x: Likewise.
8925 * nis/rpcsvc/nis_tags.h: Likewise.
8926 * nis/rpcsvc/yp.h: Likewise.
8927 * nis/rpcsvc/yp.x: Likewise.
8928 * nis/rpcsvc/ypupd.h: Likewise.
8929 * nis/yp_xdr.c: Likewise.
8930 * nis/ypupdate_xdr.c: Likewise.
8931
8932 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8933 mainly the body of pmap_getport. Add parameters to specify timeouts.
8934 (pmap_getport): Use __libc_rpc_getport.
8935 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8936 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8937 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8938
8939 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8940
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8942 fanotify_mark.
8943
8944 2010-08-27 Roland McGrath <roland@redhat.com>
8945
8946 * sysdeps/i386/i686/multiarch/Makefile
8947 (CFLAGS-varshift.c): New variable.
8948
8949 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8950
8951 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8952 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8953
8954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8955
8956 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8957
8958 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8959
8960 * sysdeps/x86_64/strlen.S: Unroll the loop.
8961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8962 strlen-sse2 strlen-sse2-bsf.
8963 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8964 __strlen_no_bsf if bit_Slow_BSF is set.
8965 (__strlen_sse42): Removed.
8966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8967 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8968
8969 2010-08-25 Roland McGrath <roland@redhat.com>
8970
8971 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8972 * sysdeps/x86_64/multiarch/varshift.c: New file.
8973 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8974 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8975 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8976 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8977
8978 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8981 strlen-sse2 strlen-sse2-bsf.
8982 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8983 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8984 (__strlen_sse2): Removed.
8985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8988 bit_Slow_BSF for Atom.
8989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8990 (index_Slow_BSF): Define.
8991 (HAS_SLOW_BSF): Define.
8992
8993 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8994
8995 [BZ #10851]
8996 * resolv/res_init.c (__res_vinit): When no server address at all
8997 is given default to loopback.
8998
8999 2010-08-24 Roland McGrath <roland@redhat.com>
9000
9001 * configure.in: Remove config-name.h generation.
9002 * configure: Regenerated.
9003 * config-name.in: File removed.
9004 * scripts/config-uname.sh: New file.
9005 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9006 ($(objdir)config-name.h): New target.
9007
9008 * sunrpc/rpc_parse.h: Avoid nested comment.
9009
9010 2010-08-24 Richard Henderson <rth@redhat.com>
9011 Ulrich Drepper <drepper@redhat.com>
9012 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9016 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9017 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9018 _mm_alignr_epi8 with _mm_loadu_si128.
9019 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9020 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9021 (__m128i_shift_right): Removed.
9022 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9023 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9024 * sysdeps/x86_64/multiarch/varshift.h: New file.
9025 * sysdeps/x86_64/multiarch/varshift.S: New file.
9026
9027 2010-08-21 Mike Frysinger <vapier@gentoo.org>
9028
9029 * configure.in: Move assembler checks to before sysdep dir checking.
9030
9031 2010-08-20 Petr Baudis <pasky@suse.cz>
9032
9033 * LICENSES: Sync the sunrpc license.
9034
9035 2010-08-19 Ulrich Drepper <drepper@redhat.com>
9036
9037 * sunrpc/auth_des.c: Update copyright notice once again.
9038 * sunrpc/auth_none.c: Likewise.
9039 * sunrpc/auth_unix.c: Likewise.
9040 * sunrpc/authdes_prot.c: Likewise.
9041 * sunrpc/authuxprot.c: Likewise.
9042 * sunrpc/bindrsvprt.c: Likewise.
9043 * sunrpc/clnt_gen.c: Likewise.
9044 * sunrpc/clnt_perr.c: Likewise.
9045 * sunrpc/clnt_raw.c: Likewise.
9046 * sunrpc/clnt_simp.c: Likewise.
9047 * sunrpc/clnt_tcp.c: Likewise.
9048 * sunrpc/clnt_udp.c: Likewise.
9049 * sunrpc/clnt_unix.c: Likewise.
9050 * sunrpc/des_crypt.c: Likewise.
9051 * sunrpc/des_soft.c: Likewise.
9052 * sunrpc/get_myaddr.c: Likewise.
9053 * sunrpc/getrpcport.c: Likewise.
9054 * sunrpc/key_call.c: Likewise.
9055 * sunrpc/key_prot.c: Likewise.
9056 * sunrpc/openchild.c: Likewise.
9057 * sunrpc/pm_getmaps.c: Likewise.
9058 * sunrpc/pm_getport.c: Likewise.
9059 * sunrpc/pmap_clnt.c: Likewise.
9060 * sunrpc/pmap_prot.c: Likewise.
9061 * sunrpc/pmap_prot2.c: Likewise.
9062 * sunrpc/pmap_rmt.c: Likewise.
9063 * sunrpc/rpc/auth.h: Likewise.
9064 * sunrpc/rpc/auth_unix.h: Likewise.
9065 * sunrpc/rpc/clnt.h: Likewise.
9066 * sunrpc/rpc/des_crypt.h: Likewise.
9067 * sunrpc/rpc/key_prot.h: Likewise.
9068 * sunrpc/rpc/netdb.h: Likewise.
9069 * sunrpc/rpc/pmap_clnt.h: Likewise.
9070 * sunrpc/rpc/pmap_prot.h: Likewise.
9071 * sunrpc/rpc/pmap_rmt.h: Likewise.
9072 * sunrpc/rpc/rpc.h: Likewise.
9073 * sunrpc/rpc/rpc_des.h: Likewise.
9074 * sunrpc/rpc/rpc_msg.h: Likewise.
9075 * sunrpc/rpc/svc.h: Likewise.
9076 * sunrpc/rpc/svc_auth.h: Likewise.
9077 * sunrpc/rpc/types.h: Likewise.
9078 * sunrpc/rpc/xdr.h: Likewise.
9079 * sunrpc/rpc_clntout.c: Likewise.
9080 * sunrpc/rpc_cmsg.c: Likewise.
9081 * sunrpc/rpc_common.c: Likewise.
9082 * sunrpc/rpc_cout.c: Likewise.
9083 * sunrpc/rpc_dtable.c: Likewise.
9084 * sunrpc/rpc_hout.c: Likewise.
9085 * sunrpc/rpc_main.c: Likewise.
9086 * sunrpc/rpc_parse.c: Likewise.
9087 * sunrpc/rpc_parse.h: Likewise.
9088 * sunrpc/rpc_prot.c: Likewise.
9089 * sunrpc/rpc_sample.c: Likewise.
9090 * sunrpc/rpc_scan.c: Likewise.
9091 * sunrpc/rpc_scan.h: Likewise.
9092 * sunrpc/rpc_svcout.c: Likewise.
9093 * sunrpc/rpc_tblout.c: Likewise.
9094 * sunrpc/rpc_util.c: Likewise.
9095 * sunrpc/rpc_util.h: Likewise.
9096 * sunrpc/rpcinfo.c: Likewise.
9097 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9098 * sunrpc/rpcsvc/key_prot.x: Likewise.
9099 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9100 * sunrpc/rpcsvc/mount.x: Likewise.
9101 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9102 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9103 * sunrpc/rpcsvc/rex.x: Likewise.
9104 * sunrpc/rpcsvc/rstat.x: Likewise.
9105 * sunrpc/rpcsvc/rusers.x: Likewise.
9106 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9107 * sunrpc/rpcsvc/spray.x: Likewise.
9108 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9109 * sunrpc/rtime.c: Likewise.
9110 * sunrpc/svc.c: Likewise.
9111 * sunrpc/svc_auth.c: Likewise.
9112 * sunrpc/svc_authux.c: Likewise.
9113 * sunrpc/svc_raw.c: Likewise.
9114 * sunrpc/svc_run.c: Likewise.
9115 * sunrpc/svc_simple.c: Likewise.
9116 * sunrpc/svc_tcp.c: Likewise.
9117 * sunrpc/svc_udp.c: Likewise.
9118 * sunrpc/svc_unix.c: Likewise.
9119 * sunrpc/svcauth_des.c: Likewise.
9120 * sunrpc/xcrypt.c: Likewise.
9121 * sunrpc/xdr.c: Likewise.
9122 * sunrpc/xdr_array.c: Likewise.
9123 * sunrpc/xdr_float.c: Likewise.
9124 * sunrpc/xdr_mem.c: Likewise.
9125 * sunrpc/xdr_rec.c: Likewise.
9126 * sunrpc/xdr_ref.c: Likewise.
9127 * sunrpc/xdr_sizeof.c: Likewise.
9128 * sunrpc/xdr_stdio.c: Likewise.
9129
9130 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9131 handling.
9132
9133 2010-08-19 Andreas Schwab <schwab@redhat.com>
9134
9135 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9136
9137 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
9138
9139 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9141 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9142 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9144 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9145 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9146 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9147 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9148 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9149 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9151 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9152 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9153
9154 2010-07-26 Anton Blanchard <anton@samba.org>
9155
9156 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9157 * malloc/arena.c (heap_trim): Likewise.
9158
9159 2010-08-16 Ulrich Drepper <drepper@redhat.com>
9160
9161 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9162 here. Not...
9163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9164 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9165
9166 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9167
9168 * sysdeps/i386/elf/Makefile: New file.
9169
9170 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9171
9172 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9173 from fanotify_init.
9174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9176
9177 2010-08-15 Ulrich Drepper <drepper@redhat.com>
9178
9179 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9180 of strncasecmp_l.
9181 * sysdeps/multiarch/strcmp.S: Likewise.
9182
9183 2010-08-14 Ulrich Drepper <drepper@redhat.com>
9184
9185 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9186 strncase_l-nonascii.
9187 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9188 Add strncase_l-ssse3.
9189 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9190 * sysdeps/x86_64/strcmp.S: Likewise.
9191 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9192 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9193 * sysdeps/x86_64/strncase.S: New file.
9194 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9195 * sysdeps/x86_64/strncase_l.S: New file.
9196 * string/Makefile (strop-tests): Add strncasecmp.
9197 * string/test-strncasecmp.c: New file.
9198
9199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9200 warning.
9201
9202 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9203 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9204
9205 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9206
9207 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9208
9209 2010-08-12 Ulrich Drepper <drepper@redhat.com>
9210
9211 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9214
9215 2010-05-01 Alan Modra <amodra@gmail.com>
9216
9217 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9218 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9219 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9220 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9221 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9222 tidying. Don't tail-call __sigjmp_save for static lib.
9223 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9224 save location.
9225 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9226 (CALL_MCOUNT): Add eh info, and nop after bl.
9227 (TAIL_CALL_SYSCALL_ERROR): New macro.
9228 (PSEUDO_RET): Use it.
9229 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9230 Correct save location of integer regs and cr.
9231 (_dl_profile_resolve): Correct cr save location. Delete nops
9232 after bl when SHARED. Reduce cfi size a little by better
9233 placement of cfi directives.
9234 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9235 make a stack frame. Instead use parm save area as a temp.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9237 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9239 Don't make a stack frame for parent, use parm save area.
9240 Increase child stack frame to 112 bytes. Don't save unused reg,
9241 and adjust reg usage. Set up cfi on error recovery and
9242 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9244 (__makecontext): Add dummy nop after jump to exit.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9246 Use correct parm save area and cr save, reduce stack frame.
9247 Correct cfi for possible PSEUDO_RET frame setup.
9248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9249 Branch to local label emitted by PSEUDO_RET rather than
9250 __syscall_error.
9251
9252 2010-08-12 Andreas Schwab <schwab@redhat.com>
9253
9254 [BZ #11904]
9255 * locale/programs/locale.c (print_assignment): New function.
9256 (show_locale_vars): Use it.
9257
9258 2010-08-11 Ulrich Drepper <drepper@redhat.com>
9259
9260 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9261 field.
9262 (struct statfs64): Likewise.
9263 (_STATFS_F_FLAGS): Define.
9264 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9266 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9267 (ST_VALID): Define locally.
9268 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9269 __statvfs_getflags, use the provided value.
9270 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9271 __ASSUME_STATFS_F_FLAGS.
9272
9273 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9274
9275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9276 Add sys/fanotify.h.
9277 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9278 fanotify_mask for GLIBC_2.13.
9279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9280 fanotify_init and fanotify_mark.
9281 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9282 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9283
9284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9285 Add prlimit.
9286 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9287 prlimit64 for GLIBC_2.13.
9288 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9289 prlimit64.
9290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9291 syscall.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9294 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9297 add prlimit alias.
9298 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9299
9300 [BZ #11903]
9301 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9302 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9303
9304 * nss/Makefile: Add rules to build and run tst-nss-test1.
9305 * shlib-versions: Add entry for libnss_test1.
9306 * nss/nss_test1.c: New file.
9307 * nss/tst-nss-test1.c: New file.
9308
9309 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9310 (__nss_configure_lookup): Set appropriate entry in
9311 __nss_configure_lookup to true.
9312 * nss/nsswitch.h: Define enum with indeces of databases in
9313 databases and __nss_database_custom arrays. Declare
9314 __nss_database_custom.
9315 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9316 to avoid using nscd when custom rules are installed.
9317 * nss/getXXbyYY_r.c: Likewise.
9318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9319
9320 * nss/nss_files/files-parse.c: Whitespace fixes.
9321
9322 2010-08-09 Ulrich Drepper <drepper@redhat.com>
9323
9324 [BZ #11883]
9325 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9326 * posix/fnmatch_loop.c: Likewise.
9327
9328 2010-07-17 Andi Kleen <ak@linux.intel.com>
9329
9330 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9331 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9332 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9333 * Versions.def [GLIBC_2.13]: Add.
9334
9335 2010-08-06 Ulrich Drepper <drepper@redhat.com>
9336
9337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9338 Also fail if tpwd after pwuid call is NULL.
9339
9340 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9341
9342 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9343 when converting to ms.
9344
9345 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9346
9347 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9348 EOPNOTSUPP errors with ENOTTY.
9349 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9350 EOPNOTSUPP errors with ENOTTY.
9351
9352 2010-07-31 Ulrich Drepper <drepper@redhat.com>
9353
9354 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9355 Add strcasecmp_l-ssse3.
9356 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9357 strcasecmp.
9358 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9360 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9361
9362 2010-07-30 Ulrich Drepper <drepper@redhat.com>
9363
9364 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9365
9366 * string/Makefile (strop-tests): Add strcasecmp.
9367 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9368 strcasecmp_l-nonascii.
9369 (gen-as-const-headers): Add locale-defines.sym.
9370 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9371 * sysdeps/x86_64/strcasecmp.S: New file.
9372 * sysdeps/x86_64/strcasecmp_l.S: New file.
9373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9374 * sysdeps/x86_64/locale-defines.sym: New file.
9375 * string/test-strcasecmp.c: New file.
9376
9377 * string/test-strcasestr.c: Test both ends of the range of characters.
9378 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9379
9380 2010-07-29 Roland McGrath <roland@redhat.com>
9381
9382 [BZ #11856]
9383 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9384
9385 2010-07-27 Ulrich Drepper <drepper@redhat.com>
9386
9387 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9388 for ld.so.
9389
9390 2010-07-27 Andreas Schwab <schwab@redhat.com>
9391
9392 * manual/memory.texi (Malloc Tunable Parameters): Document
9393 M_PERTURB.
9394
9395 2010-07-26 Roland McGrath <roland@redhat.com>
9396
9397 [BZ #11840]
9398 * configure.in (-fgnu89-inline check): Set and substitute
9399 gnu89_inline, not libc_cv_gnu89_inline.
9400 * configure: Regenerated.
9401 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9402
9403 2010-07-26 Ulrich Drepper <drepper@redhat.com>
9404
9405 * string/test-strnlen.c: New file.
9406 * string/Makefile (strop-tests): Add strnlen.
9407 * string/tester.c (test_strnlen): Add a few more test cases.
9408 * string/tst-strlen.c: Better error reporting.
9409
9410 * sysdeps/x86_64/strnlen.S: New file.
9411
9412 2010-07-24 Ulrich Drepper <drepper@redhat.com>
9413
9414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9415 lower-latency instructions.
9416
9417 2010-07-23 Ulrich Drepper <drepper@redhat.com>
9418
9419 * string/test-strcasestr.c: New file.
9420 * string/test-strstr.c: New file.
9421 * string/Makefile (strop-tests): Add strstr and strcasestr.
9422 * string/str-two-way.h: Don't undefine MAX.
9423 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9424
9425 2010-07-21 Andreas Schwab <schwab@redhat.com>
9426
9427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9428 strcasestr-nonascii.
9429 (CFLAGS-strcasestr-nonascii.c): Define.
9430 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9432 Remove unused attribute.
9433
9434 2010-07-20 Roland McGrath <roland@redhat.com>
9435
9436 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9437 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9438 ld.so.cache was broken. With it, there is no way to disable dsocaps
9439 like LD_HWCAP_MASK can disable hwcaps.
9440
9441 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9442
9443 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9444
9445 2010-07-16 Ulrich Drepper <drepper@redhat.com>
9446
9447 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9448 call in strcasestr.
9449 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9450 __strcasestr_sse42_nonascii.
9451 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9452 strcasestr-nonascii.c.
9453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9454
9455 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
9456
9457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9461
9462 2010-07-09 Ulrich Drepper <drepper@redhat.com>
9463
9464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9465 fcntl.
9466
9467 2010-07-06 Andreas Schwab <schwab@redhat.com>
9468
9469 [BZ #11577]
9470 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9471 dl_signal_cerror.
9472
9473 2010-07-06 Ulrich Drepper <drepper@redhat.com>
9474
9475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9476 _PC_PIPE_BUF using F_GETPIPE_SZ.
9477
9478 2010-07-05 Roland McGrath <roland@redhat.com>
9479
9480 * manual/arith.texi (Rounding Functions): Fix rint description
9481 implicit in round description.
9482
9483 2010-07-02 Ulrich Drepper <drepper@redhat.com>
9484
9485 * elf/Makefile: Fix linking for a few tests to make recent linker
9486 happy.
9487
9488 2010-06-30 Andreas Schwab <schwab@redhat.com>
9489
9490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9491 $(common-objpfx)libc_nonshared.a.
9492
9493 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
9494
9495 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9496 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9497 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9498 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9499 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9500 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9501 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9502 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9517 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9518 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9519 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9520 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9521 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9522 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9523 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9524 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9525 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9526 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9527 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9528 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9543
9544 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9547 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9548 * string/memmove.c (memmove): Renamed to ...
9549 (MEMMOVE): ...this. Default to memmove.
9550 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9551 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9552 (END_CHK): Define.
9553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9554 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9555 mempcpy-ssse3-back memmove-ssse3-back.
9556 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9557 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9559 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9560 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9561 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9562 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9563 * sysdeps/x86_64/multiarch/memmove.c: New file.
9564 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9565 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9566 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9567 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9568 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9570 Define.
9571 (index_Fast_Copy_Backward): Define.
9572 (HAS_ARCH_FEATURE): Define.
9573 (HAS_FAST_REP_STRING): Define.
9574 (HAS_FAST_COPY_BACKWARD): Define.
9575
9576 2010-06-21 Andreas Schwab <schwab@redhat.com>
9577
9578 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9579 Restore proper fallback handling.
9580
9581 2010-06-19 Ulrich Drepper <drepper@redhat.com>
9582
9583 [BZ #11701]
9584 * posix/group_member.c (__group_member): Correct checking loop.
9585
9586 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9587 OOM in getpwuid_r correctly. Return error number when the caller
9588 should return, otherwise -1.
9589 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9590 call returning > 0 value.
9591 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9592
9593 2010-06-07 Andreas Schwab <schwab@redhat.com>
9594
9595 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9596 libc_nonshared.a from targets in modules-names.
9597
9598 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9599
9600 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9601 requires it.
9602
9603 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9604
9605 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9609
9610 2010-06-02 Andreas Schwab <schwab@redhat.com>
9611
9612 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9613
9614 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9615
9616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9617 and F_GETPIPE_SZ.
9618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9624
9625 2010-06-14 Roland McGrath <roland@redhat.com>
9626
9627 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9628
9629 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9630
9631 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9632 __REDIRECT followed by __THROW.
9633 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9634 * posix/getopt.h (getopt): Likewise.
9635
9636 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9637
9638 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9639 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9640 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9641 in AT_FLAGS.
9642 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9643 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9644
9645 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9646
9647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9648
9649 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 [BZ #11640]
9652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9653 Properly check family and model.
9654
9655 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9656
9657 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9658
9659 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9660
9661 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9662
9663 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9664
9665 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9666 symbol reference.
9667
9668 2010-05-19 Andreas Schwab <schwab@redhat.com>
9669
9670 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9671 symbol reference.
9672
9673 2010-05-21 Andreas Schwab <schwab@redhat.com>
9674
9675 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9676 and internal_recvmmsg.
9677 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9678 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9679 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9680 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9681
9682 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9683 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9684 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9685
9686 2010-05-20 Andreas Schwab <schwab@redhat.com>
9687
9688 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9689
9690 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9691
9692 POWER7 optimizations.
9693 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9694 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9695
9696 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9697
9698 * version.h: Update for 2.13 development version.
9699
9700 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9701
9702 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9703 exceptions. Return 0.
9704
9705 2010-05-07 Roland McGrath <roland@redhat.com>
9706
9707 * elf/ldconfig.c (main): Add a const.
9708
9709 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9710
9711 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9712 (args_options): Add no-idn option.
9713 (ahosts_keys_int): Add idn_flags to ai_flags.
9714 (parse_option): Handle 'i' option to clear idn_flags.
9715
9716 * malloc/malloc.c (_int_free): Possible race in the most recently
9717 added check. Only act on the data if no current modification
9718 happened.
9719
9720 See ChangeLog.17 for earlier changes.