]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add 13566 to list of bugs fixed in NEWS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
547b5e30
PE
12012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2
c524201a
PE
3 [BZ #13673]
4 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6 * sysdeps/i386/crti.S: Likewise.
7 * sysdeps/i386/crtn.S: Likewise.
8 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12 * sysdeps/sh/crti.S: Likewise.
13 * sysdeps/sh/crtn.S: Likewise.
14 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15
7b6235f2
PE
16 [BZ #13673]
17 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18 with URL.
19 * locale/programs/locfile-kw.gperf: Likewise.
20 * locale/programs/charmap-kw.h: Regenerated.
21 * locale/programs/locfile-kw.h: Likewise.
22
547b5e30
PE
23 [BZ #13673]
24 * intl/plural.y: Replace FSF snail mail address with URL.
25 * intl/plural.c: Regenerated.
26
5f0a5dae
RH
272012-03-09 Richard Henderson <rth@twiddle.net>
28
29 * include/math_private.h: Remove file.
30 * math/math_private.h: Move file ...
31 * sysdeps/generic/math_private.h: ... here.
32
b8c03620
RH
33 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36
4e234f5d 37 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38 and <math_private.h>.
39 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
87 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
90 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
91 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
92 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
93 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
94 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
95 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
96 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
97 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
98 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
99 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
100 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
102 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
103 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
104 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
105 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
106 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
107 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
113 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
117 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
118 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
120 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
122 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
126 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
127 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
128 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
129 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
130 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
131 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
132 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
133 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
134 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
139 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
140 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
141 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
142 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
144 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
145 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
146 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
147 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
148 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
149 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
150 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
151 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
152 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
153 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
154 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
155 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
156 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
157 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
158 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
159 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
160 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
161 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
162 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
166 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
167 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
168 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
169 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
170 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
172 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
173 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
174 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
175 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
177 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
178 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
180 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
181 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
182 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
183 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
184 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
185 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
186 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
187 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
188 * sysdeps/ieee754/k_standard.c: Likewise.
189 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
190 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
191 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
192 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
193 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
201 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
202 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
203 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
204 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
206 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
207 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
208 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
209 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
210 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
214 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
220 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
221 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
222 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
223 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
224 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
226 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
227 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
228 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
230 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
231 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
233 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
234 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
236 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
237 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
238 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
239 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
240 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
242 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
245 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
246 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
248 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
249 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
250 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
266 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
268 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
269 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
280 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
282 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
296 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
297 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
299 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
303 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
305 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
306 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
310 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
311 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
319 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
320 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
321 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
322 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
325 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
326 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
327 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
328 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
329 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
330 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
331 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
332 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
333 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
334 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
338 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
339 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
340 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
343 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
344 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
346 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
347 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
348 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
349 * sysdeps/ieee754/s_lib_version.c: Likewise.
350 * sysdeps/ieee754/s_matherr.c: Likewise.
351 * sysdeps/ieee754/s_signgam.c: Likewise.
352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
354 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
355 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
356 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
357 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
358 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
359 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
360 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
361 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
362 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
363 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
364 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
365 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
366 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
367 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 373
1991fa03
JM
3742012-03-09 Joseph Myers <joseph@codesourcery.com>
375
376 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
377 * sunrpc/rpc_main.c: Likewise.
378 * sunrpc/rpc_svcout.c: Likewise.
379
60d6f5a6
DM
3802012-03-09 David S. Miller <davem@davemloft.net>
381
382 * include/math_private.h: New file.
383
4962050e
JM
3842012-03-09 Joseph Myers <joseph@codesourcery.com>
385
02a6f887
JM
386 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
387 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
388 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
389 from <bits/socket_type.h>.
390 (enum __socket_type): Don't define here.
391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
393 bits/socket_type.h.
394
c6e013c1
JM
395 [BZ #13566]
396 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
397 checking __USE_GNU.
398
4962050e
JM
399 * Makerules ($(inst_includedir)/%.h): New rule.
400 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
401 (install-others): Remove variable setting.
402 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
403
38842f45
RH
4042012-03-08 Richard Henderson <rth@twiddle.net>
405
67bb6da6
RH
406 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
407 from macro to inline function; merge with the
408 !__LIBC_INTERNAL_MATH_INLINES version.
409 (__ieee754_sqrtf): Likewise.
410
15194b4b
RH
411 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
412 to inline function.
413 (__rintf, __floor, __floorf): Likewise.
414
64e21ede
RH
415 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
416 macro to inline function.
417 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
418
38842f45
RH
419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
420 not <math/math_private.h>.
421
c64bf5fe
DM
4222012-03-08 David S. Miller <davem@davemloft.net>
423
424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
425 copyright year.
426 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
427
82d86f28
TS
4282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
429
430 * resolv/gai_misc.c (handle_requests): Fix struct timespec
431 normalization.
432 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
433 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
434
aea5d727
UD
4352012-03-08 Ulrich Drepper <drepper@gmail.com>
436
437 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
438 be defined individually, they must be defined as a block. Define
439 S for printing a string instead of hidint the different by using a
440 macro for adding the 'l'.
441 * stdio-common/tst-fphex-wide.c: Adjust.
442
70bca0a3
MP
4432012-03-07 Marek Polacek <polacek@redhat.com>
444
445 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
446
65b81130
MP
4472012-03-08 Marek Polacek <polacek@redhat.com>
448
449 [BZ #13806]
450 * stdio-common/Makefile (tests): Add tst-fphex-wide.
451 * stdio-common/tst-fphex.c: Define a few macros to make the
452 test reusable. Use them.
453 * stdio-common/tst-fphex-wide.c: New file.
454
07037eeb
JM
4552012-03-08 Joseph Myers <joseph@codesourcery.com>
456
a7a93d50
JM
457 [BZ #6911]
458 * manual/macros.texi (gnusystems): New macro.
459 (nongnusystems): Likewise.
460 (gnulinuxhurdsystems): Likewise.
461 (gnuhurdsystems): Likewise..
462 (gnulinuxsystems): Likewise.
463 * manual/charset.texi: Use new macros or @theglibc{} to refer to
464 variants of the GNU system, not "GNU system".
465 * manual/conf.texi: Likewise.
466 * manual/errno.texi: Likewise. Update example of errno macro
467 expansion.
468 * manual/filesys.texi: Likewise.
469 (getumask): Document as specific to GNU/Hurd.
470 * manual/install.texi: Likewise. Reword some references to
471 GNU/Linux.
472 * manual/intro.texi: Likewise.
473 * manual/io.texi: Likewise.
474 (File Name Portability): Detail which constraints are inapplicable
475 to all GNU systems and which are only inapplicable to GNU/Hurd.
476 * manual/job.texi: Likewise.
477 * manual/llio.texi: Likewise.
478 (O_NOCTTY): Document as present on GNU/Linux.
479 * manual/maint.texi: Likewise.
480 * manual/memory.texi: Likewise.
481 * manual/pattern.texi: Likewise.
482 * manual/pipe.texi: Likewise.
483 * manual/process.texi: Likewise.
484 * manual/resource.texi: Likewise.
485 (RUSAGE_CHILDREN): Remove statement about specifying a particular
486 child on GNU/Hurd.
487 * manual/setjmp.texi: Likewise.
488 * manual/signal.texi: Likewise.
489 * manual/startup.texi: Likewise.
490 * manual/stdio.texi: Likewise.
491 * manual/terminal.texi: Likewise.
492 (ONLCR): Document as POSIX.
493 (OXTABS): Document availability on GNU/Linux as XTABS.
494 (ONOEOT): Document availability separately from other bits.
495 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
496 * manual/time.texi: Likewise.
497 * manual/users.texi: Likewise.
498 * INSTALL: Regenerated.
499 * sysdeps/gnu/errlist.c: Regenerated.
500
07037eeb
JM
501 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
502 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
503 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
504 puts.
505 * configure: Regenerated.
506
d1d3431a
JM
5072012-03-07 Joseph Myers <joseph@codesourcery.com>
508
af6a1e37
JM
509 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
510 default includes instead of AC_HEADER_CHECK.
511 * sysdeps/i386/configure: Regenerated.
512
d1d3431a
JM
513 [BZ #10716]
514 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
515 * math/s_cacoshf.c (__cacoshf): Likewise.
516 * math/s_cacoshl.c (__cacoshl): Likewise.
517 * math/s_casinh.c (__casinh): Set signs of result from argument.
518 * math/s_casinhf.c (__casinhf): Likewise.
519 * math/s_casinhl.c (__casinhl): Likewise.
520 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
521 (casinh_test): Add more tests.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
524
482ff4da
UD
5252012-03-07 Ulrich Drepper <drepper@gmail.com>
526
872fda05
UD
527 * po/zh_TW.po: Update from translation team.
528
a4300c7a
UD
529 * login/Makefile (distribute): Remove variable.
530 * catgets/Makefile: Likewise.
531 * mach/Makefile: Likewise.
532 * malloc/Makefile: Likewise.
533 * misc/Makefile: Likewise.
534 * iconv/Makefile: Likewise.
535 * nscd/Makefile: Likewise.
536 * hurd/Makefile: Likewise.
537 * manual/Makefile: Likewise.
538 * locale/Makefile: Likewise.
539 * intl/Makefile: Likewise.
540 * conform/Makefile: Likewise.
541 * nss/Makefile: Likewise.
542 * time/Makefile: Likewise.
543 * soft-fp/Makefile: Likewise.
544 * dirent/Makefile: Likewise.
545 * gmon/Makefile: Likewise.
546 * po/Makefile: Likewise.
547 * rt/Makefile: Likewise.
548 * socket/Makefile: Likewise.
549 * math/Makefile: Likewise.
550 * signal/Makefile: Likewise.
551 * debug/Makefile: Likewise.
552 * elf/Makefile: Likewise.
553 * timezone/Makefile: Likewise.
554 * stdlib/Makefile: Likewise.
555 * iconvdata/Makefile: Likewise.
556 * sunrpc/Makefile: Likewise.
557 * io/Makefile: Likewise.
558 * argp/Makefile: Likewise.
559 * inet/Makefile: Likewise.
560 * hesiod/Makefile: Likewise.
561 * grp/Makefile: Likewise.
562 * csu/Makefile: Likewise.
563 * wctype/Makefile: Likewise.
564 * crypt/Makefile: Likewise.
565 * libio/Makefile: Likewise.
566 * string/Makefile: Likewise.
567 * nis/Makefile: Likewise.
568 * resolv/Makefile: Likewise.
569 * stdio-common/Makefile: Likewise.
570 * wcsmbs/Makefile: Likewise.
571 * dlfcn/Makefile: Likewise.
572 * posix/Makefile: Likewise.
573
482ff4da
UD
574 * timezone/Makefile: Don't install timezone files, just the programs
575 and scripts.
576
f72ed77d
UD
5772012-03-06 Ulrich Drepper <drepper@gmail.com>
578
a000466f
UD
579 * nss/databases.def: Add missing gshadow entry.
580
f72ed77d
UD
581 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
582
a53b7a4e
MP
5832012-03-06 Marek Polacek <polacek@redhat.com>
584
585 [BZ #13726]
586 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
587 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
588 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
589 * stdio-common/tst-long-dbl-fphex.c: New file.
590
e9258400
DM
5912012-03-06 David S. Miller <davem@davemloft.net>
592
593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
594 (set_obp_int): New function.
595 (get_obp_int): New function.
596 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
598 Avoid unused variable warnings on 'val' and use builtin_expect.
599 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
600 __builtin_expect.
e9258400
DM
601 (INLINE_CLONE_SYSCALL): Likewise.
602
3bd2c723
DM
6032012-03-05 David S. Miller <davem@davemloft.net>
604
605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
606
bbb78d03
AS
6072012-03-05 Andreas Schwab <schwab@linux-m68k.org>
608
884c5db4
AS
609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
610
bbb78d03
AS
611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
612 only for |x| >= 40.
613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
614
1c9f702a 6152012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
616
617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
618 Replace gettimeofday with __vdso_gettimeofday.
619
7be16f82
RM
620 * sysdeps/unix/sysv/linux/x86_64/init-first.c
621 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
622 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
623
624 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
625 time with __vdso_time.
626
ed58a00f
JM
6272012-03-05 Joseph Myers <joseph@codesourcery.com>
628
629 * manual/lang.texi (size_t): Note types to which size_t may be
630 equivalent with the GNU C Library, but do not describe when
631 differences between them are significant.
632
30ee4ced
AJ
6332012-03-05 Andreas Jaeger <aj@suse.de>
634
635 * sysdeps/i386/fpu/libm-test-ulps: Update.
636
b7cd39e8
JM
6372012-03-05 Joseph Myers <joseph@codesourcery.com>
638
639 [BZ #3976]
640 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
641 (__ieee754_pow): Save and restore rounding mode and use
642 round-to-nearest for main computations.
643 * math/libm-test.inc (pow_test_tonearest): New function.
644 (pow_test_towardzero): Likewise.
645 (pow_test_downward): Likewise.
646 (pow_test_upward): Likewise.
647 (main): Call the new functions.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
650
651 [BZ #3976]
652 * math/libm-test.inc (cosh_test_tonearest): New function.
653 (cosh_test_towardzero): Likewise.
654 (cosh_test_downward): Likewise.
655 (cosh_test_upward): Likewise.
656 (sinh_test_tonearest): Likewise.
657 (sinh_test_towardzero): Likewise.
658 (sinh_test_downward): Likewise.
659 (sinh_test_upward): Likewise.
660 (main): Call the new functions.
661 * sysdeps/i386/fpu/libm-test-ulps: Update.
662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663
6c6a98c9
TV
6642012-03-05 Tom de Vries <tom@codesourcery.com>
665
666 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
667 default stack guard is set in last bytes.
668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
669
21bb2d2e 6702012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 671
21bb2d2e 672 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 673
21bb2d2e
AJ
674 [BZ #13656]
675 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
676 possibly allocate from heap instead of stack.
677 * stdio-common/bug-vfprintf-nargs.c: New file.
678 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 679
c6922934
AS
6802012-03-03 Andreas Schwab <schwab@linux-m68k.org>
681
682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
683
bc957d53
MP
6842012-03-03 Marek Polacek <polacek@redhat.com>
685
686 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
687 * math/math_private.h: Likewise.
688 * stdlib/tst-strtod.c: Likewise.
689 * sysdeps/i386/i486/bits/atomic.h: Likewise.
690 * sysdeps/x86_64/bits/atomic.h: Likewise.
691
6358490d
DM
6922012-03-02 David S. Miller <davem@davemloft.net>
693
694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
698 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
699 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
700 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
701 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
702
01ae168d
RM
7032012-03-02 Roland McGrath <roland@hack.frob.com>
704
d9a17c07
RM
705 [BZ #13792]
706 * manual/examples/README: New file, says the example source files
707 can be used under GPL>=2.
708 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
709 line containing just "*/".
710 * manual/examples/add.c: Add copyright header (GPL>=2).
711 * manual/examples/argp-ex1.c: Likewise.
712 * manual/examples/argp-ex2.c: Likewise.
713 * manual/examples/argp-ex3.c: Likewise.
714 * manual/examples/argp-ex4.c: Likewise.
715 * manual/examples/atexit.c: Likewise.
716 * manual/examples/db.c: Likewise.
717 * manual/examples/dir.c: Likewise.
718 * manual/examples/dir2.c: Likewise.
719 * manual/examples/execinfo.c: Likewise.
720 * manual/examples/filecli.c: Likewise.
721 * manual/examples/filesrv.c: Likewise.
722 * manual/examples/fmtmsgexpl.c: Likewise.
723 * manual/examples/genpass.c: Likewise.
724 * manual/examples/inetcli.c: Likewise.
725 * manual/examples/inetsrv.c: Likewise.
726 * manual/examples/isockad.c: Likewise.
727 * manual/examples/longopt.c: Likewise.
728 * manual/examples/memopen.c: Likewise.
729 * manual/examples/memstrm.c: Likewise.
730 * manual/examples/mkfsock.c: Likewise.
731 * manual/examples/mkisock.c: Likewise.
732 * manual/examples/mygetpass.c: Likewise.
733 * manual/examples/pipe.c: Likewise.
734 * manual/examples/popen.c: Likewise.
735 * manual/examples/rprintf.c: Likewise.
736 * manual/examples/search.c: Likewise.
737 * manual/examples/select.c: Likewise.
738 * manual/examples/setjmp.c: Likewise.
739 * manual/examples/sigh1.c: Likewise.
740 * manual/examples/sigusr.c: Likewise.
741 * manual/examples/stpcpy.c: Likewise.
742 * manual/examples/strdupa.c: Likewise.
743 * manual/examples/strftim.c: Likewise.
744 * manual/examples/strncat.c: Likewise.
745 * manual/examples/subopt.c: Likewise.
746 * manual/examples/swapcontext.c: Likewise.
747 * manual/examples/termios.c: Likewise.
748 * manual/examples/testopt.c: Likewise.
749 * manual/examples/testpass.c: Likewise.
750 * manual/examples/timeval_subtract.c: Likewise.
751
01ae168d
RM
752 [BZ #13792]
753 * manual/time.texi (Elapsed Time): Move timeval_subtract example
754 function to ...
755 * manual/timeval_subtract.c.texi: ... here, new file.
756
49efa33d
DM
7572012-03-02 David S. Miller <davem@davemloft.net>
758
759 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
760
28afd92d
JM
7612012-03-02 Joseph Myers <joseph@codesourcery.com>
762
804360ed
JM
763 [BZ #3976]
764 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
765 (__sin): Save and restore rounding mode and use round-to-nearest
766 for all computations.
767 (__cos): Save and restore rounding mode and use round-to-nearest
768 for all computations.
769 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
770 <fenv.h>.
771 (tan): Save and restore rounding mode and use round-to-nearest for
772 all computations.
773 * math/libm-test.inc (cos_test_tonearest): New function.
774 (cos_test_towardzero): Likewise.
775 (cos_test_downward): Likewise.
776 (cos_test_upward): Likewise.
777 (sin_test_tonearest): Likewise.
778 (sin_test_towardzero): Likewise.
779 (sin_test_downward): Likewise.
780 (sin_test_upward): Likewise.
781 (tan_test_tonearest): Likewise.
782 (tan_test_towardzero): Likewise.
783 (tan_test_downward): Likewise.
784 (tan_test_upward): Likewise.
785 (main): Call the new functions.
786 * sysdeps/i386/fpu/libm-test-ulps: Update.
787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
788
a6d06d7b
JM
789 [BZ #10135]
790 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
791 small n, then large n, before computing and testing k+n.
792 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
794 Likewise.
795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
796 Likewise.
797 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
798 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
805 * math/libm-test.inc (scalbn_test): Add more tests.
806 (scalbln_test): Likewise.
807
07e12bb3
JM
808 * manual/filesys.texi (mode_t): Describe constraints on size and
809 signedness, not exact equivalence to a particular type.
810 (ino_t): Likewise.
811 (ino64_t): Likewise.
812 (dev_t): Likewise.
813 (nlink_t): Likewise.
814 (blkcnt_t): Likewise.
815 (blkcnt64_t): Likewise.
816 * manual/llio.texi (off_t): Likewise.
817
28afd92d
JM
818 [BZ #3976]
819 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
820 (__ieee754_exp): Save and restore rounding mode and use
821 round-to-nearest for all computations.
822 * math/libm-test.inc (exp_test_tonearest): New function.
823 (exp_test_towardzero): Likewise.
824 (exp_test_downward): Likewise.
825 (exp_test_upward): Likewise.
826 (main): Call the new functions.
827 * sysdeps/i386/fpu/libm-test-ulps: Update.
828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
829
b1eeb65d
CD
8302012-03-01 Chris Demetriou <cgd@google.com>
831
832 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
833 have predictable order.
834
53362a4b
DM
8352012-03-01 David S. Miller <davem@davemloft.net>
836
3c969083
DM
837 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
838
759707de
DM
839 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
840 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
841 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
842 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
843
dfdb8ff2
DM
844 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
845 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
846 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
848 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
849 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
850 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
851 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
852 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
853
ead89f96
DM
854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
855
7f66bd07
DM
856 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
857 * sysdeps/sparc/fpu/libm-test-ulps: to here.
858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
859
53362a4b
DM
860 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
861 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
862 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
863 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
864 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
867 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
868 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
869 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
870 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
871 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
874 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
876 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
877 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
878 * sysdeps/sparc/elf/configure: Regenerated.
879
7b1902cb
JM
8802012-03-01 Joseph Myers <joseph@codesourcery.com>
881
bec039bc
JM
882 * configure.in (AS, LD): Require binutils 2.20 or later.
883 * configure: Regenerated.
884 * manual/install.texi (Tools for Compilation): Give binutils 2.20
885 as required minimum version.
886 * INSTALL: Regenerated.
887
7b1902cb
JM
888 [BZ #2541]
889 [BZ #4108]
890 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
891 before squaring exponent.
892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
893 bottom long double and 27 bits of top long double before squaring
894 exponent.
895 * math/libm-test.inc (erfc_test): Add more tests.
896 * sysdeps/i386/fpu/libm-test-ulps: Update.
897 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899
f775c276
KT
9002012-03-01 Kai Tietz <ktietz@redhat.com>
901
902 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
903 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
904 containing bit-fields.
905 * soft-fp/extended.h (_FP_UNION_E): Likewise.
906 * soft-fp/single.h (_FP_UNION_S): Likewise.
907 * soft-fp/double.h (_FP_UNION_D): Likewise.
908
5b8a4d4a
JM
9092012-02-29 Joseph Myers <joseph@codesourcery.com>
910
0bab47b6
JM
911 [BZ #13786]
912 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
913 not include ../strcmp.S.
914 [USE_AS_STRNCASECMP_L]: Likewise.
915 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
916 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
917 * sysdeps/i386/i686/multiarch/strncase_l-c.c
918 (__strncasecmp_l_ia32): Define as alias to
919 __strncasecmp_l_nonascii.
920
0fcad3e2
JM
921 [BZ #5794]
922 * math/libm-test.inc (expm1_test): Add test for bug 5794.
923 * sysdeps/i386/fpu/libm-test-ulps: Update.
924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925
5b8a4d4a
JM
926 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
928
8fdceb2e
JL
9292012-02-29 Jeff Law <law@redhat.com>
930
931 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
932 out of bounds read.
933
1f393a11
MP
9342012-02-29 Marek Polacek <polacek@redhat.com>
935
936 [BZ #13706]
937 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
938 * elf/Makefile: Add rules to run tst-unused-dep.out.
939
8847f037
DM
9402012-02-28 David S. Miller <davem@davemloft.net>
941
942 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
943 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
945 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
948
169d7f11
JM
9492012-02-29 Joseph Myers <joseph@codesourcery.com>
950
951 * math/libm-test.inc (llround_test): Move one test from
952 lround_test. Use TEST_f_L in moved test.
953 (lround_test): Move misplaced test to llround_test. Add testcase
954 from bug 2561.
955
39adf059
UD
9562012-02-28 Ulrich Drepper <drepper@gmail.com>
957
958 * sysdeps/x86_64/fpu/e_expf.S: New file.
959 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
960
71b5d1c5
SB
9612012-02-28 Stanislav Brabec <sbrabec@suse.cz>
962
963 [BZ #13637]
964 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
965 of remain_len that may cause incomplete multi-byte character and
966 false match.
967 * posix/bug-regex33.c: New file.
968 * posix/Makefile (tests): Add bug-regex33.
969
1f77f049
JM
9702012-02-28 Joseph Myers <joseph@codesourcery.com>
971
972 * manual/macros.texi: New file.
973 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
974 * manual/libc.texinfo: Include macros.texi.
975 * manual/creatute.texi: Likewise.
976 * manual/install.texi: Likewise.
977 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
978 @glibcadj{} in references to the GNU C Library.
979 * manual/charset.texi: Likewise.
980 * manual/conf.texi: Likewise.
981 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
982 when not using those macros.
983 * manual/creature.texi: Likewise.
984 * manual/crypt.texi: Likewise.
985 * manual/errno.texi: Likewise.
986 * manual/filesys.texi: Likewise.
987 * manual/header.texi: Likewise.
988 * manual/install.texi: Likewise.
989 * manual/intro.texi: Likewise.
990 * manual/io.texi: Likewise.
991 * manual/job.texi: Likewise.
992 * manual/lang.texi: Likewise.
993 * manual/libc.texiinfo: Likewise.
994 * manual/llio.texi: Likewise.
995 * manual/locale.texi: Likewise.
996 * manual/maint.texi: Likewise.
997 * manual/math.texi: Likewise.
998 * manual/memory.texi: Likewise.
999 * manual/message.texi: Likewise.
1000 * manual/nss.texi: Likewise.
1001 * manual/pattern.texi: Likewise.
1002 * manual/process.texi: Likewise.
1003 * manual/resource.texi: Likewise.
1004 * manual/search.texi: Likewise.
1005 * manual/setjmp.texi: Likewise.
1006 * manual/signal.texi: Likewise.
1007 * manual/socket.texi: Likewise.
1008 * manual/startup.texi: Likewise.
1009 * manual/stdio.texi: Likewise.
1010 * manual/string.texi: Likewise.
1011 * manual/sysinfo.texi: Likewise.
1012 * manual/syslog.texi: Likewise.
1013 * manual/terminal.texi: Likewise.
1014 * manual/time.texi: Likewise.
1015 * manual/users.texi: Likewise.
1016 * INSTALL: Regenerated.
1017 * NOTES: Regenerated.
d40c5d54 1018 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1019
450bf206
AS
10202012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1021
1022 * include/dirent.h: Include <dirstream.h> before
1023 <dirent/dirent.h>.
1024
741a235b
DM
10252012-02-28 David S. Miller <davem@davemloft.net>
1026
1027 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1028 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1029 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1030 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1031
d6b5aa58
DM
10322012-02-27 David S. Miller <davem@davemloft.net>
1033
1aff59a3
DM
1034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1036 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1037 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1038
d6b5aa58
DM
1039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1040 frame pointer instead of stack pointer relative arg slot.
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1044
433f48bf
CD
10452012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1046
1047 [BZ #3992]
1048 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1049
d674b76d
DM
10502012-02-27 David S. Miller <davem@davemloft.net>
1051
1052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1058 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1059 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1060
0e7727f7
JM
10612012-02-27 Joseph Myers <joseph@codesourcery.com>
1062
1063 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1064 later. Allow versions 5-9.
43be4ca2 1065 * configure: Regenerated.
0e7727f7
JM
1066 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1067 required minimum version and 4.6 as recommended version. Do not
1068 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1069 * INSTALL: Regenerated.
0e7727f7 1070
a78bc654
DM
10712012-02-27 David S. Miller <davem@davemloft.net>
1072
428d5830
DM
1073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1077 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1078 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1079 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1080 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1081
a78bc654
DM
1082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1083 manipulate bits before adding and subtracting TWO112[sx].
1084 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1085
4579f81c
RM
10862012-02-27 Roland McGrath <roland@hack.frob.com>
1087
36c8acb4
RM
1088 [BZ #13775]
1089 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1090 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1091 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1092 being in POSIX, because they are in 1003.1-2008.
1093
84ad622b
RM
1094 * rt/tst-aio.c: Include <fcntl.h>.
1095 * rt/tst-aio7.c: Likewise.
1096 * rt/tst-aio64.c: Likewise.
1097
4579f81c
RM
1098 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1099
abd923db
JM
11002012-02-27 Joseph Myers <joseph@codesourcery.com>
1101
1102 * manual/install.texi (--with-headers): Describe headers as
1103 interface headers, not private headers.
1104 (Specific advice for GNU/Linux systems): Describe use of headers
1105 from "make headers_install", not private headers from older
1106 kernels.
43be4ca2 1107 * INSTALL: Regenerated.
abd923db
JM
1108 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1109 Change to 2.6.19.
1110 * sysdeps/unix/sysv/linux/configure: Regenerated.
1111
6664049b
JM
1112 * manual/llio.texi (fclean): Remove documentation.
1113
bb8b6697
JM
1114 * manual/Makefile (libc-texi-generated): New variable. Include
1115 version.texi.
1116 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1117 $(libc-texi-generated), not duplicated list of files.
1118 (version.texi, stamp-version): New rules.
1119 (realclean): Remove $(libc-texi-generated), not individual files
1120 from that list. Do not remove dir-add.texinfo.
1121 * manual/libc.texinfo: Comment out uses of edition numbers and
1122 references to printed manual. Remove last-updated dates.
1123 (EDITION): Comment out.
1124 (ISBN): Likewise.
1125 (VERSION, UPDATED): Remove.
1126 (version.texi): Include.
1127
12e5c3b9
AS
11282012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1129
1130 * sysdeps/posix/spawni.c: Include <signal.h>.
1131 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1132 * sysdeps/pthread/aio_fsync.c: Likewise.
1133
4efeffc1 11342012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1135
ba63ba08
UD
1136 * conform/Makefile (tests): Run only when not cross-compiling and
1137 when fast-check is not defined.
1138
d94a4670
UD
1139 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1140 * conform/data/limits.h-data: Fixes for POSIX2008.
1141 * conform/run-conformtest.sh: Run all tests.
1142 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1143 headers.
1144 * include/bits/dlfcn.h: Likewise.
1145 * include/langinfo.h: Likewise.
1146 * include/monetary.h: Likewise.
1147 * include/sys/poll.h: Likewise.
1148
1149 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1150 for __USE_GNU.
1151 * posix/spawn.h: Define __need_sigset_t.
1152 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1153 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1154 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1155 to get sigevent_t only.
1156 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1157 only for __USE_GNU.
1158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1159 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1160 process_vm_writev only for __USE_GNU.
1161 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1162
1163 * conform/Makefile: For now ignore errors from run-conformtest.
1164 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1165 POSIX to avoid namespace pollution. Don't prepend headers.
1166 * conform/data/aio.h-data: Fixes for POSIX testing.
1167 * conform/data/fcntl.h-data: Likewise.
1168 * conform/data/glob.h-data: Likewise.
1169 * conform/data/grp.h-data: Likewise.
1170 * conform/data/pthread.h-data: Likewise.
1171 * conform/data/pwd.h-data: Likewise.
1172 * conform/data/signal.h-data: Likewise.
1173 * conform/data/spawn.h-data: Likewise.
1174 * conform/data/stdio.h-data: Likewise.
1175 * conform/data/stdlib.h-data: Likewise.
1176 * conform/data/stropts.h-data: Likewise.
1177 * conform/data/sys/mman.h-data: Likewise.
1178 * conform/data/sys/stat.h-data: Likewise.
1179 * conform/data/sys/types.h-data: Likewise.
1180 * conform/data/sys/wait.h-data: Likewise.
1181 * conform/data/time.h-data: Likewise.
1182 * conform/data/unistd.h-data: Likewise.
1183 * conform/data/utime.h-data: Likewise.
1184
1185 * io/sys/stat.h: fchmod was always in POSIX.
1186 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1187 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1188 * rt/aio.h: Define __need_timespec before including <time.h>.
1189 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1190 struct. Add forward declaration of pthread_attr_t and use it in
1191 sigevent.
1192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1194 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1195 always remove CLK_TCK definition.
1196
c20105c3
AS
11972012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1198
1199 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1200
7a270350
UD
12012012-02-25 Ulrich Drepper <drepper@gmail.com>
1202
31341567
UD
1203 * conform/run-conformtest.sh: New file.
1204 * conform/Makefile: Run run-conformtest for tests.
1205 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1206 support.
1207
1208 * conform/data/uchar.h-data: New file.
1209 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1210 * conform/data/arpa/inet.h-data: Likewise.
1211 * conform/data/assert.h-data: Likewise.
1212 * conform/data/complex.h-data: Likewise.
1213 * conform/data/cpio.h-data: Likewise.
1214 * conform/data/ctype.h-data: Likewise.
1215 * conform/data/dirent.h-data: Likewise.
1216 * conform/data/dlfcn.h-data: Likewise.
1217 * conform/data/errno.h-data: Likewise.
1218 * conform/data/fcntl.h-data: Likewise.
1219 * conform/data/float.h-data: Likewise.
1220 * conform/data/fmtmsg.h-data: Likewise.
1221 * conform/data/fnmatch.h-data: Likewise.
1222 * conform/data/ftw.h-data: Likewise.
1223 * conform/data/glob.h-data: Likewise.
1224 * conform/data/grp.h-data: Likewise.
1225 * conform/data/iconv.h-data: Likewise.
1226 * conform/data/inttypes.h-data: Likewise.
1227 * conform/data/langinfo.h-data: Likewise.
1228 * conform/data/libgen.h-data: Likewise.
1229 * conform/data/limits.h-data: Likewise.
1230 * conform/data/locale.h-data: Likewise.
1231 * conform/data/math.h-data: Likewise.
1232 * conform/data/monetary.h-data: Likewise.
1233 * conform/data/mqueue.h-data: Likewise.
1234 * conform/data/ndbm.h-data: Likewise.
1235 * conform/data/net/if.h-data: Likewise.
1236 * conform/data/netdb.h-data: Likewise.
1237 * conform/data/netinet/in.h-data: Likewise.
1238 * conform/data/nl_types.h-data: Likewise.
1239 * conform/data/poll.h-data: Likewise.
1240 * conform/data/pthread.h-data: Likewise.
1241 * conform/data/pwd.h-data: Likewise.
1242 * conform/data/regex.h-data: Likewise.
1243 * conform/data/sched.h-data: Likewise.
1244 * conform/data/search.h-data: Likewise.
1245 * conform/data/semaphore.h-data: Likewise.
1246 * conform/data/setjmp.h-data: Likewise.
1247 * conform/data/signal.h-data: Likewise.
1248 * conform/data/spawn.h-data: Likewise.
1249 * conform/data/stdarg.h-data: Likewise.
1250 * conform/data/stdio.h-data: Likewise.
1251 * conform/data/stdlib.h-data: Likewise.
1252 * conform/data/string.h-data: Likewise.
1253 * conform/data/strings.h-data: Likewise.
1254 * conform/data/stropts.h-data: Likewise.
1255 * conform/data/sys/ipc.h-data: Likewise.
1256 * conform/data/sys/mman.h-data: Likewise.
1257 * conform/data/sys/msg.h-data: Likewise.
1258 * conform/data/sys/resource.h-data: Likewise.
1259 * conform/data/sys/select.h-data: Likewise.
1260 * conform/data/sys/sem.h-data: Likewise.
1261 * conform/data/sys/shm.h-data: Likewise.
1262 * conform/data/sys/socket.h-data: Likewise.
1263 * conform/data/sys/stat.h-data: Likewise.
1264 * conform/data/sys/statvfs.h-data: Likewise.
1265 * conform/data/sys/time.h-data: Likewise.
1266 * conform/data/sys/timeb.h-data: Likewise.
1267 * conform/data/sys/times.h-data: Likewise.
1268 * conform/data/sys/types.h-data: Likewise.
1269 * conform/data/sys/uio.h-data: Likewise.
1270 * conform/data/sys/un.h-data: Likewise.
1271 * conform/data/sys/utsname.h-data: Likewise.
1272 * conform/data/sys/wait.h-data: Likewise.
1273 * conform/data/syslog.h-data: Likewise.
1274 * conform/data/tar.h-data: Likewise.
1275 * conform/data/termios.h-data: Likewise.
1276 * conform/data/utime.h-data: Likewise.
1277 * conform/data/utmpx.h-data: Likewise.
1278 * conform/data/varargs.h-data: Likewise.
1279 * conform/data/wchar.h-data: Likewise.
1280 * conform/data/wctype.h-data: Likewise.
1281 * conform/data/wordexp.h-data: Likewise.
1282
1283 * include/stropts.h: New file.
1284 * include/uchar.h: New file.
1285 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1286 * include/assert.h: Likewise.
1287 * include/ctype.h: Likewise.
1288 * include/dirent.h: Likewise.
1289 * include/dlfcn.h: Likewise.
1290 * include/fcntl.h: Likewise.
1291 * include/fnmatch.h: Likewise.
1292 * include/glob.h: Likewise.
1293 * include/grp.h: Likewise.
1294 * include/libio.h: Likewise.
1295 * include/locale.h: Likewise.
1296 * include/math.h: Likewise.
1297 * include/net/if.h: Likewise.
1298 * include/netdb.h: Likewise.
1299 * include/netinet/in.h: Likewise.
1300 * include/pthread.h: Likewise.
1301 * include/pwd.h: Likewise.
1302 * include/regex.h: Likewise.
1303 * include/sched.h: Likewise.
1304 * include/search.h: Likewise.
1305 * include/setjmp.h: Likewise.
1306 * include/signal.h: Likewise.
1307 * include/stdio.h: Likewise.
1308 * include/stdlib.h: Likewise.
1309 * include/string.h: Likewise.
1310 * include/sys/cdefs.h: Likewise.
1311 * include/sys/mman.h: Likewise.
1312 * include/sys/msg.h: Likewise.
1313 * include/sys/resource.h: Likewise.
1314 * include/sys/select.h: Likewise.
1315 * include/sys/socket.h: Likewise.
1316 * include/sys/stat.h: Likewise.
1317 * include/sys/statvfs.h: Likewise.
1318 * include/sys/time.h: Likewise.
1319 * include/sys/times.h: Likewise.
1320 * include/sys/uio.h: Likewise.
1321 * include/sys/utsname.h: Likewise.
1322 * include/sys/wait.h: Likewise.
1323 * include/termios.h: Likewise.
1324 * include/time.h: Likewise.
1325 * include/ulimit.h: Likewise.
1326 * include/unistd.h: Likewise.
1327 * include/utime.h: Likewise.
1328 * include/wchar.h: Likewise.
1329 * include/wctype.h: Likewise.
1330 * include/wordexp.h: Likewise.
1331
1332 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1333
7a270350
UD
1334 * time/time.h: TIME_UTC must be a macro.
1335 Make timespec_get available for ISO C11 only as well.
1336
7724defc
UD
13372012-02-24 Ulrich Drepper <drepper@gmail.com>
1338
1339 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1340 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1341
6b1d1d46
JM
13422012-02-24 Joseph Myers <joseph@codesourcery.com>
1343
1344 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1345
0f8bbd69
JM
13462012-02-24 Joseph Myers <joseph@codesourcery.com>
1347
1348 * manual/texinfo.tex: Update to version 2012-01-19.16.
1349
66ab80bc
JM
13502012-02-24 Joseph Myers <joseph@codesourcery.com>
1351
1352 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1353
74981cc5
RM
13542012-02-24 Roland McGrath <roland@hack.frob.com>
1355
ee968201
RM
1356 [BZ #13738]
1357 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1358 * manual/fdl-1.3.texi: New file.
1359 * manual/fdl-1.1.texi: File removed.
1360
74981cc5
RM
1361 [BZ #13738]
1362 * manual/libc.texinfo (FDL_VERSION): New @set.
1363 Use it for mention of FDL in cover text.
1364 (Documentation License): Use it in @include file name.
1365
7bb764bc
JM
13662012-02-22 Joseph Myers <joseph@codesourcery.com>
1367 Roland McGrath <roland@hack.frob.com>
1368
1369 [BZ #5461]
1370 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1371 not LONG_LONG_MAX and LONG_LONG_MIN.
1372 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1373 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1374 name.
1375 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1376
6cbeae47
JM
13772012-02-22 Joseph Myers <joseph@codesourcery.com>
1378
1379 [BZ #2547]
1380 [BZ #11365]
1381 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1382 manipulate bits before adding and subtracting TWO23[sx].
1383 * math/libm-test.inc (nearbyint_test): Add more tests.
1384
fe45ce09
JM
13852012-02-22 Joseph Myers <joseph@codesourcery.com>
1386
1387 [BZ #2548]
1388 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1389 bits before adding and subtracting TWO23[sx].
1390 * math/libm-test.inc (rint_test): Add more tests.
1391 (rint_test_tonearest): Likewise.
1392 (rint_test_towardzero): Likewise.
1393 (rint_test_downward): Likewise.
1394 (rint_test_upward: Likewise.
1395
ff3b3d82
JM
13962012-02-22 Joseph Myers <joseph@codesourcery.com>
1397
1398 [BZ #10110]
1399 * include/stdc-predef.h: New file. Extracted from features.h.
1400 * include/features.h: Include stdc-predef.h.
1401 * Makefile (headers): Add stdc-predef.h.
1402 * CONFORMANCE (Compiler limitations): Update.
1403
ef0aab35
JM
14042012-02-22 Joseph Myers <joseph@codesourcery.com>
1405
1406 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1407
58639409
DM
14082012-02-21 David S. Miller <davem@davemloft.net>
1409
1410 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1411 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1412
c0e70b25
DM
14132012-02-20 David S. Miller <davem@davemloft.net>
1414
1415 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1416 using a normal save/restore sequence, rather than allocating a
1417 dummy stack frame just to store a frame pointer and restore.
1418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1419
fb06851d
JM
14202012-02-21 Joseph Myers <joseph@codesourcery.com>
1421
1422 * manual/install.texi: Fix stray word in line-wrapped comment.
1423
7a8b71c3
DM
14242012-02-20 David S. Miller <davem@davemloft.net>
1425
d510c123
DM
1426 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1427 both binutils and gcc support GOTDATA.
1428
0722d7c2
DM
1429 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1430 "rd %pc" in the PIC register setup sequences.
1431
3d2b3019
DM
1432 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1433 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1434 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1435 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1436 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1441 (SYSCALL_ERROR_HANDLER): Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1445 (SYSCALL_ERROR_HANDLER): Likewise.
1446
c80098a9
DM
1447 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1448 (HAVE_GCC_GOTDATA): New.
1449 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1450 relocation support in both binutils and gcc.
1451 * sysdeps/sparc/elf/configure: Regenerate.
1452
3a2545a0
DM
1453 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1454 * sysdeps/sparc/sparc32/elf/configure: Delete.
1455 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1456 * sysdeps/sparc/sparc64/elf/configure: Delete.
1457 * sysdeps/sparc/elf/configure.in: New file.
1458 * sysdeps/sparc/elf/configure: Generate.
1459
7a8b71c3
DM
1460 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1461 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1462 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1463 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1464 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1465
f1e86fca
JM
14662012-02-21 Joseph Myers <joseph@codesourcery.com>
1467
1468 * manual/install.texi: Do not mention specific glibc version
1469 numbers.
1470 * manual/libc.texinfo (VERSION, UPDATED): Update.
1471 (@copying): Use @copyright{} and range of years.
1472
0e7dfaef
JM
14732012-02-21 Joseph Myers <joseph@codesourcery.com>
1474
1475 [BZ #13695]
1476 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1477 [crti.S not in sysdirs] (generated): Do not append.
1478 [crti.S not in sysdirs] (omit-deps): Likewise.
1479 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1480 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1481 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1482 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1483 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1484 Likewise.
1485 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1486 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1487 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1488 * csu/defs.awk: Remove file.
1489 * sysdeps/generic/initfini.c: Likewise.
1490 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1491 variable.
1492 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1493 Likewise.
1494
599af3ca
JM
14952012-02-20 Joseph Myers <joseph@codesourcery.com>
1496
1497 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1498 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1499 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1502 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1503 <bits/epoll.h>.
1504 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1505 (__EPOLL_PACKED): Define to empty if not defined by
1506 <bits/epoll.h>.
1507 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1509 bits/epoll.h.
1510
0e499750
JM
15112012-02-20 Joseph Myers <joseph@codesourcery.com>
1512
1513 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1514 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1515 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1516 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1517 <bits/timerfd.h>.
1518 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1520 bits/timerfd.h.
1521
5ad91f6e
JM
15222012-02-20 Joseph Myers <joseph@codesourcery.com>
1523
1524 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1525 in C locale.
1526 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1527 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1530
06b99b02
AJ
15312012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1532
1533 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1534 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1535
7638c0fd
AS
15362012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1539 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1540 defined.
1541 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1542 Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1544 entry for 2.16.
1545
92221550
AJ
15462012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1547
1548 * math/w_acos.c: Use non-signaling floating-point comparisons.
1549 * math/w_acosf.c: Likewise.
1550 * math/w_acosh.c: Likewise.
1551 * math/w_acoshf.c: Likewise.
1552 * math/w_acoshl.c: Likewise.
1553 * math/w_acosl.c: Likewise.
1554 * math/w_asin.c: Likewise.
1555 * math/w_asinf.c: Likewise.
1556 * math/w_asinl.c: Likewise.
1557 * math/w_atanh.c: Likewise.
1558 * math/w_atanhf.c: Likewise.
1559 * math/w_atanhl.c: Likewise.
1560 * math/w_exp2.c: Likewise.
1561 * math/w_exp2f.c: Likewise.
1562 * math/w_exp2l.c: Likewise.
1563 * math/w_j0.c: Likewise.
1564 * math/w_j0f.c: Likewise.
1565 * math/w_j0l.c: Likewise.
1566 * math/w_j1.c: Likewise.
1567 * math/w_j1f.c: Likewise.
1568 * math/w_j1l.c: Likewise.
1569 * math/w_jn.c: Likewise.
1570 * math/w_jnf.c: Likewise.
1571 * math/w_log.c: Likewise.
1572 * math/w_log10.c: Likewise.
1573 * math/w_log10f.c: Likewise.
1574 * math/w_log10l.c: Likewise.
1575 * math/w_log2.c: Likewise.
1576 * math/w_log2f.c: Likewise.
1577 * math/w_log2l.c: Likewise.
1578 * math/w_logf.c: Likewise.
1579 * math/w_logl.c: Likewise.
1580 * math/w_sqrt.c: Likewise.
1581 * math/w_sqrtf.c: Likewise.
1582 * math/w_sqrtl.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1586 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1587 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1588
ebaf36eb
JM
15892012-02-19 Joseph Myers <joseph@codesourcery.com>
1590
1591 [BZ #9739]
1592 * manual/string.texi (strnlen): Use correct parameter name in
1593 equivalent expression.
1594
71c254a6
JM
15952012-02-19 Joseph Myers <joseph@codesourcery.com>
1596
1597 [BZ #11174]
1598 * manual/users.texi (seteuid): Consistently use neweuid for
1599 argument name.
1600
16d2c631
JM
16012012-02-19 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #13704]
1604 * manual/nss.texi (Services in the NSS configuration): Correct
1605 list of services in example configuration file.
1606
cd837b09
NB
16072012-02-19 Nick Bowler <nbowler@draconx.ca>
1608
1609 [BZ #11322]
1610 * manual/arith.texi: Remove statements about negative zero
1611 behaving identically to zero.
1612
02c4bbad
JM
16132012-02-18 Joseph Myers <joseph@codesourcery.com>
1614
1615 [BZ #5993]
1616 * manual/install.texi: Do not document upgrading from libc5.
1617
366842e7
JM
16182012-02-18 Joseph Myers <joseph@codesourcery.com>
1619
1620 [BZ #4596]
1621 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1622
dd54084d
DM
16232012-02-18 David S. Miller <davem@davemloft.net>
1624
1625 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1626 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1627 %o7 across the call.
1628 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1629 instead.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1631 SETUP_PIC_REG_LEAF.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1633 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1634 * sysdeps/sparc/crtn.S: Likewise.
1635
2bcc53a3
UD
16362012-02-17 Ulrich Drepper <drepper@gmail.com>
1637
1638 * aout/Makefile: Remove.
1639
09c093b5
RK
16402012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1641
1642 [BZ #13058]
1643 * manual/examples/argp-ex1.c (main): Format definition in GNU
1644 style.
1645 * manual/examples/argp-ex2.c (main): Likewise.
1646 * manual/examples/argp-ex3.c (main): Likewise.
1647 * manual/examples/argp-ex4.c (main): Likewise.
1648 * manual/examples/longopt.c (main): Use new-style prototype
1649 definition.
1650 * manual/examples/strncat.c (main): Specify return type and use
1651 (void) for arguments.
1652 * manual/examples/subopt.c (main): Use char **argv argument.
1653
2ee633a2
JM
16542012-02-17 Joseph Myers <joseph@codesourcery.com>
1655
1656 [BZ #5077]
1657 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1658 rounding modes.
1659
0520adde
FB
16602012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1661
1662 [BZ #6907]
1663 * manual/string.texi (strchr): Change when strchrnul is
1664 recommended.
1665
3f4081cd
DGM
16662012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1667
1668 [BZ #174]
1669 * manual/locale.texi (setlocale): Document LOCPATH.
1670
d1b10e78
JM
16712012-02-17 Joseph Myers <joseph@codesourcery.com>
1672
1673 [BZ #10210]
1674 * manual/process.texi (execle): Move @dots{} before last argument.
1675
79c6869c
PB
16762012-02-17 Paul Bolle <pebolle@tiscali.nl>
1677
1678 [BZ #12047]
1679 * manual/charset.texi (Generic Charset Conversion): Fix typo
1680 (LC_TYPE -> LC_CTYPE).
1681
cc6e48bc
NB
16822012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1683
1684 [BZ #5805]
1685 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1686 (scalbnf): Likewise.
1687 (scalbnl): Likewise.
1688 (scalbln): Likewise.
1689 (scalblnf): Likewise.
1690 (scalblnl): Likewise.
1691 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1692 (vwarnx): Likewise.
1693 (verr): Likewise.
1694 (verrx): Likewise.
1695 * manual/filesys.texi (telldir): Use braces around return type.
1696 * manual/llio.texi (mmap): Add space after comma.
1697 (mmap64): Likewise.
1698 * manual/math.texi (jn): Use @var{} on parameter names.
1699 (jnf): Likewise.
1700 (jnl): Likewise.
1701 (yn): Likewise.
1702 (ynf): Likewise.
1703 (ynl): Likewise.
1704 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1705 line.
1706 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1707 "...".
1708 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1709 (sched_get_priority_max): Likewise.
1710 * manual/signal.texi (sigvec): Add space after comma.
1711 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1712 names.
1713 (if_indextoname): Likewise.
1714 (if_freenameindex): Likewise.
1715 (sendto): Use ',' instead of '.' in prototype.
1716 * manual/startup.texi (syscall): Use @dots{} instead of literal
1717 "...".
1718 * manual/stdio.texi (__fpending): Separate initial words of
1719 paragraph from @deftypefun line.
1720 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1721 "...".
1722 (vsyslog): Use @var{} on parameter names.
1723 * manual/terminal.texi (stty): Use @var{} on parameter names.
1724 * manual/users.texi (getutmp): Use @var{} on parameter names.
1725 (getutmpx): Likewise.
1726
5b23062f
JM
17272012-02-17 Joseph Myers <joseph@codesourcery.com>
1728
1729 [BZ #6884]
1730 * manual/stdio.texi (fopen): Fix typos in description of
1731 ",ccs=STRING".
1732
8dee4833
AJ
17332012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1734
1735 [BZ #4026]
1736 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1737 get clock_id definition.
1738
9078ce93
TS
17392012-02-17 Thomas Schwinge <thomas@schwinge.name>
1740
1741 [BZ #4822]
1742 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1743 (madvise): Cast every argument to void on its own.
1744
3835c55f
JM
17452012-02-17 Joseph Myers <joseph@codesourcery.com>
1746
1747 [BZ #9902]
1748 * manual/startup.texi (Exit Status): Fix typo.
1749
35c47e37
JM
17502012-02-17 Joseph Myers <joseph@codesourcery.com>
1751
1752 [BZ #10140]
1753 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1754 * manual/examples/argp-ex2.c: Likewise.
1755 * manual/examples/argp-ex3.c: Likewise.
1756
e3b69ca7
RH
17572012-02-16 Richard Henderson <rth@redhat.com>
1758
1759 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1760 * sysdeps/s390/s390-32/initfini.c: Remove.
1761 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1762 * sysdeps/s390/s390-64/initfini.c: Remove.
1763
df83af67
KK
17642012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1765
1766 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1767 compiler output for sysdeps/generic/initfini.c.
1768 * sysdeps/sh/elf/initfini.c: Remove file.
1769
f63f3380
DM
17702012-02-16 David S. Miller <davem@davemloft.net>
1771
fb59b3a4
DM
1772 [BZ #11494]
1773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1774
f63f3380
DM
1775 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1776 * sysdeps/sparc/crti.S: New file.
1777 * sysdeps/sparc/crtn.S: New file.
1778 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1779 * sysdeps/sparc/sparc64/Makefile: Likewise.
1780
df6a4a4a
MF
17812012-02-15 Mike Frysinger <vapier@gentoo.org>
1782
6dd8f3dc 1783 [BZ #3335]
df6a4a4a
MF
1784 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1785
1cac7236
RM
17862012-02-15 Roland McGrath <roland@hack.frob.com>
1787
d2c736f8
RM
1788 [BZ #4822]
1789 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1790
1cac7236
RM
1791 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1792 (write, read, close): Likewise.
1793 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1794
8e475601
JM
17952012-02-15 Joseph Myers <joseph@codesourcery.com>
1796
1797 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1798 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1799 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1800 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1801 <bits/signalfd.h>.
1802 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1804 bits/signalfd.h.
1805
ed656b40
MP
18062012-02-14 Marek Polacek <polacek@redhat.com>
1807
1808 * sysdeps/x86_64/crti.S: New file.
1809 * sysdeps/x86_64/crtn.S: New file.
1810 * sysdeps/x86_64/elf/initfini.c: Remove file.
1811
2a979d3a
JM
18122012-02-13 Joseph Myers <joseph@codesourcery.com>
1813
1814 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1815 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1816 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1817 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1818 <bits/inotify.h>.
1819 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1821 bits/inotify.h.
1822
2a418ac3
JM
18232012-02-13 Joseph Myers <joseph@codesourcery.com>
1824
1825 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1826 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1827 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1828 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1829 <bits/eventfd.h>.
1830 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1832 bits/eventfd.h.
1833
fb779be7
TS
18342012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1835
e19e83c5
RM
1836 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1837 __feraiseexcept instead of feraiseexcept.
7c35ffed 1838
fb779be7
TS
1839 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1840 nanosleep invocations.
1841 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1842 strings, and add error checking for a nanosleep invocations.
1843
59ba27a6
PE
18442012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1845
1846 Replace FSF snail mail address with URLs, as per GNU coding standards.
1847 Most of the snail mail addresses were wrong anyway, and omitting
1848 them makes the source code easier to maintain. Almost all of the
1849 changes are to license notices and to locale LC_IDENTIFICATION
1850 addresses, except for this one:
1851 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1852 not its snail mail address.
1853
57b957eb
RH
18542012-02-09 Richard Henderson <rth@twiddle.net>
1855
af850b1c
RH
1856 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1857 of kernel-features.h.
1858
57b957eb
RH
1859 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1860
6b73181a
MP
18612012-02-08 Marek Polacek <polacek@redhat.com>
1862
1863 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1864 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1865 * sysdeps/gnu/_G_config.h: Likewise.
1866 * sysdeps/generic/_G_config.h: Likewise.
1867
26ecc33a
AS
18682012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1869
6c6dbc63
AS
1870 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1871 tests.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1873
e216c012
AS
1874 * sysdeps/powerpc/powerpc32/crti.S: New file.
1875 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1876 * sysdeps/powerpc/powerpc64/crti.S: New file.
1877 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1878
26ecc33a
AS
1879 * Makeconfig (have-initfini): Don't set.
1880 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1881 * configure.in (nopic_initfini): Don't substitute.
1882 * config.h.in (HAVE_INITFINI): Don't #undef.
1883 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1884 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1885
3add8e13
JM
18862012-02-08 Joseph Myers <joseph@codesourcery.com>
1887
1888 Support crti.S and crtn.S provided directly by architectures.
1889 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1890 [crti.S in sysdirs] (omit-deps): Likewise.
1891 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1892 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1893 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1894 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1895 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1896 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1897 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1898 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1899 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1900 compiler output for sysdeps/generic/initfini.c.
1901 * sysdeps/i386/elf/Makefile: Remove file.
1902 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1903
a22f12b4
MP
19042012-02-07 Marek Polacek <polacek@redhat.com>
1905
1906 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1907 * sysdeps/gnu/_G_config.h: Likewise.
1908 * sysdeps/mach/hurd/_G_config.h: Likewise.
1909
148cf100
MP
19102012-02-07 Marek Polacek <polacek@redhat.com>
1911
1912 * math/Makefile (tests): Add tst-CMPLX2.
1913 * math/tst-CMPLX2.c: New file.
1914
cfdc0dd7
AS
19152012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1916
84ba42c4
AS
1917 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1918
cfdc0dd7
AS
1919 * math/libm-test.inc (jn_test): Add missing L suffix.
1920
622c86f4
MP
19212012-02-06 Marek Polacek <polacek@redhat.com>
1922
1923 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1924 * sysdeps/i386/fpu/e_powf.S: Likewise.
1925 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1926 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1928 * sysdeps/i386/fpu/e_pow.S: Likewise.
1929 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1931 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1932 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1933 * sysdeps/i386/fpu/e_log2.S: Likewise.
1934 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1935 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1936 * sysdeps/i386/fpu/e_powl.S: Likewise.
1937 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1939 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1940 * sysdeps/i386/fpu/e_logl.S: Likewise.
1941 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1942 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1943 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1944 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1945 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1946 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1947 * sysdeps/i386/fpu/e_log.S: Likewise.
1948 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1949 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1950 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1951 * sysdeps/i386/fpu/e_logf.S: Likewise.
1952 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1953 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1954 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1955 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1956 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1957 * sysdeps/i386/fpu/e_log10.S: Likewise.
1958 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1959 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1960 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1961 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1962 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1963 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1964 * sysdeps/i386/asm-syntax.h: Likewise.
1965 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1967 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1968 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1969 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1970 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1971 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1972 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1973 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1974 * sysdeps/powerpc/sysdep.h: Likewise.
1975 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1976 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1977
d4a54ac6
JM
19782012-02-06 Joseph Myers <joseph@codesourcery.com>
1979
1980 [BZ #411]
1981 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1982
314054ea
JM
19832012-02-06 Joseph Myers <joseph@codesourcery.com>
1984
1985 * sysdeps/i386/sysdep.h: Include <features.h>.
1986 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1987 version.
1988
d8e0ca50
JM
19892012-02-05 Joseph Myers <joseph@codesourcery.com>
1990
1991 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1992 Define.
1993 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1994 LOAD_PIC_REG_STR.
1995
b1da7dd9
JM
19962012-02-03 Joseph Myers <joseph@codesourcery.com>
1997
1998 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1999 (SETUP_PIC_REG): Use GET_PC_THUNK.
2000 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2001 macro.
2002
9a1d9254
JM
20032012-02-03 Joseph Myers <joseph@codesourcery.com>
2004
2005 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2006 for non-PIC compilation.
2007 (SETUP_PIC_REG): Add .p2align directive.
2008 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2009 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2010 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2011 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2012 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2013 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2016 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2023 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2024 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2025 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2026 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2027 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2036 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2043 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2044 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2046 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2047 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2049
65dc3b75
JM
20502012-02-03 Joseph Myers <joseph@codesourcery.com>
2051
2052 * math/tst-CMPLX.c: Include <stdio.h>.
2053
d55bf177
JM
20542012-01-31 Joseph Myers <joseph@codesourcery.com>
2055
2056 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2057 float.
2058 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2059 * sysdeps/sparc/bits/mathdef.h: Likewise.
2060
69db4f8f
MP
20612012-01-31 Marek Polacek <polacek@redhat.com>
2062
2063 * libio/libio.h: Don't define _PARAMS.
2064 * locale/programs/config.h: Don't define PARAMS.
2065 * stdlib/strtol_l.c: Likewise.
2066 (__strtol_l): Remove PARAMS from the prototype.
2067
41b81892
UD
20682012-01-31 Ulrich Drepper <drepper@gmail.com>
2069
3b49edc0
UD
2070 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2071 names. Just use the correct names. Remove unnecessary wrapper
2072 functions.
2073 * malloc/arena.c: Likewise.
2074 * malloc/hooks.c: Likewise.
2075
41b81892
UD
2076 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2077 ARENA_TEST says not to. Simplify test for creation of a new arena.
2078 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2079
27a25b6e
UD
20802012-01-30 Ulrich Drepper <drepper@gmail.com>
2081
2082 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2083 into tail calls.
2084 (update_get_addr): New function.
2085 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2086 GET_ADDR_MODULE parameter.
2087
c8a89e7d
JM
20882012-01-30 Joseph Myers <joseph@codesourcery.com>
2089
2090 * crypt/cert.c: Remove __STDC__ conditionals.
2091 * crypt/crypt-entry.c: Likewise.
2092 * crypt/crypt_util.c: Likewise.
2093 * libio/filedoalloc.c: Likewise.
2094 * libio/fileops.c: Likewise.
2095 * libio/genops.c: Likewise.
2096 * libio/iofclose.c: Likewise.
2097 * libio/iofdopen.c: Likewise.
2098 * libio/iofopen.c: Likewise.
2099 * libio/iofopen64.c: Likewise.
2100 * libio/iogetdelim.c: Likewise.
2101 * libio/iopopen.c: Likewise.
2102 * libio/obprintf.c: Likewise.
2103 * libio/oldfileops.c: Likewise.
2104 * libio/oldiofclose.c: Likewise.
2105 * libio/oldiofdopen.c: Likewise.
2106 * libio/oldiofopen.c: Likewise.
2107 * libio/oldiopopen.c: Likewise.
2108 * libio/wfiledoalloc.c: Likewise.
2109 * libio/wgenops.c: Likewise.
2110 * locale/programs/xmalloc.c: Likewise.
2111 * misc/syslog.c: Likewise.
2112 * stdio-common/xbug.c: Likewise.
2113 * string/memchr.c: Likewise.
2114 * string/memcmp.c: Likewise.
2115 * string/memrchr.c: Likewise.
2116 * string/rawmemchr.c: Likewise.
2117 * sysdeps/posix/getcwd.c: Likewise.
2118 * time/strftime_l.c: Likewise.
2119
3b100462
JM
21202012-01-30 Joseph Myers <joseph@codesourcery.com>
2121
2122 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2123 * config.make.in (config-cflags-sse2avx): Define.
2124 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2125 Fix typo.
2126
607998af
CM
21272012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2128
2129 * scripts/config.guess: Update from upstream config git repository.
2130 * scripts/config.sub: Likewise.
2131
3601428f
CM
21322012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2133
3ac8b282
CM
2134 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2135 (EM_NUM): Update.
2136 (R_TILEPRO_*, R_TILEGX_*): New macros.
2137
e034841e
CM
2138 * scripts/firstversions.awk: Fix bug in version range handling.
2139
540d7568
CM
2140 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2141
3601428f
CM
2142 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2143
463de862
CM
2144 * include/sys/epoll.h: New file.
2145 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2146 libc_hidden_def.
2147
73139a76
UD
21482012-01-28 Ulrich Drepper <drepper@gmail.com>
2149
96bc5b45
UD
2150 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2151 Avoid unnecessary __WORDSIZE == 64 test.
2152 (fmaxf): Use VEX format if possible.
2153 (fmax): Likewise.
2154 (fminf): Likewise.
2155 (fmin): Likewise.
2156
56f6f6a2
UD
2157 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2158 * math/math_private.h: Remove libc_fegetround* and
2159 libc_fesetround*.
2160 * sysdeps/i386/configure.in: Check for -msse2avx.
2161 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2162 also if SSE2AVX is defined.
2163 Remove libc_fegetround* and libc_fesetround*.
2164 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2165 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2167 of HAS_YMM_USABLE.
2168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2169 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2170 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2171 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2173
73139a76
UD
2174 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2175
d73f93a4
AZ
21762012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2179 size is not set.
2180 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2181
6ee65ed6
UD
21822012-01-27 Ulrich Drepper <drepper@gmail.com>
2183
2184 [BZ #13618]
2185 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2186 relocation.
2187 * Makeconfig (libm): Define.
2188 * elf/Makefile: Add rules to build and run tst-relsort1.
2189 * elf/tst-relsort1.c: New file.
2190 * elf/tst-relsort1mod1.c: New file.
2191 * elf/tst-relsort1mod2.c: New file.
2192
8db21882
JM
21932012-01-27 Joseph Myers <joseph@codesourcery.com>
2194
2195 * math/s_ldexp.c: Remove __STDC__ conditionals.
2196 * math/s_ldexpf.c: Likewise.
2197 * math/s_ldexpl.c: Likewise.
2198 * math/s_nextafter.c: Likewise.
2199 * math/s_nexttowardf.c: Likewise.
2200 * math/s_significand.c: Likewise.
2201 * math/s_significandf.c: Likewise.
2202 * math/s_significandl.c: Likewise.
2203 * math/w_jnl.c: Likewise.
2204 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2205 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2206 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2207 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2208 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2210 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2223 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2226 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2228 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2229 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2230 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2234 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2235 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2236 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2237 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2238 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2239 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2244 * sysdeps/ieee754/k_standard.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2324 * sysdeps/ieee754/s_matherr.c: Likewise.
2325 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2326 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2328 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2329
965a54a4
JM
23302012-01-26 Joseph Myers <joseph@codesourcery.com>
2331
2332 * crypt/md5.h: Remove __STDC__ conditionals.
2333 * libio/libioP.h: Likewise.
2334 * locale/programs/config.h: Likewise.
2335 * sysdeps/generic/sysdep.h: Likewise.
2336 * sysdeps/i386/asm-syntax.h: Likewise.
2337 * sysdeps/s390/asm-syntax.h: Likewise.
2338 * sysdeps/unix/sysdep.h: Likewise.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2341
7071ad79
JM
23422012-01-26 Joseph Myers <joseph@codesourcery.com>
2343
2344 * libio/libio.h: Remove __STDC__ conditionals.
2345 * malloc/obstack.h: Likewise.
2346 * math/complex.h: Likewise.
2347 * math/math.h: Likewise.
2348 * sysdeps/generic/_G_config.h: Likewise.
2349 * sysdeps/gnu/_G_config.h: Likewise.
2350 * sysdeps/mach/hurd/_G_config.h: Likewise.
2351 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2352 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2353 * sysdeps/sparc/bits/mathdef.h: Likewise.
2354
afc5ed09
UD
23552012-01-26 Ulrich Drepper <drepper@gmail.com>
2356
2357 [BZ #13583]
2358 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2359 Clean up HAS_* macros.
afc5ed09 2360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2361 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2362 possible.
2363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2364 HAS_AVX.
2365 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2366 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2367 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2369 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2370
bdb6de1d
JM
23712012-01-25 Joseph Myers <joseph@codesourcery.com>
2372
2373 * elf/tst-unique3.cc (gets): Remove declaration.
2374 * elf/tst-unique3lib.cc (gets): Likewise.
2375 * elf/tst-unique3lib2.cc (gets): Likewise.
2376 * elf/tst-unique4.cc (gets): Likewise.
2377
b15549e6
UD
23782012-01-24 Ulrich Drepper <drepper@gmail.com>
2379
2380 * include/stdio.h: Add C++ protection. Add gets declarations and
2381 definitions.
2382 * debug/tst-chk1.c: Don't declare gets here.
2383 * stdio-common/tst-gets.c: Likewise.
2384
a037381f
JM
23852012-01-24 Joseph Myers <joseph@codesourcery.com>
2386
2387 * posix/glob: Remove directory.
2388
f1d4aa75
JM
23892012-01-24 Joseph Myers <joseph@codesourcery.com>
2390
2391 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2392
81c0c964
PT
23932012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2394
2395 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2396 of the non-standard EPFNOSUPPORT.
2397
0ea698ae
ST
23982011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2399
2400 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2401 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2402 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2403
d220b117
UD
24042012-01-21 Ulrich Drepper <drepper@gmail.com>
2405
2406 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2407
3e1aa84e
UD
24082012-01-20 Ulrich Drepper <drepper@gmail.com>
2409
2410 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2411 transient errors.
2412 * nscd/grpcache.c (cache_addgr): Likewise.
2413 * nscd/hstcache.c (cache_addhst): Likewise.
2414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2415 * nscd/pwdcache.c (cache_addpw): Likewise.
2416 * nscd/servicescache.c (cache_addserv): Likewise.
2417
400aa020
UD
24182012-01-16 Ulrich Drepper <drepper@gmail.com>
2419
d77e7869
UD
2420 * malloc/malloc.c: Various cleanups.
2421 * malloc/hooks.c: Likewise.
2422
400aa020
UD
2423 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2424 * stdlib/bug-fmtmsg1.c: New file.
2425
2426 * stdlib/fmtmsg.c (init): Add missing unlock.
2427 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2428
e0a309cf
MP
24292012-01-12 Marek Polacek <polacek@redhat.com>
2430
2431 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2432 and _GNU_SOURCE.
2433
929d11c7
WS
24342012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2435
2436 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2437 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2438 macro to ensure uniqueness of label name.
2439 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2440 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2441
41d0e869
UD
24422012-01-11 Ulrich Drepper <drepper@gmail.com>
2443
0cc5ed3b
UD
2444 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2445
41d0e869
UD
2446 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2447 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2448 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2449 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2450
a47a831a
UD
24512012-01-10 Ulrich Drepper <drepper@gmail.com>
2452
daa891c0
UD
2453 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2454
2455 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2456 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2457 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2458
e58ef0f2
UD
2459 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2460
a47a831a 2461 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2462 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2465
2466 * math/bits/math-finite.h: Add ldexp support.
2467
a0bfc9c7
MP
24682012-01-10 Marek Polacek <polacek@redhat.com>
2469
2470 * locale/programs/localedef.h (show_archive_content): Add noreturn
2471 attribute.
2472
d6e97a1d
UD
24732012-01-09 Ulrich Drepper <drepper@gmail.com>
2474
2475 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2476
d5835c26
UD
24772012-01-08 Ulrich Drepper <drepper@gmail.com>
2478
e5f484c6
UD
2479 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2480
d5835c26
UD
2481 * io/Makefile (headers): Add bits/poll2.h.
2482
d1f741e9
WS
24832011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2484
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2486 typo #include statement.
2487
ec09c1c4
UD
24882012-01-08 Ulrich Drepper <drepper@gmail.com>
2489
2490 * include/sys/cdefs.h: Define __attribute_alloc_size.
2491 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2492 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2493 * elf/pldd.c: Likewise.
2494 * iconv/iconv_charmap.c: Likewise.
2495 * iconv/iconvconfig.c: Likewise.
2496 * iconv/strtab.c: Likewise.
2497 * locale/programs/locale.c: Likewise.
2498 * locale/programs/localedef.h: Likewise.
2499 * locale/programs/simple-hash.c: Likewise.
2500 * nscd/nscd.h: Likewise.
2501 * nss/makedb.c: Likewise.
2502 * sysdeps/generic/ldconfig.h: Likewise.
2503 * locale/programs/localedef.c: Remove xmalloc prototype.
2504 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2505
20b38e03
PP
25062012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2507
2508 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2509 appropriate.
2510
a0da5fe1
UD
25112012-01-08 Ulrich Drepper <drepper@gmail.com>
2512
1d5a644a 2513 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2514 * math/tst-CMPLX.c: New file.
1d5a644a 2515
8784a6db
UD
2516 * math/complex.h (CMPLXL): Fix typo.
2517
d9a216c0
UD
2518 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2519 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2520 GLIBC_2.16.
2521 * debug/tst-chk1.c: Add poll and ppoll tests.
2522 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2523 * include/sys/poll.h: Add hidden proto for ppoll.
2524 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2525 * sysdeps/mach/hurd/ppoll.c: Likewise.
2526 * io/ppoll.c: Likewise.
2527 * debug/poll_chk.c: New file.
2528 * debug/ppoll_chk.c: New file.
2529 * include/bits/poll2.h: New file.
2530 * io/bits/poll2.h: New file.
2531
ac097f5c
UD
2532 [BZ #1350]
2533 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2534
2119dcfa
UD
2535 * configure.in: static is always set to yes. Remove.
2536 * config.make.in: Don't set build-static.
2537 * Makeconfig: Remove use of build-static.
2538 * dlfcn/Makefile: Likewise.
2539 * elf/Makefile: Likewise.
2540 * math/Makefile: Likewise.
2541 * misc/Makefile: Likewise.
2542 * nptl/Makefile: Likewise.
2543 * sysdeps/mach/hurd/Makefile: Likewise.
2544
121766a9
UD
2545 * configure.in: PWD_P is not used anymore.
2546 * config.make.in: Remove PWD_P entry.
2547
51a1d39c 2548 * configure.in: Remove last remnants of RANLIB.
8720d066 2549 No need to check for signed size_t anymore.
215f4bdc
UD
2550 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2551 and IA-64.
3857022a 2552 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2553 * aclocal.m4: Likewise.
2554
d3ed7225
UD
2555 * wcsmbs/mbrtoc16.c: Implement using towc function.
2556 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2557 * wcsmbs/wcsmbsload.c: Likewise.
2558 * iconv/gconv_simple.c: Likewise.
2559 * iconv/gconv_int.h: Likewise.
2560 * iconv/gconv_builtin.h: Likewise.
2561 * iconv/iconv_prog.c: Remove CHAR16 handling.
2562
2563 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2564
2565 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2566
a0da5fe1
UD
2567 * configure.in: Remove --with-elf and --enable-bounded options.
2568 Dont set base_machine for ia64. More non-ELF conditions removed.
2569 Remove testing and setting of leading underscore information.
2570 * config.make.in (build-bounded): Set to no.
2571 * config.h.in: Remove NO_UNDERSCORES entry.
2572 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2573 them.
2574 * csu/start.c: Remove !NO_UNDERSCORE code.
2575 * locale/localeinfo.h: Likewise.
2576 * sysdeps/generic/machine-gmon.h: Likewise.
2577 * sysdeps/generic/sysdep.h: Likewise.
2578 * sysdeps/i386/sysdep.h: Likewise.
2579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2580 * sysdeps/mach/sysdep.h: Likewise.
2581 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2583 * sysdeps/sh/sysdep.h: Likewise.
2584 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2585 * sysdeps/unix/i386/sysdep.S: Likewise.
2586 * sysdeps/unix/sparc/start.c: Likewise.
2587 * sysdeps/unix/sparc/sysdep.S: Likewise.
2588 * sysdeps/unix/sparc/sysdep.h: Likewise.
2589 * sysdeps/unix/start.c: Likewise.
2590 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2591 * sysdeps/x86_64/sysdep.h: Likewise.
2592
df78418a
UD
25932012-01-07 Ulrich Drepper <drepper@gmail.com>
2594
a784e502
UD
2595 [BZ #13553]
2596 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2597 for non-gcc.
2598 * argp/argp-fmtstream.h: Use const instead __const.
2599 * argp/argp.h: Likewise.
2600 * assert/assert.h: Likewise.
2601 * bits/fenv.h: Likewise.
2602 * bits/sched.h: Likewise.
2603 * bits/sigset.h: Likewise.
2604 * bits/sigthread.h: Likewise.
2605 * catgets/nl_types.h: Likewise.
2606 * conform/data/pthread.h-data: Likewise.
2607 * crypt/crypt-private.h: Likewise.
2608 * crypt/crypt.h: Likewise.
2609 * crypt/crypt_util.c: Likewise.
2610 * ctype/ctype.h: Likewise.
2611 * debug/execinfo.h: Likewise.
2612 * debug/mbsnrtowcs_chk.c: Likewise.
2613 * debug/mbsrtowcs_chk.c: Likewise.
2614 * debug/wcsnrtombs_chk.c: Likewise.
2615 * debug/wcsrtombs_chk.c: Likewise.
2616 * debug/wcstombs_chk.c: Likewise.
2617 * dirent/dirent.h: Likewise.
2618 * dlfcn/dlfcn.h: Likewise.
2619 * elf/neededtest4.c: Likewise.
2620 * grp/grp.h: Likewise.
2621 * gshadow/gshadow.h: Likewise.
2622 * iconv/gconv.h: Likewise.
2623 * iconv/gconv_int.h: Likewise.
2624 * iconv/gconv_simple.c: Likewise.
2625 * iconv/iconv.h: Likewise.
2626 * iconv/loop.c: Likewise.
2627 * iconv/skeleton.c: Likewise.
2628 * include/aio.h: Likewise.
2629 * include/aliases.h: Likewise.
2630 * include/argz.h: Likewise.
2631 * include/arpa/inet.h: Likewise.
2632 * include/assert.h: Likewise.
2633 * include/dirent.h: Likewise.
2634 * include/dlfcn.h: Likewise.
2635 * include/execinfo.h: Likewise.
2636 * include/fcntl.h: Likewise.
2637 * include/fenv.h: Likewise.
2638 * include/glob.h: Likewise.
2639 * include/grp.h: Likewise.
2640 * include/libintl.h: Likewise.
2641 * include/mntent.h: Likewise.
2642 * include/netdb.h: Likewise.
2643 * include/pwd.h: Likewise.
2644 * include/rpc/netdb.h: Likewise.
2645 * include/sched.h: Likewise.
2646 * include/search.h: Likewise.
2647 * include/shadow.h: Likewise.
2648 * include/signal.h: Likewise.
2649 * include/stdio.h: Likewise.
2650 * include/stdlib.h: Likewise.
2651 * include/string.h: Likewise.
2652 * include/sys/socket.h: Likewise.
2653 * include/sys/stat.h: Likewise.
2654 * include/sys/statfs.h: Likewise.
2655 * include/sys/statvfs.h: Likewise.
2656 * include/sys/syslog.h: Likewise.
2657 * include/sys/time.h: Likewise.
2658 * include/sys/uio.h: Likewise.
2659 * include/time.h: Likewise.
2660 * include/unistd.h: Likewise.
2661 * include/utmp.h: Likewise.
2662 * include/wchar.h: Likewise.
2663 * include/wctype.h: Likewise.
2664 * inet/aliases.h: Likewise.
2665 * inet/arpa/inet.h: Likewise.
2666 * inet/netinet/ether.h: Likewise.
2667 * inet/netinet/in.h: Likewise.
2668 * intl/libintl.h: Likewise.
2669 * io/bits/fcntl2.h: Likewise.
2670 * io/fcntl.h: Likewise.
2671 * io/ftw.h: Likewise.
2672 * io/sys/poll.h: Likewise.
2673 * io/sys/stat.h: Likewise.
2674 * io/sys/statfs.h: Likewise.
2675 * io/sys/statvfs.h: Likewise.
2676 * io/utime.h: Likewise.
2677 * libio/bits/stdio.h: Likewise.
2678 * libio/bits/stdio2.h: Likewise.
2679 * libio/libio.h: Likewise.
2680 * libio/libioP.h: Likewise.
2681 * libio/stdio.h: Likewise.
2682 * locale/lc-ctype.c: Likewise.
2683 * locale/locale.h: Likewise.
2684 * login/utmp.h: Likewise.
2685 * malloc/arena.c: Likewise.
2686 * malloc/malloc.c: Likewise.
2687 * malloc/malloc.h: Likewise.
2688 * malloc/mcheck.c: Likewise.
2689 * malloc/mtrace.c: Likewise.
2690 * math/bits/mathcalls.h: Likewise.
2691 * math/fenv.h: Likewise.
2692 * math/math_private.h: Likewise.
2693 * misc/bits/error.h: Likewise.
2694 * misc/bits/syslog.h: Likewise.
2695 * misc/err.h: Likewise.
2696 * misc/error.h: Likewise.
2697 * misc/fstab.h: Likewise.
2698 * misc/mntent.h: Likewise.
2699 * misc/regexp.h: Likewise.
2700 * misc/search.h: Likewise.
2701 * misc/sgtty.h: Likewise.
2702 * misc/sys/mman.h: Likewise.
2703 * misc/sys/syslog.h: Likewise.
2704 * misc/sys/uio.h: Likewise.
2705 * misc/sys/xattr.h: Likewise.
2706 * misc/ttyent.h: Likewise.
2707 * nis/rpcsvc/ypclnt.h: Likewise.
2708 * nss/nss.h: Likewise.
2709 * posix/bits/unistd.h: Likewise.
2710 * posix/fnmatch.h: Likewise.
2711 * posix/glob.h: Likewise.
2712 * posix/sched.h: Likewise.
2713 * posix/spawn.h: Likewise.
2714 * posix/sys/wait.h: Likewise.
2715 * posix/unistd.h: Likewise.
2716 * posix/wordexp.h: Likewise.
2717 * pwd/pwd.h: Likewise.
2718 * resolv/netdb.h: Likewise.
2719 * resource/sys/resource.h: Likewise.
2720 * rt/aio.h: Likewise.
2721 * rt/bits/mqueue2.h: Likewise.
2722 * rt/mqueue.h: Likewise.
2723 * shadow/shadow.h: Likewise.
2724 * signal/signal.h: Likewise.
2725 * socket/send.c: Likewise.
2726 * socket/sendto.c: Likewise.
2727 * socket/sys/socket.h: Likewise.
2728 * stdio-common/printf.h: Likewise.
2729 * stdlib/bits/stdlib.h: Likewise.
2730 * stdlib/fmtmsg.h: Likewise.
2731 * stdlib/monetary.h: Likewise.
2732 * stdlib/stdlib.h: Likewise.
2733 * stdlib/ucontext.h: Likewise.
2734 * streams/stropts.h: Likewise.
2735 * string/argz.h: Likewise.
2736 * string/bits/string2.h: Likewise.
2737 * string/string.h: Likewise.
2738 * string/strings.h: Likewise.
2739 * sunrpc/rpc/auth.h: Likewise.
2740 * sunrpc/rpc/auth_des.h: Likewise.
2741 * sunrpc/rpc/clnt.h: Likewise.
2742 * sunrpc/rpc/netdb.h: Likewise.
2743 * sunrpc/rpc/pmap_clnt.h: Likewise.
2744 * sunrpc/rpc/xdr.h: Likewise.
2745 * sysdeps/generic/inttypes.h: Likewise.
2746 * sysdeps/generic/net/if.h: Likewise.
2747 * sysdeps/generic/sys/swap.h: Likewise.
2748 * sysdeps/gnu/net/if.h: Likewise.
2749 * sysdeps/gnu/utmpx.h: Likewise.
2750 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2751 * sysdeps/i386/i486/bits/string.h: Likewise.
2752 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2753 * sysdeps/s390/bits/string.h: Likewise.
2754 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2755 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2756 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2757 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2758 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2759 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2760 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2761 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2762 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2763 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2764 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2765 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2766 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2767 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2768 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2769 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2770 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2775 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2776 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2777 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2778 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2779 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2780 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2781 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2782 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2783 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2784 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2785 * sysvipc/sys/ipc.h: Likewise.
2786 * sysvipc/sys/msg.h: Likewise.
2787 * sysvipc/sys/sem.h: Likewise.
2788 * sysvipc/sys/shm.h: Likewise.
2789 * termios/termios.h: Likewise.
2790 * time/sys/time.h: Likewise.
2791 * time/time.h: Likewise.
2792 * wcsmbs/bits/wchar2.h: Likewise.
2793 * wcsmbs/uchar.h: Likewise.
2794 * wcsmbs/wchar.h: Likewise.
2795 * wctype/wctype.h: Likewise.
2796
0269750c
UD
2797 [BZ #13551]
2798 * Makeconfig: Remove all but ELF support including AIX support.
2799 * Makerules: Likewise.
2800 * config.h.in: Likewise.
2801 * config.make.in: Likewise.
2802 * configure: Likewise.
2803 * configure.in: Likewise.
2804 * csu/Makefile: Likewise.
2805 * csu/version.c: Likewise.
2806 * debug/Makefile: Likewise.
2807 * dlfcn/Makefile: Likewise.
2808 * elf/Makefile: Likewise.
2809 * extra-lib.mk: Likewise.
2810 * iconv/Makefile: Likewise.
2811 * include/libc-symbols.h: Likewise.
2812 * include/shlib-compat.h: Likewise.
2813 * resolv/Makefile: Likewise.
2814 * resolv/res_libc.c: Likewise.
2815 * rt/Makefile: Likewise.
2816 * sysdeps/i386/asm-syntax.h: Likewise.
2817 * sysdeps/i386/sysdep.h: Likewise.
2818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2819 * sysdeps/mach/sysdep.h: Likewise.
2820 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2821 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2822 * sysdeps/s390/asm-syntax.h: Likewise.
2823 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2824 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2825 * sysdeps/sh/sysdep.h: Likewise.
2826 * sysdeps/unix/sparc/sysdep.h: Likewise.
2827 * sysdeps/wordsize-32/divdi3.c: Likewise.
2828 * sysdeps/x86_64/sysdep.h: Likewise.
2829
00bbd29b
UD
2830 * argp/Versions: Remove _argp_unlock_xxx.
2831
2832 [BZ #13559]
2833 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2834 * abilist/libBrokenLocale.abilist: Likewise.
2835 * abilist/libanl.abilist: Likewise.
2836 * abilist/libc.abilist: Likewise.
2837 * abilist/libcrypt.abilist: Likewise.
2838 * abilist/libdl.abilist: Likewise.
2839 * abilist/libm.abilist: Likewise.
2840 * abilist/libnsl.abilist: Likewise.
2841 * abilist/libpthread.abilist: Likewise.
2842 * abilist/libresolv.abilist: Likewise.
2843 * abilist/librt.abilist: Likewise.
2844 * abilist/libthread_db.abilist: Likewise.
2845 * abilist/libutil.abilist: Likewise.
2846 * abilist/libnss_db.abilist: New file.
2847
2848 * scripts/abilist.awk: Add support for indirect functions.
2849
a2693a0e
UD
2850 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2851
3f05895f
UD
2852 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2853
ecb6fb48
UD
2854 * shlib-versions: Remove entries for ports architectures.
2855
664f8cb9
UD
2856 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2857 files in ports.
2858 * elf/stackguard-macros.h: Remove support for IA-64.
2859 * elf/tst-auditmod1.c: Likewise.
2860 * sysdeps/generic/ldsodefs.h: Likewise.
2861
7ae81d88
UD
2862 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2863 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2864 configure files.
2865
bdeba135
UD
2866 [BZ #13552]
2867 * configure.in: Remove --enable-omitfp support.
2868 * FAQ.in: Adjust.
2869 * config.make.in: Likewise.
2870 * Makeconfig: Likewise.
2871 * manual/install.texi: Likewise.
2872
d75a0a62
UD
2873 In case anyone cares, the IA-64 architecture could move to ports.
2874 * sysdeps/ia64/*: Removed.
2875 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2876 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2877
dcc9756b
UD
2878 [BZ #13555]
2879 * configure.in: Remove entries for unsupported architectures.
2880
d3761ebc 2881 [BZ #13533]
9954432e
UD
2882 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2883 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2884 routines.
2885 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2886 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2887 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2888 fall back to using wcrtomb.
2889 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2890 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2891 renaming.
2892 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2893 * wcsmbs/tst-c16c32-1.c: New file.
2894
2895 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2896 local variable.
2897
c3a87236
UD
2898 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2899
28926a1b
UD
2900 * elf/tst-unique3.cc: Add explicit declaration of gets.
2901 * elf/tst-unique3lib.cc: Likewise.
2902 * elf/tst-unique3lib2.cc: Likewise.
2903 * elf/tst-unique4.cc: Likewise.
2904
df78418a
UD
2905 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2906
8ecd6b2a
JM
29072012-01-06 Joseph Myers <joseph@codesourcery.com>
2908
2909 [BZ #13566]
2910 * assert/assert.h (static_assert): Don't define for C++.
2911 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2912 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2913
9f115170
UD
29142012-01-03 Ulrich Drepper <drepper@gmail.com>
2915
5e0d0300
UD
2916 * iconv/loop.c (single loop): Fix assertion in storing of
2917 remaining bytes.
2918
9f115170
UD
2919 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2920
81fb02b0
UD
29212012-01-01 Ulrich Drepper <drepper@gmail.com>
2922
2923 * posix/getconf.c: Update copyright year.
2924 * nss/getent.c: Likewise.
a316c1f6 2925 * nss/makedb.c: Likewise.
81fb02b0
UD
2926 * iconv/iconvconfig.c: Likewise.
2927 * iconv/iconv_prog.c: Likewise.
2928 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2929 * elf/pldd.c: Likewise.
2930 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2931 * catgets/gencat.c: Likewise.
2932 * csu/version.c: Likewise.
2933 * elf/ldd.bash.in: Likewise.
2934 * elf/sprof.c (print_version): Likewise.
2935 * locale/programs/locale.c: Likewise.
2936 * locale/programs/localedef.c: Likewise.
a316c1f6 2937 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2938 * nscd/nscd.c (print_version): Likewise.
2939 * debug/xtrace.sh: Likewise.
2940 * malloc/memusage.sh: Likewise.
2941 * malloc/mtrace.pl: Likewise.
2942 * debug/catchsegv.sh: Likewise.
2943
2ba92745
JJ
29442011-12-30 Jakub Jelinek <jakub@redhat.com>
2945
2946 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2947 pure attribute.
2948
dadebdae
UD
29492011-12-24 Ulrich Drepper <drepper@gmail.com>
2950
d3761ebc 2951 [BZ #13533]
db6af3eb
UD
2952 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2953 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2954 transformations.
2955 * iconv/gconv_int.h: Likewise.
2956 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2957 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2958 from libc for GLIBC_2.16.
2959 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2960 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2961 * wcsmbs/uchar.h: Really define mbstate_t.
2962 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2963 * wcsmbs/c16rtomb.c: New file.
2964 * wcsmbs/mbrtoc16.c: New file.
2965 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2966 for C/POSIX locale.
2967 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2968 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2969
dadebdae
UD
2970 * wcsmbs/wchar.h: Add missing __restrict.
2971
67371b56
UD
29722011-12-23 Ulrich Drepper <drepper@gmail.com>
2973
74033a25
UD
2974 [BZ #13532]
2975 * time/Makefile (routines): Add timespec_get.
2976 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2977 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2978 timespec for ISO C11.
2979 * time/timespec_get.c: New file.
2980 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2981 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2982
380d7e87
UD
2983 [BZ #13531]
2984 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2985 * stdlib/stdlib.h: Declare aligned_alloc.
2986 * Versions.def: Add GLIBC_2.16 for libc.
2987 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2988
4e9e7a35
UD
2989 [BZ 13527]
2990 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2991 ISO C11.
2992
380d7e87 2993 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2994 code.
2995
03a71829
UD
2996 [BZ #13528]
2997 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2998
839e283e
UD
2999 [BZ #13529]
3000 * assert/assert.h (static_assert): Define.
3001
ce5294e2 3002 * version.h: Update for 2.16 development version.
90fa7312 3003
8d44e150 3004 [BZ #13526]
d7809905
UD
3005 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3006 _ISOC11_SOURCE.
3007
c0da14cd
UD
3008 * version.h (RELEASE): Bump for 2.15 release.
3009 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3010
530a3249
MP
3011 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3012 Patch by Marek Polacek <mpolacek@redhat.com>.
3013
67371b56
UD
3014 * bits/byteswap.h: Protect long long constants with __extension__.
3015 * sysdeps/i386/bits/byteswap.h: Likewise.
3016 * sysdeps/ia64/bits/byteswap.h: Likewise.
3017 * sysdeps/s390/bits/byteswap.h: Likewise.
3018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3019
15db4de1
LD
30202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3021
3022 [BZ #13540]
bbe315ea
LD
3023 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3024 destination buffer.
15db4de1
LD
3025 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3026
2b2596b1
MP
30272011-12-23 Marek Polacek <polacek@redhat.com>
3028
3029 * elf/dl-addr.c (determine_info): Add inline keyword.
3030 * elf/tst-auditmod4b.c (check_avx): Likewise.
3031 * elf/tst-auditmod6b.c (check_avx): Likewise.
3032 * elf/tst-auditmod6c.c (check_avx): Likewise.
3033 * elf/tst-auditmod7b.c (check_avx): Likewise.
3034
70c6c246
UD
30352011-12-23 Ulrich Drepper <drepper@gmail.com>
3036
3037 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3038 !__SSE_MATH__.
3039
c044cf14
LD
30402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3041
15db4de1 3042 [BZ #13540]
c044cf14
LD
3043 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3044 processing for last bytes.
3045
6b13d9d9
BH
30462011-08-06 Bruno Haible <bruno@clisp.org>
3047
d455f537
BH
3048 [BZ #13061]
3049 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3050 U+0385, not to U+1FEE.
3051
6b13d9d9
BH
3052 [BZ #13062]
3053 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3054 entry for U+00A5 U+0301.
3055
db910efd
UD
30562011-12-22 Ulrich Drepper <drepper@gmail.com>
3057
27deeafc
UD
3058 [BZ #13166]
3059 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3060 buffer for the output is too small.
3061
aed9d171
UD
3062 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3063 optimization.
3064
db910efd
UD
3065 [BZ #13185]
3066 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3067 SSE flags if possible.
3068
2bd779ae
LD
30692011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3070
e7f9dac3 3071 [BZ #13540]
2bd779ae
LD
3072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3073 processing for last bytes.
3074
154bfc16
JM
30752011-12-22 Joseph Myers <joseph@codesourcery.com>
3076
3077 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3078 (syscall-list-default-options, syscall-list-default-condition)
3079 (syscall-list-includes): Define.
3080 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3081 list of ABIs and options and #if conditions for each ABI. Do not
3082 handle common syscalls between ABIs specially.
3083 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3084 Remove.
3085 (syscall-list-variants, syscall-list-32bit-options)
3086 (syscall-list-32bit-condition, syscall-list-64bit-options)
3087 (syscall-list-64bit-condition): Define.
3088 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3089 (syscall-list-variants, syscall-list-32bit-options)
3090 (syscall-list-32bit-condition, syscall-list-64bit-options)
3091 (syscall-list-64bit-condition): Define.
3092 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3093 Remove.
3094 (syscall-list-variants, syscall-list-32bit-options)
3095 (syscall-list-32bit-condition, syscall-list-64bit-options)
3096 (syscall-list-64bit-condition): Define.
3097 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3098 Remove.
3099 (syscall-list-variants, syscall-list-32bit-options)
3100 (syscall-list-32bit-condition, syscall-list-64bit-options)
3101 (syscall-list-64bit-condition): Define.
3102
21eaf3a5
UD
31032011-12-22 Ulrich Drepper <drepper@gmail.com>
3104
16c6f992
UD
3105 * locale/iso-639.def: Add brx entry.
3106
41043168
UD
3107 [BZ #13328]
3108 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3109 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3110
21eaf3a5
UD
3111 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3112 __feraiseexcept_renamed.
3113
e3a851a2
UD
31142011-12-21 Ulrich Drepper <drepper@gmail.com>
3115
4920765e
UD
3116 [BZ #13538]
3117 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3118 EPOLLET with unsigned values.
3119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3120 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3121
e3a851a2
UD
3122 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3123 to large cancellation.
3124 * math/s_cacoshf.c: Likewise.
3125 * math/s_cacoshl.c: Likewise.
3126
b27e24b8
RK
31272011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3128
3129 [BZ #13305]
aebefeee 3130 [BZ #12786]
b27e24b8
RK
3131 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3132 * math/s_cacoshf.c: Likewise.
3133 * math/s_cacoshl.c: Likewise.
3134
ee190f67
UD
31352011-12-21 Ulrich Drepper <drepper@gmail.com>
3136
3137 [BZ #13439]
3138 * iconv/gconv.h: Define __GCONV_SWAP.
3139 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3140 * iconvdata/utf-16.c: Likewise.
3141 * iconvdata/utf-32.c: Likewise.
3142
707f25df
AS
31432011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3144
3145 [BZ #13524]
3146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3147 numerator after shifting it by one limb.
3148
d2daaa1e
RÁE
31492011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3150
3151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3152 under [__USE_EXTERN_INLINES].
3153
a4647e72
UD
31542011-12-17 Ulrich Drepper <drepper@gmail.com>
3155
3156 [BZ #13446]
3157 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3158
f0b264f1
AZ
31592011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3160
3161 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3162 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3163 optimized code.
3164 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3165 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3166 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3167 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3168 for strncasecmp/strncasecmp_l compilation.
3169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3170 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3171
8ef4f244
MP
31722011-12-08 Marek Polacek <mpolacek@redhat.com>
3173
3174 [BZ #13484]
3175 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3176 of __asm__.
3177
97ac2654
UD
31782011-12-17 Ulrich Drepper <drepper@gmail.com>
3179
3180 [BZ #13506]
3181 * time/tzfile.c (__tzfile_read): Check values from file header.
3182
91d2a845
WS
31832011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3184
3185 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3186 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3187 * powerpc/powerpc32/dl-start.S: Likewise.
3188 * powerpc/powerpc32/elf/start.S: Likewise.
3189 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3190 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3191 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3192 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3193 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3194 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3195 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3196 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3197 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3198 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3199 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3200 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3201 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3202 * powerpc/powerpc32/memset.S: Likewise.
3203 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3204 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3205 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3206 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3207 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3208 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3209 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3210 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3211 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3212 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3213 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3214 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3215 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3216
a1267ba1
AZ
32172011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218
3219 * math/libm-test.inc: Added more nearbyint tests.
3220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3224
ad8ac1bd
RL
32252011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3226
3227 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3228 FD_CLOEXEC.
3229
1d3e4b61
UD
32302011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3231
3232 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3233 Add wcscpy-ssse3 wcscpy-c.
3234 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3235 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3236 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3237 * sysdeps/x86_64/wcschr.S: New file.
3238 * sysdeps/x86_64/wcsrchr.S: New file.
3239 * string/test-strcmp.c: Remove checking of wcscmp function for
3240 wrong alignments.
3241 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3242 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3243 wcsrchr-sse2 wcsrchr-c.
3244 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3245 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3246 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3247 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3248 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3249 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3250 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3251 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3252 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3253 * wcsmbc/wcschr.c (WCSCHR): New macro.
3254
5b330a2d
UD
32552011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3256
3257 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3258 * wcsmbs/test-wcsrchr.c: New file.
3259 * string/test-strrchr.c: Add wcsrchr support.
3260 (WIDE): New macro.
3261 * wcsmbs/test-wcscpy.c: New file.
3262 * string/test-strcpy.c: Add wcscpy support.
3263 (WIDE): New macro.
26428b7c 3264
f039c043
UD
32652011-12-10 Ulrich Drepper <drepper@gmail.com>
3266
3267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3268 the inner loop.
3269
850fb039
AS
32702011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 [BZ #13472]
3273 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3274
4efbd5cb
UD
32752011-12-04 Ulrich Drepper <drepper@gmail.com>
3276
52ff5dd0 3277 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3278 Minor optimizations.
52ff5dd0 3279
4efbd5cb
UD
3280 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3281 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3282 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3283
8a426e12
UD
32842011-12-03 Ulrich Drepper <drepper@gmail.com>
3285
aff2453d
UD
3286 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3287 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3288 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3289 for gcc to avoid warnings.
3290 * inet/Makefile (tests): Add tst-checks.
3291 * inet/tst-checks.c: New file.
3292
3293 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3294 warning.
3295
3296 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3297 __wmemcmp_sse2.
3298
3299 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3300 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3301
8a426e12
UD
3302 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3303
9bea3473
UD
33042011-12-02 Ulrich Drepper <drepper@gmail.com>
3305
3a965496
UD
3306 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3307 problem.
3308
9bea3473
UD
3309 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3310
f101631b
UD
33112011-11-29 Joseph Myers <joseph@codesourcery.com>
3312
3313 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3314 conditional on GCC version.
3315 (__arch_compare_and_exchange_val_8_acq)
3316 (__arch_compare_and_exchange_val_16_acq)
3317 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3318 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3319 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3320
a98275aa
UD
33212011-12-02 Joseph Myers <joseph@codesourcery.com>
3322
3323 * sysdeps/sh/backtrace.c: New file.
3324
d4cc29a2
AS
33252011-12-02 Andreas Schwab <schwab@redhat.com>
3326
3327 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3328 parenthesis.
3329
6257af2d
AS
33302011-12-01 Andreas Schwab <schwab@redhat.com>
3331
3332 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3333 falling back to utime.
3334
b5f44c1a
AS
33352011-11-30 Andreas Schwab <schwab@redhat.com>
3336
3337 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3338 expectations for float.
3339
f3a6cc0a
AS
33402011-11-29 Andreas Schwab <schwab@redhat.com>
3341
3342 * locale/weight.h (findidx): Add parameter len.
3343 * locale/weightwc.h (findidx): Likewise.
3344 * posix/fnmatch_loop.c (FCT): Adjust caller.
3345 * posix/regcomp.c (build_equiv_class): Likewise.
3346 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3347 * posix/regexec.c (check_node_accept_bytes): Likewise.
3348 * string/strcoll_l.c (STRCOLL): Likewise.
3349 * string/strxfrm_l.c (STRXFRM): Likewise.
3350
9d65ea3a
UD
33512011-11-17 Ulrich Drepper <drepper@gmail.com>
3352
3353 * Makefile.in: Remove CVSOPT handling.
3354 * configure.in: Remove use of AC_REVISION.
3355 * iconvdata/Makefile (distribute): No need to filter out CVS.
3356 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3357 handling.
3358
5583a086
AS
33592011-11-16 Andreas Schwab <schwab@redhat.com>
3360
3361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3362 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3363 [USE_AS_STRNCASECMP_L]: Likewise.
3364 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3365 NO_TLS_DIRECT_SEG_REFS.
3366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3367 Fix argument offsets for non-PIC.
3368 [USE_AS_STRNCASECMP_L]: Likewise.
3369 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3370 NO_TLS_DIRECT_SEG_REFS.
3371
d62a8200
UD
33722011-11-15 Ulrich Drepper <drepper@gmail.com>
3373
9d65ea3a 3374 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3375 O_CLOEXEC.
3376 * locale/loadlocale.c (_nl_load_locale): Likewise.
3377
09f93bd3
AS
33782011-11-15 Andreas Schwab <schwab@redhat.com>
3379
446514f9
AS
3380 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3381 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3382 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3383 (SYSCALL_GETTIME): Set errno on error.
3384
09f93bd3
AS
3385 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3386 count references to noai6ai_cached.
3387
312be3f9
UD
33882011-11-15 Ulrich Drepper <drepper@gmail.com>
3389
3390 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3391
3392 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3393 FD_CLOEXEC for /proc/self/maps.
3394
3395 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3396 FD_CLOEXEC for /proc/meminfo.
3397
3398 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3399 gai.conf.
3400
3401 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3402 FD_CLOEXEC for given file.
3403
3404 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3405
3406 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3407 FD_CLOEXEC for /etc/hosts.
3408 (_gethtent): Likewise.
3409
3410 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3411
3412 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3413 cancellation and set FD_CLOEXEC for /etc/netgroup.
3414
3415 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3416 reading /etc/publickey.
3417
3418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3419 allow cancellation when reading /etc/group.
3420
3421 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3422 cancellation.
3423 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3424
3425 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3426 when using data file.
3427
3428 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3429
3430 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3431 (write_nis_obj): Use "c" and "e" in fopen.
3432
3433 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3434
3435 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3436
3437 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3438
3439 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3440
3441 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3442 locale.alias.
3443
3444 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3445
3446 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3447
3448 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3449
3450 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3451 file parsing and set FD_CLOEXEC.
3452
82af0fa8
UD
34532011-11-14 Ulrich Drepper <drepper@gmail.com>
3454
3455 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3456
a5fb313c
AS
34572011-11-14 Andreas Schwab <schwab@redhat.com>
3458
3459 * malloc/arena.c (arena_get2): Don't call reused_arena when
3460 _int_new_arena failed.
3461
6abf3465
UD
34622011-11-14 Ulrich Drepper <drepper@gmail.com>
3463
3464 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3465 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3467 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3470 to compile strcasecmp and strncasecmp.
3471 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3472 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3473
3474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3475
76e3966e
UD
34762011-11-13 Ulrich Drepper <drepper@gmail.com>
3477
3478 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3479 locale-defines.sym to gen-as-const-headers.
3480 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3481 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3483 to compile strcasecmp and strncasecmp.
3484 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3485 strcasecmp_l and strncasecmp_l.
3486 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3487 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3488 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3489 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3490 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3491 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3492 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3493 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3494 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3495 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3496 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3497
ab26144e
UD
34982011-11-12 Ulrich Drepper <drepper@gmail.com>
3499
7edb22ef
UD
3500 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3501 result of SYSDEP_GETTIME_CPU to retval.
3502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3503 parameter list to macro. Remove trailing semicolon. Adjust users.
3504
9694fc44
UD
3505 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3506 variable.
3507
8ad89ef8
UD
3508 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3509 mantissa words.
3510 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3511
0c822ef9
UD
3512 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3513 from unused variable.
3514
874e0564
UD
3515 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3516 DWARF definitions.
3517 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3518 for assembling.
3519
3a2edc79
UD
3520 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3521 over namespaces.
3522
f3c2577f
UD
3523 * sunrpc/rpc_prot.c (rejected): Fix case value.
3524
294ce126
UD
3525 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3526 unsigned long long int to avoid warnings in shift.
3527
5e2b63c6
UD
3528 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3529 of use of trans.
3530 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3531 variable tmp.
3532
e7f4b08e
UD
3533 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3534 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3535 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3536
ab26144e
UD
3537 * nis/nis_table.c (nis_list): Use variable of correct type for
3538 result of __follow_path call.
3539
8a6d5255
AZ
35402011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3541
3542 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3543 of math functions ceil, trunc, floor, round, and sqrt, when
3544 avaliable on the platform.
3545 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3546 name clash.
3547 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3548 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3549 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3550
aaddc98c
MP
35512011-10-30 Marek Polacek <mpolacek@redhat.com>
3552
3553 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3554 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3555
95b7042b
RM
35562011-11-11 Roland McGrath <roland@hack.frob.com>
3557
3558 * include/unistd.h: Fix __readlink return type.
3559 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3560
57769839
UD
35612011-11-11 Ulrich Drepper <drepper@gmail.com>
3562
3563 * stdlib/ucontext.h: Undo last change for makecontext.
3564
edc5984d
AS
35652011-11-11 Andreas Schwab <schwab@redhat.com>
3566
98591e58
AS
3567 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3568
edc5984d
AS
3569 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3570 * setjmp/setjmp.h: Mark functions as non-leaf.
3571 * setjmp/bits/setjmp2.h: Likewise.
3572 * stdlib/ucontext.h: Likewise.
3573
77cdc054
AS
35742011-11-10 Andreas Schwab <schwab@redhat.com>
3575
3576 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3577 (reused_arena): Don't check arena limit.
3578 (arena_get2): Atomically check arena limit.
3579
fe72eebd
UD
35802011-11-08 Ulrich Drepper <drepper@gmail.com>
3581
5f078c32
UD
3582 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3583 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3584
fe72eebd
UD
3585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3586 instructions.
3587
ae1bc2fa
AS
35882011-11-07 Andreas Schwab <schwab@redhat.com>
3589
7583a88d
AS
3590 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3591 handler when locking.
3592
ae1bc2fa
AS
3593 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3594 Fix size of allocated buffer.
3595
10fb0bfa
AS
35962011-11-04 Andreas Schwab <schwab@redhat.com>
3597
998832a4
AS
3598 [BZ #10103]
3599 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3600 declarations for long double functions.
3601 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3602
10fb0bfa
AS
3603 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3604
3d7ba52b
AS
36052011-11-03 Andreas Schwab <schwab@redhat.com>
3606
a9ae54a1
AS
3607 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3608 installed.
3609
3d7ba52b
AS
3610 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3611 is disabled.
3612
bc8db248
ST
36132011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3614
3615 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3616
45b96dd6
AS
36172011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3618
647776f6
AS
3619 * include/alloca.h (stackinfo_alloca_round): Define.
3620 (extend_alloca): Use it.
3621 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3622 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3623 here.
3624
d91a8b93
AS
3625 * scripts/check-local-headers.sh: Ignore libaudit.h.
3626
45b96dd6
AS
3627 * nscd/Makefile (extra-objs): Make recursively expanded.
3628
432d41ce
UD
36292011-11-01 Ulrich Drepper <drepper@gmail.com>
3630
34372fc6
UD
3631 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3632 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3633
fadb59f8
UD
3634 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3635 * posix/tst-rfc3484-2.c: Likewise.
3636 * posix/tst-rfc3484-3.c: Likewise.
3637
78239589
UD
3638 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3639 process_vm_writev.
3640 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3641 process_vm_writev.
3642 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3643 process_vm_writev from libc using GLIBC_2.15 version.
3644
432d41ce
UD
3645 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3646
02f9c6cf
PP
36472011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3648
3649 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3650 stack usage.
3651
3a2c0242
UD
36522011-10-31 Ulrich Drepper <drepper@gmail.com>
3653
f4ec4833
UD
3654 [BZ #13367]
3655 * nss/getent.c (initgroups_keys): Show error message in case no group
3656 names are given.
3657
3a2c0242
UD
3658 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3659 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3660 __bump_nl_timestamp.
3661 * nscd/connections (nscd_init): When host database is served open
3662 netlink socket and request notification about configuration changes.
3663 (main_loop_poll): Track netlink file descriptor and bump timestamp
3664 in case data becomes available.
3665 (main_loop_epoll): Likewise.
3666 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3667 (database_pers_head): Add extra_data fileds.
3668 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3669 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3670 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3671 Adjust caller.
3672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3673 in6ai data, call __free_in6ai.
3674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3675 Add -DHAVE_NETLINK.
3676 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3677 interface information. Reuse previous data if netlink timestamp
3678 is not changed.
3679 (__bump_nl_timestamp): New function.
3680 (__free_in6ai): New function.
3681
636064eb
UD
36822011-10-30 Ulrich Drepper <drepper@gmail.com>
3683
3684 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3685 close_not_cancel_no_status here.
3686 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3687
9beb2334
UD
36882011-10-29 Ulrich Drepper <drepper@gmail.com>
3689
6ef76f3b
UD
3690 [BZ #13276]
3691 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3692 return value.
3693
0ffc4f3e 3694 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3695 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3696 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3697
cb95113e
UD
36982011-07-03 Andreas Jaeger <aj@suse.de>
3699
3700 [BZ #10709]
3701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3702 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3703 * math/libm-test.inc (sin_test): Add test case.
3704
a1b560ff
UD
37052011-10-29 Ulrich Drepper <drepper@gmail.com>
3706
c9aaface
UD
3707 [BZ #13337]
3708 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3709 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3710
d272e7f1
UD
3711 * elf/chroot_canon.c (chroot_canon): Cleanups.
3712
1bc33071
UD
3713 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3714
1760874d
TJ
3715 [BZ #13335]
3716 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3717 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3718
51d91b18
UD
3719 * string/test-strchr.c: Make usable for strchrnul testing.
3720 * string/test-strchrnul.c: New file.
3721 * string/Makefile (strop-tests): Add strchrnul.
3722
a1b560ff 3723 * po/it.po: Update from translation team.
b611fb81 3724 * po/es.po: Likewise.
a1b560ff 3725
a5b81e1f
UD
37262011-10-28 Ulrich Drepper <drepper@gmail.com>
3727
fd52bc6d
UD
3728 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3729 the three constants needed as parameters. Drop the others.
3730 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3731 __m128i_strloadu_tolower.
52e4b9eb
UD
3732 Create and initialize variable zero and use it in all the places
3733 where _mm_setzero_si128 was used.
fd52bc6d 3734
a5b81e1f
UD
3735 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3736 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3737 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3738 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3739 anymore.
3740 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3741 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3742 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3743 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3744 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3745 __mpranred, __mptan.
3746 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3747 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3748 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3749 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3750 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3751 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3754 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3755
b4343346
AS
37562011-10-28 Andreas Schwab <schwab@redhat.com>
3757
0c92d8a8
AS
3758 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3759 redefine if SHARED.
3760 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3761
b4343346
AS
3762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3763 wide char related routines to wcsmbs subdir.
3764
3871f58f
AS
37652011-10-27 Andreas Schwab <schwab@redhat.com>
3766
3767 [BZ #13344]
3768 * misc/sys/cdefs.h (__THROWNL): Define.
3769 * posix/unistd.h: Use __THREADNL instead of __THREAD
3770 for memory synchronization functions.
3771
94d44d9f
RM
37722011-10-26 Roland McGrath <roland@hack.frob.com>
3773
21b64b15 3774 [BZ #13349]
94d44d9f
RM
3775 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3776 doesn't exist.
3777 * manual/stdio.texi (Obstack Streams): Node removed.
3778
f6ce9294
AS
37792011-10-26 Andreas Schwab <schwab@redhat.com>
3780
80479147
AS
3781 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3784
f6ce9294
AS
3785 * math/math_private.h (math_force_eval): Allow non-addressable
3786 arguments.
3787 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3788
618280a1
UD
37892011-10-25 Ulrich Drepper <drepper@gmail.com>
3790
e0016b11
UD
3791 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3792 file is not needed.
3793
3794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3797 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3798 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3799 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3801 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3802 Add AVX variants.
3803 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3804 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3805 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3806 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3807 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3808 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3809 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3810 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3813 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3814 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3816 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3818 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3819 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3820 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3821 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3822
3823 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3824 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3825
618280a1
UD
3826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3827 place. Use VEX encoding when compiling for AVX.
3828
37822576
AS
38292011-10-25 Andreas Schwab <schwab@redhat.com>
3830
1f1e1947
AS
3831 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3832 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3833
37822576
AS
3834 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3835
31ea014d
UD
38362011-10-25 Ulrich Drepper <drepper@gmail.com>
3837
d7826aa1 3838 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3839 useless if() expression.
d7826aa1
UD
3840 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3841 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3850 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3851 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3852 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3853 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3854 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3855 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3856 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3858 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3859
31ea014d
UD
3860 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3861
16437fec
AS
38622011-10-25 Andreas Schwab <schwab@redhat.com>
3863
3864 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3865 condition.
3866 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3867
31d3cc00
UD
38682011-10-25 Ulrich Drepper <drepper@gmail.com>
3869
3870 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3871 .text section. Avoid duplicate constants.
3872 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3882 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3884 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3889 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3895 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3896 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3898 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3899 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3901 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3903 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3904 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3905 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3906 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3911 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3917
58985aa9
UD
39182011-10-24 Ulrich Drepper <drepper@gmail.com>
3919
202c9deb
UD
3920 * sysdeps/x86_64/dla.h: Move to ...
3921 * sysdeps/x86_64/fpu/dla.h: ...here.
3922 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3923 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3924
af968f62
UD
3925 * config.make.in: Add have-mfma4 entry.
3926 * configure.in: Substitute libc_cv_cc_fma4.
3927 * math/Makefile (dbl-only-routines): Add sincostab.
3928 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3929 Use __sincostab not sincos.
3930 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3931 name is a macro.
3932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3936 using __copysign.
3937 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3938 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3939 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3940 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3941 and __inv.
3942 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3943 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3944 __copysign.
3945 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3946 define aliases when function name is a macro.
3947 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3948 sysdeps/ieee754/dbl-64/sincos.tbl.
3949 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3950 fma4-enabled routines.
3951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3955 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3956 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3957 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3959 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3960 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3961 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3962 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3963 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3975 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3977 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3978 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3979 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3980 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3981
58985aa9
UD
3982 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3983 rename.
3984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3992
a201fbcf
AS
39932011-10-24 Andreas Schwab <schwab@redhat.com>
3994
3995 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3996
fc2ee42a
LD
39972011-10-23 Ulrich Drepper <drepper@gmail.com>
3998
bb3129bd
UD
3999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4000
0275fff8
UD
4001 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4002 prediction.
4003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4004
2fa2ae85
UD
4005 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4006 Remove unused variable magic_bits.
4007 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4008
fc2ee42a
LD
4009 * string/strnlen.c: Define and use STRNLEN macro.
4010 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4011 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4013 * wcsmbs/wcslen.c: Define and use WCSLEN.
4014 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4015 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4016 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4017 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4018 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4019 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4020 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4021
ce7dd29f
LD
40222011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4023
4024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4025 strnlen-sse2-no-bsf.
4026 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4028 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4029 Add strnlen support.
4030 (USE_AS_STRNLEN): New macro.
4031 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4032 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4033 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4034 * sysdeps/x86_64/wcslen.S: New file.
4035
979c70a3
MZ
40362011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4037
4038 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4039 XMM-moves are used for copying on small sizes.
4040
2d09f82f
LD
40412011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4042
4043 * wcsmbs/Makefile (strop-tests): Add wcschr.
4044 * wcsmbs/test-wcschr.c: New file.
4045 * string/test-strchr.c: Update.
4046 Add wcschr support.
4047 (WIDE): New macro.
4048
619fccca
LD
40492011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4050
2d09f82f 4051 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4052 * wcsmbs/test-wcslen.c: New file.
4053 * string/test-strlen.c: Update.
4054 Add wcslen support.
4055 (WIDE): New macro.
4056
09f699ea
UD
40572011-10-23 Ulrich Drepper <drepper@gmail.com>
4058
4059 * po/it.po: Update from translation team.
4060
95584d3b
LD
40612011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4062
4063 * sysdeps/x86_64/wcscmp.S: Update.
4064 Fix wrong comparison semantics.
4065 wcscmp shall use signed comparison not unsigned.
4066 Don't use substraction to avoid overflow bug.
4067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4068 * wcsmbc/wcscmp.c: Likewise.
4069 * string/test-strcmp.c: Likewise.
4070 Add new tests to check cases with negative values.
4071
c8b3296b
UD
40722011-10-23 Ulrich Drepper <drepper@gmail.com>
4073
4074 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4075 * sysdeps/x86_64/dla.h: ...here. New file.
4076 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4085
246ad57a
AS
40862011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4087
4088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4089 __ynl_finite aliases.
4090
a1a87169
UD
40912011-10-22 Ulrich Drepper <drepper@gmail.com>
4092
0d355eb7
UD
4093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4094
a1a87169
UD
4095 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4096 define DLA_FMA.
4097 [DLA_FMA] (EMULV): Use DLA_FMA.
4098 [DLA_FMA] (MUL12): Use EMULV.
4099 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4100 that are not needed.
4101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4108
ee2aafe0
AS
41092011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4110
4111 * math/s_nan.c: Undef __nan.
4112 * math/s_nanf.c: Undef __nanf.
4113 * math/s_nanl.c: Undef __nanl.
4114 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4115 "math_private.h".
4116
bc62c2fb
UD
41172011-10-22 Ulrich Drepper <drepper@gmail.com>
4118
77425c63
UD
4119 * math/s_catan.c: Add branch predictions.
4120 * math/s_catanf.c: Likewise.
4121 * math/s_catanh.c: Likewise.
4122 * math/s_catanhf.c: Likewise.
4123 * math/s_catanhl.c: Likewise.
4124 * math/s_catanl.c: Likewise.
4125 * math/s_cexp.c: Likewise.
4126 * math/s_cexpf.c: Likewise.
4127 * math/s_cexpl.c: Likewise.
4128 * math/s_clog.c: Likewise.
4129 * math/s_clog10.c: Likewise.
4130 * math/s_clog10f.c: Likewise.
4131 * math/s_clog10l.c: Likewise.
4132 * math/s_clogf.c: Likewise.
4133 * math/s_clogl.c: Likewise.
4134 * math/s_csqrt.c: Likewise.
4135 * math/s_csqrtf.c: Likewise.
4136 * math/s_csqrtl.c: Likewise.
4137 * math/s_ctanf.c: Likewise.
4138 * math/s_ctanh.c: Likewise.
4139 * math/s_ctanhf.c: Likewise.
4140 * math/s_ctanhl.c: Likewise.
4141 * math/s_ctanl.c: Likewise.
4142
bc62c2fb
UD
4143 * math/math_private.h: Define __nan, __nanf, __nanl.
4144 * math/s_cacosh.c: Include <math_private.h>.
4145 * math/s_cacoshl.c: Likewise.
4146 * math/s_casinh.c: Likewise.
4147 * math/s_casinhf.c: Likewise.
4148 * math/s_casinhl.c: Likewise.
4149 * math/s_ccos.c: Rely entire on ccosh.
4150 * math/s_ccosf.c: Rely entire on ccoshf.
4151 * math/s_ccosl.c: Rely entirely on ccoshl.
4152 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4153 Remove tests for FE_INVALID.
4154 * math/s_ccoshf.c: Likewise.
4155 * math/s_ccoshl.c: Likewise.
4156 * math/s_csin.c: Likewise.
4157 * math/s_csinf.c: Likewise.
4158 * math/s_csinh.c Likewise.
4159 * math/s_csinhf.c: Likewise.
4160 * math/s_csinhl.c: Likewise.
4161 * math/s_csinl.c: Likewise.
4162 * math/s_ctan.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4164 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4165 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4166
8ec250a4
UD
41672011-10-21 Ulrich Drepper <drepper@gmail.com>
4168
c196fed8
UD
4169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4170 compilation problems.
4171
8ec250a4
UD
4172 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4173 __builtin_expect.
4174
8d4f46c6
UD
41752011-10-20 Ulrich Drepper <drepper@gmail.com>
4176
ed72b654
UD
4177 * sysdeps/i386/configure.in: Test for -mfma4 option.
4178 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4179 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4180 COMMON_CPUID_INDEX_80000001.
4181 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4182 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4183 use it if FMA3 is not supported.
4184 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4185
8d4f46c6
UD
4186 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4188
d45c60c2
AS
41892011-10-20 Andreas Schwab <schwab@redhat.com>
4190
4191 [BZ #12892]
4192 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4193 it would create a cycle with a link time dependency.
4194
d9a4d2ab
UD
41952011-10-19 Ulrich Drepper <drepper@gmail.com>
4196
855d1560
UD
4197 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4198 instruction.
4199 * string/Makefile (strop-tests): Add rawmemchr.
4200 * string/test-rawmemchr.c: New file.
4201
d9a4d2ab
UD
4202 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4203 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4204 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4205 when compiling str{,n}casecmp and when AVX is available. Hook up
4206 new optimized code in initializers.
4207
8f3b1ffe
AS
42082011-10-19 Andreas Schwab <schwab@redhat.com>
4209
4210 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4211 __feraiseexcept instead of feraiseexcept.
4212
d38f1dba
UD
42132011-10-18 Ulrich Drepper <drepper@gmail.com>
4214
d9a8d0ab
UD
4215 * math/math_private.h: Define defaults for libc_fetestexcept and
4216 libc_feupdateenv.
4217 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4218 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4219 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4220 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4222 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4223 libc_fetestexcept and libc_feupdateenv.
4224
4855e3dd
UD
4225 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4226 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4227 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4228 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4229 libc_feholdexcept_setround.
4230
581d30e3
UD
4231 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4232 Add s_nearbyint-c and s_nearbyintf-c.
4233 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4234 nearbyintf inlines.
4235 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4236 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4237 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4239
d38f1dba
UD
4240 * math/math_private.h: Define defaults for libc_fegetround,
4241 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4242 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4243 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4244 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4245 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4246 standard functions.
4247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4248 Remove comments and hacks for old compiler versions.
4249 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4250 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4251 libc_feholdexceptl.
4252
caa6c9d8
AS
42532011-10-18 Andreas Schwab <schwab@redhat.com>
4254
4255 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4256 (__feraiseexcept_renamed): Add __NTH.
4257 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4258 namespace violations.
4259
97c066e6
UD
42602011-10-17 Ulrich Drepper <drepper@gmail.com>
4261
99ce7b04
UD
4262 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4263
1004d182
UD
4264 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4265
228a984d
UD
4266 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4267 recently added interfaces.
4268 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4269
c8553a6a
UD
4270 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4271 about macro parameter expansion.
4272
ed22dcf6
UD
4273 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4274 __NO_MATH_INLINES is defined. Cleanups.
4275
4276 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4277 and __floorf is target has SSE4.1.
4278 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4279 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4280 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4282
b171c137
UD
4283 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4284 name.
4285 (floorf): Likewise.
4286
97c066e6
UD
4287 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4288
629f62ef
AS
42892011-10-17 Andreas Schwab <schwab@redhat.com>
4290
49a43d80
AS
4291 * misc/sys/cdefs.h: Fix last change.
4292
629f62ef
AS
4293 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4294 database lookup.
4295
e453f6cd
UD
42962011-10-16 Ulrich Drepper <drepper@gmail.com>
4297
aa78043a
UD
4298 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4299
ad0f5cad
UD
4300 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4306 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4307 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4309 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4310 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4311 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4312 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4313 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4314 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4315 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4316 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4317 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4318 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4319 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4320 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4321 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4322
4323 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4324 ceil, ceilf, floor, floorf.
4325
4326 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4327 Perform IRELATIVE relocations last.
4328
e453f6cd
UD
4329 * elf/do-rel.h: Add another parameter nrelative, replacing the
4330 local variable with the same name. Change name of the function
4331 to end in Rel or Rela (uppercase).
4332 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4333 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4334 elf_dynamic_do_##reloc function.
4335
fd5bdc09
UD
43362011-10-15 Ulrich Drepper <drepper@gmail.com>
4337
79b195b5
UD
4338 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4339 is sufficient, at least on modern CPUs.
4340
d4a28569
UD
4341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4342
b61099b5
UD
4343 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4345
bcf01e6d
UD
4346 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4347 __expl_finite.
4348 * math/bits/math-finite.h: Add entries for exp.
4349 * math/e_expl.c: Add __*_finite alias.
4350 * sysdeps/i386/fpu/e_exp.S: Likewise.
4351 * sysdeps/i386/fpu/e_expf.S: Likewise.
4352 * sysdeps/i386/fpu/e_expl.c: Likewise.
4353 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4354 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4357 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4358 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4360
ba1a0d59
UD
4361 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4362 is sufficient, at least on modern CPUs.
4363
fd5bdc09
UD
4364 * ctype/ctype-info.c (__ctype_init): Define.
4365 * include/ctype.h (__ctype_init): Declare.
4366 (__ctype_b_loc): The variable is always initialized.
4367 (__ctype_toupper_loc): Likewise.
4368 (__ctype_tolower_loc): Likewise.
4369 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4370 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4371
7872cfb0
AS
43722011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4373
b468825a
AS
4374 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4375
7872cfb0
AS
4376 * configure.in: Also look in $cxxmachine/include for C++ system
4377 headers.
4378
be13f7bf
LD
43792011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4380
4381 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4382 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4383 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4384 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4386 (USE_AS_WMEMCMP): New macro.
4387 Fixing indents.
4388 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4389 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4390 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4391 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4393 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4394 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4395 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4396 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4397 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4399 (USE_AS_WMEMCMP): New macro.
4400 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4401 * sysdeps/string/test-memcmp.c: Update.
4402 Fix simple_wmemcmp.
4403 Add new tests.
4404 * wcsmbs/wmemcmp.c: Update.
4405 (WMEMCMP): New macro.
4406 Fix overflow bug.
4407
556a2007
AJ
44082011-10-12 Andreas Jaeger <aj@suse.de>
4409
4410 [BZ #13268]
4411 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4412
538faaa7
UD
44132011-10-15 Ulrich Drepper <drepper@gmail.com>
4414
ab6737ff
UD
4415 * libio/iofwide.c (do_length): Avoid warning.
4416
538faaa7
UD
4417 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4418
396a21b1
UD
44192011-10-14 Ulrich Drepper <drepper@gmail.com>
4420
cdf2901f
UD
4421 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4422
38ad40ce
UD
4423 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4424 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4425 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4426 * sysdeps/i386/i686/fpu/e_log.S: New file.
4427 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4428 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4429
396a21b1
UD
4430 * ctype/ctype.h: Add support for inlined isXXX functions when
4431 compiling C++ code.
4432
6b1f68c9
AS
44332011-10-14 Andreas Schwab <schwab@redhat.com>
4434
349290c0
AS
4435 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4436
6b1f68c9
AS
4437 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4438
f2282d42
RM
44392011-10-13 Roland McGrath <roland@hack.frob.com>
4440
4441 [BZ #13291]
4442 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4443
5298ffa8
AS
44442011-10-13 Andreas Schwab <schwab@redhat.com>
4445
714fad23
AS
4446 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4447 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4448 feraiseexcept.
4449
81dcc7fb
AS
4450 * sysdeps/x86_64/memrchr.S: Check for zero size.
4451
5298ffa8
AS
4452 * string/stratcliff.c: Add memrchr tests.
4453
951fbcec
LD
44542011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4455
4456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4457 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4458 rawmemchr-sse2 rawmemchr-sse2-bsf.
4459 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4460 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4461 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4462 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4463 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4464 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4465 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4466 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4467 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4468 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4469 * string/memrchr.c (MEMRCHR): New macro.
4470
0ac5ae23
UD
44712011-10-12 Ulrich Drepper <drepper@gmail.com>
4472
4473 Add integration with gcc's -ffinite-math-only and optimize wrapper
4474 functions in libm.
4475 * Versions.def: Define GLIBC_2.15 version for libm.
4476 * math/Makefile (headers): Add bits/math-finite.h.
4477 * math/bits/math-finite.h: New file.
4478 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4479 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4480 * math/e_acoshl.c: Add __*_finite alias.
4481 * math/e_acosl.c: Likewise.
4482 * math/e_asinl.c: Likewise.
4483 * math/e_atan2l.c: Likewise.
4484 * math/e_atanhl.c: Likewise.
4485 * math/e_coshl.c: Likewise.
4486 * math/e_exp10.c: Likewise.
4487 * math/e_exp10f.c: Likewise.
4488 * math/e_exp10l.c: Likewise.
4489 * math/e_exp2l.c: Likewise.
4490 * math/e_fmodl.c: Likewise.
4491 * math/e_gammal_r.c: Likewise.
4492 * math/e_hypotl.c: Likewise.
4493 * math/e_j0l.c: Likewise.
4494 * math/e_j1l.c: Likewise.
4495 * math/e_jnl.c: Likewise.
4496 * math/e_lgammal_r.c: Likewise.
4497 * math/e_log10l.c: Likewise.
4498 * math/e_log2l.c: Likewise.
4499 * math/e_logl.c: Likewise.
4500 * math/e_powl.c: Likewise.
4501 * math/e_sinhl.c: Likewise.
4502 * math/e_sqrtl.c: Likewise.
4503 * math/e_scalb.c: Completely rewritten and optimized.
4504 * math/e_scalbf.c: Likewise.
4505 * math/e_scalbl.c: Likewise.
4506 * math/w_acos.c: Likewise.
4507 * math/w_acosf.c: Likewise.
4508 * math/w_acosl.c: Likewise.
4509 * math/w_acosh.c: Likewise.
4510 * math/w_acoshf.c: Likewise.
4511 * math/w_acoshl.c: Likewise.
4512 * math/w_asin.c: Likewise.
4513 * math/w_asinf.c: Likewise.
4514 * math/w_asinl.c: Likewise.
4515 * math/w_atan2.c: Likewise.
4516 * math/w_atan2f.c: Likewise.
4517 * math/w_atan2l.c: Likewise.
4518 * math/w_atanh.c: Likewise.
4519 * math/w_atanhf.c: Likewise.
4520 * math/w_atanhl.c: Likewise.
4521 * math/w_exp10.c: Likewise.
4522 * math/w_exp10f.c: Likewise.
4523 * math/w_exp10l.c: Likewise.
4524 * math/w_fmod.c: Likewise.
4525 * math/w_fmodf.c: Likewise.
4526 * math/w_fmodl.c: Likewise.
4527 * math/w_j0.c: Likewise.
4528 * math/w_j0f.c: Likewise.
4529 * math/w_j0l.c: Likewise.
4530 * math/w_j1.c: Likewise.
4531 * math/w_j1f.c: Likewise.
4532 * math/w_j1l.c: Likewise.
4533 * math/w_jn.c: Likewise.
4534 * math/w_jnf.c: Likewise.
4535 * math/w_log.c: Likewise.
4536 * math/w_logf.c: Likewise.
4537 * math/w_logl.c: Likewise.
4538 * math/w_log10.c: Likewise.
4539 * math/w_log10f.c: Likewise.
4540 * math/w_log10l.c: Likewise.
4541 * math/w_log2.c: Likewise.
4542 * math/w_log2f.c: Likewise.
4543 * math/w_log2l.c: Likewise.
4544 * math/w_pow.c: Likewise.
4545 * math/w_powf.c: Likewise.
4546 * math/w_powl.c: Likewise.
4547 * math/w_remainder.c: Likewise.
4548 * math/w_remainderf.c: Likewise.
4549 * math/w_remainderl.c: Likewise.
4550 * math/w_scalb.c: Likewise.
4551 * math/w_scalbf.c: Likewise.
4552 * math/w_scalbl.c: Likewise.
4553 * math/w_sqrt.c: Likewise.
4554 * math/w_sqrtf.c: Likewise.
4555 * math/w_sqrtl.c: Likewise.
4556 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4557 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4558 used.
4559 * math/math_private.h: Declare __kernel_standard_f.
4560 * math/w_cosh.c: Remove cruft and optimize a bit.
4561 * math/w_coshf.c: Likewise.
4562 * math/w_coshl.c: Likewise.
4563 * math/w_exp2.c: Likewise.
4564 * math/w_exp2f.c: Likewise.
4565 * math/w_exp2l.c: Likewise.
4566 * math/w_hypot.c: Likewise.
4567 * math/w_hypotf.c: Likewise.
4568 * math/w_hypotl.c: Likewise.
4569 * math/w_lgamma.c: Likewise.
4570 * math/w_lgamma_r.c: Likewise.
4571 * math/w_lgammaf.c: Likewise.
4572 * math/w_lgammaf_r.c: Likewise.
4573 * math/w_lgammal.c: Likewise.
4574 * math/w_lgammal_r.c: Likewise.
4575 * math/w_sinh.c: Likewise.
4576 * math/w_sinhf.c: Likewise.
4577 * math/w_sinhl.c: Likewise.
4578 * math/w_tgamma.c: Likewise.
4579 * math/w_tgammaf.c: Likewise.
4580 * math/w_tgammal.c: Likewise.
4581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4583 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4584 Minor optimizations. Pretty printing. Remove cruft.
4585 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4586 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4587 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4588 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4589 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4590 * sysdeps/i386/fpu/e_asin.S: Likewise.
4591 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4592 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4593 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4594 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4595 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4596 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4597 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4598 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4599 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4600 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4601 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4602 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4603 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4604 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4605 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4606 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4607 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4608 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4609 * sysdeps/i386/fpu/e_log.S: Likewise.
4610 * sysdeps/i386/fpu/e_log10.S: Likewise.
4611 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4612 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4613 * sysdeps/i386/fpu/e_log2.S: Likewise.
4614 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4615 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4616 * sysdeps/i386/fpu/e_logf.S: Likewise.
4617 * sysdeps/i386/fpu/e_logl.S: Likewise.
4618 * sysdeps/i386/fpu/e_pow.S: Likewise.
4619 * sysdeps/i386/fpu/e_powf.S: Likewise.
4620 * sysdeps/i386/fpu/e_powl.S: Likewise.
4621 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4622 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4623 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4624 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4625 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4626 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4627 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4628 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4629 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4651 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4652 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4653 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4654 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4657 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4658 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4659 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4661 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4662 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4664 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4665 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4666 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4667 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4668 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4669 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4670 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4671 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4710 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4713 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4715 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4716 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4718 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4721 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4722 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4723 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4726 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4727 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4728 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4729 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4730 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4731 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4732 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4733 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4734 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4735 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4736 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4738 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4739 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4740 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4741 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4742 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4743 (__isnanf): Likewise.
4744 (__isinf_ns): Likewise.
4745 (__isinf_nsf): Likewise.
4746 (__finite): Likewise.
4747 (__finitef): Likewise.
4748 (__ieee754_sqrt): Define as macro.
4749 (__ieee754_sqrtf): Define as macro.
4750 (__ieee754_sqrtl): Define as macro.
4751 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4752 inlined copy.
4753 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4754 __FINITE_MATH_ONLY__ consistent.
4755 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4756
12cc2fcd
AS
47572011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4758
a843a204
AS
4759 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4760 of rawmemchr.
4761
12cc2fcd
AS
4762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4763
c853acd5
UD
47642011-10-09 Ulrich Drepper <drepper@gmail.com>
4765
4766 * po/ja.po: Update from translation team.
4767
c658d255
RM
47682011-10-08 Roland McGrath <roland@hack.frob.com>
4769
110946e4
RM
4770 * locale/programs/locarchive.c (prepare_address_space): New function.
4771 (create_archive, enlarge_archive, open_archive): Use it.
4772
50604220
RM
4773 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4774 inside [SHARED], where it is used.
4775
c658d255
RM
4776 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4777
4778 * nss/getent.c (netgroup_keys): Remove unused variable.
4779 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4780
6a621eb7
UD
47812011-10-08 Ulrich Drepper <drepper@gmail.com>
4782
7edb55ce
UD
4783 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4784 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4786 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4787 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4788 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4789 * math/Makefile (libm-calls): Add s_isinf_ns.
4790 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4791 * math/multc3.c: Likewise.
4792 * math/s_casin.c: Likewise.
4793 * math/s_casinf.c: Likewise.
4794 * math/s_casinl.c: Likewise.
4795 * math/s_ccos.c: Likewise.
4796 * math/s_ccosf.c: Likewise.
4797 * math/s_ccosl.c: Likewise.
4798 * math/s_ctan.c: Likewise.
4799 * math/s_ctanf.c: Likewise.
4800 * math/s_ctanh.c: Likewise.
4801 * math/s_ctanhf.c: Likewise.
4802 * math/s_ctanhl.c: Likewise.
4803 * math/s_ctanl.c: Likewise.
4804 * math/w_fmod.c: Likewise.
4805 * math/w_fmodf.c: Likewise.
4806 * math/w_fmodl.c: Likewise.
4807 * math/w_remainder.c: Likewise.
4808 * math/w_remainderf.c: Likewise.
4809 * math/w_remainderl.c: Likewise.
4810 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4811 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4812 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4814 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4815 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4816 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4817 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4818
187da0ae
UD
4819 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4820 of the number.
4821 * stdio-common/printf_fphex.c: Likewise.
4822 * stdio-common/printf_size.c: Likewise.
4823
9277c064
UD
4824 * math/e_exp10.c: Include math_private.h using <...> not "...".
4825 * math/e_exp10f.c: Likewise.
4826 * math/e_exp10l.c: Likewise.
4827 * math/e_exp2l.c: Likewise.
4828 * math/e_j0l.c: Likewise.
4829 * math/e_j1l.c: Likewise.
4830 * math/e_jnl.c: Likewise.
4831 * math/e_lgammal_r.c: Likewise.
4832 * math/e_rem_pio2l.c: Likewise.
4833 * math/e_scalb.c: Likewise.
4834 * math/e_scalbf.c: Likewise.
4835 * math/e_scalbl.c: Likewise.
4836 * math/k_cosl.c: Likewise.
4837 * math/k_sinl.c: Likewise.
4838 * math/k_tanl.c: Likewise.
4839 * math/s_cacoshf.c: Likewise.
4840 * math/s_catan.c: Likewise.
4841 * math/s_catanf.c: Likewise.
4842 * math/s_catanh.c: Likewise.
4843 * math/s_catanhf.c: Likewise.
4844 * math/s_catanhl.c: Likewise.
4845 * math/s_catanl.c: Likewise.
4846 * math/s_ccosh.c: Likewise.
4847 * math/s_ccoshf.c: Likewise.
4848 * math/s_ccoshl.c: Likewise.
4849 * math/s_cexp.c: Likewise.
4850 * math/s_cexpf.c: Likewise.
4851 * math/s_cexpl.c: Likewise.
4852 * math/s_clog.c: Likewise.
4853 * math/s_clog10.c: Likewise.
4854 * math/s_clog10f.c: Likewise.
4855 * math/s_clog10l.c: Likewise.
4856 * math/s_clogf.c: Likewise.
4857 * math/s_clogl.c: Likewise.
4858 * math/s_csin.c: Likewise.
4859 * math/s_csinf.c: Likewise.
4860 * math/s_csinh.c: Likewise.
4861 * math/s_csinhf.c: Likewise.
4862 * math/s_csinhl.c: Likewise.
4863 * math/s_csinl.c: Likewise.
4864 * math/s_csqrt.c: Likewise.
4865 * math/s_csqrtf.c: Likewise.
4866 * math/s_csqrtl.c: Likewise.
4867 * math/s_ctan.c: Likewise.
4868 * math/s_ctanf.c: Likewise.
4869 * math/s_ctanh.c: Likewise.
4870 * math/s_ctanhf.c: Likewise.
4871 * math/s_ctanhl.c: Likewise.
4872 * math/s_ctanl.c: Likewise.
4873 * math/s_ldexp.c: Likewise.
4874 * math/s_ldexpf.c: Likewise.
4875 * math/s_ldexpl.c: Likewise.
4876 * math/s_significand.c: Likewise.
4877 * math/s_significandf.c: Likewise.
4878 * math/s_significandl.c: Likewise.
4879 * math/w_acos.c: Likewise.
4880 * math/w_acosf.c: Likewise.
4881 * math/w_acosh.c: Likewise.
4882 * math/w_acoshf.c: Likewise.
4883 * math/w_acoshl.c: Likewise.
4884 * math/w_acosl.c: Likewise.
4885 * math/w_asin.c: Likewise.
4886 * math/w_asinf.c: Likewise.
4887 * math/w_asinl.c: Likewise.
4888 * math/w_atan2.c: Likewise.
4889 * math/w_atan2f.c: Likewise.
4890 * math/w_atan2l.c: Likewise.
4891 * math/w_atanh.c: Likewise.
4892 * math/w_atanhf.c: Likewise.
4893 * math/w_atanhl.c: Likewise.
4894 * math/w_cosh.c: Likewise.
4895 * math/w_coshf.c: Likewise.
4896 * math/w_coshl.c: Likewise.
4897 * math/w_dremf.c: Likewise.
4898 * math/w_exp10.c: Likewise.
4899 * math/w_exp10f.c: Likewise.
4900 * math/w_exp10l.c: Likewise.
4901 * math/w_exp2.c: Likewise.
4902 * math/w_exp2f.c: Likewise.
4903 * math/w_fmod.c: Likewise.
4904 * math/w_fmodf.c: Likewise.
4905 * math/w_fmodl.c: Likewise.
4906 * math/w_hypot.c: Likewise.
4907 * math/w_hypotf.c: Likewise.
4908 * math/w_hypotl.c: Likewise.
4909 * math/w_j0.c: Likewise.
4910 * math/w_j0f.c: Likewise.
4911 * math/w_j0l.c: Likewise.
4912 * math/w_j1.c: Likewise.
4913 * math/w_j1f.c: Likewise.
4914 * math/w_j1l.c: Likewise.
4915 * math/w_jn.c: Likewise.
4916 * math/w_jnf.c: Likewise.
4917 * math/w_jnl.c: Likewise.
4918 * math/w_lgamma.c: Likewise.
4919 * math/w_lgamma_r.c: Likewise.
4920 * math/w_lgammaf.c: Likewise.
4921 * math/w_lgammaf_r.c: Likewise.
4922 * math/w_lgammal.c: Likewise.
4923 * math/w_lgammal_r.c: Likewise.
4924 * math/w_log.c: Likewise.
4925 * math/w_log10.c: Likewise.
4926 * math/w_log10f.c: Likewise.
4927 * math/w_log10l.c: Likewise.
4928 * math/w_log2.c: Likewise.
4929 * math/w_log2f.c: Likewise.
4930 * math/w_log2l.c: Likewise.
4931 * math/w_logf.c: Likewise.
4932 * math/w_logl.c: Likewise.
4933 * math/w_pow.c: Likewise.
4934 * math/w_powf.c: Likewise.
4935 * math/w_powl.c: Likewise.
4936 * math/w_remainder.c: Likewise.
4937 * math/w_remainderf.c: Likewise.
4938 * math/w_remainderl.c: Likewise.
4939 * math/w_scalb.c: Likewise.
4940 * math/w_scalbf.c: Likewise.
4941 * math/w_scalbl.c: Likewise.
4942 * math/w_sinh.c: Likewise.
4943 * math/w_sinhf.c: Likewise.
4944 * math/w_sinhl.c: Likewise.
4945 * math/w_sqrt.c: Likewise.
4946 * math/w_sqrtf.c: Likewise.
4947 * math/w_sqrtl.c: Likewise.
4948 * math/w_tgamma.c: Likewise.
4949 * math/w_tgammaf.c: Likewise.
4950 * math/w_tgammal.c: Likewise.
4951
6a621eb7
UD
4952 * po/ja.po: Update from translation team.
4953
bf582445
AJ
49542011-09-29 Andreas Jaeger <aj@suse.de>
4955
f9efbf3a
AJ
4956 [BZ #13179]
4957 * sunrpc/netname.c (netname2host): Fix logic.
4958
bf582445
AJ
4959 [BZ #6779]
4960 [BZ #6783]
4961 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4962 correctly.
4963 * math/w_remainder.c (__remainder): Likewise.
4964 * math/w_remainderf.c (__remainderf): Likewise.
4965 * math/libm-test.inc (remainder_test): Add test cases.
4966
48693bea
AK
49672011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4968
4969 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4970 sdiv_qrnnd.
4971
42622229
LD
49722011-10-07 Ulrich Drepper <drepper@gmail.com>
4973
4974 * string/test-memcmp.c: Avoid unncessary #defines.
4975 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4976
093ecf92
LD
49772011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4978
4979 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4980 Use new sse2 version for core i3 - i7 as it's faster
4981 than sse42 version.
4982 (bit_Prefer_PMINUB_for_stringop): New.
4983 * sysdeps/x86_64/rawmemchr.S: Update.
4984 Replace with faster SSE2 version.
4985 * sysdeps/x86_64/memrchr.S: New file.
4986 * sysdeps/x86_64/memchr.S: Update.
4987 Replace with faster SSE2 version.
4988
fde56e5c
MP
49892011-09-12 Marek Polacek <mpolacek@redhat.com>
4990
4991 * elf/dl-load.c (lose): Add cast to avoid warning.
4992
21fd49a9
UD
49932011-10-07 Ulrich Drepper <drepper@gmail.com>
4994
5a06e643
UD
4995 * po/ca.po: Update from translation team.
4996
684ae515
UD
4997 * inet/getnetgrent_r.c: Hook up nscd.
4998 * nscd/Makefile (routines): Add nscd_netgroup.
4999 (nscd-modules): Add netgroupcache.
5000 (CFLAGS-netgroupcache.c): Define.
5001 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5002 (cache_search): Add const to second parameter.
5003 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5004 INNETGR.
5005 (dbs): Add netgrdb entry.
5006 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5007 (verify_persistent_db): Handle netgrdb.
5008 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5009 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5010 GETFDNETGR.
5011 (netgroup_response_header): Define.
5012 (innetgroup_response_header): Define.
5013 (datahead): Add netgroup_response_header and innetgroup_response_header
5014 elements.
5015 * nscd/nscd.conf: Add entries for netgroup cache.
5016 * nscd/nscd.h (dbtype): Add netgrdb.
5017 (_PATH_NSCD_NETGROUP_DB): Define.
5018 (netgroup_iov_disabled): Declare.
5019 (xmalloc, xcalloc, xrealloc): Move declarations here.
5020 (cache_search): Adjust prototype.
5021 Add netgroup-related prototypes.
5022 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5023 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5024 (__nscd_innetgr): Declare.
5025 * nscd/selinux.c (perms): Use access_vector_t as element type and
5026 add netgroup-related initializers.
5027 * nscd/netgroupcache.c: New file.
5028 * nscd/nscd_netgroup.c: New file.
5029 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5030 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5031 For four parameters use innetgr.
5032 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5033 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5034 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5035 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5036
21fd49a9
UD
5037 * nscd/connections.c (register_traced_file): Don't register file
5038 for disabled databases.
5039
054c0457
UD
50402011-10-06 Ulrich Drepper <drepper@gmail.com>
5041
32b63198
UD
5042 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5043
054c0457
UD
5044 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5045 from tree and freeing node.
5046
64031225
JO
50472011-09-25 Jiri Olsa <jolsa@redhat.com>
5048
5049 * nss/nsswitch.c (__nss_database_lookup): Handle
5050 nss_parse_service_list out of memory case.
5051
0490345c
JO
50522011-09-15 Jiri Olsa <jolsa@redhat.com>
5053
5054 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5055 out of memory case.
5056
3a62d00d
AS
50572011-10-04 Andreas Schwab <schwab@redhat.com>
5058
5059 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5060 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5061 pass it down.
5062 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5063 elf_machine_rela, elf_machine_lazy_rel.
5064 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5065 (ELF_DYNAMIC_DO_REL): Likewise.
5066 (ELF_DYNAMIC_DO_RELA): Likewise.
5067 (ELF_DYNAMIC_RELOCATE): Likewise.
5068 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5069 to ELF_DYNAMIC_DO_REL.
5070 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5071 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5072 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5073 elf_machine_rela.
5074 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5075 skip_ifunc, don't call ifunc function if non-zero.
5076 (elf_machine_rela): Likewise.
5077 (elf_machine_lazy_rel): Likewise.
5078 (elf_machine_lazy_rela): Likewise.
5079 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5080 (elf_machine_lazy_rel): Likewise.
5081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5082 Likewise.
5083 (elf_machine_lazy_rel): Likewise.
5084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5085 Likewise.
5086 (elf_machine_lazy_rel): Likewise.
5087 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5088 (elf_machine_lazy_rel): Likewise.
5089 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5090 (elf_machine_lazy_rel): Likewise.
5091 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5092 (elf_machine_lazy_rel): Likewise.
5093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5094 (elf_machine_lazy_rel): Likewise.
5095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5096 (elf_machine_lazy_rel): Likewise.
5097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5098 (elf_machine_lazy_rel): Likewise.
5099
68577918
UD
51002011-09-28 Ulrich Drepper <drepper@gmail.com>
5101
5102 * nss/nss_files/files-init.c (_nss_files_init): Use static
5103 initialization for all the *_traced_file variables.
5104
68822d74
AS
51052011-09-28 Andreas Schwab <schwab@redhat.com>
5106
5107 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5108
2056100b
RM
51092011-09-27 Roland McGrath <roland@hack.frob.com>
5110
5111 [BZ #13226]
5112 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5113
32c76b63
AS
51142011-09-27 Andreas Schwab <schwab@redhat.com>
5115
5116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5117 Reread the line before reparsing it.
5118
bf972c9d
AS
51192011-09-26 Andreas Schwab <schwab@redhat.com>
5120
5121 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5122
e057a1b5
JM
51232011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5124 Maxim Kuvyrkov <maxim@codesourcery.com>
5125 Joseph Myers <joseph@codesourcery.com>
5126
5127 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5128 if needed for __stack_chk_guard.
5129
bc7e1c36
RM
51302011-09-19 Roland McGrath <roland@hack.frob.com>
5131
ecb1482f
RM
5132 * sysdeps/posix/spawni.c (script_execute): Always define it.
5133 It will be optimized away if unused.
5134 (maybe_script_execute): New function.
5135 (__spawni): Call it.
5136
bc7e1c36
RM
5137 * Makerules: Don't include tls.make.
5138 (config-tls): Always set to thread.
5139 * tls.make.c: File removed.
5140
1c3b002b
MF
51412011-09-19 Mike Frysinger <vapier@gentoo.org>
5142
5143 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5144 * config.make.in (CPPFLAGS-config): New substituted variable.
5145
2840865d
UD
51462011-09-15 Ulrich Drepper <drepper@gmail.com>
5147
88738eb6
UD
5148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5149
cbf645a6 5150 [BZ #13192]
2840865d
UD
5151 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5152 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5153
b402e91a
RM
51542011-09-15 Roland McGrath <roland@hack.frob.com>
5155
5156 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5157 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5159 (CALL_FAIL): Likewise.
5160 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5161 (CALL_FAIL): Macro removed.
5162 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5163
4c1a1f71
UD
51642011-09-15 Ulrich Drepper <drepper@gmail.com>
5165
5166 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5167 for __FINITE_MATH_ONLY__ == 1.
5168
edc121be
AS
51692011-09-15 Andreas Schwab <schwab@redhat.com>
5170
5171 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5172 __ieee754_sqrt instead of sqrt.
5173 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5174 __ieee754_sqrtf instead of sqrtf.
5175 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5176 __floorf instead of floorf.
5177 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5178 __floorf, __truncf instead of floorf, truncf.
5179
cd205654
UD
51802011-09-14 Ulrich Drepper <drepper@gmail.com>
5181
ee4d0315
UD
5182 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5183
cd205654
UD
5184 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5185 __extern_always_inline.
5186 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5187 32-bit.
5188
48b67d71
AS
51892011-09-14 Andreas Schwab <schwab@redhat.com>
5190
5191 * elf/rtld.c (dl_main): Also relocate in dependency order when
5192 doing symbol dependency testing.
5193
1ae12c75
AS
51942011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5195
5196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5197 Always define `refsym'.
5198
995a80df
AS
51992011-09-13 Andreas Schwab <schwab@redhat.com>
5200
e529793b
AS
5201 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5202 (__FD_ELT): Renamed from __FDELT.
5203 * misc/bits/select2.h (__FD_ELT): Likewise.
5204 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5205 __FD_MASK instead of __FDELT, __FDMASK.
5206 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5207 Likewise.
5208 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5209 Likewise.
5210
52d4fef8
AS
5211 * elf/Makefile (gen-ldd): Fix pattern.
5212
995a80df
AS
5213 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5214 (init_tls): Likewise.
5215
8682f8b0
UD
52162011-09-12 Ulrich Drepper <drepper@gmail.com>
5217
5218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5219
de82006d
AS
52202011-09-12 Andreas Schwab <schwab@redhat.com>
5221
a7c8e6a1
AS
5222 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5223 `struct cmsghdr *' instead of `void *'.
5224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5225 Likewise.
5226
0f31fe77
AS
52272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5228
5229 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5230 if non-absolute.
5231 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5232 ldd_rewrite_script.
0f31fe77 5233
32b4c839
UD
52342011-09-11 Ulrich Drepper <drepper@gmail.com>
5235
83cd1420
UD
5236 * configure.in: Remove --with-tls option.
5237 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5238 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5239 out in case it is missing.
5240 * sysdeps/ia64/elf/configure.in: Likewise.
5241 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5242 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5243 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5244 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5245 * sysdeps/sh/elf/configure.in: Likewise.
5246 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5247 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5248 * sysdeps/x86_64/elf/configure.in: Likewise.
5249 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5250 * sysdeps/mach/hurd/tls.h: Likewise.
5251
633f745d
UD
5252 [BZ #13067]
5253 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5254
f318beb8
UD
5255 [BZ #13090]
5256 * configure.in: Fix use of AC_INIT.
5257
32b4c839
UD
5258 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5259
3ce1f295
UD
52602011-09-10 Ulrich Drepper <drepper@gmail.com>
5261
bb016596
UD
5262 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5263 __set_errno.
8e58439c
UD
5264 * malloc/hooks.c: Likewise.
5265
aebae053 5266 [BZ #11929]
02d46fc4
UD
5267 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5268 variables statically.
5269 (narenas): Initialize.
5270 (list_lock): Initialize.
bb016596
UD
5271 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5272 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5273 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5274 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5275 Add initializers to main_arena and mp_.
5276 (malloc_state): Remove pagesize member. Change all users to use
5277 GLRO(dl_pagesize).
5278
5279 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5280 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5281 is always initialized.
5282
22a89187
UD
5283 * malloc/malloc.c: Removed unused configurations and dead code.
5284 * malloc/arena.c: Likewise.
5285 * malloc/hooks.c: Likewise.
02d46fc4 5286 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5287
d063d164
UD
5288 * include/tls.h: Removed. USE___THREAD must always be defined.
5289 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5290 * elf/dl-libc.c: Likewise.
5291 * elf/dl-tsd.c: Likewise.
5292 * include/errno.h: Likewise.
5293 * include/netdb.h: Likewise.
5294 * include/resolv.h: Likewise.
5295 * inet/herrno-loc.c: Likewise.
5296 * inet/herrno.c: Likewise.
5297 * malloc/arena.c: Likewise.
5298 * malloc/hooks.c: Likewise.
5299 * malloc/malloc.c: Likewise.
5300 * resolv/res-state.c: Likewise.
5301 * resolv/res_libc.c: Likewise.
5302 * sysdeps/i386/dl-machine.h: Likewise.
5303 * sysdeps/ia64/dl-machine.h: Likewise.
5304 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5305 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5306 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5307 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5308 * sysdeps/sh/dl-machine.h: Likewise.
5309 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5310 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5311 * sysdeps/unix/i386/sysdep.S: Likewise.
5312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5313 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5318 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5322 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5323 * sysdeps/x86_64/dl-machine.h: Likewise.
5324 * tls.make.c: Likewise.
5325
3ce1f295
UD
5326 * configure.in: Remove --with-__thread option. Make tests for
5327 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5328 tls_model attribute fail if no support is available. Remove
5329 USE_IN_LIBIO.
5330 * Makeconfig: Adjust for dropped configure option. All features are
5331 now mandatory.
5332 * Makerules: Likewise.
5333 * Versions.def: Likewise.
5334 * argp/argp-fmtstream.c: Likewise.
5335 * argp/argp-fmtstream.h: Likewise.
5336 * argp/argp-help.c: Likewise.
5337 * assert/assert.c: Likewise.
5338 * config.h.in: Likewise.
5339 * config.make.in: Likewise.
5340 * configure: Likewise.
5341 * configure.in: Likewise.
5342 * csu/Versions: Likewise.
5343 * csu/init.c: Likewise.
5344 * elf/tst-audit2.c: Likewise.
5345 * elf/tst-tls10.c: Likewise.
5346 * elf/tst-tls10.h: Likewise.
5347 * elf/tst-tls11.c: Likewise.
5348 * elf/tst-tls12.c: Likewise.
5349 * elf/tst-tls14.c: Likewise.
5350 * elf/tst-tlsmod11.c: Likewise.
5351 * elf/tst-tlsmod12.c: Likewise.
5352 * elf/tst-tlsmod13.c: Likewise.
5353 * elf/tst-tlsmod13a.c: Likewise.
5354 * elf/tst-tlsmod14a.c: Likewise.
5355 * elf/tst-tlsmod15b.c: Likewise.
5356 * elf/tst-tlsmod16a.c: Likewise.
5357 * elf/tst-tlsmod16b.c: Likewise.
5358 * elf/tst-tlsmod7.c: Likewise.
5359 * elf/tst-tlsmod8.c: Likewise.
5360 * elf/tst-tlsmod9.c: Likewise.
5361 * gmon/gmon.c: Likewise.
5362 * grp/fgetgrent_r.c: Likewise.
5363 * grp/putgrent.c: Likewise.
5364 * hurd/fopenport.c: Likewise.
5365 * include/libc-symbols.h: Likewise.
5366 * include/tls.h: Likewise.
5367 * intl/gettextP.h: Likewise.
5368 * intl/loadinfo.h: Likewise.
5369 * locale/global-locale.c: Likewise.
5370 * locale/localeinfo.h: Likewise.
5371 * mach/devstream.c: Likewise.
5372 * malloc/arena.c: Likewise.
5373 * malloc/set-freeres.c: Likewise.
5374 * misc/err.c: Likewise.
5375 * misc/getttyent.c: Likewise.
5376 * misc/mntent_r.c: Likewise.
5377 * posix/getopt.c: Likewise.
5378 * posix/wordexp.c: Likewise.
5379 * pwd/fgetpwent_r.c: Likewise.
5380 * resolv/Versions: Likewise.
5381 * resolv/res_hconf.c: Likewise.
5382 * shadow/fgetspent_r.c: Likewise.
5383 * shadow/putspent.c: Likewise.
5384 * stdio-common/printf_fphex.c: Likewise.
5385 * stdio-common/tmpfile.c: Likewise.
5386 * stdlib/abort.c: Likewise.
5387 * stdlib/fmtmsg.c: Likewise.
5388 * sunrpc/auth_unix.c: Likewise.
5389 * sunrpc/clnt_perr.c: Likewise.
5390 * sunrpc/clnt_tcp.c: Likewise.
5391 * sunrpc/clnt_udp.c: Likewise.
5392 * sunrpc/clnt_unix.c: Likewise.
5393 * sunrpc/openchild.c: Likewise.
5394 * sunrpc/svc_simple.c: Likewise.
5395 * sunrpc/svc_tcp.c: Likewise.
5396 * sunrpc/svc_udp.c: Likewise.
5397 * sunrpc/svc_unix.c: Likewise.
5398 * sunrpc/xdr.c: Likewise.
5399 * sunrpc/xdr_array.c: Likewise.
5400 * sunrpc/xdr_rec.c: Likewise.
5401 * sunrpc/xdr_ref.c: Likewise.
5402 * sunrpc/xdr_stdio.c: Likewise.
5403
1248c1c4
PB
54042011-09-09 Ulrich Drepper <drepper@gmail.com>
5405
5406 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5407
54082011-07-03 Andreas Jaeger <aj@suse.de>
5409
5410 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5411 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5412 regenerate with gen-libm-tests.pl.
5413
54142010-05-12 Petr Baudis <pasky@suse.cz>
5415
5416 [BZ #11589]
5417 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5418 around j0() zero points by switching to j1().
5419 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5423
f22e1074
UD
54242011-09-09 Ulrich Drepper <drepper@gmail.com>
5425
f19009c1
UD
5426 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5427 instead of 0.
5428 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5429 instead of 0. .
5430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5431 Patch in part by Pavel Roskin <proski@gnu.org>.
5432
3f8cc204
UD
5433 [BZ #13138]
5434 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5435 realloc.
5436 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5437 Free memory block if necessary.
5438
f22e1074
UD
5439 [BZ #12847]
5440 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5441 be NULL. Don't lock in this case.
5442
0a2349f9
RM
54432011-09-09 Roland McGrath <roland@hack.frob.com>
5444
5445 * elf/elf.h (ELFOSABI_GNU): New macro.
5446 (ELFOSABI_LINUX): Define to that.
5447
f3cdd467
DZ
54482011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5449
5450 * string/strncat.c (strncat): Undef the symbol in case it has been
5451 defined in bits/string.h.
5452
74718d13
UD
54532011-09-09 Ulrich Drepper <drepper@gmail.com>
5454
633e9e0f
UD
5455 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5456
0a2349f9 5457 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5458 link map.
5459
f9924780
AJ
54602011-08-17 Andreas Jaeger <aj@suse.de>
5461
5462 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5463
7f5517aa
PP
54642011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5465 Ian Lance Taylor <iant@google.com>
5466
5467 * math/libm-test.inc (lround_test): New testcase.
5468 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5469
762011fe
UD
54702011-09-08 Ulrich Drepper <drepper@gmail.com>
5471
92963737
UD
5472 * Makefile: Remove support for automatic cvs check-ins.
5473 * Makerules: Likewise.
5474 * config.make.in: Likewise.
5475 * configure.in: Likewise.
5476 * intl/Makefile: Likewise.
5477 * locale/Makefile: Likewise.
5478 * po/Makefile: Likewise.
5479 * posix/Makefile: Likewise.
5480 * sysdeps/gnu/Makefile: Likewise.
5481 * sysdeps/mach/hurd/Makefile: Likewise.
5482 * sysdeps/sparc/sparc32/Makefile: Likewise.
5483
b0727fd8
JS
5484 [BZ #13118]
5485 * posix/Makefile (bug-regex32-ENV): Define.
5486 Patch by John Stanley <jpsinthemix@verizon.net>.
5487
a0f33f99
UD
5488 * misc/Makefile (headers): Add bits/select2.h.
5489 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5490 * misc/bits/select2.h: New file.
5491 * include/bits/select2.h: New file.
5492 * debug/Makefile (routines): Add fdelt_chk.
5493 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5494 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5495 FD_ISSET.
5496 * debug/fdelt_chk.c: New file.
5497
762011fe
UD
5498 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5499 * wcsmbs/test-wmemcmp.c: Likewise.
5500 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5501 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5502
55032011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5504
5505 * string/Makefile (strop-tests): Add memcmp.
5506 * string/test-wmemcmp.c: New file.
5507 * string/test-memcmp.c: Add wmemcmp support.
5508
7f513ec8
RM
55092011-09-08 Roland McGrath <roland@hack.frob.com>
5510
0442afb4
RM
5511 [BZ #13153]
5512 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5513 2011-07-19 change.
5514
7f513ec8
RM
5515 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5516 garbage value in a __mach_port_mod_refs call in the cases of the
5517 task-self and thread-self ports.
5518
a12b2239
ST
55192011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5520
5521 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5522
610f9ab4
AS
55232011-09-08 Andreas Schwab <schwab@redhat.com>
5524
7f513ec8 5525 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5526
48882a1a
LD
55272011-09-07 Ulrich Drepper <drepper@gmail.com>
5528
b49865be
UD
5529 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5530
fdc86bc9
UD
5531 * elf/dl-libc.c (dlerror_run): Pass back error code from
5532 dl_catch_error.
5533
c966526a
UD
5534 [BZ #13123]
5535 * elf/dl-load.c (lose): Free l_origin if it is valid.
5536
48882a1a
LD
5537 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5538 names.
5539 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5540 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5542 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5543 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5544 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5545
77a2a8b4
AZ
55462011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547
5548 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5549 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5550 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5551 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5552 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5553 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5554 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5555 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5556 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5557 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5558
24f579d8
AM
55592011-08-15 Alan Modra <amodra@gmail.com>
5560
5561 [BZ #13092]
5562 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5563 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5564 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5565 ppc_mcount to static-only-routines.
5566 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5567 __mcount_internal.
5568 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5569 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5570
3d4837df
UD
55712011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5572
5573 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5574 for finite and infinity parameters.
5575
22700377
WS
55762011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5577
5578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5579 and add nop instructions for throughput optimization.
5580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5581
5025581e
WS
55822011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5583
5584 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5585 aligned copy for power7 with vector-scalar instructions.
5586 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5587
08a300c9
L
55882011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5591 AVX check.
5592
59178ef9
AS
55932011-09-07 Andreas Schwab <schwab@redhat.com>
5594
5595 [BZ #13144]
5596 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5597 last change.
5598
e38ba7ab
UD
55992011-09-07 Ulrich Drepper <drepper@gmail.com>
5600
5601 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5602 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5603 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5604 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5605 clock_gettime.
5606
d53a73ac
UD
56072011-09-06 Ulrich Drepper <drepper@gmail.com>
5608
fc8bffcc
UD
5609 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5610 Forgot to demangle the pointer.
5611
ceaa0c5d
UD
5612 * sysdeps/i386/sysdep.h: Define atom_text_section.
5613 * sysdeps/x86_64/sysdep.h: Likewise.
5614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5615 section with atom_text_section.
5616 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5617 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5618 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5620 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5621
a77d3c17
UD
5622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5623 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5624 already be defined. Change to take two parameters and don't assign
5625 result to variable. Adjust all users.
5626 Define INTERNAL_GETTIME if not already defined.
5627 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5628 call.
5629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5630 HAVE_CLOCK_GETTIME_VSYSCALL.
5631 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5632
d53a73ac
UD
5633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5634 gettimeofday vsyscall, just use time.
5635
a8f84144
AS
56362011-09-06 Andreas Schwab <schwab@redhat.com>
5637
5638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5639 <errno.h>.
5640
ef606249
UD
56412011-09-06 Ulrich Drepper <drepper@gmail.com>
5642
5643 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5644 syscall on x86-64.
5645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5646 syscall.
5647 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5648 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5649 syscall if possible.
5650
6585cb60
UD
56512011-09-05 Ulrich Drepper <drepper@gmail.com>
5652
5653 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5654 e_ident. Don't pass to find_mapsXX.
5655 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5656
a5f524e4
LD
56572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5658
5659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5660 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5661 * sysdeps/x86_64/multiarch/strchr.S: Update.
5662 Check bit_slow_BSF bit.
5663 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5664 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5665 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5666
554881ef
UD
56672011-09-05 Ulrich Drepper <drepper@gmail.com>
5668
d96de963
UD
5669 [BZ #13134]
5670 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5671 before glibc 2.15.
5672 (tryshell): Define.
5673 (__spawni): Change last parameter to be flag. Test
5674 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5675 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5676 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5677 * posix/spawni.c: Likewise.
5678 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5679 * posix/spawnp.c: Likewise. Change normal version to use
5680 SPAWN_XFLAGS_USE_PATH.
5681 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5682 SPAWN_XFLAGS_TRY_SHELL.
5683
d48e5868
UD
5684 [BZ #13150]
5685 * posix/glob.h: Remove gcc 1.x support.
5686
554881ef
UD
5687 [BZ #13068]
5688 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5689
693fb948
LD
56902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5691
5692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5693 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5694 strrchr-sse2-bsf
5695 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5696 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5697 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5698 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5699 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5700 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5701
1b48c537
UD
57022011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5703
49d42c37
UD
5704 * sysdeps/x86_64/wcscmp.S: New file.
5705
1b48c537
UD
5706 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5707 wcscmp-c wcscmp-sse2
5708 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5709 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5710 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5711 * wcsmbs/wcscmp.c: Allow renaming.
5712
15c95c5d
DM
57132011-09-05 David S. Miller <davem@davemloft.net>
5714
5715 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5716 stack slot, rather than the struct return pointer slot.
5717 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5718 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5721
2f0ad8f3
UD
57222011-09-05 Ulrich Drepper <drepper@gmail.com>
5723
d88ae418
UD
5724 * po/ja.po: Update from translation team.
5725
2f0ad8f3
UD
5726 [BZ #13144]
5727 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5728 kernel in 64-bit binaries.
5729
5f4318d1
DM
57302011-09-01 David S. Miller <davem@davemloft.net>
5731
5732 * elf/elf.h (HWCAP_SPARC_*): Move to..
5733 * sysdeps/sparc/sysdep.h: this new file and add new values.
5734 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5735 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5736 _DL_HWCAP_COUNT to 24.
5737 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5738 entries.
5739 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5740 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5741 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5743 instead of magic constants.
5744 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5745
3ba57516
DM
57462011-08-31 David S. Miller <davem@davemloft.net>
5747
5748 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5750 Reimplement to do errno handling inline.
5751 (SYSCALL_ERROR_HANDLER): New macro.
5752 (__SYSCALL_STRING): Do not do errno handling in asm.
5753 (__CLONE_SYSCALL_STRING): Delete.
5754 (__INTERNAL_SYSCALL_STRING): Delete.
5755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5756 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5757 (PSEUDO): Reimplement to do errno handling inline.
5758 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5759 (SYSCALL_ERROR_HANDLER): New macro.
5760 (__SYSCALL_STRING): Do not do errno handling in asm.
5761 (__CLONE_SYSCALL_STRING): Delete.
5762 (__INTERNAL_SYSCALL_STRING): Delete.
5763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5764 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5765 i386.
5766 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5767 (inline_syscall*): Add 'err' argument.
5768 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5769 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5770 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5771 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5772
5773 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5774 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5775
2bc17433
AS
57762011-08-30 Andreas Schwab <schwab@redhat.com>
5777
5778 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5779
fbeb5f4d
JO
57802011-08-29 Jiri Olsa <jolsa@redhat.com>
5781
5782 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5783 directive.
5784
ad69cc26
DM
57852011-08-24 David S. Miller <davem@davemloft.net>
5786
5787 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5788
39dd69df
AS
57892011-08-24 Andreas Schwab <schwab@redhat.com>
5790
5791 * elf/Makefile: Add rules to build and run unload8 test.
5792 * elf/unload8.c: New file.
5793 * elf/unload8mod1.c: New file.
5794 * elf/unload8mod1x.c: New file.
5795 * elf/unload8mod2.c: New file.
5796 * elf/unload8mod3.c: New file.
5797
5798 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5799 it wasn't used.
5800
2c0b250a
DM
58012011-08-23 David S. Miller <davem@davemloft.net>
5802
5803 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5804 subtract stack bias.
5805 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5806 %sp not %fp in calculations.
5807 (_JMPBUF_UNWINDS_ADJ): Likewise.
5808
22044b48
DM
5809 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5810 (aio_suspend): Call it to force an exception region around the
5811 AIO_MISC_WAIT() invocation.
5812
2cae4995
AS
58132011-08-23 Andreas Schwab <schwab@redhat.com>
5814
5815 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5816 backslash.
5817
873a772e
AJ
58182011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5819
5820 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5821 protection macro.
5822 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5823 and <dl-machine.h>.
5824 (Elf64_FuncDesc): Remove.
5825
25ad0df1
DM
58262011-08-22 David S. Miller <davem@davemloft.net>
5827
5828 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5829 sigaltstack check, add missing cfi directives.
5830 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5831 missing cfi directives, and sigaltstack handling.
5832
e888bcbe
AS
58332011-08-16 Andreas Schwab <schwab@redhat.com>
5834
5835 [BZ #11724]
5836 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5837 object is seen twice.
5838 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5839
5840 * elf/Makefile (distribute): Add tst-initorder2.c.
5841 (tests): Add tst-initorder2.
5842 (modules-names): Add tst-initorder2a tst-initorder2b
5843 tst-initorder2c tst-initorder2d. Add rules to build them.
5844 ($(objpfx)tst-initorder2.out): New rule.
5845 * elf/tst-initorder2.c: New file.
5846 * elf/tst-initorder2.exp: New file.
5847
87162f46
AS
58482011-08-22 Andreas Schwab <schwab@redhat.com>
5849
70538b7f
AS
5850 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5851
f55ffe58
AS
5852 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5853 dependencies back to end of function.
5854
87162f46
AS
5855 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5856 $(elfobjdir)/ld.so.
5857
91b392a4
UD
58582011-08-21 Ulrich Drepper <drepper@gmail.com>
5859
5860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5861 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5863 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5864 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5865 of __vdso_gettimeofday.
5866 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5867 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5868 attribute_hidden.
5869 (_libc_vdso_platform_setup): Remove initialization of
5870 __vdso_gettimeofday and __vdso_time.
5871
5c43483f
UD
58722011-08-20 Ulrich Drepper <drepper@gmail.com>
5873
775a77e7
UD
5874 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5875 and fgetc_unlocked.
5876 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5877 getc_unlocked.
89f447ed 5878
49c74ba9
UD
5879 * elf/dl-open.c (add_to_global): Report additions to the global scope
5880 for LD_DEBUG=scopes.
5881 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5882 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5883
5c43483f
UD
5884 [BZ #13114]
5885 * stdio-common/Makefile (tests): Add bug24.
5886 * stdio-common/bug24.c: New file.
5887
a101b025
AJ
58882011-08-19 Andreas Jaeger <aj@suse.de>
5889
5890 [BZ #13114]
5891 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5892 non-existant file when using close-on-exec mode.
5893
c88f1766
UD
58942011-08-20 Ulrich Drepper <drepper@gmail.com>
5895
0276a718
UD
5896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5897 the very first instruction.
5898
c88f1766
UD
5899 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5900 the CFI state in the end.
5901 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5902 inclusion of dl-trampoline.h.
5903 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5904
51ccffa0
AS
59052011-08-19 Andreas Schwab <schwab@redhat.com>
5906
94d7165f
AS
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5908 expectations for long double.
5909
51ccffa0
AS
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5911 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5912
fd708658 59132011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5914
5915 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5916 artificual limit depends upon the system page size.
5917
44f0a71e
UD
59182011-08-17 Ulrich Drepper <drepper@gmail.com>
5919
5920 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5921 * resolv/Makefile: Define CFLAGS-libresolv.
5922
8de79a24
AS
59232011-08-17 Andreas Schwab <schwab@redhat.com>
5924
5925 * nss/makedb.c (compute_tables): Make variables used in nested
5926 function static.
5927
27724598
UD
59282011-08-17 Ulrich Drepper <drepper@gmail.com>
5929
c5305d88
UD
5930 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5931 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5932 if buffer was too small.
5933
27724598
UD
5934 * elf/pldd.c (main): Attach to all threads in the process.
5935 Rewrite /proc handling to use *at functions.
5936
076fe015
UD
59372011-08-16 Ulrich Drepper <drepper@gmail.com>
5938
174baab3
UD
5939 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5940 specifies first scope to show.
5941 (dl_open_worker): Update callers. Move printing scope of new
5942 object to before the relocation.
44f0a71e 5943 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5944 * sysdeps/generic/ldsodefs.h: Update declaration.
5945
076fe015
UD
5946 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5947 string for the scope number.
5948
a60df2c3
UD
59492011-08-14 Ulrich Drepper <drepper@gmail.com>
5950
5951 * nscd/servicescache.c (cache_addserv): Make sure written is always
5952 initialized.
5953
5e4287d1
RM
59542011-08-14 Roland McGrath <roland@hack.frob.com>
5955
85ae0589
RM
5956 * sysdeps/i386/i486/bits/atomic.h
5957 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5958 statement expression, so as to suppress "set but not used" warning.
5959 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5960
69f63097
RM
5961 * string/strncat.c (STRNCAT): Use prototype definition.
5962
675456ef
RM
5963 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5964 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5965 -Iprograms here.
5966 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5967 (localedef-modules): Add localedef.
5968 (locale-modules): Add locale.
5969
5e4287d1
RM
5970 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5971 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5972 to avoid a warning.
5973
9c96ff23
DM
59742011-08-14 David S. Miller <davem@davemloft.net>
5975
5976 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5977 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5978
f9ddf089
UD
59792011-08-13 Ulrich Drepper <drepper@gmail.com>
5980
44f0a71e 5981 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5982 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5983 * elf/rtld.c (dl_main): Set l_name of vDSO.
5984 Call _dl_show_scope when DL_DEBUG_SCOPES.
5985 (process_dl_debug): Recognize scopes flag and also set it for all.
5986 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5987 Declare _dl_show_scope.
5988
1dc27704
UD
5989 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5990 (do_dlopen): Pass caller_dlopen to dl_open.
5991 (__libc_dlopen_mode): Initialize caller_dlopen.
5992
f9ddf089
UD
5993 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5994 of libc. Make tolower call locale-independent. Optimize a bit by
5995 using isdigit instead of isalnum.
5996 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5997
9ac533d3
UD
59982011-08-12 Ulrich Drepper <drepper@gmail.com>
5999
6000 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6001 was a dependency or dynamically loaded.
6002
89edf2e9
UD
60032011-08-11 Ulrich Drepper <drepper@gmail.com>
6004
8e999d29
UD
6005 * intl/l10nflist.c: Allow architecture-specific pop function.
6006 * sysdeps/x86_64/l10nflist.c: New file.
6007
89edf2e9
UD
6008 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6009 classification.
6010
14d96785
AS
60112011-08-10 Andreas Schwab <schwab@redhat.com>
6012
6013 * include/dirent.h: Add libc_hidden_proto for scandirat and
6014 scandirat64. Don't declare __scandirat64.
6015 * dirent/scandirat.c: Add libc_hidden_def.
6016 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6017 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6018
6761ac04
DM
60192011-08-10 David S. Miller <davem@davemloft.net>
6020
6021 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6022 enum.
6023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6026
c55fbd1e
UD
60272011-08-09 Ulrich Drepper <drepper@gmail.com>
6028
6029 * Versions.def [libc]: Add GLIBC_2.15.
6030 * dirent/Makefile (routines): Add scandirat and scandirat64.
6031 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6032 GLIBC_2.15.
6033 * dirent/dirent.h: Declare scandirat and scandirat64.
6034 * dirent/scandirat.c: New file.
6035 * dirent/scandirat64.c: New file.
6036 * sysdeps/wordsize-64/scandirat.c: New file.
6037 * sysdeps/wordsize-64/scandirat64.c: New file.
6038 * dirent/opendir.c: Define opendirat.
6039 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6040 using scandirat.
6041 * dirent/scandir64.c: Adjust for scandir.c change.
6042 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6043 __scandirat64, and __scandir_cancel_handler.
6044 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6045 additional parameter and use openat instead of open (outside of ld.so).
6046 Add new __opendir as wrapper around __opendirat.
6047 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6048 here without requiring old scandirat implementation.
6049
879165f2
UD
60502011-08-08 Ulrich Drepper <drepper@gmail.com>
6051
6052 * dirent/scandir.c (cancel_handler): Renamed to
6053 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6054 defined. Adjust users.
6055 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6057
cb7e923b
UD
60582011-08-04 Ulrich Drepper <drepper@gmail.com>
6059
16292edd
UD
6060 * string/test-string.h (IMPL): Use __STRING to expand name and then
6061 stringify it.
6062
cb7e923b
UD
6063 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6064 of cleanups.
6065
cff82933
LD
60662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6067
6068 * string/Makefile: Update.
6069 (strop-tests): Append strncat.
6070 * string/test-wcscmp.c: New file.
6071 New comprehensive test for wcscmp.
6072 * string/test-strcmp.c: Update.
6073 (WIDE): New define.
6074
9be9bfcc
AS
60752011-07-22 Andreas Schwab <schwab@redhat.com>
6076
6077 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6078 line.
6079
2e96f1c7
AS
60802011-07-26 Andreas Schwab <schwab@redhat.com>
6081
6082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6083 encoding to ACE if AI_IDN.
6084
85188888
JJ
60852011-08-01 Jakub Jelinek <jakub@redhat.com>
6086
6087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6088 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6089
5fa16e9b
LD
60902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6091
6092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6093 Fix overflow bug in strncat.
6094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6095
6096 * string/test-strncat.c: Update.
6097 Add new tests for checking overflow bugs.
6098
60992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6100
6101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6102 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6103 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6104 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6106 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6107 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6108 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6109 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6110
6111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6112 (USE_AS_STRCAT): Define.
6113 Add strcat and strncat support.
6114 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6115
8c1a459f
AS
61162011-07-25 Andreas Schwab <schwab@redhat.com>
6117
6118 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6119 __n bigger than INT_MAX+1.
6120 (__strncmp_g): Likewise.
6121
bba33c28
UD
61222011-07-23 Ulrich Drepper <drepper@gmail.com>
6123
798be72d
UD
6124 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6125 * libio/stido.h: Likewise.
6126
8accd4dc
UD
6127 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6128 (AF_NFC): Define.
6129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6130 (AF_NFC): Define.
6131
cbff0d96
UD
6132 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6133 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6134 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6135 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6137
9191c04a
UD
6138 [BZ #13021]
6139 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6140 installed.
6141
bba33c28
UD
6142 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6143 typo.
6144 (_dl_x86_64_save_sse): Likewise.
6145
90f139dd
UD
61462011-07-22 Ulrich Drepper <drepper@gmail.com>
6147
1aae088a
UD
6148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6149 OSXSAVE.
6150 (_dl_x86_64_save_sse): Likewise.
6151
8e2045f5
UD
6152 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6153
90f139dd
UD
6154 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6155
1d002f25
AS
61562011-07-21 Andreas Schwab <schwab@redhat.com>
6157
6158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6159 change.
6160 (_dl_x86_64_save_sse): Use correct AVX check.
6161
21137f89
UD
61622011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6163
6164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6165 bug in strncpy/strncat.
6166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6167
a65c0b7a
UD
61682011-07-21 Ulrich Drepper <drepper@gmail.com>
6169
6170 * string/tester.c (test_strcat): Add tests for different alignments
6171 of source and destination.
6172 (test_strncat): Likewise.
6173
6986b98a
UD
61742011-07-20 Ulrich Drepper <drepper@gmail.com>
6175
90bb2039
UD
6176 [BZ #12852]
6177 * posix/glob.c (glob): Check passed in values before using them in
6178 expressions to avoid some overflows.
6179 (glob_in_dir): Likewise.
6180
5644ef54
UD
6181 [BZ #13007]
6182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6183 check for AVX enablement so that we don't crash with old kernels and
6184 new hardware.
6185 * elf/tst-audit4.c: Add same checks here.
6186 * elf/tst-audit6.c: Likewise.
6187
6188 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6189
bfc9dc9b
AS
61902011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6191
6192 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6193
702e64bb
UD
61942011-07-20 Ulrich Drepper <drepper@gmail.com>
6195
6196 * po/cs.po: Update from translation team.
6197 * po/bg.po: Likewise.
6198
295e904f
MP
61992011-07-12 Marek Polacek <mpolacek@redhat.com>
6200
6201 * misc/sys/cdefs.h: Add support for const attribute.
6202 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6203 to gnu_dev_{major,minor,makedev} functions.
6204
3ff94596
MP
62052011-07-20 Marek Polacek <mpolacek@redhat.com>
6206
6207 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6208
28b59fca
AS
62092011-07-20 Andreas Schwab <schwab@redhat.com>
6210
6211 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6212 strlen results.
6213
19df733e
AK
62142011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6215
6216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6217 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6218 register in order to avoid conflicts with the soft frame pointer
6219 being held in r11 when necessary.
6220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6221 (INTERNAL_VSYSCALL_NCS): Likewise.
6222
c8835729
MP
62232011-07-14 Marek Polacek <mpolacek@redhat.com>
6224
6225 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6226 * elf/dl-fini.c (_dl_fini): Adjust caller.
6227 * elf/dl-close.c (_dl_close_worker): Likewise.
6228 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6229
b902330c
MP
62302011-07-15 Marek Polacek <mpolacek@redhat.com>
6231
8991e135
MP
6232 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6233 "aux_cache->nlibs < 0".
6234
b902330c
MP
6235 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6236 in the reload-count case.
6237
99710781
LD
62382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6239
6240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6241 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6242 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6243 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6244 * sysdeps/x86_64/multiarch/strcat.S: New file.
6245 * sysdeps/x86_64/multiarch/strncat.S: New file.
6246 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6247 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6248 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6249 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6250 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6251 (USE_AS_STRCAT): Define.
6252 Add strcat and strncat support.
6253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6255 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6256 * string/strncat.c: Update.
6257 (USE_AS_STRNCAT): Define.
6258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6259 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6260 and i7.
6261 * sysdeps/x86_64/multiarch/init-arch.h
6262 (bit_Prefer_PMINUB_for_stringop): New.
6263 (index_Prefer_PMINUB_for_stringop): Likewise.
6264 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6265 bit_Prefer_PMINUB_for_stringop.
6266
7dc6bd90
UD
62672011-07-19 Ulrich Drepper <drepper@gmail.com>
6268
6269 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6270 buffer64.
6271 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6272 of casting of buffer.
6273 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6274 buffer32 and buffer64.
6275 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6276 writes instead of casting of buffer.
6277 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6278 buffer32.
6279 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6280 casting of buffer.
6281
e0e72284
AS
62822011-07-19 Andreas Schwab <schwab@redhat.com>
6283
6284 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6285
feb1eb0b
UD
62862011-07-19 Ulrich Drepper <drepper@gmail.com>
6287
6288 * nscd/nscd.c (termination_handler): Don't do anything for a database
6289 if it has not yet been initialized.
6290
298711ff
UD
62912011-07-18 Ulrich Drepper <drepper@gmail.com>
6292
6293 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6294
62952011-07-15 Marek Polacek <mpolacek@redhat.com>
6296
6297 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6298
f9d68389
UD
62992011-07-18 Ulrich Drepper <drepper@gmail.com>
6300
6301 * po/nl.po: Update from translation team.
6302 * po/sv.po: Likewise.
6303
db290cf5
RM
63042011-07-16 Roland McGrath <roland@hack.frob.com>
6305
6306 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6307 now disallowed by GCC.
5c550700 6308
fd5e21c7
RM
6309 * configure.in (use-default-link): Default to yes if a test -shared
6310 link meets our qualifications.
6311 * configure: Regenerated.
6312
5c550700
RM
6313 * config.make.in (output-format): New variable.
6314 * configure.in: Check for ld --print-output-format support.
6315 * configure: Regenerated.
6316 * Makerules ($(common-objpfx)format.lds)
6317 [$(output-format) != unknown]: Just use $(output-format),
6318 instead of the linker-script munging.
6319
9fa2c032
RM
63202011-07-14 Roland McGrath <roland@hack.frob.com>
6321
a6928d51
RM
6322 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6323 of $(common-objpfx)shlib.lds.
6324 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6325
661607b3
RM
6326 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6327 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6328
9fa2c032
RM
6329 * configure.in (-z relro check): Adjust test code to add a large
6330 writable data section after it.
6331 * configure: Regenerated.
6332
defe9061
RM
63332011-07-11 Roland McGrath <roland@hack.frob.com>
6334
6335 * configure.in (-z relro check): Fix test code to make the variable
6336 truly const.
6337 * configure: Regenerated.
6338
319b9ad4
UD
63392011-07-11 Ulrich Drepper <drepper@gmail.com>
6340
6341 * nscd/nscd.h (struct traced_file): Define.
6342 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6343 elements. Add traced_files.
6344 (inotify_fd): Declare.
6345 (register_traced_file): Declare.
6346 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6347 (inotify_fd): Export.
6348 (resolv_conf_descr): Remove.
6349 (nscd_init): Move inotify descriptor creation to main.
6350 Don't register files for notification here.
6351 (register_traced_file): New function.
6352 (invalidate_cache): Don't use reset_res to determine whether to call
6353 res_init, go through the list of registered files.
6354 (main_loop_poll): The inotify descriptors are now stored in the
6355 structures for the traced files.
6356 (main_loop_epoll): Likewise
6357 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6358 to __nss_disable_nscd.
6359 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6360 for a database anymore. Check the records for all the registered
6361 files instead.
6362 * nss/Makefile (libnss_files-routines): Add files-init.
6363 (libnss_db-routines): Add db-init.
6364 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6365 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6366 * nss/nss_db/db-init.c: New file.
6367 * nss/nss_files/files-init.c: New file.
6368 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6369 __nss_lookup_function.
6370 (__nss_lookup_function): Call nss_load_library.
6371 (nss_load_all_libraries): New function.
6372 (__nss_disable_nscd): Take parameter with callback function for files
6373 to register. Set is_nscd. Load all the DSOs for the NSS modules
6374 used for the cached services.
6375 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6376 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6377 options for features to all the files in nscd.
6378
6379 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6380
23bee3e8
RM
63812011-07-10 Roland McGrath <roland@hack.frob.com>
6382
6383 * csu/elf-init.c (__libc_csu_init): Comment typo.
6384
46a5b7f0
UD
63852011-07-09 Ulrich Drepper <drepper@gmail.com>
6386
6387 * po/pl.po: Update from translation team.
6388 * po/ja.po: Likewise.
6389 * po/ru.po: Likewise.
6390 * po/ko.po: Likewise.
6391 * po/fr.po: Likewise.
6392
d30cf5bb
RM
63932011-07-09 Roland McGrath <roland@hack.frob.com>
6394
113ddea4
RM
6395 * configure.in (.ctors/.dtors header and trailer check):
6396 Use an empirical test on a built program.
6397 * configure: Regenerated.
6398
574920b4
RM
6399 * configure.in (-z relro check): Use an empirical test on a built DSO.
6400 Detect, but do not require, on ia64.
6401 * configure: Regenerated.
6402
d30cf5bb
RM
6403 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6404 Update tests that use readelf to use $READELF instead.
6405 * configure: Regenerated.
6406
8538fdb3
UD
64072011-07-08 Ulrich Drepper <drepper@gmail.com>
6408
6409 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6410 if the result is not used.
6411
04d08991
AJ
64122011-07-05 Andreas Jaeger <aj@suse.de>
6413
6414 [BZ#9696]
6415 * stdlib/tst-strtod.c: Add testcase.
6416
de283087
AD
64172011-07-07 Ulrich Drepper <drepper@gmail.com>
6418
4e5f31c8 6419 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6420 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6421 The latter has a higher limit. Take additional parameter to pass to
6422 the new function.
6423 (__pathconf): Pass file to __statfs_link_max.
6424 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6425 __statfs_link_max.
6426 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6427 __statfs_link_max.
6428
de283087
AD
6429 [BZ #12868]
6430 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6431 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6432 Handle Lustre.
6433 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6434 (__statfs_filesize_max): Likewise.
6435 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6436
c75fa153
AJ
64372011-07-05 Andreas Jaeger <aj@suse.de>
6438
6439 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6440
1a544854
UD
64412011-07-06 Marek Polacek <mpolacek@redhat.com>
6442
6443 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6444 `status' variable.
6445 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6446 Likewise.
6447
6f0eec67
UD
64482011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * Makefile (strop-tests): Add strncat.
6451 * string/test-strncat.c: New file.
6452
aae30307
UD
64532011-06-30 Marek Polacek <mpolacek@redhat.com>
6454
6455 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6456
c0cfb5eb
UD
64572011-06-21 Andreas Jaeger <aj@suse.de>
6458
6459 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6460 Copy rule from iconvdata/Makefile.
6461
01636b21
UD
64622011-07-06 Ulrich Drepper <drepper@gmail.com>
6463
6464 [BZ #12922]
6465 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6466 but no long options are defined, just return 'W'.
6467
9895c8bc
UD
64682011-06-22 Marek Polacek <mpolacek@redhat.com>
6469
6470 [BZ #9696]
6471 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6472
5d4cf042
UD
64732011-07-06 Ulrich Drepper <drepper@gmail.com>
6474
6475 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6476 netgroups to read.
960e5535 6477 (innetgr): Likewise.
5d4cf042 6478
751eb97e
RM
64792011-07-05 Roland McGrath <roland@hack.frob.com>
6480
6481 * config.make.in (install_root): Default to $(DESTDIR).
6482
f15f1e45
UD
64832011-07-05 Ulrich Drepper <drepper@gmail.com>
6484
6485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6486
4e34ac6a
RM
64872011-07-02 Roland McGrath <roland@hack.frob.com>
6488
5e9b6af4
RM
6489 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6490
84f9ea0f
RM
6491 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6492 containing directory rather than embedding absolute directory names.
6493
ea5ee9f7
RM
6494 * scripts/check-local-headers.sh: Rewritten using awk.
6495 Match by word, not by line. Print error messages for matches.
6496 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6497
1b74661a
RM
6498 * Makerules [shlib-lds-flags empty]:
6499 ($(common-objpfx)libc_pic.opts): New target.
6500 ($(common-objpfx)libc_pic.os.clean): New target.
6501 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6502
6503 * config.make.in (OBJCOPY): New variable.
6504 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6505 * configure: Regenerated.
6506
f781ef40
RM
6507 * config.make.in (use-default-link): New variable.
6508 * configure.in (use_default_link): Grok --with-default-link to set it.
6509 * configure: Regenerated.
6510 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6511 (shlib-lds, shlib-lds-flags): Define to empty.
6512
2d4fa81e
RM
6513 * Makerules (shlib-lds): New variable.
6514 (shlib-lds-flags): New variable.
6515 (build-shlib, build-moduile, build-module-asneeded): Use it.
6516 ($(common-objpfx)libc.so): Use $(shlib-lds).
6517 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6518 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6519
31fffa6b
RM
6520 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6521 DT_FLAGS/DT_FLAGS_1 with zero flags.
6522
4e34ac6a
RM
6523 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6524 linker script munging.
6525
fcfc776b
UD
65262011-07-02 Ulrich Drepper <drepper@gmail.com>
6527
6528 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6529 as 128-bit value.
6530 * crypt/sha512.c (sha512_process_block): Perform total addition using
6531 128-bit if possible.
6532 (__sha512_finish_ctx): Likewise.
6533 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6534 as 64-bit value.
6535 * crypt/sha256.c (SWAP64): Define.
6536 (sha256_process_block): Perform total addition using 64-bit if
6537 possible.
6538 (__sha256_finish_ctx): Likewise.
6539
99231d9a
UD
65402011-07-01 Ulrich Drepper <drepper@gmail.com>
6541
6542 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6544 * nscd/hstcache.c (cache_addhst): Likewise.
6545 * nscd/grpcache.c (cache_addgr): Likewise.
6546 * nscd/aicache.c (addhstaiX): Likewise
6547 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6548
445b4a53
TK
65492011-07-01 Thorsten Kukuk <kukuk@suse.de>
6550
6551 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6553 * nscd/hstcache.c (cache_addhst): Likewise.
6554 * nscd/grpcache.c (cache_addgr): Likewise.
6555 * nscd/aicache.c (addhstaiX): Likewise
6556
6d4d8e8e
AS
65572011-07-01 Andreas Schwab <schwab@redhat.com>
6558
6559 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6560 domain only when needed.
6561
89f654c5
AS
65622011-06-30 Andreas Schwab <schwab@redhat.com>
6563
6564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6565 is always restored.
6566
cf3b23ff
UD
65672011-06-29 Ulrich Drepper <drepper@gmail.com>
6568
6569 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6570 are re-adding the entry.
6571 * nscd/servicescache.c (cache_addserv): Likewise.
6572
751626f9
AJ
65732011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6574
6575 * sysdeps/generic/dl-irel.h: fix protection against multiple
6576 inclusions.
6577 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6578
9113ea1f
UD
65792011-06-28 Ulrich Drepper <drepper@gmail.com>
6580
5c0b8d90
UD
6581 [BZ #12935]
6582 * malloc/memusage.sh: Fix quoting in message.
6583 * debug/xtrace.sh: Likewise.
6584
9113ea1f
UD
6585 * configure.in: Remove support for --experimental-malloc option, make
6586 it the default.
6587 * config.make.in: Likewise.
6588 * malloc/Makefile: Likewise.
6589
a4172181
AS
65902011-06-27 Andreas Schwab <schwab@redhat.com>
6591
6592 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6593 two-byte characters.
6594
78a7eee7
RM
65952011-06-27 Roland McGrath <roland@hack.frob.com>
6596
62bede13
RM
6597 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6598 AC_CACHE_CHECK invocation.
6599 * configure: Regenerated.
6600
78a7eee7
RM
6601 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6602
5ce33a62
UD
66032011-06-27 Ulrich Drepper <drepper@gmail.com>
6604
034807a9
UD
6605 [BZ #12350]
6606 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6607 bit from old_res_options.
6608
4902da17
UD
6609 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6610
5ce33a62
UD
6611 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6612 value type for setfct.
6613
c2344f56
L
66142011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6615
6616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6617 __gettimeofday instead of gettimeofday.
6618
68468076
UD
66192011-06-26 Ulrich Drepper <drepper@gmail.com>
6620
6621 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6622
acb0d739
L
66232011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6624
6625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6626
6627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6628 info.
6629
8912479f
L
66302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6631
6632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6633 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6634 strcpy-sse2-unaligned strncpy-sse2-unaligned
6635 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6636 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6637 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6638 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6639 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6642 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6643 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6644 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6645 (STRCPY): Support SSE2 and SSSE3 versions.
6646
d5495a11
UD
66472011-06-24 Ulrich Drepper <drepper@gmail.com>
6648
6649 [BZ #12874]
6650 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6651 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6652 kernels which artificially limit size of requests.
6653
0b1cbaae
L
66542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6657 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6658 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6659 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6660 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6661 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6662 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6663 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6666 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6667 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6668 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6669 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6670 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6672 Enable unaligned load optimization for Intel Core i3, i5 and i7
6673 processors.
6674 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6675 Define.
6676 (index_Fast_Unaligned_Load): Define.
6677 (HAS_FAST_UNALIGNED_LOAD): Define.
6678
07f494a0
MP
66792011-06-23 Marek Polacek <mpolacek@redhat.com>
6680
6681 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6682
fa3fc0fe
UD
66832011-06-22 Ulrich Drepper <drepper@gmail.com>
6684
6685 [BZ #12907]
6686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6687 until it is clear that the information is realy needed.
6688 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6689
e12df166
AS
66902011-06-22 Andreas Schwab <schwab@redhat.com>
6691
6692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6693
852eb34d
UD
66942011-06-22 Ulrich Drepper <drepper@gmail.com>
6695
84e2a551
UD
6696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6697 /sys/devices/system/cpu/online if it is usable.
6698
852eb34d
UD
6699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6700 reading the information from the /proc filesystem to once a second.
6701
6e502e19
UD
67022011-06-21 Andreas Jaeger <aj@suse.de>
6703
6704 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6705 NULL after inclusion of kernel headers.
6706
75d39ff2
UD
67072011-06-21 Ulrich Drepper <drepper@gmail.com>
6708
51f9aa6a
UD
6709 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6710 calls to internal_setent.
6711
c0244a9d
UD
6712 [BZ #12885]
6713 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6714 addresses using gethostbyname4_r ignore IPv4 addresses.
6715
c5e3c2ae
UD
6716 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6717 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6718
75d39ff2
UD
6719 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6720
42675c6f
DM
67212011-06-20 David S. Miller <davem@davemloft.net>
6722
6723 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6724 inclusions.
6725 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6726
6727 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6728 (elf_irel): Use it.
6729 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6730 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6731 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6732 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6733 * sysdeps/x86_64/dl-irel.h: Likewise.
6734
6735 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6736 * elf/dl-sym.c: Likewise.
6737
57912a71
UD
67382011-06-15 Ulrich Drepper <drepper@gmail.com>
6739
6740 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6741 need to dereference resplen2.
6742
ee22793d
AS
67432011-06-14 Andreas Schwab <schwab@redhat.com>
6744
6745 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6746
a9e836b0
UD
67472011-06-15 Ulrich Drepper <drepper@gmail.com>
6748
77fb9117
UD
6749 * Makeconfig: Define vardbdir and inst_vardbdir.
6750 * nss/Makefile: Add rules to install db-Makefile.
6751
40c1b22c
UD
6752 * nss/nss_db/db-XXX.c: Cleanup.
6753
9f2da732
UD
6754 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6755 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6756 GLIBC_PRIVATE.
6757 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6758 * nss/makedb.c: Implement -g option to specify that value strings
6759 are generated and should not be added to table iterated over for
6760 get*ent calls.
6761 * nss/nss_db/db-initgroups.c: New file.
6762
82e9a1f7
UD
6763 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6764 interface.
6765
c41af17e
UD
6766 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6767 (internal_getgrouplist): Adjust to name change.
6768 Update use_initgroups_entry if this is not the first call.
6769 * nss/databases.def: Add initgroups entry.
6770
a9e836b0
UD
6771 * nss/makedb.c (compute_tables): Check result of multiple hash table
6772 sizes to minimize maximum chain length.
6773
2666d441
UD
67742011-06-14 Ulrich Drepper <drepper@gmail.com>
6775
6776 * Versions.def: Add entry for libnss_db.
6777 * shlib-versions: Likewise.
6778 * nss/Makefile: Add rules to build libnss_db.
6779 * nss/Versions: Add libnss_db information. Organize libnss_files
6780 entries better.
6781 * nss/db-Makefile: Add gshadow support. Change rules for the new
6782 makedb progra. Some minor improvements to generate smaller files.
6783 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6784 here from...
6785 * nss/makedb.c: ...here.
6786 Improve database format to be smaller and require less memory at
6787 runtime.
6788 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6789 db anymore.
6790 * nss/nss_db/db-netgrp.c: Likewise.
6791 * nss/nss_db/db-open.c: Likewise.
6792 * nss/nss_files/flies-XXX.x: Adjust comments.
6793 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6794 * nss/nss_files/files-grp.c: Likewise.
6795 * nss/nss_files/files-hosts.c: Likewise.
6796 * nss/nss_files/files-network.c: Likewise.
6797 * nss/nss_files/files-proto.c: Likewise.
6798 * nss/nss_files/files-pwd.c: Likewise.
6799 * nss/nss_files/files-rpc.c: Likewise.
6800 * nss/nss_files/files-service.c: Likewise.
6801 * nss/nss_files/files-sgrp.c: Likewise.
6802 * nss/nss_files/files-spwd.c: Likewise.
6803 * nss/nss_db/db-alias.c: Removed.
6804 * nss/nss_db/dummy-db.h: Removed.
6805
9ee76b5a
UD
68062011-06-02 Ulrich Drepper <drepper@gmail.com>
6807
6808 * nss/makedb.c: Rewritten to not use database library.
6809 * nss/Makefile: Update to build new makedb program.
6810
c71ca1f8
AJ
68112011-06-14 Andreas Jaeger <aj@suse.de>
6812
6813 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6814 memset declaration.
6815
3154bfb8
UD
68162011-06-10 Andreas Schwab <schwab@redhat.com>
6817
6818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6819 tmpbuf.
6820
b350afab
RM
68212011-06-10 Roland McGrath <roland@hack.frob.com>
6822
decd4e50
RM
6823 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6824 * elf/Makefile ($(objpfx)ld.so): Likewise.
6825
5615eaf2
RM
6826 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6827 Don't list ld.so twice in dependencies.
6828
6829 * posix/bug-regex31.c: Include <stdlib.h>.
6830
6831 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6832
6833 * nis/nss_compat/compat-spwd.c
6834 (getspent_next_nss_netgr): Remove unused variable.
6835 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6836
6837 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6838 nonmembers" output to use the right array.
6839
6840 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6841
6842 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6843
6844 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6845 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6846 * catgets/gencat.c (read_input_file): Likewise.
6847 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6848
6849 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6850 variable definition inside #if's controlling its use.
6851
6852 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6853
6854 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6855
6856 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6857
6858 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6859 unreachable code.
6860
6861 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6862
b68e08db
RM
6863 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6864 * configure: Regenerated.
6865
b350afab
RM
6866 * Makerules: Revert last change.
6867 * elf/Makefile: Likewise.
6868
28368601
RM
68692011-06-09 Roland McGrath <roland@hack.frob.com>
6870
6871 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6872 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6873 (reloc-link): Likewise.
6874
11988f8f
UD
68752011-06-09 Ulrich Drepper <drepper@gmail.com>
6876
6877 * elf/Makefile: Add rules to build pldd.
6878 * elf/pldd.c: New file.
6879 * elf/pldd-xx.c: New file.
6880
e80fab37
UD
68812011-06-07 Ulrich Drepper <drepper@gmail.com>
6882
6883 * version.h: Update for 2.15 development version.
6884
9b849836
DM
68852011-06-07 David S. Miller <davem@davemloft.net>
6886
6887 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6888 ifuncs.
6889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6890 elf_machine_lazy_rel): Likewise.
6891 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6893 elf_machine_lazy_rel): Likewise.
6894 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6895 dl_hwcap via passed in argument.
6896 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6897 Likewise.
6898
5a31b283
AK
68992011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6900
6901 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6902
069e52f8
RM
69032011-06-06 Roland McGrath <roland@hack.frob.com>
6904
6905 [BZ #12849]
6906 * manual/fdl-1.1.texi: New file, verbatim from:
6907 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6908 * manual/lgpl-2.1.texi: New file, verbatim from:
6909 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6910 * manual/Makefile (licenses): New variable, list those new file names.
6911 (texis): Use it.
6912 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6913
6914 * manual/fdl.texi: File removed.
6915 * manual/lesser.texi: File removed.
6916 * manual/libc.texinfo (Copying, Documentation License):
6917 Use new @include file names, put @appendix directive before @include.
6918
f16846a5
JJ
69192011-06-04 Jakub Jelinek <jakub@redhat.com>
6920
6921 [BZ #12841]
6922 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6923 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6924 (mq_open): Add __NTH.
6925
3d29045b
L
69262011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6929 Assume Intel Core i3/i5/i7 processor if AVX is available.
6930
8c297311
UD
69312011-05-31 Ulrich Drepper <drepper@gmail.com>
6932
6933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6934 typo.
6935
c8fc0c91
UD
69362011-05-31 Andreas Schwab <schwab@redhat.com>
6937
6938 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6939 memory. Use alloca_account. Fix memory leak when retrying.
6940
5b27a807
UD
69412011-05-31 Ulrich Drepper <drepper@gmail.com>
6942
356f8bc6
UD
6943 * version.h (RELEASE): Bump for 2.14 release.
6944 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6945
5b27a807
UD
6946 * config.make.in (RANLIB): Remove entry.
6947
01f16ab0
UD
69482011-05-30 Ulrich Drepper <drepper@gmail.com>
6949
41fce8bd
UD
6950 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6951 (libc.pot): Work around missing support for .ksh extension in xgettext.
6952
4769ae77
UD
6953 [BZ #12684]
6954 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6955 if both request failed.
6956 (send_dg): In case of server errors clear resplen or *resplen2.
6957
6b1e7d19
UD
6958 [BZ #12454]
6959 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6960 when there are multiple maps.
6961 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6962 (_dl_fini): Remove test here.
6963
01f16ab0
UD
6964 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6965
b1ebd700
UD
69662011-05-29 Ulrich Drepper <drepper@gmail.com>
6967
7ae22829
UD
6968 [BZ #12350]
6969 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6970 bit from old_res_options.
6971 (gaih_inet): Likewise.
6972
553149f6 6973 [BZ #11099]
18a84741 6974 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6975 as signed.
6976
652ffab1
UD
6977 * resolv/res_init.c (res_setoptions): Make the code more compact.
6978
16985fd0
UD
6979 [BZ #11558]
6980 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6981 set RES_USEVC.
6982
0464f746
UD
6983 [BZ #11634]
6984 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6985
7d17596c
UD
6986 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6987
cf6bbbd7
UD
6988 [BZ #11781]
6989 * malloc/malloc.h: Declare malloc hook variables as volatile.
6990
13f1ab36
UD
6991 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6992 in last patch.
6993
b1ebd700
UD
6994 [BZ #11799]
6995 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6996 raise in the comment.
80e2212d
UD
6997 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6998 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6999 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7000
ce67228d
UD
70012011-05-28 Ulrich Drepper <drepper@gmail.com>
7002
8887a920
UD
7003 [BZ #12811]
7004 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7005 grow the buffers more if it already has to be sufficient.
7006 (build_wcs_upper_buffer): Likewise.
7007 * posix/regexec.c (check_matching): Likewise.
7008 (clean_state_log_if_needed): Likewise.
7009 (extend_buffers): Don't enlarge buffers beyond size of the input
7010 buffer.
7011 Patches mostly by Emil Wojak <emil@wojak.eu>.
7012 * posix/bug-regex32.c: New file.
7013 * posix/Makefile (tests): Add bug-regex32.
7014
4f031072
UD
7015 * locale/findlocale.c (_nl_find_locale): Return right away if
7016 _nl_explode_name failed.
7017 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7018
d0478f0c
UD
7019 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7020
de81b246
UD
7021 * debug/xtrace.sh: Unify messages.
7022 * malloc/memusage.sh: Likewise.
7023
c738465a
UD
7024 [BZ #12813]
7025 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7026 time symbol from vDSO. Substitute with vsyscall if not available.
7027 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7028 __vdso_time.
7029
f1f929d7
UD
7030 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7031 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7032 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7033 Add sendmmsg and internal_sendmmsg.
7034 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7035 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7036 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7037
ce67228d
UD
7038 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7039 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7040 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7041
e57420c6
UD
70422011-05-27 Ulrich Drepper <drepper@gmail.com>
7043
a8509ca5
UD
7044 [BZ #12813]
7045 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7046 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7047 available.
7048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7049 __vdso_getcpu.
7050
e57420c6
UD
7051 [BZ #12814]
7052 * iconvdata/Makefile (tests): Add bug-iconv9.
7053 * iconvdata/bug-iconv9.c: New file.
7054
4d07db15
AS
70552011-05-27 Andreas Schwab <schwab@redhat.com>
7056
7057 [BZ #12814]
7058 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7059
ea486f69
JJ
70602011-05-25 Jakub Jelinek <jakub@redhat.com>
7061
7062 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7063 (struct user_regs_struct): Change intcs field back to cs.
7064
6f038433
UD
70652011-05-25 Ulrich Drepper <drepper@gmail.com>
7066
7067 * po/ja.po: Update from translation team.
7068
67f86a25
UD
70692011-05-23 Ulrich Drepper <drepper@gmail.com>
7070
7071 [BZ #12795]
7072 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7073 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7074
def7fbd6
AS
70752011-05-20 Andreas Schwab <schwab@redhat.com>
7076
7077 * stdlib/longlong.h: Update from GCC.
7078
f50ef8f1
AS
70792011-05-23 Andreas Schwab <schwab@redhat.com>
7080
7081 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7082 parameter name.
7083 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7084 Add parameter name.
7085 (__sysconf): Pass it down.
7086
de7ce8f1
UD
70872011-05-22 Ulrich Drepper <drepper@gmail.com>
7088
f2962a71
UD
7089 [BZ #12671]
7090 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7091 some situations.
7092 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7093 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7094 add in in __libc_use_alloca calls. Adjust callers.
7095 (glob): Use malloc in some situations.
7096
de7ce8f1
UD
7097 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7098 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7099 pltexit.
7100
aec84f53
UD
71012011-05-21 Ulrich Drepper <drepper@gmail.com>
7102
05bb4a68
UD
7103 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7104 and CLOCK_BOOTTIME_ALARM.
7105
7ea72f99
UD
7106 [BZ #12782]
7107 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7108 is returned.
7109
7e4afad5
UD
7110 * string/_strerror.c (__strerror_r): Print negative errors as signed
7111 numbers.
7112
8e211fec
UD
7113 [BZ #12777]
7114 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7115 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7116 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7117
f7d82dc9
UD
7118 * configure.in: Fix typo in redirection and correct removal of test
7119 files in two cases.
7120
cc9e536d
UD
7121 [BZ #12788]
7122 * locale/setlocale.c (new_composite_name): Fix test to check for
7123 identical name of all categories.
7124
aec84f53
UD
7125 [BZ #12792]
7126 * libio/filedoalloc.c (local_isatty): New function.
7127 (_IO_file_doallocate): Use local_isatty.
7128 * stdio-common/perror.c (perror): In case a new stream is used
7129 forward the stream error.
7130 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7131 error flag.
7132
78e64fdc
RT
71332011-05-20 Ulrich Drepper <drepper@gmail.com>
7134
34a9094f
UD
7135 [BZ #11869]
7136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7137 alloca.
7138 * include/alloca.h (extend_alloca_account): Define.
7139
78e64fdc
RT
7140 [BZ #11857]
7141 * posix/regex.h: Fix comments with documentation of user-accessible
7142 fields after compilation and describe correct free'ing of pattern
7143 after re_compile_pattern.
7144 Patch by Reuben Thomas <rrt@sc3d.org>.
7145
457bddfc
RA
71462011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7147
7148 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7149 and -mno-altivec to prevent the compiler from using Altivec and/or
7150 VSX instructions when the corresponding registers are not available.
7151
a4527b51
AS
71522011-05-19 Andreas Schwab <schwab@redhat.com>
7153
7154 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7155
ed690b2f
UD
71562011-05-19 Ulrich Drepper <drepper@gmail.com>
7157
7158 * libio/freopen.c (freopen): Use __dup2, not dup2.
7159 * libio/freopen64.c (freopen64): Likewise.
7160
8db73634
L
71612011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7162
7163 [BZ #12775]
7164 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7165 * math/Makefile (tests): Add test-powl.
7166 (CFLAGS-test-powl.c): Define.
7167 * math/test-powl.c: New file.
7168
0a197a9d
L
71692011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7170
7171 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7172
ee30c380
UD
71732011-05-17 Ulrich Drepper <drepper@gmail.com>
7174
7175 [BZ #11837]
7176 * iconvdata/gb18030.c: Update to GB18020-2005.
7177
6ce75379
UD
71782011-05-16 Ulrich Drepper <drepper@gmail.com>
7179
a4b89fd8
AR
7180 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7181 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7182 Patch by Aharon Robbins <arnold@skeeve.com>.
7183
ea389b12
UD
7184 [BZ #11892]
7185 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7186 on the stack.
7187
68a3f91f
UD
7188 [BZ #11895]
7189 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7190 through underflows.
7191
15cc7dd1
UD
7192 [BZ #12766]
7193 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7194 point to strings before performing equality test for error_one_per_line
7195 mode.
7196
f3799213
UD
7197 [BZ #11697]
7198 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7199
d79a9c94
UD
7200 [BZ #11820]
7201 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7202 (struct user_fpregs_struct): Avoid __uint*_t types.
7203
56e5eb46
UD
7204 [BZ #6420]
7205 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7206 symbol info. Use it instead of calling _dl_addr locally.
7207 (lock_and_info): New function.
7208 (tr_freehook): Call lock_and_info and pass symbol info as additional
7209 parameter to tr_where.
7210 (tr_mallochook): Likewise.
7211 (tr_reallochook): Likewise.
7212 (tr_memalignhook): Likewise.
7213
6ce75379
UD
7214 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7215 used and couldn't be at all thread-safe.
7216
f8a3b5bf
UD
72172011-05-15 Ulrich Drepper <drepper@gmail.com>
7218
94b7cc37
UD
7219 * libio/freopen.c (freopen): Don't close old file descriptor
7220 before the new one is opened. Instead dup the new file descriptor
7221 to the old one after the new stream is created.
7222 * libio/freopen64.c (freopen64): Likewise.
7223 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7224 * libio/fileops.c (_IO_new_file_close_it): Handle new
7225 _IO_FLAGS2_NOCLOSE flag.
7226 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7227 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7228 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7229 _IO_FLAGS2_NOCLOSE flag.
7230 * include/unistd.h: Add hidden_proto for dup3.
7231 Define __have_dup3.
7232 * io/dup3.c: Define hidden symbol.
7233 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7234
bd25564e
UD
7235 [BZ #7101]
7236 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7237 when an incomplete long option is used.
7238 * posix/tst-getopt_long1.c: New file.
7239 * posix/Makefile (tests): Add tst-getopt_long1.
7240
c84cfef4
UD
7241 [BZ #10138]
7242 * scripts/config.guess: Update from autoconf-2.68.
7243 * scripts/config.sub: Likewise.
7244
3b85df27
UD
7245 [BZ #10157]
7246 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7247 tests into ...
7248 (has_cpuclock): ...this. New function.
7249 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7250 macro here based on has_cpuclock code.
7251
15a856b1
UD
7252 [BZ #10149]
7253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7254 First byte (not low byte) is now always NUL.
7255 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7256
05f399e6
UD
7257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7258 Use non-cancelable interfaces.
7259
10a52685 7260 [BZ #9809]
94ecc67d
UD
7261 * locale/iso-639.def: Add entry for Sorani.
7262
f8a3b5bf
UD
7263 [BZ #11901]
7264 * include/stdlib.h: Move include protection to the right place.
7265 Define abort_msg_s. Declare __abort_msg with it.
7266 * stdlib/abort.c (__abort_msg): Adjust type.
7267 * assert/assert.c (__assert_fail_base): New function. Majority
7268 of code from __assert_fail. Allocate memory for __abort_msg with
7269 mmap.
7270 (__assert_fail): Now call __assert_fail_base.
7271 * assert/assert-perr.c: Remove bulk of implementation. Use
7272 __assert_fail_base.
7273 * include/assert.hL Declare __assert_fail_base.
7274 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7275 mmap.
7276 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7277
1af4e298
UD
72782011-05-14 Ulrich Drepper <drepper@gmail.com>
7279
f8a3b5bf 7280 [BZ #11952]
d26dfc60
MG
7281 [BZ #12453]
7282 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7283 until all modules are registered in the DTV.
7284 * elf/Makefile: Add rules to build and run tst-tls19.
7285 * elf/tst-tls19.c: New file.
7286 * elf/tst-tls19mod1.c: New file.
7287 * elf/tst-tls19mod2.c: New file.
7288 * elf/tst-tls19mod3.c: New file.
7289 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7290
2fc54d6f
UD
7291 [BZ #12083]
7292 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7293 correctly.
7294
98d76b46
UD
7295 [BZ #12601]
7296 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7297 two-byte sequence errors.
7298 * iconvdata/Makefile (tests): Add bug-iconv8.
7299 * iconvdata/bug-iconv8.c: New file.
7300
da3c19ef
UD
7301 [BZ #12626]
7302 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7303 buf2 definition.
7304
ca408c15
UD
7305 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7306
d6f67f7d
UD
7307 [BZ #12432]
7308 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7309 (dummy_getcfa): New function.
7310 (init): Get _Unwind_GetCFA address, use dummy if not found.
7311 (backtrace_helper): In recursion check, also check whether CFA changes.
7312 (__backtrace): Completely initialize arg.
7313
1af4e298 7314 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7315 storing incomplete byte sequence in state object. Avoid testing for
7316 guaranteed too small input if we know there is enough data available.
1af4e298 7317
da62f81b
AS
73182011-05-11 Andreas Schwab <schwab@redhat.com>
7319
7320 * Makeconfig (+link-pie): Indent.
7321 * Rules (binaries-pie): Define if $(have-fpie) and
7322 $(build-shared).
7323 (binaries-shared): Also filter out $(binaries-pie).
7324 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7325 * nscd/Makefile (others-pie): Add nscd.
7326 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7327 ($(objpfx)nscd): Remove command override.
7328 * login/Makefile (others-pie): Add pt_chown.
7329 ($(objpfx)pt_chown): Remove command override.
7330 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7331 remove command overrides.
7332
fcabc0f8
UD
73332011-05-13 Ulrich Drepper <drepper@gmail.com>
7334
20030ae6
UD
7335 * libio/tst_putwc.c: Fix error messages.
7336
fcabc0f8
UD
7337 [BZ #12724]
7338 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7339 currently writing and seek to current position when not.
7340 * libio/Makefile (tests): Add bug-fclose1.
7341 * libio/bug-fclose1.c: New file.
7342
320a5dc0
PB
73432011-05-12 Ulrich Drepper <drepper@gmail.com>
7344
7345 [BZ #12511]
7346 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7347 don't set DF_1_NODELETE here.
7348 (do_lookup_x): When entering new entry test for copy relocation
7349 and if necessary set DF_1_NODELETE flag.
7350 * elf/tst-unique4.cc: New file.
7351 * elf/tst-unique4.h: New file.
7352 * elf/tst-unique4lib.cc: New file.
7353 * elf/Makefile: Add rules to build and run tst-unique4.
7354 Patch by Piotr Bury <pbury@goahead.com>.
7355
22836f52
UD
73562011-05-11 Ulrich Drepper <drepper@gmail.com>
7357
f574184a
UD
7358 [BZ #12052]
7359 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7360
e1fb097f
UD
7361 [BZ #12625]
7362 * misc/mntent_r.c (addmntent): Flush the stream after the output
7363
22836f52
UD
7364 [BZ #12393]
7365 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7366 (is_trusted_path_normalize): Skip initial colon. Append slash
7367 to empty buffer. Duplicate is_trusted_path code but allow
7368 constructed patch to be prefix.
7369 (is_dst): Allow $ORIGIN followed by /.
7370 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7371 Correct testing of result of is_trusted_path_normalize
7372 (decompose_rpath): Fix warning.
7373
7b3b0b2a
UD
73742011-05-10 Ulrich Drepper <drepper@gmail.com>
7375
7376 [BZ #11257]
7377 * grp/initgroups.c (internal_getgrouplist): When we found the service
7378 list through the initgroups entry in nsswitch.conf do not always
7379 continue on a successful lookup. Don't always use the
eac80ce2 7380 __nss_group_database value if it is set.
7b3b0b2a
UD
7381 * nss/nsswitch.conf (initgroups): Change action for successful db
7382 lookup to continue for compatibility.
7383
2a81eaa5
UD
73842011-05-09 Ulrich Drepper <drepper@gmail.com>
7385
be97a69e
UD
7386 [BZ #11532]
7387 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7388 and CP774 modules.
7389 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7390 and CP774 modules.
7391 * iconvdata/tst-tables.sh: Likewise.
7392 * iconvdata/cp770.c: New file.
7393 * iconvdata/cp771.c: New file.
7394 * iconvdata/cp772.c: New file.
7395 * iconvdata/cp773.c: New file.
7396 * iconvdata/cp774.c: New file.
7397 * iconvdata/testdata/CP770: New file.
7398 * iconvdata/testdata/CP770..UTF8: New file.
7399 * iconvdata/testdata/CP771: New file.
7400 * iconvdata/testdata/CP771..UTF8: New file.
7401 * iconvdata/testdata/CP772: New file.
7402 * iconvdata/testdata/CP772..UTF8: New file.
7403 * iconvdata/testdata/CP773: New file.
7404 * iconvdata/testdata/CP773..UTF8: New file.
7405 * iconvdata/testdata/CP774: New file.
7406 * iconvdata/testdata/CP774..UTF8: New file.
7407
7408 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7409 END CHARMAP line.
7410 * iconvdata/gen-8bit-gap.sh: Likewise.
7411 * iconvdata/gen-8bit.sh: Likewise.
7412
c1e9e399
UD
7413 * locale/iso-639.def: Add ary entry.
7414
24c55fb3 7415 [BZ #11258]
96b4b1b0
UD
7416 * locale/C-translit.h.in: Add U20A1 transliteration.
7417
bdc2f971
KB
7418 [BZ #12178]
7419 * locale/iso-639.def: Add wae entry.
7420 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7421
2952b117
UD
7422 [BZ #12545]
7423 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7424 for n.
7425
2a81eaa5
UD
7426 [BZ #12711]
7427 * locale/C-translit.h.in: Add entry for U20B9.
7428 Patch by pravin.d.s@gmail.com.
7429
28377d1b
UD
74302011-05-08 Ulrich Drepper <drepper@gmail.com>
7431
7fb90fb8
UD
7432 [BZ #12713]
7433 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7434 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7435 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7436 in rtld. Use *stat64.
7fb90fb8 7437 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7438 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7439 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7440 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7441 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7442 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7443 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7444 __fstatat64 macros.
7fb90fb8
UD
7445 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7446 * dirent/rewinddir.c: Add libc_hidden_def.
7447 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7448 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7449
28377d1b
UD
7450 * include/dirent.h (__alloc_dir): Add flags parameter.
7451 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7452 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7453 __alloc_dir.
7454 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7455 from fdopendir if O_CLOEXEC is already set.
7456
66bdbaa4
AM
74572011-03-15 Alan Modra <amodra@gmail.com>
7458
7459 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7460 l_tls_firstbyte_offset non-zero. Save padding offset in
7461 l_tls_firstbyte_offset for later use.
7462 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7463 freeing static tls block.
7464
95721191
JN
74652011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7466
7467 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7468 where #ifdef was intended. The intent is to prevent ARG_MAX from
7469 being defined by the kernel headers.
7470
f87dfb1f
UD
74712011-05-07 Ulrich Drepper <drepper@gmail.com>
7472
7473 [BZ #12734]
7474 * resolv/resolv.h: Define RES_NOTLDQUERY.
7475 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7476 no-tld-query and set RES_NOTLDQUERY.
7477 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7478 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7479 modern BIND to search name as TLD unless forbidden.
7480
47c3cd7a
UD
74812011-05-07 Petr Baudis <pasky@suse.cz>
7482 Ulrich Drepper <drepper@gmail.com>
7483
7484 [BZ #12393]
7485 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7486 (is_trusted_path): ...to here.
c1e9ea35 7487 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7488 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7489 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7490
8a35c912
PP
74912011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7492
7493 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7494 __BEGIN/__END_DECLS.
7495
acd41f47
UD
74962011-05-06 Ulrich Drepper <drepper@gmail.com>
7497
7498 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7499 NSS_STATUS_NOTFOUND if no record was found.
7500
597df647
AS
75012011-05-05 Andreas Schwab <schwab@redhat.com>
7502
7503 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7504 (headers-not-in-tirpc): Remove rpc/netdb.h
7505 * resolv/netdb.h: Revert last change.
7506
b9af1301
PP
75072011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7508
7509 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7510 circular dependency between libgcc.a and libc.a.
7511
4e34d5f5
AS
75122011-05-05 Andreas Schwab <schwab@redhat.com>
7513
7514 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7515 * nis/Makefile: Don't install rpcsvc/*.
7516 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7517 instead of <rpc/types.h>.
7518 (MAXHOSTNAMELEN): Define.
7519
00ee369c
AS
75202011-05-03 Andreas Schwab <schwab@redhat.com>
7521
7522 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7523
0b592a30
MB
75242011-04-28 Maciej Babinski <mbabinski@google.com>
7525
7526 [BZ #12714]
7527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7528 gethostbyname4_r when IPv6 results are possible.
7529
6e04cbbe
UD
75302011-05-02 Ulrich Drepper <drepper@gmail.com>
7531
7532 [BZ #12723]
7533 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7534 _PC_PIPE_BUF handling.
7535
e4ecafe0
BH
75362011-04-30 Bruno Haible <bruno@clisp.org>
7537
7538 [BZ #12717]
7539 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7540 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7541 to 'int'.
7542 * inet/getnameinfo.c (getnameinfo): Likewise.
7543
125ee683
UD
75442011-04-29 Ulrich Drepper <drepper@gmail.com>
7545
7546 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7547 to groups setting in database lookup.
7548 * nss/nsswitch.conf: Add initgroups entry.
7549
b722481a
EB
75502011-04-22 Ulrich Drepper <drepper@gmail.com>
7551
7552 [BZ #12685]
7553 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7554 mode string.
7555 Patch by Eric Blake <eblake@redhat.com>.
7556
4df46dbd
L
75572011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7558
7559 * sunrpc/Makefile (need-export-routines): Add svc_run.
7560 (routines): Remove svc_run.
7561 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7562 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7563 * sunrpc/svc_run.c (svc_run): Likewise.
7564 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7565
e84142d2
UD
75662011-04-21 Ulrich Drepper <drepper@gmail.com>
7567
7568 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7569 problem in reallocation in last patch.
7570
877175d8
UD
75712011-04-20 Ulrich Drepper <drepper@gmail.com>
7572
7573 * sunrpc/Makefile: Move inclusion of Rules.
7574
ab8eed78
UD
75752011-04-19 Ulrich Drepper <drepper@gmail.com>
7576
7577 * nss/nss_files/files-initgroups.c: New file.
7578 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7579 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7580 _nss_files_initgroups_dyn.
7581
e3d8f584
RS
75822011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7583
7584 * elf/elf.h (R_ARM_IRELATIVE): Define.
7585
af190f45
UD
75862011-04-19 Ulrich Drepper <drepper@gmail.com>
7587
7588 * po/ru.po: Update from translation team.
7589
53cf59ef
UD
75902011-04-17 Ulrich Drepper <drepper@gmail.com>
7591
7592 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7593 dependencies.
7594
4c559bcd
MF
75952011-02-06 Mike Frysinger <vapier@gentoo.org>
7596
7597 [BZ #12653]
7598 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7599 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7601 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7602 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7603
4420675c
AS
76042011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7605
7606 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7607 differing bytes.
7608 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7610 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7611
75ea32ab
UD
76122011-04-17 Ulrich Drepper <drepper@gmail.com>
7613
7614 [BZ #12420]
7615 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7616 storing it.
7617 * stdlib/bug-getcontext.c: New file.
7618 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7619
27390476
AK
76202011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7621
7622 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7623 instructions into .machine "z9-109".
7624 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7625 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7626
10442705
AK
76272011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7628
7629 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7630 between environment variables and auxiliary vector.
7631
7b57bfe5
UD
76322011-04-16 Ulrich Drepper <drepper@gmail.com>
7633
7634 * Makefile: Add rules to build linkobj/libc.so.
7635 * include/libc-symbols.h: Define libc_hidden_nolink.
7636 * include/rpc/auth.h: Mark functions which are to be hidden.
7637 * include/rpc/auth_des.h: Likewise.
7638 * include/rpc/auth_unix.h: Likewise.
7639 * include/rpc/clnt.h: Likewise.
7640 * include/rpc/des_crypt.h: Likewise.
7641 * include/rpc/key_prot.h: Likewise.
7642 * include/rpc/pmap_clnt.h: Likewise.
7643 * include/rpc/pmap_prot.h: Likewise.
7644 * include/rpc/pmap_rmt.h: Likewise.
7645 * include/rpc/rpc_msg.h: Likewise.
7646 * include/rpc/svc.h: Likewise.
7647 * include/rpc/svc_auth.h: Likewise.
7648 * include/rpc/xdr.h: Likewise.
7649 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7650 * nss/Makefile: Likewise.
7651 * sunrpc/Makefile: Don't install headers. Build library with normal
7652 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7653 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7654 for the compat linking library. Remove use of INTDEF/INTUSE.
7655 * sunrpc/auth_none.c: Likewise.
7656 * sunrpc/auth_unix.c: Likewise.
7657 * sunrpc/authdes_prot.c: Likewise.
7658 * sunrpc/authuxprot.c: Likewise.
7659 * sunrpc/clnt_gen.c: Likewise.
7660 * sunrpc/clnt_perr.c: Likewise.
7661 * sunrpc/clnt_raw.c: Likewise.
7662 * sunrpc/clnt_simp.c: Likewise.
7663 * sunrpc/clnt_tcp.c: Likewise.
7664 * sunrpc/clnt_udp.c: Likewise.
7665 * sunrpc/clnt_unix.c: Likewise.
7666 * sunrpc/des_crypt.c: Likewise.
7667 * sunrpc/des_soft.c: Likewise.
7668 * sunrpc/get_myaddr.c: Likewise.
7669 * sunrpc/key_call.c: Likewise.
7670 * sunrpc/key_prot.c: Likewise.
7671 * sunrpc/netname.c: Likewise.
7672 * sunrpc/pm_getmaps.c: Likewise.
7673 * sunrpc/pm_getport.c: Likewise.
7674 * sunrpc/pmap_clnt.c: Likewise.
7675 * sunrpc/pmap_prot.c: Likewise.
7676 * sunrpc/pmap_prot2.c: Likewise.
7677 * sunrpc/pmap_rmt.c: Likewise.
7678 * sunrpc/publickey.c: Likewise.
7679 * sunrpc/rpc_cmsg.c: Likewise.
7680 * sunrpc/rpc_common.c: Likewise.
7681 * sunrpc/rpc_dtable.c: Likewise.
7682 * sunrpc/rpc_prot.c: Likewise.
7683 * sunrpc/rpc_thread.c: Likewise.
7684 * sunrpc/rtime.c: Likewise.
7685 * sunrpc/svc.c: Likewise.
7686 * sunrpc/svc_auth.c: Likewise.
7687 * sunrpc/svc_authux.c: Likewise.
7688 * sunrpc/svc_raw.c: Likewise.
7689 * sunrpc/svc_run.c: Likewise.
7690 * sunrpc/svc_simple.c: Likewise.
7691 * sunrpc/svc_tcp.c: Likewise.
7692 * sunrpc/svc_udp.c: Likewise.
7693 * sunrpc/svc_unix.c: Likewise.
7694 * sunrpc/svcauth_des.c: Likewise.
7695 * sunrpc/xcrypt.c: Likewise.
7696 * sunrpc/xdr.c: Likewise.
7697 * sunrpc/xdr_array.c: Likewise.
7698 * sunrpc/xdr_float.c: Likewise.
7699 * sunrpc/xdr_intXX_t.c: Likewise.
7700 * sunrpc/xdr_mem.c: Likewise.
7701 * sunrpc/xdr_rec.c: Likewise.
7702 * sunrpc/xdr_ref.c: Likewise.
7703 * sunrpc/xdr_sizeof.c: Likewise.
7704 * sunrpc/xdr_stdio.c: Likewise.
7705
e6c61494
UD
77062011-04-10 Ulrich Drepper <drepper@gmail.com>
7707
7708 [BZ #12650]
7709 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7710 * sysdeps/ia64/dl-tls.h: Likewise.
7711 * sysdeps/powerpc/dl-tls.h: Likewise.
7712 * sysdeps/s390/dl-tls.h: Likewise.
7713 * sysdeps/sh/dl-tls.h: Likewise.
7714 * sysdeps/sparc/dl-tls.h: Likewise.
7715 * sysdeps/x86_64/dl-tls.h: Likewise.
7716 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7717
34fe483e
AS
77182011-03-14 Andreas Schwab <schwab@redhat.com>
7719
7720 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7721 rpath element also skip the following colon.
7722 (expand_dynamic_string_token): Add is_path parameter and pass
7723 down to DL_DST_REQUIRED and _dl_dst_substitute.
7724 (decompose_rpath): Call expand_dynamic_string_token with
7725 non-zero is_path. Ignore empty rpaths.
7726 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7727 with zero is_path.
7728
f12a32e6
AS
77292011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7730
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7732 Make cancelable.
7733
38a7d692
UD
77342011-04-09 Ulrich Drepper <drepper@gmail.com>
7735
7736 [BZ #12655]
7737 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7738 Patch by Filipe David Manana <fdmanana@apache.org>.
7739
e451d22b
AS
77402011-04-07 Andreas Schwab <schwab@redhat.com>
7741
7742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7743 Maintain aligned stack.
7744 (CHECK_RSP): Remove unused macro.
7745
dedc7c7b
UD
77462011-04-03 Ulrich Drepper <drepper@gmail.com>
7747
7748 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7750
94521213
UD
77512011-04-02 Ulrich Drepper <drepper@gmail.com>
7752
7753 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7754
8cb700c0 7755 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7756
0354e355
L
77572011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 [BZ #12518]
7760 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7761 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7762 * sysdeps/x86_64/memmove.c: New file.
7763 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7764 (memcpy): Renamed to ...
7765 (__new_memcpy): This.
7766 (memcpy): Provide GLIBC_2_14 memcpy.
7767 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7768 (memcpy): Provide GLIBC_2_2_5 memcpy.
7769
8593482f
UD
77702011-04-01 Ulrich Drepper <drepper@gmail.com>
7771
7772 [BZ #12631]
7773 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7774
81a5726b
AS
77752011-03-30 Andreas Schwab <schwab@redhat.com>
7776
7777 * misc/syncfs.c: New file.
7778 * misc/Makefile (routines): Add syncfs.
7779 * posix/unistd.h: Declare syncfs.
7780 * sysdeps/unix/syscalls.list: Add syncfs.
7781
00e5419f
AS
77822011-04-01 Andreas Schwab <schwab@redhat.com>
7783
7784 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7785 open_by_handle_at.
7786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7787 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7791 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7793
748876bf
UD
77942011-04-01 Ulrich Drepper <drepper@gmail.com>
7795
658e451d
UD
7796 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7797 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7802 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7803
748876bf
UD
7804 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7805 sync_file_range.c with -fexceptions.
7806 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7807 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7808 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7809 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7810 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7811 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7813 sync_file_range as cancellation point
7814 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7815 now a wrapper around __call_sync_file_range with cancellation handling.
7816 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7817 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7818 function name to __call_sync_file_range.
7819 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7820 Add call_sync_file_range.
748876bf 7821
6e63d5e1
AS
78222011-04-01 Andreas Schwab <schwab@redhat.com>
7823
7824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7825 bits/timex.h.
6e63d5e1 7826
46998f74
UD
78272011-04-01 Ulrich Drepper <drepper@gmail.com>
7828
4c1423ed
UD
7829 * iconv/iconv.h: Fix typo in comment.
7830 * io/fcntl.h: Likewise.
7831 * libio/stdio.h: Likewise.
7832 * posix/spawn.h: Likewise.
7833 * posix/unistd.h: Likewise.
7834 * stdlib/stdlib.h: Likewise.
7835 * time/time.h: Likewise.
7836 * wcsmbs/wchar.h: Likewise.
7837
158648c0
UD
7838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7839 open_by_handle): Add.
7840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7841 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7842 Augment a few comments.
7843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7848 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7849 open_by_handle.
7850
46998f74
UD
7851 * io/fcntl.h (AT_EMPTY_PATH): Define.
7852
83fe108b
UD
78532011-03-30 Ulrich Drepper <drepper@gmail.com>
7854
7855 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7856 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7857 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7858 to...
7859 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7860 * Versions.def: Add GLIBC_2.14.
7861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7862 Export.
83fe108b 7863
bb242059
UD
78642011-03-22 Ulrich Drepper <drepper@gmail.com>
7865
7866 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7867 round counter.
7868 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7869
c97a1282
L
78702011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7871
7872 [BZ #12597]
7873 * string/test-strncmp.c (do_page_test): New function.
7874 (check2): Likewise.
7875 (test_main): Call check2.
7876 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7877
2a115601
UD
78782011-03-20 Ulrich Drepper <drepper@gmail.com>
7879
7880 [BZ #12587]
7881 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7882 Handle cache information in CPU leaf 4.
7883 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7884
8126d904
UD
78852011-03-18 Ulrich Drepper <drepper@gmail.com>
7886
042c49c6 7887 [BZ #12583]
8126d904
UD
7888 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7889 character representation.
7890 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7891
ccfe366e
RA
78922011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7893
7894 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7895 END(__isnan) to END(__isnanf) to match function entry point/label
7896 EALIGN(__isnanf,...).
7897
c6e13027
JJ
78982011-03-10 Jakub Jelinek <jakub@redhat.com>
7899
7900 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7901
33f85a3f
UD
79022011-03-10 Ulrich Drepper <drepper@gmail.com>
7903
028478fa
UD
7904 [BZ #12510]
7905 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7906 copy from the symbol referenced in the relocation to initialize the
7907 used variable.
7908 Patch by Piotr Bury <pbury@goahead.com>.
7909 * elf/Makefile: Add rules to build and tst-unique3.
7910 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7911 * elf/tst-unique3.cc: New file.
7912 * elf/tst-unique3.h: New file.
7913 * elf/tst-unique3lib.cc: New file.
7914 * elf/tst-unique3lib2.cc: New file.
7915
33f85a3f
UD
7916 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7917
03592fc7
MF
79182011-03-10 Mike Frysinger <vapier@gentoo.org>
7919
7920 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7921 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7922 to _start.
03592fc7 7923
6a5ee102
UD
79242011-03-06 Ulrich Drepper <drepper@gmail.com>
7925
7926 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7927 to-be-loaded object along a path to loader is ld.so.
7928
7e4ba49c
HJ
79292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7930 Ulrich Drepper <drepper@gmail.com>
7931
7932 * sysdeps/x86_64/memset.S: After aligning destination, code
7933 branches to different locations depending on the value of
7934 misalignment, when multiarch is enabled. Fix this.
7935
79362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7937
7938 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7939 Set _x86_64_preferred_memory_instruction for AMD processsors.
7940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7941 Set bit_Prefer_SSE_for_memop for AMD processors.
7942
13a804de
UD
79432011-03-04 Ulrich Drepper <drepper@gmail.com>
7944
7945 * libio/fmemopen.c (fmemopen): Optimize a bit.
7946
9d25c392
AS
79472011-03-03 Andreas Schwab <schwab@redhat.com>
7948
7949 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7950
a5543c6a
RM
79512011-03-03 Roland McGrath <roland@redhat.com>
7952
7953 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7954
012d35f7
DM
79552011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7956
7e4ba49c 7957 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7958 __bzero_ultra1 instead of __memset_ultra1.
7959
4bff6e01
AS
79602011-02-23 Andreas Schwab <schwab@redhat.com>
7961 Ulrich Drepper <drepper@gmail.com>
7962
7963 [BZ #12509]
7964 * include/link.h (struct link_map): Add l_orig_initfini.
7965 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7966 returning unsuccessfully.
7967 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7968 close of a file loaded at startup, restore the original l_initfini
7969 list.
7970 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7971 list, store the pointer.
7972 * elf/Makefile ($(objpfx)noload-mem): New rule.
7973 (noload-ENV): Define.
7974 (tests): Add $(objpfx)noload-mem.
7975 * elf/noload.c: Include <memcheck.h>.
7976 (main): Call mtrace. Close all opened handles.
7977
f2092faf
AS
79782011-02-17 Andreas Schwab <schwab@redhat.com>
7979
7980 [BZ #12454]
7981 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7982 dependencies are missing.
7983
6c8a2e88
ST
79842011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7985
f2092faf 7986 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7987 Hurd needs munmap.
7988 * sysdeps/mach/hurd/ifreq.h: New file.
7989
84a42118
PB
79902011-01-27 Petr Baudis <pasky@suse.cz>
7991 Ulrich Drepper <drepper@gmail.com>
7992
071f805e 7993 [BZ 12445]#
84a42118
PB
7994 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7995 to extend_alloca().
7996 * stdio-common/bug23.c: New file.
7997 * stdio-common/Makefile (tests): Add bug23.
7998
e23fe25b
AS
79992010-09-28 Andreas Schwab <schwab@redhat.com>
8000 Ulrich Drepper <drepper@gmail.com>
8001
8002 [BZ #12489]
8003 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8004 before performing relro protection. At old place add assertion
8005 to make sure nothing changed.
8006
d3f02e10
NS
80072011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8008 Glauber de Oliveira Costa <glommer@gmail.com>
8009
8010 * elf/elf.h: Add new ARM TLS relocs.
8011
d55fd7a5
RA
80122011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8013
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8015 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8016 cast from r3.
8017 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8018 'tests' variable.
8019 * sysdeps/wordsize-64/tst-writev.c: New file.
8020
2206397e
RA
80212011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8022
8023 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8024 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8025 insns in _dl_start to prevent a TOC reference before relocs are
8026 resolved.
8027
e9433893
UD
80282011-02-15 Ulrich Drepper <drepper@gmail.com>
8029
8030 [BZ #12469]
8031 * Makeconfig: Remove RANLIB definition.
8032 * Makerules: Don't use RANLIB.
8033 * aclocal.m4: Remove ranlib test.
8034 * configure.in: No need to check for ranlib.
8035 * elf/rtld-Rules: Don't use RANLIB.
8036
f75286c6
ST
80372011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8038
8e31c82d
ST
8039 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8040 protection macro.
8041 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8042 inclusion protection macro.
8043
f75286c6
ST
8044 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8045 SIGRTMIN and SIGRTMAX and print information in that case only when
8046 SIGRTMIN is defined.
8047
c1d0e639
JJ
80482011-02-11 Jakub Jelinek <jakub@redhat.com>
8049
8050 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8051 arginfo fn returning -1.
8052
8053 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8054 and thousands string is zero terminated.
8055
edf9294e
AS
80562011-02-03 Andreas Schwab <schwab@redhat.com>
8057
8058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8059 sysdeps/unix/sysv/linux/bits/socket.h.
8060
2b7e92df
ST
80612011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8062
edf9294e
AS
8063 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8064 (__CPU_COUNT): Remove old macros.
8065 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8066 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8067 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8068 (__sched_cpualloc, __sched_cpufree): Add declarations.
8069
a4c7ea7b
UD
80702011-02-05 Ulrich Drepper <drepper@gmail.com>
8071
8072 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8073 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8074 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8075 (readdhstai): Return value of addhstaiX call.
8076 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8077 (addgrbyX): Return value returned by cache_addgr.
8078 (readdgrbyname): Return value returned by addgrbyX.
8079 (readdgrbygid): Likewise.
8080 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8081 (addpwbyX): Return value returned by cache_addpw.
8082 (readdpwbyname): Return value returned by addhstbyX.
8083 (readdpwbyuid): Likewise.
8084 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8085 (addservbyX): Return value returned by cache_addserv.
8086 (readdservbyname): Return value returned by addservbyX:
8087 (readdservbyport): Likewise.
8088 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8089 (addhstbyX): Return value returned by cache_addhst.
8090 (readdhstbyname): Return value returned by addhstbyX.
8091 (readdhstbyaddr): Likewise.
8092 (readdhstbynamev6): Likewise.
8093 (readdhstbyaddrv6): Likewise.
8094 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8095 (readdinitgroups): Return value returned by addinitgroupsX.
8096 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8097 (prune_cache): Keep track of timeout value of re-added entries.
8098 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8099 * nscd/nscd.h: Adjust prototypes of readd* functions.
8100
a0bf67cc
RM
81012011-02-04 Roland McGrath <roland@redhat.com>
8102
8103 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8104 (nis_stats): Likewise.
8105 * nis/nis_modify.c (nis_modify): Likewise.
8106 * nis/nis_remove.c (nis_remove): Likewise.
8107 * nis/nis_add.c (nis_add): Likewise.
8108
8109 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8110
8111 * posix/fnmatch_loop.c: Add some consts.
8112
8113 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8114
435b95eb
L
81152011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8116
8117 [BZ #12460]
8118 * config.make.in (config-cflags-novzeroupper): Define.
8119 * configure.in: Substitute libc_cv_cc_novzeroupper.
8120 * elf/Makefile (AVX-CFLAGS): Define.
8121 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8122 (CFLAGS-tst-auditmod4a.c): Likewise.
8123 (CFLAGS-tst-auditmod4b.c): Likewise.
8124 (CFLAGS-tst-auditmod6b.c): Likewise.
8125 (CFLAGS-tst-auditmod6c.c): Likewise.
8126 (CFLAGS-tst-auditmod7b.c): Likewise.
8127 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8128
8517b15e
UD
81292011-02-02 Ulrich Drepper <drepper@gmail.com>
8130
8131 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8132 function to the callback.
8133 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8134
10a656fe
AS
81352011-02-02 Andreas Schwab <schwab@redhat.com>
8136
8137 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8138 of errno.
8139
968dad0a
UD
81402011-01-19 Ulrich Drepper <drepper@gmail.com>
8141
9f94d2ea 8142 [BZ #11724]
968dad0a
UD
8143 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8144 of constructors.
8145 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8146 of destructors.
8147 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8148
8149 [BZ #11724]
8150 * elf/Makefile: Add rules to build and run new test.
8151 * elf/tst-initorder.c: New file.
8152 * elf/tst-initorder.exp: New file.
8153 * elf/tst-initordera1.c: New file.
8154 * elf/tst-initordera2.c: New file.
8155 * elf/tst-initordera3.c: New file.
8156 * elf/tst-initordera4.c: New file.
8157 * elf/tst-initorderb1.c: New file.
8158 * elf/tst-initorderb2.c: New file.
8159 * elf/tst-order-a1.c: New file.
8160 * elf/tst-order-a2.c: New file.
8161 * elf/tst-order-a3.c: New file.
8162 * elf/tst-order-a4.c: New file.
8163 * elf/tst-order-b1.c: New file.
8164 * elf/tst-order-b2.c: New file.
8165 * elf/tst-order-main.c: New file.
8166 New test case by George Gensure <werkt0@gmail.com>.
8167
86e92359
UD
81682010-10-01 Andreas Schwab <schwab@redhat.com>
8169
8170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8171 decoding ACE if AI_CANONIDN.
8172
5d5732b0
UD
81732011-01-18 Ulrich Drepper <drepper@gmail.com>
8174
8175 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8176
a77e8cbc
UD
81772011-01-17 Ulrich Drepper <drepper@gmail.com>
8178
6392473f
UD
8179 * version.h (RELEASE): Bump for 2.13 release.
8180 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8181
620a0529
UD
8182 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8183
18ba70a5
UD
8184 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8185 MADV_NOHUGEPAGE.
32465c3e
UD
8186 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8191 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8192
c0dafcf1
UD
8193 * posix/getconf.c: Update copyright year.
8194 * catgets/gencat.c: Likewise.
8195 * csu/version.c: Likewise.
8196 * debug/catchsegv.sh: Likewise.
8197 * debug/xtrace.sh: Likewise.
8198 * elf/ldconfig.c: Likewise.
8199 * elf/ldd.bash.in: Likewise.
8200 * elf/sprof.c (print_version): Likewise.
8201 * iconv/iconv_prog.c: Likewise.
8202 * iconv/iconvconfig.c: Likewise.
8203 * locale/programs/locale.c: Likewise.
8204 * locale/programs/localedef.c: Likewise.
8205 * malloc/memusage.sh: Likewise.
8206 * malloc/mtrace.pl: Likewise.
8207 * nscd/nscd.c (print_version): Likewise.
8208 * nss/getent.c: Likewise.
8209
a77e8cbc
UD
8210 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8211 PF_CAIF, and PF_ALG.
8212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8213
77e8bddf
AS
82142011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8215
1f20b93a
AS
8216 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8217 (modules-names): Use them.
8218 (ifunc-test-modules, ifunc-pie-tests): Define.
8219 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8220 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8221 (test-extras): Likewise.
8222 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8223 $(compile-command.c).
8224 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8225 (all-built-dso): Define.
8226 (check-textrel.out, check-execstack.out): Depend on it.
8227
77e8bddf
AS
8228 * configure.in: Don't override --enable-multi-arch.
8229
bc425b33
UD
82302011-01-15 Ulrich Drepper <drepper@gmail.com>
8231
8232 [BZ #6812]
8233 * nscd/hstcache.c (tryagain): Define.
8234 (cache_addhst): Return tryagain not notfound for temporary errors.
8235 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8236 failed.
8237
794c3ad3
UD
82382011-01-14 Ulrich Drepper <drepper@gmail.com>
8239
70181fdd
UD
8240 [BZ #10563]
8241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8242 to make the syscall.
8243 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8244
794c3ad3
UD
8245 [BZ #12378]
8246 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8247 and fall back to matching as normal character if the string ends before
8248 the matching ']' is found. This is what POSIX requires.
8249 * posix/testfnm.c: Adjust test result.
8250 * posix/globtest.sh: Adjust test result. Add new test.
8251 * posix/tst-fnmatch.input: Likewise.
8252 * posix/tst-fnmatch2.c: Add new test.
8253
68dc9497
AS
82542010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8255
8256 * elf/Makefile (check-execstack): Revert last change. Depend on
8257 check-execstack.h.
8258 (check-execstack.h): New target.
8259 (generated): Add check-execstack.h.
8260 * elf/check-execstack.c: Include "check-execstack.h".
8261 (main): Revert last change.
8262 (handle_file): Return zero if GNU_STACK is absent and
8263 DEFAULT_STACK_PERMS doesn't include PF_X.
8264
451f001b
UD
82652011-01-13 Ulrich Drepper <drepper@gmail.com>
8266
cfa28e56
UD
8267 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8268 in child fails because the descriptor is already closed.
8cf8ce17
UD
8269 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8270 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8271 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8272
1086d70d
UD
8273 [BZ #12397]
8274 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8275 syscall.
8276
451f001b
UD
8277 [BZ #10484]
8278 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8279 temporary buffer used to handle multi lookups locally.
a85b5cb4 8280 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8281
08769175
UD
82822011-01-12 Ulrich Drepper <drepper@gmail.com>
8283
8284 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8285 loader is ld.so.
8286
5e49c52e
UD
82872011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8288
8289 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8290 alignment for SSE2.
8291
60522a5f
UD
82922011-01-12 Ulrich Drepper <drepper@gmail.com>
8293
8294 [BZ #12394]
8295 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8296 characters. When rounding increased number of integer digits recompute
8297 number of groups.
8298 * stdio-common/tst-grouping.c: New file.
8299 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8300
f257bbd7
UD
83012011-01-09 Ulrich Drepper <drepper@gmail.com>
8302
8303 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8304 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8305
8306 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8307 void.
8308 * bits/select.h: Likewise.
8309
fa9c15cb
UD
83102011-01-08 Ulrich Drepper <drepper@gmail.com>
8311
8312 * po/ja.po: Update from translation team.
8313
16c2895f
DM
83142011-01-04 David S. Miller <davem@sunset.davemloft.net>
8315
8316 [BZ #11155]
8317 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8318 implementation just like for lxstat, fxstatat, et al.
8319
2543fef2
JM
83202010-12-27 Jim Meyering <meyering@redhat.com>
8321
8322 [BZ #12348]
8323 * posix/regexec.c (build_trtable): Return failure indication upon
8324 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8325
98727dbe
UD
83262010-12-25 Ulrich Drepper <drepper@gmail.com>
8327
5bd6dc5c
UD
8328 [BZ #12201]
8329 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8330 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8331 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8332 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8333
97983464
UD
8334 [BZ #12207]
8335 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8336
98727dbe
UD
8337 [BZ #12204]
8338 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8339 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8340
4a531bb0
L
83412010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8342
8343 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8344 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8345 script has SORT_BY_INIT_PRIORITY.
8346 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8347 NO_CTORS_DTORS_SECTIONS is defined.
8348 * elf/soinit.c: Likewise.
8349 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8350 NO_CTORS_DTORS_SECTIONS is defined.
8351 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8352 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8353 * sysdeps/sh/init-first.c: Likewise.
8354 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8355
07eb4b71
UD
83562010-12-24 Ulrich Drepper <drepper@gmail.com>
8357
8358 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8359 always use the slow path.
8360
30950a5f
RA
83612010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8362
8363 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8364 similar rule which adds the sysdep directories to the header search in
8365 order to pick up the correct platform stackinfo.h.
8366 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8367 perform test if it is, otherwise return successfully without testing.
8368 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8369 DEFAULT_STACK_PERMS define in stackinfo.h.
8370 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8371 defined in stackinfo.h.
8372 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8373 DEFAULT_STACK_PERMS defined in stackinfo.h.
8374 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8375 * sysdeps/ia64/stackinfo.h: Likewise.
8376 * sysdeps/s390/stackinfo.h: Likewise.
8377 * sysdeps/sh/stackinfo.h: Likewise.
8378 * sysdeps/sparc/stackinfo.h: Likewise.
8379 * sysdeps/x86_64/stackinfo.h: Likewise.
8380 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8381 PF_X for powerpc64. Retain PF_X for powerpc32.
8382
db753e2c
UD
83832010-12-19 Ulrich Drepper <drepper@gmail.com>
8384
14b697f7
UD
8385 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8386 accurately.
db753e2c
UD
8387 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8388 GETDENTS_64BIT_ALIGNED.
8389
28300719
UD
83902010-12-14 Ulrich Drepper <dreper@gmail.com>
8391
14b697f7 8392 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8393
4f197237
AS
83942010-12-10 Andreas Schwab <schwab@redhat.com>
8395
dbb0472f
AS
8396 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8397 _GNU_SOURCE.
8398
4f197237
AS
8399 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8400 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8401 Remove __restrict.
8402 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8403 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8404
fb88ac72
UD
84052010-12-09 Ulrich Drepper <drepper@gmail.com>
8406
8407 [BZ #11655]
8408 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8409 are initialized.
8410
42acbb92
JJ
84112010-12-09 Jakub Jelinek <jakub@redhat.com>
8412
8413 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8414
c038d98d
UD
84152010-12-03 Ulrich Drepper <drepper@gmail.com>
8416
8417 * po/it.po: Update from translation team.
8418
3a4a2499
L
84192010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8422 unused codes.
8423
1e24cf6e
UD
84242010-11-30 Ulrich Drepper <drepper@gmail.com>
8425
8426 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8427
a7690819
AS
84282010-11-24 Andreas Schwab <schwab@redhat.com>
8429
8430 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8431 specially.
8432 (gaih_getanswer_slice): Likewise.
8433
3bf8d1b1
JJ
84342010-10-20 Jakub Jelinek <jakub@redhat.com>
8435
8436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8437
6db52fbb
PB
84382010-05-31 Petr Baudis <pasky@suse.cz>
8439
8440 [BZ #11149]
8441 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8442 silently even in the chroot mode.
8443
eaca7569
UD
84442010-11-22 Ulrich Drepper <drepper@gmail.com>
8445
8446 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8447 last patch a bit. Pretty printing
8448
3056dcdb
UD
84492010-05-31 Petr Baudis <pasky@suse.cz>
8450
8451 [BZ #10085]
8452 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8453 initialization of skip_initgroups_dyn.
8454
cf7c9078
UD
84552010-11-19 Ulrich Drepper <drepper@gmail.com>
8456
8457 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8458 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8459
a1fb5e3e
UD
84602010-11-16 Ulrich Drepper <drepper@gmail.com>
8461
8462 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8463
3540d66b
AS
84642010-11-11 Andreas Schwab <schwab@redhat.com>
8465
8466 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8467 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8468 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8469 ($(objpfx)tst-fnmatch-mem): New rule.
8470 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8471 * posix/tst-fnmatch.c (main): Call mtrace.
8472
13b69574
L
84732010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8474
8475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8476 Support Intel processor model 6 and model 0x2c.
8477
da93d214
LM
84782010-11-10 Luis Machado <luisgpm@br.ibm.com>
8479
8480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8481 signed comparison.
8482
8ca52c6e
L
84832010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8484
8485 [BZ #12205]
8486 * string/test-strncasecmp.c (check_result): New function.
8487 (do_one_test): Use it.
8488 (check1): New function.
8489 (test_main): Use it.
8490 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8491 Support strcasecmp and strncasecmp.
8492
69da074d
UD
84932010-11-08 Ulrich Drepper <drepper@gmail.com>
8494
8495 [BZ #12194]
8496 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8497 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8498
ff02d528
L
84992010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8502 IFUNC support.
8503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8504 memset-x86-64.
8505 * sysdeps/x86_64/multiarch/bzero.S: New file.
8506 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8507 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8508 * sysdeps/x86_64/multiarch/memset.S: New file.
8509 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8511 Set bit_Prefer_SSE_for_memop for Intel processors.
8512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8513 Define.
8514 (index_Prefer_SSE_for_memop): Define.
8515 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8516
344d0b54
LM
85172010-11-04 Luis Machado <luisgpm@br.ibm.com>
8518
8519 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8520 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8521
c0dde15b
UD
85222010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8523
8524 [BZ #12191]
8525 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8526 (__x86_64_raw_data_cache_size_half): Likewise.
8527 (__x86_64_raw_shared_cache_size): Likewise.
8528 (__x86_64_raw_shared_cache_size_half): Likewise.
8529
8530 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8531 (__x86_64_raw_data_cache_size_half): Likewise.
8532 (__x86_64_raw_shared_cache_size): Likewise.
8533 (__x86_64_raw_shared_cache_size_half): Likewise.
8534 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8535 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8536 and __x86_64_raw_shared_cache_size_half. Round
8537 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8538 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8539 to multiple of 256 bytes.
8540
0e516e0e
MS
85412010-11-03 Ulrich Drepper <drepper@gmail.com>
8542
8543 [BZ #12167]
8544 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8545 of inacessible symlinks. Verify result of symlink before returning it.
8546 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8547 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8548
0e012e87
ER
85492010-10-28 Erich Ritz <erichritz@gmail.com>
8550
8551 * math/math.h (isinf): Fix typo in comment.
8552
de0ff7bc
UD
85532010-11-01 Ulrich Drepper <drepper@gmail.com>
8554
8555 * po/da.po: Update from translation team.
8556
fa41c84d
UD
85572010-10-26 Ulrich Drepper <drepper@gmail.com>
8558
8559 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8560 is added to the list.
8561
f0967738
AK
85622010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8563 Ulrich Drepper <drepper@gmail.com>
8564
8565 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8566 the global list here. Move code to...
8567 (_dl_add_to_namespace_list): ...here. New function.
8568 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8569 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8570 * elf/dl-load.c (lose): Don't remove the element from the list.
8571 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8572 (_dl_map_object): Likewise.
8573
85742010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8575
8576 [BZ #12159]
8577 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8578 into all bytes of SSE register.
8579 Patch by Richard Li <richardpku@gmail.com>.
8580
f0967738 85812010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8582
8583 [BZ #12140]
8584 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8585 perturbing.
8586
d0b9e94f
MB
85872010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8588
8589 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8590 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8591 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8592 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8594 submachine.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8596
8e9f92e9
AS
85972010-10-22 Andreas Schwab <schwab@redhat.com>
8598
8599 * include/dlfcn.h (__RTLD_SECURE): Define.
8600 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8601 mode & __RTLD_SECURE instead.
8602 (open_path): Rename preloaded parameter to secure.
8603 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8604 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8605 * elf/dl-deps.c (openaux): Likewise.
8606 * elf/rtld.c (struct map_args): Remove is_preloaded.
8607 (map_doit): Don't use it.
8608 (dl_main): Likewise.
8609 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8610 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8611
bc96fbda
AS
86122010-09-09 Andreas Schwab <schwab@redhat.com>
8613
8614 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8615 (sysd-rules-targets): Remove duplicates.
8616 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8617 rtld-%.$o dependency.
8618
22cd1c9b
AS
86192010-10-18 Andreas Schwab <schwab@redhat.com>
8620
8621 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8622 _dl_map_object do it.
8623
18edac48
UD
86242010-10-19 Ulrich Drepper <drepper@gmail.com>
8625
8626 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8627 fast fma builtins, define the macros in the C99 standard.
8628 (FP_FAST_FMAF): Likewise.
8629 (FP_FAST_FMAL): Likewise.
8630 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8631
8632 * bits/mathdef.h: Update copyright year.
8633 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8634
d2050124
MM
86352010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8636
8637 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8638 builtins, define the macros in the C99 standard.
8639 (FP_FAST_FMAF): Likewise.
8640 (FP_FAST_FMAL): Likewise.
8641 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8642 multiply/add.
8643 (FP_FAST_FMAF): Likewise.
8644
475facd1
JJ
86452010-10-15 Jakub Jelinek <jakub@redhat.com>
8646
8647 [BZ #3268]
8648 * math/libm-test.inc (fma_test): Some new testcases.
8649 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8650 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8651 y and infinite z. Do multiplication by C already in long double.
8652 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8654 y and infinite z. Do bitwise or of inexact bit into u.d.
8655 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8656 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8657 * sysdeps/i386/fpu/s_fma.S: Removed.
8658 * sysdeps/i386/fpu/s_fmal.S: Removed.
8659
7c08a05c
JJ
86602010-10-16 Jakub Jelinek <jakub@redhat.com>
8661
8662 [BZ #3268]
8663 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8665 computation is not scheduled after fetestexcept. Fix value
8666 of minimum denormal long double.
8667
f3f7372d
JJ
86682010-10-14 Jakub Jelinek <jakub@redhat.com>
8669
8670 [BZ #3268]
8671 * math/libm-test.inc (fma_test): Add some more tests.
8672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8673 correctly.
8674
14d43591
AS
86752010-10-15 Andreas Schwab <schwab@redhat.com>
8676
8677 * scripts/data/localplt-s390-linux-gnu.data: New file.
8678 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8679
5e908464
JJ
86802010-10-13 Jakub Jelinek <jakub@redhat.com>
8681
8682 [BZ #3268]
8683 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8684 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8685 instead of dbl-64.
8686 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8687 inlines.
8688 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8690 if one of x and y is very large and the other is subnormal.
8691 * sysdeps/s390/fpu/s_fmaf.c: New file.
8692 * sysdeps/s390/fpu/s_fma.c: New file.
8693 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8694 * sysdeps/powerpc/fpu/s_fma.S: New file.
8695 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8696 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8697 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8698
86992010-10-12 Jakub Jelinek <jakub@redhat.com>
8700
8701 [BZ #3268]
8702 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8703 fma tests.
8704 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8705 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8706 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8707 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8708 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8709 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8711
b833d51f
UD
87122010-10-12 Ulrich Drepper <drepper@redhat.com>
8713
8714 [BZ #12078]
8715 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8716 * posix/bug-regex31.input: Add test case.
8717
1751705d
UD
87182010-10-11 Ulrich Drepper <drepper@gmail.com>
8719
e9b9cbf5
UD
8720 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8721 * posix/bug-regex31.input: New file.
8722
8723 [BZ #12078]
8724 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8725 (parse_sub_exp): Fix last change, use postorder.
8726
ef06edbe
UD
8727 * posix/bug-regex31.c: New file.
8728 * posix/Makefile: Add rules to build and run bug-regex31.
8729
a129c80d
UD
8730 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8731
8732 [BZ #12078]
8733 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8734
b76b818e
UD
8735 [BZ #12108]
8736 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8737 to have entries in sys_siglist.
8738
1751705d
UD
8739 [BZ #12093]
8740 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8741 be NULL.
8742
9ff8d36f
JJ
87432010-10-07 Jakub Jelinek <jakub@redhat.com>
8744
8745 [BZ #3268]
8746 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8747 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8748 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8749 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8750 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8751 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8752 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8753 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8754 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8755 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8756 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8757 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8758 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8759 * math/ftestexcept.c (fetestexcept): Likewise.
8760 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8761 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8762 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8763 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8764 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8765 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8767
af325969
UD
87682010-10-11 Ulrich Drepper <drepper@gmail.com>
8769
c579b202 8770 [BZ #12107]
af325969
UD
8771 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8772 newline.
8773
67a67b95
UD
87742010-10-06 Ulrich Drepper <drepper@gmail.com>
8775
8776 * string/bug-strstr1.c: New file.
8777 * string/Makefile: Add rules to build and run bug-strstr1.
8778
5fb308bc
EB
87792010-10-05 Eric Blake <eblake@redhat.com>
8780
8781 [BZ #12092]
8782 * string/str-two-way.h (two_way_long_needle): Always clear memory
8783 when skipping input due to the shift table.
8784
45db99c7
UD
87852010-10-03 Ulrich Drepper <drepper@gmail.com>
8786
3b111893
UD
8787 [BZ #12005]
8788 * malloc/mcheck.c: Handle large requests.
8789
45db99c7
UD
8790 [BZ #12077]
8791 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8792 for strncmp and strncasecmp.
8793 * string/stratcliff.c: Add tests for strcmp and strncmp.
8794 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8795
cf7a1eb8
NI
87962010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8797
8798 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8799 __set_fpscr.
8800
6484ba5e
AJ
88012010-09-30 Andreas Jaeger <aj@suse.de>
8802
8803 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8804 (CGROUP_SUPER_MAGIC): Define.
8805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8806 Handle btrfs and cgroup file systems.
8807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8808 Likewise.
8809
91c42559
LM
88102010-09-27 Luis Machado <luisgpm@br.ibm.com>
8811
8812 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8813 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8814
87a97932
AK
88152010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8816
8817 [BZ #12067]
8818 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8819 trying to locate the ELF header.
8820
c21cc9bc
AS
88212010-09-27 Andreas Schwab <schwab@redhat.com>
8822
8823 [BZ #11611]
8824 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8825 Mask out sign-bit copies when constructing f_fsid.
8826
315970f6
PB
88272010-09-24 Petr Baudis <pasky@suse.cz>
8828
8829 * debug/stack_chk_fail_local.c: Add missing licence exception.
8830 * debug/warning-nop.c: Likewise.
8831
1ac7a2c7
JM
88322010-09-15 Joseph Myers <joseph@codesourcery.com>
8833
8834 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8835 implementing getdents64 using getdents syscall, set d_type if
8836 __ASSUME_GETDENTS32_D_TYPE.
8837
56801c50
AS
88382010-09-16 Andreas Schwab <schwab@redhat.com>
8839
8840 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8841 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8842
dda51327
UD
88432010-09-21 Ulrich Drepper <drepper@redhat.com>
8844
8845 [BZ #12037]
8846 * posix/unistd.h: Undo change of feature selection for ftruncate from
8847 2010-01-11.
8848
8ffcee4a
UD
88492010-09-20 Ulrich Drepper <drepper@redhat.com>
8850
a545ecd9 8851 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8852 detection.
8853
e24f0a8b
AS
88542010-09-20 Andreas Schwab <schwab@redhat.com>
8855
8856 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8857 fanotify_mark.
8858 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8859
7291c56f
AS
88602010-09-14 Andreas Schwab <schwab@redhat.com>
8861
8862 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8863 variables after CHECK_SP call.
8864 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8865
bc5fb037
AS
88662010-09-13 Andreas Schwab <schwab@redhat.com>
8867 Ulrich Drepper <drepper@redhat.com>
8868
8869 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8870 re-relocationg ld.so.
8871 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8872 _dl_init_paths call.
8873 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8874 here anymore.
8875
e66e7419
UD
88762010-09-14 Ulrich Drepper <drepper@redhat.com>
8877
8878 * resolv/res_init.c (__res_vinit): Count the default server we added.
8879
c044aa75
CLT
88802010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8881 Ulrich Drepper <drepper@redhat.com>
8882
8883 [BZ #11968]
8884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8885 (____longjmp_chk): Use %ebx for saving value across system call.
8886 Add unwind info.
8887
32cf4069
AS
88882010-09-06 Andreas Schwab <schwab@redhat.com>
8889
8890 * manual/Makefile: Don't mix pattern rules with normal rules.
8891
817328ee
AS
88922010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8893
8894 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8895 operation.
8896 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8897 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8898 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8899 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8900 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8901 Likewise.
8902
29fddf61
UD
89032010-09-04 Ulrich Drepper <drepper@redhat.com>
8904
8905 [BZ #11979]
8906 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8907 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8908
0959ffc9
UD
89092010-09-02 Ulrich Drepper <drepper@redhat.com>
8910
8911 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8912 * sysdeps/x86_64/addmul_1.S: Likewise.
8913 * sysdeps/x86_64/lshift.S: Likewise.
8914 * sysdeps/x86_64/mul_1.S: Likewise.
8915 * sysdeps/x86_64/rshift.S: Likewise.
8916 * sysdeps/x86_64/sub_n.S: Likewise.
8917 * sysdeps/x86_64/submul_1.S: Likewise.
8918
ece29840
ST
89192010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8920
0959ffc9
UD
8921 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8922 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8923 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8924 * bits/sched.h [__need_schedparam]
ece29840 8925 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8926 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8927 (__defined_schedparam): Define to 1.
ece29840
ST
8928 (__sched_param): New structure, identical to sched_param.
8929 (__need_schedparam): Undefine.
8930
e53a31fe
MF
89312010-08-31 Mike Frysinger <vapier@gentoo.org>
8932
fdc0c10d
MF
8933 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8934 (epoll_create1): Declare.
8935
e53a31fe
MF
8936 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8937
a726d796
AS
89382010-08-31 Andreas Schwab <schwab@redhat.com>
8939
8940 [BZ #7066]
8941 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8942 shifting retval into place.
8943
2f3e3dc7
UD
89442010-09-01 Ulrich Drepper <drepper@redhat.com>
8945
f2933da9
UD
8946 * nis/rpcsvc/nis.h: Update copyright notice.
8947 * nis/rpcsvc/nis.x: Likewise.
8948 * nis/rpcsvc/nis_callback.h: Likewise.
8949 * nis/rpcsvc/nis_callback.x: Likewise.
8950 * nis/rpcsvc/nis_object.x: Likewise.
8951 * nis/rpcsvc/nis_tags.h: Likewise.
8952 * nis/rpcsvc/yp.h: Likewise.
8953 * nis/rpcsvc/yp.x: Likewise.
8954 * nis/rpcsvc/ypupd.h: Likewise.
8955 * nis/yp_xdr.c: Likewise.
8956 * nis/ypupdate_xdr.c: Likewise.
8957
2f3e3dc7
UD
8958 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8959 mainly the body of pmap_getport. Add parameters to specify timeouts.
8960 (pmap_getport): Use __libc_rpc_getport.
8961 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8962 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8963 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8964
f3dcc2f9
AS
89652010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8966
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8968 fanotify_mark.
8969
6d34eb5b
RM
89702010-08-27 Roland McGrath <roland@redhat.com>
8971
8972 * sysdeps/i386/i686/multiarch/Makefile
8973 (CFLAGS-varshift.c): New variable.
8974
9ea3de11
UD
89752010-08-27 Ulrich Drepper <drepper@redhat.com>
8976
c96d23fc
UD
8977 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8978 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8979
9ea3de11
UD
8980 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8981
8982 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8983
623aac7f
L
89842010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8985
8986 * sysdeps/x86_64/strlen.S: Unroll the loop.
8987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8988 strlen-sse2 strlen-sse2-bsf.
8989 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8990 __strlen_no_bsf if bit_Slow_BSF is set.
8991 (__strlen_sse42): Removed.
8992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8993 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8994
8b2b7715
RM
89952010-08-25 Roland McGrath <roland@redhat.com>
8996
8997 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8998 * sysdeps/x86_64/multiarch/varshift.c: New file.
8999 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9000 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9001 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9002 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9003
e73015f2
L
90042010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9005
9006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9007 strlen-sse2 strlen-sse2-bsf.
9008 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9009 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9010 (__strlen_sse2): Removed.
9011 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9014 bit_Slow_BSF for Atom.
9015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9016 (index_Slow_BSF): Define.
9017 (HAS_SLOW_BSF): Define.
9018
df24a73e
UD
90192010-08-25 Ulrich Drepper <drepper@redhat.com>
9020
9021 [BZ #10851]
9022 * resolv/res_init.c (__res_vinit): When no server address at all
9023 is given default to loopback.
9024
f2ac4868
RM
90252010-08-24 Roland McGrath <roland@redhat.com>
9026
09055553
RM
9027 * configure.in: Remove config-name.h generation.
9028 * configure: Regenerated.
9029 * config-name.in: File removed.
9030 * scripts/config-uname.sh: New file.
9031 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9032 ($(objdir)config-name.h): New target.
9033
f2ac4868
RM
9034 * sunrpc/rpc_parse.h: Avoid nested comment.
9035
73f27d5e
RH
90362010-08-24 Richard Henderson <rth@redhat.com>
9037 Ulrich Drepper <drepper@redhat.com>
9038 H.J. Lu <hongjiu.lu@intel.com>
9039
9040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9042 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9043 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9044 _mm_alignr_epi8 with _mm_loadu_si128.
9045 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9046 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9047 (__m128i_shift_right): Removed.
9048 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9049 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9050 * sysdeps/x86_64/multiarch/varshift.h: New file.
9051 * sysdeps/x86_64/multiarch/varshift.S: New file.
9052
84b9230c
MF
90532010-08-21 Mike Frysinger <vapier@gentoo.org>
9054
9055 * configure.in: Move assembler checks to before sysdep dir checking.
9056
9bbd0ddc
PB
90572010-08-20 Petr Baudis <pasky@suse.cz>
9058
9059 * LICENSES: Sync the sunrpc license.
9060
9da4bb31
UD
90612010-08-19 Ulrich Drepper <drepper@redhat.com>
9062
a7ab6ec8
UD
9063 * sunrpc/auth_des.c: Update copyright notice once again.
9064 * sunrpc/auth_none.c: Likewise.
9065 * sunrpc/auth_unix.c: Likewise.
9066 * sunrpc/authdes_prot.c: Likewise.
9067 * sunrpc/authuxprot.c: Likewise.
9068 * sunrpc/bindrsvprt.c: Likewise.
9069 * sunrpc/clnt_gen.c: Likewise.
9070 * sunrpc/clnt_perr.c: Likewise.
9071 * sunrpc/clnt_raw.c: Likewise.
9072 * sunrpc/clnt_simp.c: Likewise.
9073 * sunrpc/clnt_tcp.c: Likewise.
9074 * sunrpc/clnt_udp.c: Likewise.
9075 * sunrpc/clnt_unix.c: Likewise.
9076 * sunrpc/des_crypt.c: Likewise.
9077 * sunrpc/des_soft.c: Likewise.
9078 * sunrpc/get_myaddr.c: Likewise.
9079 * sunrpc/getrpcport.c: Likewise.
9080 * sunrpc/key_call.c: Likewise.
9081 * sunrpc/key_prot.c: Likewise.
9082 * sunrpc/openchild.c: Likewise.
9083 * sunrpc/pm_getmaps.c: Likewise.
9084 * sunrpc/pm_getport.c: Likewise.
9085 * sunrpc/pmap_clnt.c: Likewise.
9086 * sunrpc/pmap_prot.c: Likewise.
9087 * sunrpc/pmap_prot2.c: Likewise.
9088 * sunrpc/pmap_rmt.c: Likewise.
9089 * sunrpc/rpc/auth.h: Likewise.
9090 * sunrpc/rpc/auth_unix.h: Likewise.
9091 * sunrpc/rpc/clnt.h: Likewise.
9092 * sunrpc/rpc/des_crypt.h: Likewise.
9093 * sunrpc/rpc/key_prot.h: Likewise.
9094 * sunrpc/rpc/netdb.h: Likewise.
9095 * sunrpc/rpc/pmap_clnt.h: Likewise.
9096 * sunrpc/rpc/pmap_prot.h: Likewise.
9097 * sunrpc/rpc/pmap_rmt.h: Likewise.
9098 * sunrpc/rpc/rpc.h: Likewise.
9099 * sunrpc/rpc/rpc_des.h: Likewise.
9100 * sunrpc/rpc/rpc_msg.h: Likewise.
9101 * sunrpc/rpc/svc.h: Likewise.
9102 * sunrpc/rpc/svc_auth.h: Likewise.
9103 * sunrpc/rpc/types.h: Likewise.
9104 * sunrpc/rpc/xdr.h: Likewise.
9105 * sunrpc/rpc_clntout.c: Likewise.
9106 * sunrpc/rpc_cmsg.c: Likewise.
9107 * sunrpc/rpc_common.c: Likewise.
9108 * sunrpc/rpc_cout.c: Likewise.
9109 * sunrpc/rpc_dtable.c: Likewise.
9110 * sunrpc/rpc_hout.c: Likewise.
9111 * sunrpc/rpc_main.c: Likewise.
9112 * sunrpc/rpc_parse.c: Likewise.
9113 * sunrpc/rpc_parse.h: Likewise.
9114 * sunrpc/rpc_prot.c: Likewise.
9115 * sunrpc/rpc_sample.c: Likewise.
9116 * sunrpc/rpc_scan.c: Likewise.
9117 * sunrpc/rpc_scan.h: Likewise.
9118 * sunrpc/rpc_svcout.c: Likewise.
9119 * sunrpc/rpc_tblout.c: Likewise.
9120 * sunrpc/rpc_util.c: Likewise.
9121 * sunrpc/rpc_util.h: Likewise.
9122 * sunrpc/rpcinfo.c: Likewise.
9123 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9124 * sunrpc/rpcsvc/key_prot.x: Likewise.
9125 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9126 * sunrpc/rpcsvc/mount.x: Likewise.
9127 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9128 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9129 * sunrpc/rpcsvc/rex.x: Likewise.
9130 * sunrpc/rpcsvc/rstat.x: Likewise.
9131 * sunrpc/rpcsvc/rusers.x: Likewise.
9132 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9133 * sunrpc/rpcsvc/spray.x: Likewise.
9134 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9135 * sunrpc/rtime.c: Likewise.
9136 * sunrpc/svc.c: Likewise.
9137 * sunrpc/svc_auth.c: Likewise.
9138 * sunrpc/svc_authux.c: Likewise.
9139 * sunrpc/svc_raw.c: Likewise.
9140 * sunrpc/svc_run.c: Likewise.
9141 * sunrpc/svc_simple.c: Likewise.
9142 * sunrpc/svc_tcp.c: Likewise.
9143 * sunrpc/svc_udp.c: Likewise.
9144 * sunrpc/svc_unix.c: Likewise.
9145 * sunrpc/svcauth_des.c: Likewise.
9146 * sunrpc/xcrypt.c: Likewise.
9147 * sunrpc/xdr.c: Likewise.
9148 * sunrpc/xdr_array.c: Likewise.
9149 * sunrpc/xdr_float.c: Likewise.
9150 * sunrpc/xdr_mem.c: Likewise.
9151 * sunrpc/xdr_rec.c: Likewise.
9152 * sunrpc/xdr_ref.c: Likewise.
9153 * sunrpc/xdr_sizeof.c: Likewise.
9154 * sunrpc/xdr_stdio.c: Likewise.
9155
9da4bb31
UD
9156 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9157 handling.
9158
bdaa77bc
AS
91592010-08-19 Andreas Schwab <schwab@redhat.com>
9160
9161 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9162
fe2f79db
LM
91632010-08-19 Luis Machado <luisgpm@br.ibm.com>
9164
9165 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9166 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9167 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9168 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9169 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9170 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9172 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9173 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9174 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9175 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9176 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9177 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9178 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9179
b9b42ee0
AB
91802010-07-26 Anton Blanchard <anton@samba.org>
9181
9182 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9183 * malloc/arena.c (heap_trim): Likewise.
9184
1c06ba31
UD
91852010-08-16 Ulrich Drepper <drepper@redhat.com>
9186
9187 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9188 here. Not...
9189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9190 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9191
f8392f40
L
91922010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 * sysdeps/i386/elf/Makefile: New file.
9195
3162f12e
AS
91962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9197
9198 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9199 from fanotify_init.
9200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9202
28c90b2c
UD
92032010-08-15 Ulrich Drepper <drepper@redhat.com>
9204
9205 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9206 of strncasecmp_l.
1feccb6c 9207 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9208
ca6bb004
UD
92092010-08-14 Ulrich Drepper <drepper@redhat.com>
9210
e9f82e0d
UD
9211 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9212 strncase_l-nonascii.
9213 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9214 Add strncase_l-ssse3.
9215 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9216 * sysdeps/x86_64/strcmp.S: Likewise.
9217 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9218 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9219 * sysdeps/x86_64/strncase.S: New file.
9220 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9221 * sysdeps/x86_64/strncase_l.S: New file.
9222 * string/Makefile (strop-tests): Add strncasecmp.
9223 * string/test-strncasecmp.c: New file.
9224
9225 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9226 warning.
9227
ca6bb004
UD
9228 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9229 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9230
052fa7b3
AS
92312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9232
9233 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9234
962dba78
UD
92352010-08-12 Ulrich Drepper <drepper@redhat.com>
9236
9237 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9238 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9239 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9240
bebff237
AM
92412010-05-01 Alan Modra <amodra@gmail.com>
9242
9243 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9244 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9245 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9246 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9247 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9248 tidying. Don't tail-call __sigjmp_save for static lib.
9249 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9250 save location.
9251 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9252 (CALL_MCOUNT): Add eh info, and nop after bl.
9253 (TAIL_CALL_SYSCALL_ERROR): New macro.
9254 (PSEUDO_RET): Use it.
9255 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9256 Correct save location of integer regs and cr.
9257 (_dl_profile_resolve): Correct cr save location. Delete nops
9258 after bl when SHARED. Reduce cfi size a little by better
9259 placement of cfi directives.
9260 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9261 make a stack frame. Instead use parm save area as a temp.
9262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9263 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9265 Don't make a stack frame for parent, use parm save area.
9266 Increase child stack frame to 112 bytes. Don't save unused reg,
9267 and adjust reg usage. Set up cfi on error recovery and
9268 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9270 (__makecontext): Add dummy nop after jump to exit.
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9272 Use correct parm save area and cr save, reduce stack frame.
9273 Correct cfi for possible PSEUDO_RET frame setup.
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9275 Branch to local label emitted by PSEUDO_RET rather than
9276 __syscall_error.
9277
02637374
AS
92782010-08-12 Andreas Schwab <schwab@redhat.com>
9279
9280 [BZ #11904]
9281 * locale/programs/locale.c (print_assignment): New function.
9282 (show_locale_vars): Use it.
9283
c3e2f19b
UD
92842010-08-11 Ulrich Drepper <drepper@redhat.com>
9285
3cdaa6ad
UD
9286 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9287 field.
9288 (struct statfs64): Likewise.
9289 (_STATFS_F_FLAGS): Define.
9290 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9291 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9292 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9293 (ST_VALID): Define locally.
9294 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9295 __statvfs_getflags, use the provided value.
9296 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9297 __ASSUME_STATFS_F_FLAGS.
9298
754f7da3
UD
9299 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9300
10b3bedc
UD
9301 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9302 Add sys/fanotify.h.
9303 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9304 fanotify_mask for GLIBC_2.13.
9305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9306 fanotify_init and fanotify_mark.
9307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9308 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9309
c08fb0d7
UD
9310 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9311 Add prlimit.
9312 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9313 prlimit64 for GLIBC_2.13.
9314 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9315 prlimit64.
9316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9317 syscall.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9320 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9323 add prlimit alias.
9324 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9325
15bac72b
UD
9326 [BZ #11903]
9327 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9328 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9329
c3e2f19b
UD
9330 * nss/Makefile: Add rules to build and run tst-nss-test1.
9331 * shlib-versions: Add entry for libnss_test1.
9332 * nss/nss_test1.c: New file.
9333 * nss/tst-nss-test1.c: New file.
9334
9335 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9336 (__nss_configure_lookup): Set appropriate entry in
9337 __nss_configure_lookup to true.
9338 * nss/nsswitch.h: Define enum with indeces of databases in
9339 databases and __nss_database_custom arrays. Declare
9340 __nss_database_custom.
9341 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9342 to avoid using nscd when custom rules are installed.
9343 * nss/getXXbyYY_r.c: Likewise.
9344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9345
9346 * nss/nss_files/files-parse.c: Whitespace fixes.
9347
f15ce4d8
UD
93482010-08-09 Ulrich Drepper <drepper@redhat.com>
9349
9350 [BZ #11883]
9351 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9352 * posix/fnmatch_loop.c: Likewise.
9353
d22e4cc9
AK
93542010-07-17 Andi Kleen <ak@linux.intel.com>
9355
9356 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9357 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9358 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9359 * Versions.def [GLIBC_2.13]: Add.
9360
805bc17d
UD
93612010-08-06 Ulrich Drepper <drepper@redhat.com>
9362
9363 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9364 Also fail if tpwd after pwuid call is NULL.
9365
5a42321d
ST
93662010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9367
9368 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9369 when converting to ms.
9370
fd3ebeda
ST
93712010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9372
9373 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9374 EOPNOTSUPP errors with ENOTTY.
9375 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9376 EOPNOTSUPP errors with ENOTTY.
9377
73507d3a
UD
93782010-07-31 Ulrich Drepper <drepper@redhat.com>
9379
9380 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9381 Add strcasecmp_l-ssse3.
9382 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9383 strcasecmp.
9384 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9385 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9386 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9387
fe36dd02
UD
93882010-07-30 Ulrich Drepper <drepper@redhat.com>
9389
66f6765a
UD
9390 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9391
42e08a54
UD
9392 * string/Makefile (strop-tests): Add strcasecmp.
9393 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9394 strcasecmp_l-nonascii.
9395 (gen-as-const-headers): Add locale-defines.sym.
9396 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9397 * sysdeps/x86_64/strcasecmp.S: New file.
9398 * sysdeps/x86_64/strcasecmp_l.S: New file.
9399 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9400 * sysdeps/x86_64/locale-defines.sym: New file.
9401 * string/test-strcasecmp.c: New file.
9402
fe36dd02
UD
9403 * string/test-strcasestr.c: Test both ends of the range of characters.
9404 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9405
48cbc0d6
RM
94062010-07-29 Roland McGrath <roland@redhat.com>
9407
76e6d6bc 9408 [BZ #11856]
48cbc0d6
RM
9409 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9410
880113d9
UD
94112010-07-27 Ulrich Drepper <drepper@redhat.com>
9412
9413 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9414 for ld.so.
9415
deb9cabb
AS
94162010-07-27 Andreas Schwab <schwab@redhat.com>
9417
9418 * manual/memory.texi (Malloc Tunable Parameters): Document
9419 M_PERTURB.
9420
1c7570ff
RM
94212010-07-26 Roland McGrath <roland@redhat.com>
9422
9423 [BZ #11840]
9424 * configure.in (-fgnu89-inline check): Set and substitute
9425 gnu89_inline, not libc_cv_gnu89_inline.
9426 * configure: Regenerated.
9427 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9428
24fb0f88
UD
94292010-07-26 Ulrich Drepper <drepper@redhat.com>
9430
9431 * string/test-strnlen.c: New file.
9432 * string/Makefile (strop-tests): Add strnlen.
9433 * string/tester.c (test_strnlen): Add a few more test cases.
9434 * string/tst-strlen.c: Better error reporting.
9435
9436 * sysdeps/x86_64/strnlen.S: New file.
9437
8e96b93a
UD
94382010-07-24 Ulrich Drepper <drepper@redhat.com>
9439
9440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9441 lower-latency instructions.
9442
dbc676d4
UD
94432010-07-23 Ulrich Drepper <drepper@redhat.com>
9444
9445 * string/test-strcasestr.c: New file.
9446 * string/test-strstr.c: New file.
9447 * string/Makefile (strop-tests): Add strstr and strcasestr.
9448 * string/str-two-way.h: Don't undefine MAX.
9449 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9450
f6a31e0e
AS
94512010-07-21 Andreas Schwab <schwab@redhat.com>
9452
9453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9454 strcasestr-nonascii.
9455 (CFLAGS-strcasestr-nonascii.c): Define.
9456 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9457 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9458 Remove unused attribute.
9459
5dbc3b6c
RM
94602010-07-20 Roland McGrath <roland@redhat.com>
9461
9462 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9463 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9464 ld.so.cache was broken. With it, there is no way to disable dsocaps
9465 like LD_HWCAP_MASK can disable hwcaps.
9466
23d101d8
EPM
94672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9468
9469 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9470
cc9f2e47
UD
94712010-07-16 Ulrich Drepper <drepper@redhat.com>
9472
9473 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9474 call in strcasestr.
9475 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9476 __strcasestr_sse42_nonascii.
9477 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9478 strcasestr-nonascii.c.
9479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9480
77c1b069
LM
94812010-06-15 Luis Machado <luisgpm@br.ibm.com>
9482
9483 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9484 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9485 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9487
440566c3
UD
94882010-07-09 Ulrich Drepper <drepper@redhat.com>
9489
9490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9491 fcntl.
9492
5be9d05d
AS
94932010-07-06 Andreas Schwab <schwab@redhat.com>
9494
c30b7ee2 9495 [BZ #11577]
5be9d05d
AS
9496 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9497 dl_signal_cerror.
9498
8a492a67
UD
94992010-07-06 Ulrich Drepper <drepper@redhat.com>
9500
9501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9502 _PC_PIPE_BUF using F_GETPIPE_SZ.
9503
713df3d5
RM
95042010-07-05 Roland McGrath <roland@redhat.com>
9505
9506 * manual/arith.texi (Rounding Functions): Fix rint description
9507 implicit in round description.
9508
702e8f14
UD
95092010-07-02 Ulrich Drepper <drepper@redhat.com>
9510
9511 * elf/Makefile: Fix linking for a few tests to make recent linker
9512 happy.
9513
52ed8be9
AS
95142010-06-30 Andreas Schwab <schwab@redhat.com>
9515
9516 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9517 $(common-objpfx)libc_nonshared.a.
9518
f47c9a11
LM
95192010-06-21 Luis Machado <luisgpm@br.ibm.com>
9520
9521 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9522 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9523 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9524 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9525 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9526 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9527 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9528 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9543 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9544 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9545 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9546 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9547 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9548 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9549 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9550 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9551 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9552 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9553 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9554 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9569
6fb8cbcb
L
95702010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9571
9572 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9573 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9574 * string/memmove.c (memmove): Renamed to ...
9575 (MEMMOVE): ...this. Default to memmove.
9576 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9577 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9578 (END_CHK): Define.
9579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9580 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9581 mempcpy-ssse3-back memmove-ssse3-back.
9582 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9585 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9586 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9587 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9588 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9589 * sysdeps/x86_64/multiarch/memmove.c: New file.
9590 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9591 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9592 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9593 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9594 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9596 Define.
9597 (index_Fast_Copy_Backward): Define.
9598 (HAS_ARCH_FEATURE): Define.
9599 (HAS_FAST_REP_STRING): Define.
9600 (HAS_FAST_COPY_BACKWARD): Define.
9601
4e733bac 96022010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9603
9604 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9605 Restore proper fallback handling.
9606
63c4ed22
UD
96072010-06-19 Ulrich Drepper <drepper@redhat.com>
9608
ac2b484c
UD
9609 [BZ #11701]
9610 * posix/group_member.c (__group_member): Correct checking loop.
9611
63c4ed22
UD
9612 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9613 OOM in getpwuid_r correctly. Return error number when the caller
9614 should return, otherwise -1.
9615 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9616 call returning > 0 value.
9617 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9618
765ade4b
AS
96192010-06-07 Andreas Schwab <schwab@redhat.com>
9620
9621 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9622 libc_nonshared.a from targets in modules-names.
9623
80da2e09
KS
96242010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9625
9626 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9627 requires it.
9628
158db122
LM
96292010-06-10 Luis Machado <luisgpm@br.ibm.com>
9630
9631 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9632 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9634 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9635
caa78cf8
AS
96362010-06-02 Andreas Schwab <schwab@redhat.com>
9637
9638 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9639
b2ef2c01
UD
96402010-06-14 Ulrich Drepper <drepper@redhat.com>
9641
9642 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9643 and F_GETPIPE_SZ.
9644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9650
fbd643b6
RM
96512010-06-14 Roland McGrath <roland@redhat.com>
9652
9653 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9654
f32f2869
JJ
96552010-06-07 Jakub Jelinek <jakub@redhat.com>
9656
9657 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9658 __REDIRECT followed by __THROW.
9659 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9660 * posix/getopt.h (getopt): Likewise.
9661
2a50c078
EPM
96622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9663
9664 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9665 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9666 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9667 in AT_FLAGS.
9668 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9669 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9670
eb5ad2eb
LM
96712010-05-28 Luis Machado <luisgpm@br.ibm.com>
9672
9673 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9674
3c88fe1e
L
96752010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 [BZ #11640]
9678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9679 Properly check family and model.
9680
d2f73151
TY
96812010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9682
9683 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9684
ebd2e13d
LM
96852010-05-24 Luis Machado <luisgpm@br.ibm.com>
9686
9687 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9688
b32b8b45
UD
96892010-05-21 Ulrich Drepper <drepper@redhat.com>
9690
9691 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9692 symbol reference.
9693
9acbe24d
AS
96942010-05-19 Andreas Schwab <schwab@redhat.com>
9695
9696 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9697 symbol reference.
9698
f0ccf6ea
AS
96992010-05-21 Andreas Schwab <schwab@redhat.com>
9700
3d04ff3a
AS
9701 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9702 and internal_recvmmsg.
9703 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9704 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9705 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9706 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9707
f0ccf6ea
AS
9708 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9709 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9710 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9711
5b08ac57
AS
97122010-05-20 Andreas Schwab <schwab@redhat.com>
9713
9714 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9715
4828935d
LM
97162010-05-17 Luis Machado <luisgpm@br.ibm.com>
9717
9718 POWER7 optimizations.
9719 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9720 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9721
373d545e
UD
97222010-05-19 Ulrich Drepper <drepper@redhat.com>
9723
9724 * version.h: Update for 2.13 development version.
9725
21a2b1ae
AS
97262010-05-12 Andrew Stubbs <ams@codesourcery.com>
9727
9728 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9729 exceptions. Return 0.
9730
3f7dcb2b
RM
97312010-05-07 Roland McGrath <roland@redhat.com>
9732
9733 * elf/ldconfig.c (main): Add a const.
9734
5f24d53a 97352010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9736
a160f8d8
UD
9737 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9738 (args_options): Add no-idn option.
9739 (ahosts_keys_int): Add idn_flags to ai_flags.
9740 (parse_option): Handle 'i' option to clear idn_flags.
9741
5f24d53a
UD
9742 * malloc/malloc.c (_int_free): Possible race in the most recently
9743 added check. Only act on the data if no current modification
9744 happened.
265bb1ce
UD
9745
9746See ChangeLog.17 for earlier changes.