]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use standard build rule to build rpcgen.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9a07f9d0
JM
12012-03-10 Joseph Myers <joseph@codesourcery.com>
2
3 * sunrpc/Makefile (others): Add rpcgen.
4 ($(objpfx)rpcgen): Remove special build rule and dependency on
5 libc.
6 * sunrpc/rpcgen.c: New file.
7
547b5e30
PE
82012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9
c524201a
PE
10 [BZ #13673]
11 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13 * sysdeps/i386/crti.S: Likewise.
14 * sysdeps/i386/crtn.S: Likewise.
15 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19 * sysdeps/sh/crti.S: Likewise.
20 * sysdeps/sh/crtn.S: Likewise.
21 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22
7b6235f2
PE
23 [BZ #13673]
24 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25 with URL.
26 * locale/programs/locfile-kw.gperf: Likewise.
27 * locale/programs/charmap-kw.h: Regenerated.
28 * locale/programs/locfile-kw.h: Likewise.
29
547b5e30
PE
30 [BZ #13673]
31 * intl/plural.y: Replace FSF snail mail address with URL.
32 * intl/plural.c: Regenerated.
33
5f0a5dae
RH
342012-03-09 Richard Henderson <rth@twiddle.net>
35
36 * include/math_private.h: Remove file.
37 * math/math_private.h: Move file ...
38 * sysdeps/generic/math_private.h: ... here.
39
b8c03620
RH
40 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43
4e234f5d 44 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45 and <math_private.h>.
46 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
87 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
90 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
91 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
92 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
93 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
94 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
95 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
96 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
97 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
98 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
99 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
100 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
103 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
105 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
107 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
110 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
111 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
112 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
113 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
120 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
126 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
130 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
133 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
134 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
135 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
136 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
137 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
140 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
141 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
142 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
146 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
147 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
148 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
149 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
150 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
151 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
152 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
153 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
158 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
160 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
162 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
163 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
164 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
169 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
170 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
173 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
175 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
176 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
177 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
178 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
179 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
180 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
181 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
184 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
185 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
187 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
188 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
189 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
190 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
191 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
192 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
193 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
194 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
195 * sysdeps/ieee754/k_standard.c: Likewise.
196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
208 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
209 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
210 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
211 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
212 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
215 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
216 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
217 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
219 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
220 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
221 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
226 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
227 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
228 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
230 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
231 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
232 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
233 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
234 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
238 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
240 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
241 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
247 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
248 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
249 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
258 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
272 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
282 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
295 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
299 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
300 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
303 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
310 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
318 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
319 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
322 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
323 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
324 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
326 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
327 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
328 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
329 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
330 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
331 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
333 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
334 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
335 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
336 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
337 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
338 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
339 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
342 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
345 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
346 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
347 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
348 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
349 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
350 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
351 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
355 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
356 * sysdeps/ieee754/s_lib_version.c: Likewise.
357 * sysdeps/ieee754/s_matherr.c: Likewise.
358 * sysdeps/ieee754/s_signgam.c: Likewise.
359 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
360 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
361 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
362 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
363 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
364 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
365 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
366 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
367 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
368 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
369 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
370 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
371 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
372 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
373 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
374 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 380
1991fa03
JM
3812012-03-09 Joseph Myers <joseph@codesourcery.com>
382
383 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
384 * sunrpc/rpc_main.c: Likewise.
385 * sunrpc/rpc_svcout.c: Likewise.
386
60d6f5a6
DM
3872012-03-09 David S. Miller <davem@davemloft.net>
388
389 * include/math_private.h: New file.
390
4962050e
JM
3912012-03-09 Joseph Myers <joseph@codesourcery.com>
392
02a6f887
JM
393 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
394 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
395 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
396 from <bits/socket_type.h>.
397 (enum __socket_type): Don't define here.
398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
400 bits/socket_type.h.
401
c6e013c1
JM
402 [BZ #13566]
403 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
404 checking __USE_GNU.
405
4962050e
JM
406 * Makerules ($(inst_includedir)/%.h): New rule.
407 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
408 (install-others): Remove variable setting.
409 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
410
38842f45
RH
4112012-03-08 Richard Henderson <rth@twiddle.net>
412
67bb6da6
RH
413 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
414 from macro to inline function; merge with the
415 !__LIBC_INTERNAL_MATH_INLINES version.
416 (__ieee754_sqrtf): Likewise.
417
15194b4b
RH
418 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
419 to inline function.
420 (__rintf, __floor, __floorf): Likewise.
421
64e21ede
RH
422 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
423 macro to inline function.
424 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
425
38842f45
RH
426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
427 not <math/math_private.h>.
428
c64bf5fe
DM
4292012-03-08 David S. Miller <davem@davemloft.net>
430
431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
432 copyright year.
433 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
434
82d86f28
TS
4352012-03-08 Thomas Schwinge <thomas@codesourcery.com>
436
437 * resolv/gai_misc.c (handle_requests): Fix struct timespec
438 normalization.
439 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
440 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
441
aea5d727
UD
4422012-03-08 Ulrich Drepper <drepper@gmail.com>
443
444 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
445 be defined individually, they must be defined as a block. Define
446 S for printing a string instead of hidint the different by using a
447 macro for adding the 'l'.
448 * stdio-common/tst-fphex-wide.c: Adjust.
449
70bca0a3
MP
4502012-03-07 Marek Polacek <polacek@redhat.com>
451
452 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
453
65b81130
MP
4542012-03-08 Marek Polacek <polacek@redhat.com>
455
456 [BZ #13806]
457 * stdio-common/Makefile (tests): Add tst-fphex-wide.
458 * stdio-common/tst-fphex.c: Define a few macros to make the
459 test reusable. Use them.
460 * stdio-common/tst-fphex-wide.c: New file.
461
07037eeb
JM
4622012-03-08 Joseph Myers <joseph@codesourcery.com>
463
a7a93d50
JM
464 [BZ #6911]
465 * manual/macros.texi (gnusystems): New macro.
466 (nongnusystems): Likewise.
467 (gnulinuxhurdsystems): Likewise.
468 (gnuhurdsystems): Likewise..
469 (gnulinuxsystems): Likewise.
470 * manual/charset.texi: Use new macros or @theglibc{} to refer to
471 variants of the GNU system, not "GNU system".
472 * manual/conf.texi: Likewise.
473 * manual/errno.texi: Likewise. Update example of errno macro
474 expansion.
475 * manual/filesys.texi: Likewise.
476 (getumask): Document as specific to GNU/Hurd.
477 * manual/install.texi: Likewise. Reword some references to
478 GNU/Linux.
479 * manual/intro.texi: Likewise.
480 * manual/io.texi: Likewise.
481 (File Name Portability): Detail which constraints are inapplicable
482 to all GNU systems and which are only inapplicable to GNU/Hurd.
483 * manual/job.texi: Likewise.
484 * manual/llio.texi: Likewise.
485 (O_NOCTTY): Document as present on GNU/Linux.
486 * manual/maint.texi: Likewise.
487 * manual/memory.texi: Likewise.
488 * manual/pattern.texi: Likewise.
489 * manual/pipe.texi: Likewise.
490 * manual/process.texi: Likewise.
491 * manual/resource.texi: Likewise.
492 (RUSAGE_CHILDREN): Remove statement about specifying a particular
493 child on GNU/Hurd.
494 * manual/setjmp.texi: Likewise.
495 * manual/signal.texi: Likewise.
496 * manual/startup.texi: Likewise.
497 * manual/stdio.texi: Likewise.
498 * manual/terminal.texi: Likewise.
499 (ONLCR): Document as POSIX.
500 (OXTABS): Document availability on GNU/Linux as XTABS.
501 (ONOEOT): Document availability separately from other bits.
502 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
503 * manual/time.texi: Likewise.
504 * manual/users.texi: Likewise.
505 * INSTALL: Regenerated.
506 * sysdeps/gnu/errlist.c: Regenerated.
507
07037eeb
JM
508 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
509 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
510 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
511 puts.
512 * configure: Regenerated.
513
d1d3431a
JM
5142012-03-07 Joseph Myers <joseph@codesourcery.com>
515
af6a1e37
JM
516 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
517 default includes instead of AC_HEADER_CHECK.
518 * sysdeps/i386/configure: Regenerated.
519
d1d3431a
JM
520 [BZ #10716]
521 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
522 * math/s_cacoshf.c (__cacoshf): Likewise.
523 * math/s_cacoshl.c (__cacoshl): Likewise.
524 * math/s_casinh.c (__casinh): Set signs of result from argument.
525 * math/s_casinhf.c (__casinhf): Likewise.
526 * math/s_casinhl.c (__casinhl): Likewise.
527 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
528 (casinh_test): Add more tests.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
531
482ff4da
UD
5322012-03-07 Ulrich Drepper <drepper@gmail.com>
533
872fda05
UD
534 * po/zh_TW.po: Update from translation team.
535
a4300c7a
UD
536 * login/Makefile (distribute): Remove variable.
537 * catgets/Makefile: Likewise.
538 * mach/Makefile: Likewise.
539 * malloc/Makefile: Likewise.
540 * misc/Makefile: Likewise.
541 * iconv/Makefile: Likewise.
542 * nscd/Makefile: Likewise.
543 * hurd/Makefile: Likewise.
544 * manual/Makefile: Likewise.
545 * locale/Makefile: Likewise.
546 * intl/Makefile: Likewise.
547 * conform/Makefile: Likewise.
548 * nss/Makefile: Likewise.
549 * time/Makefile: Likewise.
550 * soft-fp/Makefile: Likewise.
551 * dirent/Makefile: Likewise.
552 * gmon/Makefile: Likewise.
553 * po/Makefile: Likewise.
554 * rt/Makefile: Likewise.
555 * socket/Makefile: Likewise.
556 * math/Makefile: Likewise.
557 * signal/Makefile: Likewise.
558 * debug/Makefile: Likewise.
559 * elf/Makefile: Likewise.
560 * timezone/Makefile: Likewise.
561 * stdlib/Makefile: Likewise.
562 * iconvdata/Makefile: Likewise.
563 * sunrpc/Makefile: Likewise.
564 * io/Makefile: Likewise.
565 * argp/Makefile: Likewise.
566 * inet/Makefile: Likewise.
567 * hesiod/Makefile: Likewise.
568 * grp/Makefile: Likewise.
569 * csu/Makefile: Likewise.
570 * wctype/Makefile: Likewise.
571 * crypt/Makefile: Likewise.
572 * libio/Makefile: Likewise.
573 * string/Makefile: Likewise.
574 * nis/Makefile: Likewise.
575 * resolv/Makefile: Likewise.
576 * stdio-common/Makefile: Likewise.
577 * wcsmbs/Makefile: Likewise.
578 * dlfcn/Makefile: Likewise.
579 * posix/Makefile: Likewise.
580
482ff4da
UD
581 * timezone/Makefile: Don't install timezone files, just the programs
582 and scripts.
583
f72ed77d
UD
5842012-03-06 Ulrich Drepper <drepper@gmail.com>
585
a000466f
UD
586 * nss/databases.def: Add missing gshadow entry.
587
f72ed77d
UD
588 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
589
a53b7a4e
MP
5902012-03-06 Marek Polacek <polacek@redhat.com>
591
592 [BZ #13726]
593 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
594 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
595 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
596 * stdio-common/tst-long-dbl-fphex.c: New file.
597
e9258400
DM
5982012-03-06 David S. Miller <davem@davemloft.net>
599
600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
601 (set_obp_int): New function.
602 (get_obp_int): New function.
603 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
605 Avoid unused variable warnings on 'val' and use builtin_expect.
606 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
607 __builtin_expect.
e9258400
DM
608 (INLINE_CLONE_SYSCALL): Likewise.
609
3bd2c723
DM
6102012-03-05 David S. Miller <davem@davemloft.net>
611
612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
613
bbb78d03
AS
6142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
615
884c5db4
AS
616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
617
bbb78d03
AS
618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
619 only for |x| >= 40.
620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
621
1c9f702a 6222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
623
624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
625 Replace gettimeofday with __vdso_gettimeofday.
626
7be16f82
RM
627 * sysdeps/unix/sysv/linux/x86_64/init-first.c
628 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
629 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
630
631 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
632 time with __vdso_time.
633
ed58a00f
JM
6342012-03-05 Joseph Myers <joseph@codesourcery.com>
635
636 * manual/lang.texi (size_t): Note types to which size_t may be
637 equivalent with the GNU C Library, but do not describe when
638 differences between them are significant.
639
30ee4ced
AJ
6402012-03-05 Andreas Jaeger <aj@suse.de>
641
642 * sysdeps/i386/fpu/libm-test-ulps: Update.
643
b7cd39e8
JM
6442012-03-05 Joseph Myers <joseph@codesourcery.com>
645
646 [BZ #3976]
647 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
648 (__ieee754_pow): Save and restore rounding mode and use
649 round-to-nearest for main computations.
650 * math/libm-test.inc (pow_test_tonearest): New function.
651 (pow_test_towardzero): Likewise.
652 (pow_test_downward): Likewise.
653 (pow_test_upward): Likewise.
654 (main): Call the new functions.
655 * sysdeps/i386/fpu/libm-test-ulps: Update.
656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
657
658 [BZ #3976]
659 * math/libm-test.inc (cosh_test_tonearest): New function.
660 (cosh_test_towardzero): Likewise.
661 (cosh_test_downward): Likewise.
662 (cosh_test_upward): Likewise.
663 (sinh_test_tonearest): Likewise.
664 (sinh_test_towardzero): Likewise.
665 (sinh_test_downward): Likewise.
666 (sinh_test_upward): Likewise.
667 (main): Call the new functions.
668 * sysdeps/i386/fpu/libm-test-ulps: Update.
669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
670
6c6a98c9
TV
6712012-03-05 Tom de Vries <tom@codesourcery.com>
672
673 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
674 default stack guard is set in last bytes.
675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
676
21bb2d2e 6772012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 678
21bb2d2e 679 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 680
21bb2d2e
AJ
681 [BZ #13656]
682 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
683 possibly allocate from heap instead of stack.
684 * stdio-common/bug-vfprintf-nargs.c: New file.
685 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 686
c6922934
AS
6872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
688
689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
690
bc957d53
MP
6912012-03-03 Marek Polacek <polacek@redhat.com>
692
693 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
694 * math/math_private.h: Likewise.
695 * stdlib/tst-strtod.c: Likewise.
696 * sysdeps/i386/i486/bits/atomic.h: Likewise.
697 * sysdeps/x86_64/bits/atomic.h: Likewise.
698
6358490d
DM
6992012-03-02 David S. Miller <davem@davemloft.net>
700
701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
705 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
706 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
707 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
708 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
709
01ae168d
RM
7102012-03-02 Roland McGrath <roland@hack.frob.com>
711
d9a17c07
RM
712 [BZ #13792]
713 * manual/examples/README: New file, says the example source files
714 can be used under GPL>=2.
715 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
716 line containing just "*/".
717 * manual/examples/add.c: Add copyright header (GPL>=2).
718 * manual/examples/argp-ex1.c: Likewise.
719 * manual/examples/argp-ex2.c: Likewise.
720 * manual/examples/argp-ex3.c: Likewise.
721 * manual/examples/argp-ex4.c: Likewise.
722 * manual/examples/atexit.c: Likewise.
723 * manual/examples/db.c: Likewise.
724 * manual/examples/dir.c: Likewise.
725 * manual/examples/dir2.c: Likewise.
726 * manual/examples/execinfo.c: Likewise.
727 * manual/examples/filecli.c: Likewise.
728 * manual/examples/filesrv.c: Likewise.
729 * manual/examples/fmtmsgexpl.c: Likewise.
730 * manual/examples/genpass.c: Likewise.
731 * manual/examples/inetcli.c: Likewise.
732 * manual/examples/inetsrv.c: Likewise.
733 * manual/examples/isockad.c: Likewise.
734 * manual/examples/longopt.c: Likewise.
735 * manual/examples/memopen.c: Likewise.
736 * manual/examples/memstrm.c: Likewise.
737 * manual/examples/mkfsock.c: Likewise.
738 * manual/examples/mkisock.c: Likewise.
739 * manual/examples/mygetpass.c: Likewise.
740 * manual/examples/pipe.c: Likewise.
741 * manual/examples/popen.c: Likewise.
742 * manual/examples/rprintf.c: Likewise.
743 * manual/examples/search.c: Likewise.
744 * manual/examples/select.c: Likewise.
745 * manual/examples/setjmp.c: Likewise.
746 * manual/examples/sigh1.c: Likewise.
747 * manual/examples/sigusr.c: Likewise.
748 * manual/examples/stpcpy.c: Likewise.
749 * manual/examples/strdupa.c: Likewise.
750 * manual/examples/strftim.c: Likewise.
751 * manual/examples/strncat.c: Likewise.
752 * manual/examples/subopt.c: Likewise.
753 * manual/examples/swapcontext.c: Likewise.
754 * manual/examples/termios.c: Likewise.
755 * manual/examples/testopt.c: Likewise.
756 * manual/examples/testpass.c: Likewise.
757 * manual/examples/timeval_subtract.c: Likewise.
758
01ae168d
RM
759 [BZ #13792]
760 * manual/time.texi (Elapsed Time): Move timeval_subtract example
761 function to ...
762 * manual/timeval_subtract.c.texi: ... here, new file.
763
49efa33d
DM
7642012-03-02 David S. Miller <davem@davemloft.net>
765
766 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
767
28afd92d
JM
7682012-03-02 Joseph Myers <joseph@codesourcery.com>
769
804360ed
JM
770 [BZ #3976]
771 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
772 (__sin): Save and restore rounding mode and use round-to-nearest
773 for all computations.
774 (__cos): Save and restore rounding mode and use round-to-nearest
775 for all computations.
776 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
777 <fenv.h>.
778 (tan): Save and restore rounding mode and use round-to-nearest for
779 all computations.
780 * math/libm-test.inc (cos_test_tonearest): New function.
781 (cos_test_towardzero): Likewise.
782 (cos_test_downward): Likewise.
783 (cos_test_upward): Likewise.
784 (sin_test_tonearest): Likewise.
785 (sin_test_towardzero): Likewise.
786 (sin_test_downward): Likewise.
787 (sin_test_upward): Likewise.
788 (tan_test_tonearest): Likewise.
789 (tan_test_towardzero): Likewise.
790 (tan_test_downward): Likewise.
791 (tan_test_upward): Likewise.
792 (main): Call the new functions.
793 * sysdeps/i386/fpu/libm-test-ulps: Update.
794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795
a6d06d7b
JM
796 [BZ #10135]
797 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
798 small n, then large n, before computing and testing k+n.
799 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
801 Likewise.
802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
803 Likewise.
804 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
805 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
807 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
810 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
811 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
812 * math/libm-test.inc (scalbn_test): Add more tests.
813 (scalbln_test): Likewise.
814
07e12bb3
JM
815 * manual/filesys.texi (mode_t): Describe constraints on size and
816 signedness, not exact equivalence to a particular type.
817 (ino_t): Likewise.
818 (ino64_t): Likewise.
819 (dev_t): Likewise.
820 (nlink_t): Likewise.
821 (blkcnt_t): Likewise.
822 (blkcnt64_t): Likewise.
823 * manual/llio.texi (off_t): Likewise.
824
28afd92d
JM
825 [BZ #3976]
826 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
827 (__ieee754_exp): Save and restore rounding mode and use
828 round-to-nearest for all computations.
829 * math/libm-test.inc (exp_test_tonearest): New function.
830 (exp_test_towardzero): Likewise.
831 (exp_test_downward): Likewise.
832 (exp_test_upward): Likewise.
833 (main): Call the new functions.
834 * sysdeps/i386/fpu/libm-test-ulps: Update.
835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
836
b1eeb65d
CD
8372012-03-01 Chris Demetriou <cgd@google.com>
838
839 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
840 have predictable order.
841
53362a4b
DM
8422012-03-01 David S. Miller <davem@davemloft.net>
843
3c969083
DM
844 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
845
759707de
DM
846 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
847 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
848 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
849 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
850
dfdb8ff2
DM
851 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
852 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
853 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
855 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
856 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
857 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
858 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
859 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
860
ead89f96
DM
861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
862
7f66bd07
DM
863 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
864 * sysdeps/sparc/fpu/libm-test-ulps: to here.
865 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
866
53362a4b
DM
867 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
868 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
869 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
874 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
875 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
876 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
877 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
878 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
880 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
883 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
884 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
885 * sysdeps/sparc/elf/configure: Regenerated.
886
7b1902cb
JM
8872012-03-01 Joseph Myers <joseph@codesourcery.com>
888
bec039bc
JM
889 * configure.in (AS, LD): Require binutils 2.20 or later.
890 * configure: Regenerated.
891 * manual/install.texi (Tools for Compilation): Give binutils 2.20
892 as required minimum version.
893 * INSTALL: Regenerated.
894
7b1902cb
JM
895 [BZ #2541]
896 [BZ #4108]
897 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
898 before squaring exponent.
899 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
900 bottom long double and 27 bits of top long double before squaring
901 exponent.
902 * math/libm-test.inc (erfc_test): Add more tests.
903 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906
f775c276
KT
9072012-03-01 Kai Tietz <ktietz@redhat.com>
908
909 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
910 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
911 containing bit-fields.
912 * soft-fp/extended.h (_FP_UNION_E): Likewise.
913 * soft-fp/single.h (_FP_UNION_S): Likewise.
914 * soft-fp/double.h (_FP_UNION_D): Likewise.
915
5b8a4d4a
JM
9162012-02-29 Joseph Myers <joseph@codesourcery.com>
917
0bab47b6
JM
918 [BZ #13786]
919 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
920 not include ../strcmp.S.
921 [USE_AS_STRNCASECMP_L]: Likewise.
922 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
923 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
924 * sysdeps/i386/i686/multiarch/strncase_l-c.c
925 (__strncasecmp_l_ia32): Define as alias to
926 __strncasecmp_l_nonascii.
927
0fcad3e2
JM
928 [BZ #5794]
929 * math/libm-test.inc (expm1_test): Add test for bug 5794.
930 * sysdeps/i386/fpu/libm-test-ulps: Update.
931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
932
5b8a4d4a
JM
933 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935
8fdceb2e
JL
9362012-02-29 Jeff Law <law@redhat.com>
937
938 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
939 out of bounds read.
940
1f393a11
MP
9412012-02-29 Marek Polacek <polacek@redhat.com>
942
943 [BZ #13706]
944 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
945 * elf/Makefile: Add rules to run tst-unused-dep.out.
946
8847f037
DM
9472012-02-28 David S. Miller <davem@davemloft.net>
948
949 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
950 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
951 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
953 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
954 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
955
169d7f11
JM
9562012-02-29 Joseph Myers <joseph@codesourcery.com>
957
958 * math/libm-test.inc (llround_test): Move one test from
959 lround_test. Use TEST_f_L in moved test.
960 (lround_test): Move misplaced test to llround_test. Add testcase
961 from bug 2561.
962
39adf059
UD
9632012-02-28 Ulrich Drepper <drepper@gmail.com>
964
965 * sysdeps/x86_64/fpu/e_expf.S: New file.
966 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
967
71b5d1c5
SB
9682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
969
970 [BZ #13637]
971 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
972 of remain_len that may cause incomplete multi-byte character and
973 false match.
974 * posix/bug-regex33.c: New file.
975 * posix/Makefile (tests): Add bug-regex33.
976
1f77f049
JM
9772012-02-28 Joseph Myers <joseph@codesourcery.com>
978
979 * manual/macros.texi: New file.
980 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
981 * manual/libc.texinfo: Include macros.texi.
982 * manual/creatute.texi: Likewise.
983 * manual/install.texi: Likewise.
984 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
985 @glibcadj{} in references to the GNU C Library.
986 * manual/charset.texi: Likewise.
987 * manual/conf.texi: Likewise.
988 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
989 when not using those macros.
990 * manual/creature.texi: Likewise.
991 * manual/crypt.texi: Likewise.
992 * manual/errno.texi: Likewise.
993 * manual/filesys.texi: Likewise.
994 * manual/header.texi: Likewise.
995 * manual/install.texi: Likewise.
996 * manual/intro.texi: Likewise.
997 * manual/io.texi: Likewise.
998 * manual/job.texi: Likewise.
999 * manual/lang.texi: Likewise.
1000 * manual/libc.texiinfo: Likewise.
1001 * manual/llio.texi: Likewise.
1002 * manual/locale.texi: Likewise.
1003 * manual/maint.texi: Likewise.
1004 * manual/math.texi: Likewise.
1005 * manual/memory.texi: Likewise.
1006 * manual/message.texi: Likewise.
1007 * manual/nss.texi: Likewise.
1008 * manual/pattern.texi: Likewise.
1009 * manual/process.texi: Likewise.
1010 * manual/resource.texi: Likewise.
1011 * manual/search.texi: Likewise.
1012 * manual/setjmp.texi: Likewise.
1013 * manual/signal.texi: Likewise.
1014 * manual/socket.texi: Likewise.
1015 * manual/startup.texi: Likewise.
1016 * manual/stdio.texi: Likewise.
1017 * manual/string.texi: Likewise.
1018 * manual/sysinfo.texi: Likewise.
1019 * manual/syslog.texi: Likewise.
1020 * manual/terminal.texi: Likewise.
1021 * manual/time.texi: Likewise.
1022 * manual/users.texi: Likewise.
1023 * INSTALL: Regenerated.
1024 * NOTES: Regenerated.
d40c5d54 1025 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1026
450bf206
AS
10272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1028
1029 * include/dirent.h: Include <dirstream.h> before
1030 <dirent/dirent.h>.
1031
741a235b
DM
10322012-02-28 David S. Miller <davem@davemloft.net>
1033
1034 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1035 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1036 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1037 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1038
d6b5aa58
DM
10392012-02-27 David S. Miller <davem@davemloft.net>
1040
1aff59a3
DM
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1043 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1044 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1045
d6b5aa58
DM
1046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1047 frame pointer instead of stack pointer relative arg slot.
1048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1051
433f48bf
CD
10522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1053
1054 [BZ #3992]
1055 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1056
d674b76d
DM
10572012-02-27 David S. Miller <davem@davemloft.net>
1058
1059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1063 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1064 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1065 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1066 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1067
0e7727f7
JM
10682012-02-27 Joseph Myers <joseph@codesourcery.com>
1069
1070 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1071 later. Allow versions 5-9.
43be4ca2 1072 * configure: Regenerated.
0e7727f7
JM
1073 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1074 required minimum version and 4.6 as recommended version. Do not
1075 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1076 * INSTALL: Regenerated.
0e7727f7 1077
a78bc654
DM
10782012-02-27 David S. Miller <davem@davemloft.net>
1079
428d5830
DM
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1084 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1085 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1086 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1087 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1088
a78bc654
DM
1089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1090 manipulate bits before adding and subtracting TWO112[sx].
1091 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1092
4579f81c
RM
10932012-02-27 Roland McGrath <roland@hack.frob.com>
1094
36c8acb4
RM
1095 [BZ #13775]
1096 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1097 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1098 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1099 being in POSIX, because they are in 1003.1-2008.
1100
84ad622b
RM
1101 * rt/tst-aio.c: Include <fcntl.h>.
1102 * rt/tst-aio7.c: Likewise.
1103 * rt/tst-aio64.c: Likewise.
1104
4579f81c
RM
1105 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1106
abd923db
JM
11072012-02-27 Joseph Myers <joseph@codesourcery.com>
1108
1109 * manual/install.texi (--with-headers): Describe headers as
1110 interface headers, not private headers.
1111 (Specific advice for GNU/Linux systems): Describe use of headers
1112 from "make headers_install", not private headers from older
1113 kernels.
43be4ca2 1114 * INSTALL: Regenerated.
abd923db
JM
1115 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1116 Change to 2.6.19.
1117 * sysdeps/unix/sysv/linux/configure: Regenerated.
1118
6664049b
JM
1119 * manual/llio.texi (fclean): Remove documentation.
1120
bb8b6697
JM
1121 * manual/Makefile (libc-texi-generated): New variable. Include
1122 version.texi.
1123 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1124 $(libc-texi-generated), not duplicated list of files.
1125 (version.texi, stamp-version): New rules.
1126 (realclean): Remove $(libc-texi-generated), not individual files
1127 from that list. Do not remove dir-add.texinfo.
1128 * manual/libc.texinfo: Comment out uses of edition numbers and
1129 references to printed manual. Remove last-updated dates.
1130 (EDITION): Comment out.
1131 (ISBN): Likewise.
1132 (VERSION, UPDATED): Remove.
1133 (version.texi): Include.
1134
12e5c3b9
AS
11352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1136
1137 * sysdeps/posix/spawni.c: Include <signal.h>.
1138 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1139 * sysdeps/pthread/aio_fsync.c: Likewise.
1140
4efeffc1 11412012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1142
ba63ba08
UD
1143 * conform/Makefile (tests): Run only when not cross-compiling and
1144 when fast-check is not defined.
1145
d94a4670
UD
1146 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1147 * conform/data/limits.h-data: Fixes for POSIX2008.
1148 * conform/run-conformtest.sh: Run all tests.
1149 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1150 headers.
1151 * include/bits/dlfcn.h: Likewise.
1152 * include/langinfo.h: Likewise.
1153 * include/monetary.h: Likewise.
1154 * include/sys/poll.h: Likewise.
1155
1156 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1157 for __USE_GNU.
1158 * posix/spawn.h: Define __need_sigset_t.
1159 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1160 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1161 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1162 to get sigevent_t only.
1163 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1164 only for __USE_GNU.
1165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1166 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1167 process_vm_writev only for __USE_GNU.
1168 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1169
1170 * conform/Makefile: For now ignore errors from run-conformtest.
1171 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1172 POSIX to avoid namespace pollution. Don't prepend headers.
1173 * conform/data/aio.h-data: Fixes for POSIX testing.
1174 * conform/data/fcntl.h-data: Likewise.
1175 * conform/data/glob.h-data: Likewise.
1176 * conform/data/grp.h-data: Likewise.
1177 * conform/data/pthread.h-data: Likewise.
1178 * conform/data/pwd.h-data: Likewise.
1179 * conform/data/signal.h-data: Likewise.
1180 * conform/data/spawn.h-data: Likewise.
1181 * conform/data/stdio.h-data: Likewise.
1182 * conform/data/stdlib.h-data: Likewise.
1183 * conform/data/stropts.h-data: Likewise.
1184 * conform/data/sys/mman.h-data: Likewise.
1185 * conform/data/sys/stat.h-data: Likewise.
1186 * conform/data/sys/types.h-data: Likewise.
1187 * conform/data/sys/wait.h-data: Likewise.
1188 * conform/data/time.h-data: Likewise.
1189 * conform/data/unistd.h-data: Likewise.
1190 * conform/data/utime.h-data: Likewise.
1191
1192 * io/sys/stat.h: fchmod was always in POSIX.
1193 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1194 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1195 * rt/aio.h: Define __need_timespec before including <time.h>.
1196 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1197 struct. Add forward declaration of pthread_attr_t and use it in
1198 sigevent.
1199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1201 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1202 always remove CLK_TCK definition.
1203
c20105c3
AS
12042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1205
1206 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1207
7a270350
UD
12082012-02-25 Ulrich Drepper <drepper@gmail.com>
1209
31341567
UD
1210 * conform/run-conformtest.sh: New file.
1211 * conform/Makefile: Run run-conformtest for tests.
1212 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1213 support.
1214
1215 * conform/data/uchar.h-data: New file.
1216 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1217 * conform/data/arpa/inet.h-data: Likewise.
1218 * conform/data/assert.h-data: Likewise.
1219 * conform/data/complex.h-data: Likewise.
1220 * conform/data/cpio.h-data: Likewise.
1221 * conform/data/ctype.h-data: Likewise.
1222 * conform/data/dirent.h-data: Likewise.
1223 * conform/data/dlfcn.h-data: Likewise.
1224 * conform/data/errno.h-data: Likewise.
1225 * conform/data/fcntl.h-data: Likewise.
1226 * conform/data/float.h-data: Likewise.
1227 * conform/data/fmtmsg.h-data: Likewise.
1228 * conform/data/fnmatch.h-data: Likewise.
1229 * conform/data/ftw.h-data: Likewise.
1230 * conform/data/glob.h-data: Likewise.
1231 * conform/data/grp.h-data: Likewise.
1232 * conform/data/iconv.h-data: Likewise.
1233 * conform/data/inttypes.h-data: Likewise.
1234 * conform/data/langinfo.h-data: Likewise.
1235 * conform/data/libgen.h-data: Likewise.
1236 * conform/data/limits.h-data: Likewise.
1237 * conform/data/locale.h-data: Likewise.
1238 * conform/data/math.h-data: Likewise.
1239 * conform/data/monetary.h-data: Likewise.
1240 * conform/data/mqueue.h-data: Likewise.
1241 * conform/data/ndbm.h-data: Likewise.
1242 * conform/data/net/if.h-data: Likewise.
1243 * conform/data/netdb.h-data: Likewise.
1244 * conform/data/netinet/in.h-data: Likewise.
1245 * conform/data/nl_types.h-data: Likewise.
1246 * conform/data/poll.h-data: Likewise.
1247 * conform/data/pthread.h-data: Likewise.
1248 * conform/data/pwd.h-data: Likewise.
1249 * conform/data/regex.h-data: Likewise.
1250 * conform/data/sched.h-data: Likewise.
1251 * conform/data/search.h-data: Likewise.
1252 * conform/data/semaphore.h-data: Likewise.
1253 * conform/data/setjmp.h-data: Likewise.
1254 * conform/data/signal.h-data: Likewise.
1255 * conform/data/spawn.h-data: Likewise.
1256 * conform/data/stdarg.h-data: Likewise.
1257 * conform/data/stdio.h-data: Likewise.
1258 * conform/data/stdlib.h-data: Likewise.
1259 * conform/data/string.h-data: Likewise.
1260 * conform/data/strings.h-data: Likewise.
1261 * conform/data/stropts.h-data: Likewise.
1262 * conform/data/sys/ipc.h-data: Likewise.
1263 * conform/data/sys/mman.h-data: Likewise.
1264 * conform/data/sys/msg.h-data: Likewise.
1265 * conform/data/sys/resource.h-data: Likewise.
1266 * conform/data/sys/select.h-data: Likewise.
1267 * conform/data/sys/sem.h-data: Likewise.
1268 * conform/data/sys/shm.h-data: Likewise.
1269 * conform/data/sys/socket.h-data: Likewise.
1270 * conform/data/sys/stat.h-data: Likewise.
1271 * conform/data/sys/statvfs.h-data: Likewise.
1272 * conform/data/sys/time.h-data: Likewise.
1273 * conform/data/sys/timeb.h-data: Likewise.
1274 * conform/data/sys/times.h-data: Likewise.
1275 * conform/data/sys/types.h-data: Likewise.
1276 * conform/data/sys/uio.h-data: Likewise.
1277 * conform/data/sys/un.h-data: Likewise.
1278 * conform/data/sys/utsname.h-data: Likewise.
1279 * conform/data/sys/wait.h-data: Likewise.
1280 * conform/data/syslog.h-data: Likewise.
1281 * conform/data/tar.h-data: Likewise.
1282 * conform/data/termios.h-data: Likewise.
1283 * conform/data/utime.h-data: Likewise.
1284 * conform/data/utmpx.h-data: Likewise.
1285 * conform/data/varargs.h-data: Likewise.
1286 * conform/data/wchar.h-data: Likewise.
1287 * conform/data/wctype.h-data: Likewise.
1288 * conform/data/wordexp.h-data: Likewise.
1289
1290 * include/stropts.h: New file.
1291 * include/uchar.h: New file.
1292 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1293 * include/assert.h: Likewise.
1294 * include/ctype.h: Likewise.
1295 * include/dirent.h: Likewise.
1296 * include/dlfcn.h: Likewise.
1297 * include/fcntl.h: Likewise.
1298 * include/fnmatch.h: Likewise.
1299 * include/glob.h: Likewise.
1300 * include/grp.h: Likewise.
1301 * include/libio.h: Likewise.
1302 * include/locale.h: Likewise.
1303 * include/math.h: Likewise.
1304 * include/net/if.h: Likewise.
1305 * include/netdb.h: Likewise.
1306 * include/netinet/in.h: Likewise.
1307 * include/pthread.h: Likewise.
1308 * include/pwd.h: Likewise.
1309 * include/regex.h: Likewise.
1310 * include/sched.h: Likewise.
1311 * include/search.h: Likewise.
1312 * include/setjmp.h: Likewise.
1313 * include/signal.h: Likewise.
1314 * include/stdio.h: Likewise.
1315 * include/stdlib.h: Likewise.
1316 * include/string.h: Likewise.
1317 * include/sys/cdefs.h: Likewise.
1318 * include/sys/mman.h: Likewise.
1319 * include/sys/msg.h: Likewise.
1320 * include/sys/resource.h: Likewise.
1321 * include/sys/select.h: Likewise.
1322 * include/sys/socket.h: Likewise.
1323 * include/sys/stat.h: Likewise.
1324 * include/sys/statvfs.h: Likewise.
1325 * include/sys/time.h: Likewise.
1326 * include/sys/times.h: Likewise.
1327 * include/sys/uio.h: Likewise.
1328 * include/sys/utsname.h: Likewise.
1329 * include/sys/wait.h: Likewise.
1330 * include/termios.h: Likewise.
1331 * include/time.h: Likewise.
1332 * include/ulimit.h: Likewise.
1333 * include/unistd.h: Likewise.
1334 * include/utime.h: Likewise.
1335 * include/wchar.h: Likewise.
1336 * include/wctype.h: Likewise.
1337 * include/wordexp.h: Likewise.
1338
1339 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1340
7a270350
UD
1341 * time/time.h: TIME_UTC must be a macro.
1342 Make timespec_get available for ISO C11 only as well.
1343
7724defc
UD
13442012-02-24 Ulrich Drepper <drepper@gmail.com>
1345
1346 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1347 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1348
6b1d1d46
JM
13492012-02-24 Joseph Myers <joseph@codesourcery.com>
1350
1351 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1352
0f8bbd69
JM
13532012-02-24 Joseph Myers <joseph@codesourcery.com>
1354
1355 * manual/texinfo.tex: Update to version 2012-01-19.16.
1356
66ab80bc
JM
13572012-02-24 Joseph Myers <joseph@codesourcery.com>
1358
1359 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1360
74981cc5
RM
13612012-02-24 Roland McGrath <roland@hack.frob.com>
1362
ee968201
RM
1363 [BZ #13738]
1364 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1365 * manual/fdl-1.3.texi: New file.
1366 * manual/fdl-1.1.texi: File removed.
1367
74981cc5
RM
1368 [BZ #13738]
1369 * manual/libc.texinfo (FDL_VERSION): New @set.
1370 Use it for mention of FDL in cover text.
1371 (Documentation License): Use it in @include file name.
1372
7bb764bc
JM
13732012-02-22 Joseph Myers <joseph@codesourcery.com>
1374 Roland McGrath <roland@hack.frob.com>
1375
1376 [BZ #5461]
1377 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1378 not LONG_LONG_MAX and LONG_LONG_MIN.
1379 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1380 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1381 name.
1382 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1383
6cbeae47
JM
13842012-02-22 Joseph Myers <joseph@codesourcery.com>
1385
1386 [BZ #2547]
1387 [BZ #11365]
1388 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1389 manipulate bits before adding and subtracting TWO23[sx].
1390 * math/libm-test.inc (nearbyint_test): Add more tests.
1391
fe45ce09
JM
13922012-02-22 Joseph Myers <joseph@codesourcery.com>
1393
1394 [BZ #2548]
1395 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1396 bits before adding and subtracting TWO23[sx].
1397 * math/libm-test.inc (rint_test): Add more tests.
1398 (rint_test_tonearest): Likewise.
1399 (rint_test_towardzero): Likewise.
1400 (rint_test_downward): Likewise.
1401 (rint_test_upward: Likewise.
1402
ff3b3d82
JM
14032012-02-22 Joseph Myers <joseph@codesourcery.com>
1404
1405 [BZ #10110]
1406 * include/stdc-predef.h: New file. Extracted from features.h.
1407 * include/features.h: Include stdc-predef.h.
1408 * Makefile (headers): Add stdc-predef.h.
1409 * CONFORMANCE (Compiler limitations): Update.
1410
ef0aab35
JM
14112012-02-22 Joseph Myers <joseph@codesourcery.com>
1412
1413 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1414
58639409
DM
14152012-02-21 David S. Miller <davem@davemloft.net>
1416
1417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1419
c0e70b25
DM
14202012-02-20 David S. Miller <davem@davemloft.net>
1421
1422 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1423 using a normal save/restore sequence, rather than allocating a
1424 dummy stack frame just to store a frame pointer and restore.
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1426
fb06851d
JM
14272012-02-21 Joseph Myers <joseph@codesourcery.com>
1428
1429 * manual/install.texi: Fix stray word in line-wrapped comment.
1430
7a8b71c3
DM
14312012-02-20 David S. Miller <davem@davemloft.net>
1432
d510c123
DM
1433 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1434 both binutils and gcc support GOTDATA.
1435
0722d7c2
DM
1436 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1437 "rd %pc" in the PIC register setup sequences.
1438
3d2b3019
DM
1439 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1440 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1442 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1443 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1448 (SYSCALL_ERROR_HANDLER): Likewise.
1449 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1450 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1452 (SYSCALL_ERROR_HANDLER): Likewise.
1453
c80098a9
DM
1454 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1455 (HAVE_GCC_GOTDATA): New.
1456 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1457 relocation support in both binutils and gcc.
1458 * sysdeps/sparc/elf/configure: Regenerate.
1459
3a2545a0
DM
1460 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1461 * sysdeps/sparc/sparc32/elf/configure: Delete.
1462 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1463 * sysdeps/sparc/sparc64/elf/configure: Delete.
1464 * sysdeps/sparc/elf/configure.in: New file.
1465 * sysdeps/sparc/elf/configure: Generate.
1466
7a8b71c3
DM
1467 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1468 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1469 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1470 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1471 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1472
f1e86fca
JM
14732012-02-21 Joseph Myers <joseph@codesourcery.com>
1474
1475 * manual/install.texi: Do not mention specific glibc version
1476 numbers.
1477 * manual/libc.texinfo (VERSION, UPDATED): Update.
1478 (@copying): Use @copyright{} and range of years.
1479
0e7dfaef
JM
14802012-02-21 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #13695]
1483 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1484 [crti.S not in sysdirs] (generated): Do not append.
1485 [crti.S not in sysdirs] (omit-deps): Likewise.
1486 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1487 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1488 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1489 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1490 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1491 Likewise.
1492 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1493 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1494 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1495 * csu/defs.awk: Remove file.
1496 * sysdeps/generic/initfini.c: Likewise.
1497 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1498 variable.
1499 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1500 Likewise.
1501
599af3ca
JM
15022012-02-20 Joseph Myers <joseph@codesourcery.com>
1503
1504 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1505 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1506 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1507 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1509 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1510 <bits/epoll.h>.
1511 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1512 (__EPOLL_PACKED): Define to empty if not defined by
1513 <bits/epoll.h>.
1514 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1516 bits/epoll.h.
1517
0e499750
JM
15182012-02-20 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1521 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1522 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1523 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1524 <bits/timerfd.h>.
1525 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1527 bits/timerfd.h.
1528
5ad91f6e
JM
15292012-02-20 Joseph Myers <joseph@codesourcery.com>
1530
1531 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1532 in C locale.
1533 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1534 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1535 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1537
06b99b02
AJ
15382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1539
1540 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1541 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1542
7638c0fd
AS
15432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1544
1545 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1546 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1547 defined.
1548 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1551 entry for 2.16.
1552
92221550
AJ
15532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1554
1555 * math/w_acos.c: Use non-signaling floating-point comparisons.
1556 * math/w_acosf.c: Likewise.
1557 * math/w_acosh.c: Likewise.
1558 * math/w_acoshf.c: Likewise.
1559 * math/w_acoshl.c: Likewise.
1560 * math/w_acosl.c: Likewise.
1561 * math/w_asin.c: Likewise.
1562 * math/w_asinf.c: Likewise.
1563 * math/w_asinl.c: Likewise.
1564 * math/w_atanh.c: Likewise.
1565 * math/w_atanhf.c: Likewise.
1566 * math/w_atanhl.c: Likewise.
1567 * math/w_exp2.c: Likewise.
1568 * math/w_exp2f.c: Likewise.
1569 * math/w_exp2l.c: Likewise.
1570 * math/w_j0.c: Likewise.
1571 * math/w_j0f.c: Likewise.
1572 * math/w_j0l.c: Likewise.
1573 * math/w_j1.c: Likewise.
1574 * math/w_j1f.c: Likewise.
1575 * math/w_j1l.c: Likewise.
1576 * math/w_jn.c: Likewise.
1577 * math/w_jnf.c: Likewise.
1578 * math/w_log.c: Likewise.
1579 * math/w_log10.c: Likewise.
1580 * math/w_log10f.c: Likewise.
1581 * math/w_log10l.c: Likewise.
1582 * math/w_log2.c: Likewise.
1583 * math/w_log2f.c: Likewise.
1584 * math/w_log2l.c: Likewise.
1585 * math/w_logf.c: Likewise.
1586 * math/w_logl.c: Likewise.
1587 * math/w_sqrt.c: Likewise.
1588 * math/w_sqrtf.c: Likewise.
1589 * math/w_sqrtl.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1592 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1594 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1595
ebaf36eb
JM
15962012-02-19 Joseph Myers <joseph@codesourcery.com>
1597
1598 [BZ #9739]
1599 * manual/string.texi (strnlen): Use correct parameter name in
1600 equivalent expression.
1601
71c254a6
JM
16022012-02-19 Joseph Myers <joseph@codesourcery.com>
1603
1604 [BZ #11174]
1605 * manual/users.texi (seteuid): Consistently use neweuid for
1606 argument name.
1607
16d2c631
JM
16082012-02-19 Joseph Myers <joseph@codesourcery.com>
1609
1610 [BZ #13704]
1611 * manual/nss.texi (Services in the NSS configuration): Correct
1612 list of services in example configuration file.
1613
cd837b09
NB
16142012-02-19 Nick Bowler <nbowler@draconx.ca>
1615
1616 [BZ #11322]
1617 * manual/arith.texi: Remove statements about negative zero
1618 behaving identically to zero.
1619
02c4bbad
JM
16202012-02-18 Joseph Myers <joseph@codesourcery.com>
1621
1622 [BZ #5993]
1623 * manual/install.texi: Do not document upgrading from libc5.
1624
366842e7
JM
16252012-02-18 Joseph Myers <joseph@codesourcery.com>
1626
1627 [BZ #4596]
1628 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1629
dd54084d
DM
16302012-02-18 David S. Miller <davem@davemloft.net>
1631
1632 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1633 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1634 %o7 across the call.
1635 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1636 instead.
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1638 SETUP_PIC_REG_LEAF.
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1640 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1641 * sysdeps/sparc/crtn.S: Likewise.
1642
2bcc53a3
UD
16432012-02-17 Ulrich Drepper <drepper@gmail.com>
1644
1645 * aout/Makefile: Remove.
1646
09c093b5
RK
16472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1648
1649 [BZ #13058]
1650 * manual/examples/argp-ex1.c (main): Format definition in GNU
1651 style.
1652 * manual/examples/argp-ex2.c (main): Likewise.
1653 * manual/examples/argp-ex3.c (main): Likewise.
1654 * manual/examples/argp-ex4.c (main): Likewise.
1655 * manual/examples/longopt.c (main): Use new-style prototype
1656 definition.
1657 * manual/examples/strncat.c (main): Specify return type and use
1658 (void) for arguments.
1659 * manual/examples/subopt.c (main): Use char **argv argument.
1660
2ee633a2
JM
16612012-02-17 Joseph Myers <joseph@codesourcery.com>
1662
1663 [BZ #5077]
1664 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1665 rounding modes.
1666
0520adde
FB
16672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1668
1669 [BZ #6907]
1670 * manual/string.texi (strchr): Change when strchrnul is
1671 recommended.
1672
3f4081cd
DGM
16732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1674
1675 [BZ #174]
1676 * manual/locale.texi (setlocale): Document LOCPATH.
1677
d1b10e78
JM
16782012-02-17 Joseph Myers <joseph@codesourcery.com>
1679
1680 [BZ #10210]
1681 * manual/process.texi (execle): Move @dots{} before last argument.
1682
79c6869c
PB
16832012-02-17 Paul Bolle <pebolle@tiscali.nl>
1684
1685 [BZ #12047]
1686 * manual/charset.texi (Generic Charset Conversion): Fix typo
1687 (LC_TYPE -> LC_CTYPE).
1688
cc6e48bc
NB
16892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1690
1691 [BZ #5805]
1692 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1693 (scalbnf): Likewise.
1694 (scalbnl): Likewise.
1695 (scalbln): Likewise.
1696 (scalblnf): Likewise.
1697 (scalblnl): Likewise.
1698 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1699 (vwarnx): Likewise.
1700 (verr): Likewise.
1701 (verrx): Likewise.
1702 * manual/filesys.texi (telldir): Use braces around return type.
1703 * manual/llio.texi (mmap): Add space after comma.
1704 (mmap64): Likewise.
1705 * manual/math.texi (jn): Use @var{} on parameter names.
1706 (jnf): Likewise.
1707 (jnl): Likewise.
1708 (yn): Likewise.
1709 (ynf): Likewise.
1710 (ynl): Likewise.
1711 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1712 line.
1713 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1714 "...".
1715 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1716 (sched_get_priority_max): Likewise.
1717 * manual/signal.texi (sigvec): Add space after comma.
1718 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1719 names.
1720 (if_indextoname): Likewise.
1721 (if_freenameindex): Likewise.
1722 (sendto): Use ',' instead of '.' in prototype.
1723 * manual/startup.texi (syscall): Use @dots{} instead of literal
1724 "...".
1725 * manual/stdio.texi (__fpending): Separate initial words of
1726 paragraph from @deftypefun line.
1727 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1728 "...".
1729 (vsyslog): Use @var{} on parameter names.
1730 * manual/terminal.texi (stty): Use @var{} on parameter names.
1731 * manual/users.texi (getutmp): Use @var{} on parameter names.
1732 (getutmpx): Likewise.
1733
5b23062f
JM
17342012-02-17 Joseph Myers <joseph@codesourcery.com>
1735
1736 [BZ #6884]
1737 * manual/stdio.texi (fopen): Fix typos in description of
1738 ",ccs=STRING".
1739
8dee4833
AJ
17402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1741
1742 [BZ #4026]
1743 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1744 get clock_id definition.
1745
9078ce93
TS
17462012-02-17 Thomas Schwinge <thomas@schwinge.name>
1747
1748 [BZ #4822]
1749 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1750 (madvise): Cast every argument to void on its own.
1751
3835c55f
JM
17522012-02-17 Joseph Myers <joseph@codesourcery.com>
1753
1754 [BZ #9902]
1755 * manual/startup.texi (Exit Status): Fix typo.
1756
35c47e37
JM
17572012-02-17 Joseph Myers <joseph@codesourcery.com>
1758
1759 [BZ #10140]
1760 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1761 * manual/examples/argp-ex2.c: Likewise.
1762 * manual/examples/argp-ex3.c: Likewise.
1763
e3b69ca7
RH
17642012-02-16 Richard Henderson <rth@redhat.com>
1765
1766 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1767 * sysdeps/s390/s390-32/initfini.c: Remove.
1768 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1769 * sysdeps/s390/s390-64/initfini.c: Remove.
1770
df83af67
KK
17712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1772
1773 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1774 compiler output for sysdeps/generic/initfini.c.
1775 * sysdeps/sh/elf/initfini.c: Remove file.
1776
f63f3380
DM
17772012-02-16 David S. Miller <davem@davemloft.net>
1778
fb59b3a4
DM
1779 [BZ #11494]
1780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1781
f63f3380
DM
1782 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1783 * sysdeps/sparc/crti.S: New file.
1784 * sysdeps/sparc/crtn.S: New file.
1785 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1786 * sysdeps/sparc/sparc64/Makefile: Likewise.
1787
df6a4a4a
MF
17882012-02-15 Mike Frysinger <vapier@gentoo.org>
1789
6dd8f3dc 1790 [BZ #3335]
df6a4a4a
MF
1791 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1792
1cac7236
RM
17932012-02-15 Roland McGrath <roland@hack.frob.com>
1794
d2c736f8
RM
1795 [BZ #4822]
1796 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1797
1cac7236
RM
1798 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1799 (write, read, close): Likewise.
1800 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1801
8e475601
JM
18022012-02-15 Joseph Myers <joseph@codesourcery.com>
1803
1804 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1805 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1807 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1808 <bits/signalfd.h>.
1809 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1811 bits/signalfd.h.
1812
ed656b40
MP
18132012-02-14 Marek Polacek <polacek@redhat.com>
1814
1815 * sysdeps/x86_64/crti.S: New file.
1816 * sysdeps/x86_64/crtn.S: New file.
1817 * sysdeps/x86_64/elf/initfini.c: Remove file.
1818
2a979d3a
JM
18192012-02-13 Joseph Myers <joseph@codesourcery.com>
1820
1821 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1822 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1824 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1825 <bits/inotify.h>.
1826 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1828 bits/inotify.h.
1829
2a418ac3
JM
18302012-02-13 Joseph Myers <joseph@codesourcery.com>
1831
1832 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1833 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1834 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1835 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1836 <bits/eventfd.h>.
1837 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1839 bits/eventfd.h.
1840
fb779be7
TS
18412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1842
e19e83c5
RM
1843 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1844 __feraiseexcept instead of feraiseexcept.
7c35ffed 1845
fb779be7
TS
1846 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1847 nanosleep invocations.
1848 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1849 strings, and add error checking for a nanosleep invocations.
1850
59ba27a6
PE
18512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1852
1853 Replace FSF snail mail address with URLs, as per GNU coding standards.
1854 Most of the snail mail addresses were wrong anyway, and omitting
1855 them makes the source code easier to maintain. Almost all of the
1856 changes are to license notices and to locale LC_IDENTIFICATION
1857 addresses, except for this one:
1858 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1859 not its snail mail address.
1860
57b957eb
RH
18612012-02-09 Richard Henderson <rth@twiddle.net>
1862
af850b1c
RH
1863 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1864 of kernel-features.h.
1865
57b957eb
RH
1866 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1867
6b73181a
MP
18682012-02-08 Marek Polacek <polacek@redhat.com>
1869
1870 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1871 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1872 * sysdeps/gnu/_G_config.h: Likewise.
1873 * sysdeps/generic/_G_config.h: Likewise.
1874
26ecc33a
AS
18752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1876
6c6dbc63
AS
1877 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1878 tests.
1879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880
e216c012
AS
1881 * sysdeps/powerpc/powerpc32/crti.S: New file.
1882 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1883 * sysdeps/powerpc/powerpc64/crti.S: New file.
1884 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1885
26ecc33a
AS
1886 * Makeconfig (have-initfini): Don't set.
1887 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1888 * configure.in (nopic_initfini): Don't substitute.
1889 * config.h.in (HAVE_INITFINI): Don't #undef.
1890 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1891 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1892
3add8e13
JM
18932012-02-08 Joseph Myers <joseph@codesourcery.com>
1894
1895 Support crti.S and crtn.S provided directly by architectures.
1896 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1897 [crti.S in sysdirs] (omit-deps): Likewise.
1898 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1899 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1900 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1901 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1902 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1903 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1904 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1905 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1906 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1907 compiler output for sysdeps/generic/initfini.c.
1908 * sysdeps/i386/elf/Makefile: Remove file.
1909 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1910
a22f12b4
MP
19112012-02-07 Marek Polacek <polacek@redhat.com>
1912
1913 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1914 * sysdeps/gnu/_G_config.h: Likewise.
1915 * sysdeps/mach/hurd/_G_config.h: Likewise.
1916
148cf100
MP
19172012-02-07 Marek Polacek <polacek@redhat.com>
1918
1919 * math/Makefile (tests): Add tst-CMPLX2.
1920 * math/tst-CMPLX2.c: New file.
1921
cfdc0dd7
AS
19222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1923
84ba42c4
AS
1924 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1925
cfdc0dd7
AS
1926 * math/libm-test.inc (jn_test): Add missing L suffix.
1927
622c86f4
MP
19282012-02-06 Marek Polacek <polacek@redhat.com>
1929
1930 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1931 * sysdeps/i386/fpu/e_powf.S: Likewise.
1932 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1933 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1934 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1935 * sysdeps/i386/fpu/e_pow.S: Likewise.
1936 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1937 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1938 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1939 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1940 * sysdeps/i386/fpu/e_log2.S: Likewise.
1941 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1942 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1943 * sysdeps/i386/fpu/e_powl.S: Likewise.
1944 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1945 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1946 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1947 * sysdeps/i386/fpu/e_logl.S: Likewise.
1948 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1949 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1950 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1951 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1952 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1953 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1954 * sysdeps/i386/fpu/e_log.S: Likewise.
1955 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1956 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1957 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1958 * sysdeps/i386/fpu/e_logf.S: Likewise.
1959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1960 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1961 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1962 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1963 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1964 * sysdeps/i386/fpu/e_log10.S: Likewise.
1965 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1967 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1968 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1969 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1970 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1971 * sysdeps/i386/asm-syntax.h: Likewise.
1972 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1974 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1975 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1976 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1977 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1978 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1979 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1980 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1981 * sysdeps/powerpc/sysdep.h: Likewise.
1982 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1983 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1984
d4a54ac6
JM
19852012-02-06 Joseph Myers <joseph@codesourcery.com>
1986
1987 [BZ #411]
1988 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1989
314054ea
JM
19902012-02-06 Joseph Myers <joseph@codesourcery.com>
1991
1992 * sysdeps/i386/sysdep.h: Include <features.h>.
1993 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1994 version.
1995
d8e0ca50
JM
19962012-02-05 Joseph Myers <joseph@codesourcery.com>
1997
1998 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1999 Define.
2000 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2001 LOAD_PIC_REG_STR.
2002
b1da7dd9
JM
20032012-02-03 Joseph Myers <joseph@codesourcery.com>
2004
2005 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2006 (SETUP_PIC_REG): Use GET_PC_THUNK.
2007 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2008 macro.
2009
9a1d9254
JM
20102012-02-03 Joseph Myers <joseph@codesourcery.com>
2011
2012 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2013 for non-PIC compilation.
2014 (SETUP_PIC_REG): Add .p2align directive.
2015 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2016 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2023 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2024 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2025 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2026 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2027 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2035 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2036 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2047 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2056
65dc3b75
JM
20572012-02-03 Joseph Myers <joseph@codesourcery.com>
2058
2059 * math/tst-CMPLX.c: Include <stdio.h>.
2060
d55bf177
JM
20612012-01-31 Joseph Myers <joseph@codesourcery.com>
2062
2063 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2064 float.
2065 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2066 * sysdeps/sparc/bits/mathdef.h: Likewise.
2067
69db4f8f
MP
20682012-01-31 Marek Polacek <polacek@redhat.com>
2069
2070 * libio/libio.h: Don't define _PARAMS.
2071 * locale/programs/config.h: Don't define PARAMS.
2072 * stdlib/strtol_l.c: Likewise.
2073 (__strtol_l): Remove PARAMS from the prototype.
2074
41b81892
UD
20752012-01-31 Ulrich Drepper <drepper@gmail.com>
2076
3b49edc0
UD
2077 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2078 names. Just use the correct names. Remove unnecessary wrapper
2079 functions.
2080 * malloc/arena.c: Likewise.
2081 * malloc/hooks.c: Likewise.
2082
41b81892
UD
2083 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2084 ARENA_TEST says not to. Simplify test for creation of a new arena.
2085 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2086
27a25b6e
UD
20872012-01-30 Ulrich Drepper <drepper@gmail.com>
2088
2089 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2090 into tail calls.
2091 (update_get_addr): New function.
2092 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2093 GET_ADDR_MODULE parameter.
2094
c8a89e7d
JM
20952012-01-30 Joseph Myers <joseph@codesourcery.com>
2096
2097 * crypt/cert.c: Remove __STDC__ conditionals.
2098 * crypt/crypt-entry.c: Likewise.
2099 * crypt/crypt_util.c: Likewise.
2100 * libio/filedoalloc.c: Likewise.
2101 * libio/fileops.c: Likewise.
2102 * libio/genops.c: Likewise.
2103 * libio/iofclose.c: Likewise.
2104 * libio/iofdopen.c: Likewise.
2105 * libio/iofopen.c: Likewise.
2106 * libio/iofopen64.c: Likewise.
2107 * libio/iogetdelim.c: Likewise.
2108 * libio/iopopen.c: Likewise.
2109 * libio/obprintf.c: Likewise.
2110 * libio/oldfileops.c: Likewise.
2111 * libio/oldiofclose.c: Likewise.
2112 * libio/oldiofdopen.c: Likewise.
2113 * libio/oldiofopen.c: Likewise.
2114 * libio/oldiopopen.c: Likewise.
2115 * libio/wfiledoalloc.c: Likewise.
2116 * libio/wgenops.c: Likewise.
2117 * locale/programs/xmalloc.c: Likewise.
2118 * misc/syslog.c: Likewise.
2119 * stdio-common/xbug.c: Likewise.
2120 * string/memchr.c: Likewise.
2121 * string/memcmp.c: Likewise.
2122 * string/memrchr.c: Likewise.
2123 * string/rawmemchr.c: Likewise.
2124 * sysdeps/posix/getcwd.c: Likewise.
2125 * time/strftime_l.c: Likewise.
2126
3b100462
JM
21272012-01-30 Joseph Myers <joseph@codesourcery.com>
2128
2129 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2130 * config.make.in (config-cflags-sse2avx): Define.
2131 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2132 Fix typo.
2133
607998af
CM
21342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2135
2136 * scripts/config.guess: Update from upstream config git repository.
2137 * scripts/config.sub: Likewise.
2138
3601428f
CM
21392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2140
3ac8b282
CM
2141 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2142 (EM_NUM): Update.
2143 (R_TILEPRO_*, R_TILEGX_*): New macros.
2144
e034841e
CM
2145 * scripts/firstversions.awk: Fix bug in version range handling.
2146
540d7568
CM
2147 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2148
3601428f
CM
2149 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2150
463de862
CM
2151 * include/sys/epoll.h: New file.
2152 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2153 libc_hidden_def.
2154
73139a76
UD
21552012-01-28 Ulrich Drepper <drepper@gmail.com>
2156
96bc5b45
UD
2157 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2158 Avoid unnecessary __WORDSIZE == 64 test.
2159 (fmaxf): Use VEX format if possible.
2160 (fmax): Likewise.
2161 (fminf): Likewise.
2162 (fmin): Likewise.
2163
56f6f6a2
UD
2164 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2165 * math/math_private.h: Remove libc_fegetround* and
2166 libc_fesetround*.
2167 * sysdeps/i386/configure.in: Check for -msse2avx.
2168 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2169 also if SSE2AVX is defined.
2170 Remove libc_fegetround* and libc_fesetround*.
2171 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2172 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2174 of HAS_YMM_USABLE.
2175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2180
73139a76
UD
2181 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2182
d73f93a4
AZ
21832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2184
2185 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2186 size is not set.
2187 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2188
6ee65ed6
UD
21892012-01-27 Ulrich Drepper <drepper@gmail.com>
2190
2191 [BZ #13618]
2192 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2193 relocation.
2194 * Makeconfig (libm): Define.
2195 * elf/Makefile: Add rules to build and run tst-relsort1.
2196 * elf/tst-relsort1.c: New file.
2197 * elf/tst-relsort1mod1.c: New file.
2198 * elf/tst-relsort1mod2.c: New file.
2199
8db21882
JM
22002012-01-27 Joseph Myers <joseph@codesourcery.com>
2201
2202 * math/s_ldexp.c: Remove __STDC__ conditionals.
2203 * math/s_ldexpf.c: Likewise.
2204 * math/s_ldexpl.c: Likewise.
2205 * math/s_nextafter.c: Likewise.
2206 * math/s_nexttowardf.c: Likewise.
2207 * math/s_significand.c: Likewise.
2208 * math/s_significandf.c: Likewise.
2209 * math/s_significandl.c: Likewise.
2210 * math/w_jnl.c: Likewise.
2211 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2212 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2213 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2214 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2215 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2224 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2225 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2228 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2230 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2231 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2233 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2235 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2236 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2237 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2238 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2239 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2240 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2241 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2242 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2243 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2244 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2245 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2246 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2247 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2251 * sysdeps/ieee754/k_standard.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2326 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2327 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2331 * sysdeps/ieee754/s_matherr.c: Likewise.
2332 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2333 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2336
965a54a4
JM
23372012-01-26 Joseph Myers <joseph@codesourcery.com>
2338
2339 * crypt/md5.h: Remove __STDC__ conditionals.
2340 * libio/libioP.h: Likewise.
2341 * locale/programs/config.h: Likewise.
2342 * sysdeps/generic/sysdep.h: Likewise.
2343 * sysdeps/i386/asm-syntax.h: Likewise.
2344 * sysdeps/s390/asm-syntax.h: Likewise.
2345 * sysdeps/unix/sysdep.h: Likewise.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2348
7071ad79
JM
23492012-01-26 Joseph Myers <joseph@codesourcery.com>
2350
2351 * libio/libio.h: Remove __STDC__ conditionals.
2352 * malloc/obstack.h: Likewise.
2353 * math/complex.h: Likewise.
2354 * math/math.h: Likewise.
2355 * sysdeps/generic/_G_config.h: Likewise.
2356 * sysdeps/gnu/_G_config.h: Likewise.
2357 * sysdeps/mach/hurd/_G_config.h: Likewise.
2358 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2359 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2360 * sysdeps/sparc/bits/mathdef.h: Likewise.
2361
afc5ed09
UD
23622012-01-26 Ulrich Drepper <drepper@gmail.com>
2363
2364 [BZ #13583]
2365 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2366 Clean up HAS_* macros.
afc5ed09 2367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2368 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2369 possible.
2370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2371 HAS_AVX.
2372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2377
bdb6de1d
JM
23782012-01-25 Joseph Myers <joseph@codesourcery.com>
2379
2380 * elf/tst-unique3.cc (gets): Remove declaration.
2381 * elf/tst-unique3lib.cc (gets): Likewise.
2382 * elf/tst-unique3lib2.cc (gets): Likewise.
2383 * elf/tst-unique4.cc (gets): Likewise.
2384
b15549e6
UD
23852012-01-24 Ulrich Drepper <drepper@gmail.com>
2386
2387 * include/stdio.h: Add C++ protection. Add gets declarations and
2388 definitions.
2389 * debug/tst-chk1.c: Don't declare gets here.
2390 * stdio-common/tst-gets.c: Likewise.
2391
a037381f
JM
23922012-01-24 Joseph Myers <joseph@codesourcery.com>
2393
2394 * posix/glob: Remove directory.
2395
f1d4aa75
JM
23962012-01-24 Joseph Myers <joseph@codesourcery.com>
2397
2398 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2399
81c0c964
PT
24002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2401
2402 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2403 of the non-standard EPFNOSUPPORT.
2404
0ea698ae
ST
24052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2406
2407 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2408 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2409 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2410
d220b117
UD
24112012-01-21 Ulrich Drepper <drepper@gmail.com>
2412
2413 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2414
3e1aa84e
UD
24152012-01-20 Ulrich Drepper <drepper@gmail.com>
2416
2417 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2418 transient errors.
2419 * nscd/grpcache.c (cache_addgr): Likewise.
2420 * nscd/hstcache.c (cache_addhst): Likewise.
2421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2422 * nscd/pwdcache.c (cache_addpw): Likewise.
2423 * nscd/servicescache.c (cache_addserv): Likewise.
2424
400aa020
UD
24252012-01-16 Ulrich Drepper <drepper@gmail.com>
2426
d77e7869
UD
2427 * malloc/malloc.c: Various cleanups.
2428 * malloc/hooks.c: Likewise.
2429
400aa020
UD
2430 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2431 * stdlib/bug-fmtmsg1.c: New file.
2432
2433 * stdlib/fmtmsg.c (init): Add missing unlock.
2434 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2435
e0a309cf
MP
24362012-01-12 Marek Polacek <polacek@redhat.com>
2437
2438 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2439 and _GNU_SOURCE.
2440
929d11c7
WS
24412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2442
2443 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2444 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2445 macro to ensure uniqueness of label name.
2446 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2447 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2448
41d0e869
UD
24492012-01-11 Ulrich Drepper <drepper@gmail.com>
2450
0cc5ed3b
UD
2451 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2452
41d0e869
UD
2453 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2454 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2455 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2457
a47a831a
UD
24582012-01-10 Ulrich Drepper <drepper@gmail.com>
2459
daa891c0
UD
2460 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2461
2462 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2463 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2464 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2465
e58ef0f2
UD
2466 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2467
a47a831a 2468 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2469 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2470 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2472
2473 * math/bits/math-finite.h: Add ldexp support.
2474
a0bfc9c7
MP
24752012-01-10 Marek Polacek <polacek@redhat.com>
2476
2477 * locale/programs/localedef.h (show_archive_content): Add noreturn
2478 attribute.
2479
d6e97a1d
UD
24802012-01-09 Ulrich Drepper <drepper@gmail.com>
2481
2482 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2483
d5835c26
UD
24842012-01-08 Ulrich Drepper <drepper@gmail.com>
2485
e5f484c6
UD
2486 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2487
d5835c26
UD
2488 * io/Makefile (headers): Add bits/poll2.h.
2489
d1f741e9
WS
24902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2491
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2493 typo #include statement.
2494
ec09c1c4
UD
24952012-01-08 Ulrich Drepper <drepper@gmail.com>
2496
2497 * include/sys/cdefs.h: Define __attribute_alloc_size.
2498 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2499 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2500 * elf/pldd.c: Likewise.
2501 * iconv/iconv_charmap.c: Likewise.
2502 * iconv/iconvconfig.c: Likewise.
2503 * iconv/strtab.c: Likewise.
2504 * locale/programs/locale.c: Likewise.
2505 * locale/programs/localedef.h: Likewise.
2506 * locale/programs/simple-hash.c: Likewise.
2507 * nscd/nscd.h: Likewise.
2508 * nss/makedb.c: Likewise.
2509 * sysdeps/generic/ldconfig.h: Likewise.
2510 * locale/programs/localedef.c: Remove xmalloc prototype.
2511 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2512
20b38e03
PP
25132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2514
2515 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2516 appropriate.
2517
a0da5fe1
UD
25182012-01-08 Ulrich Drepper <drepper@gmail.com>
2519
1d5a644a 2520 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2521 * math/tst-CMPLX.c: New file.
1d5a644a 2522
8784a6db
UD
2523 * math/complex.h (CMPLXL): Fix typo.
2524
d9a216c0
UD
2525 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2526 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2527 GLIBC_2.16.
2528 * debug/tst-chk1.c: Add poll and ppoll tests.
2529 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2530 * include/sys/poll.h: Add hidden proto for ppoll.
2531 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2532 * sysdeps/mach/hurd/ppoll.c: Likewise.
2533 * io/ppoll.c: Likewise.
2534 * debug/poll_chk.c: New file.
2535 * debug/ppoll_chk.c: New file.
2536 * include/bits/poll2.h: New file.
2537 * io/bits/poll2.h: New file.
2538
ac097f5c
UD
2539 [BZ #1350]
2540 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2541
2119dcfa
UD
2542 * configure.in: static is always set to yes. Remove.
2543 * config.make.in: Don't set build-static.
2544 * Makeconfig: Remove use of build-static.
2545 * dlfcn/Makefile: Likewise.
2546 * elf/Makefile: Likewise.
2547 * math/Makefile: Likewise.
2548 * misc/Makefile: Likewise.
2549 * nptl/Makefile: Likewise.
2550 * sysdeps/mach/hurd/Makefile: Likewise.
2551
121766a9
UD
2552 * configure.in: PWD_P is not used anymore.
2553 * config.make.in: Remove PWD_P entry.
2554
51a1d39c 2555 * configure.in: Remove last remnants of RANLIB.
8720d066 2556 No need to check for signed size_t anymore.
215f4bdc
UD
2557 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2558 and IA-64.
3857022a 2559 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2560 * aclocal.m4: Likewise.
2561
d3ed7225
UD
2562 * wcsmbs/mbrtoc16.c: Implement using towc function.
2563 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2564 * wcsmbs/wcsmbsload.c: Likewise.
2565 * iconv/gconv_simple.c: Likewise.
2566 * iconv/gconv_int.h: Likewise.
2567 * iconv/gconv_builtin.h: Likewise.
2568 * iconv/iconv_prog.c: Remove CHAR16 handling.
2569
2570 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2571
2572 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2573
a0da5fe1
UD
2574 * configure.in: Remove --with-elf and --enable-bounded options.
2575 Dont set base_machine for ia64. More non-ELF conditions removed.
2576 Remove testing and setting of leading underscore information.
2577 * config.make.in (build-bounded): Set to no.
2578 * config.h.in: Remove NO_UNDERSCORES entry.
2579 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2580 them.
2581 * csu/start.c: Remove !NO_UNDERSCORE code.
2582 * locale/localeinfo.h: Likewise.
2583 * sysdeps/generic/machine-gmon.h: Likewise.
2584 * sysdeps/generic/sysdep.h: Likewise.
2585 * sysdeps/i386/sysdep.h: Likewise.
2586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2587 * sysdeps/mach/sysdep.h: Likewise.
2588 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2589 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2590 * sysdeps/sh/sysdep.h: Likewise.
2591 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2592 * sysdeps/unix/i386/sysdep.S: Likewise.
2593 * sysdeps/unix/sparc/start.c: Likewise.
2594 * sysdeps/unix/sparc/sysdep.S: Likewise.
2595 * sysdeps/unix/sparc/sysdep.h: Likewise.
2596 * sysdeps/unix/start.c: Likewise.
2597 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2598 * sysdeps/x86_64/sysdep.h: Likewise.
2599
df78418a
UD
26002012-01-07 Ulrich Drepper <drepper@gmail.com>
2601
a784e502
UD
2602 [BZ #13553]
2603 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2604 for non-gcc.
2605 * argp/argp-fmtstream.h: Use const instead __const.
2606 * argp/argp.h: Likewise.
2607 * assert/assert.h: Likewise.
2608 * bits/fenv.h: Likewise.
2609 * bits/sched.h: Likewise.
2610 * bits/sigset.h: Likewise.
2611 * bits/sigthread.h: Likewise.
2612 * catgets/nl_types.h: Likewise.
2613 * conform/data/pthread.h-data: Likewise.
2614 * crypt/crypt-private.h: Likewise.
2615 * crypt/crypt.h: Likewise.
2616 * crypt/crypt_util.c: Likewise.
2617 * ctype/ctype.h: Likewise.
2618 * debug/execinfo.h: Likewise.
2619 * debug/mbsnrtowcs_chk.c: Likewise.
2620 * debug/mbsrtowcs_chk.c: Likewise.
2621 * debug/wcsnrtombs_chk.c: Likewise.
2622 * debug/wcsrtombs_chk.c: Likewise.
2623 * debug/wcstombs_chk.c: Likewise.
2624 * dirent/dirent.h: Likewise.
2625 * dlfcn/dlfcn.h: Likewise.
2626 * elf/neededtest4.c: Likewise.
2627 * grp/grp.h: Likewise.
2628 * gshadow/gshadow.h: Likewise.
2629 * iconv/gconv.h: Likewise.
2630 * iconv/gconv_int.h: Likewise.
2631 * iconv/gconv_simple.c: Likewise.
2632 * iconv/iconv.h: Likewise.
2633 * iconv/loop.c: Likewise.
2634 * iconv/skeleton.c: Likewise.
2635 * include/aio.h: Likewise.
2636 * include/aliases.h: Likewise.
2637 * include/argz.h: Likewise.
2638 * include/arpa/inet.h: Likewise.
2639 * include/assert.h: Likewise.
2640 * include/dirent.h: Likewise.
2641 * include/dlfcn.h: Likewise.
2642 * include/execinfo.h: Likewise.
2643 * include/fcntl.h: Likewise.
2644 * include/fenv.h: Likewise.
2645 * include/glob.h: Likewise.
2646 * include/grp.h: Likewise.
2647 * include/libintl.h: Likewise.
2648 * include/mntent.h: Likewise.
2649 * include/netdb.h: Likewise.
2650 * include/pwd.h: Likewise.
2651 * include/rpc/netdb.h: Likewise.
2652 * include/sched.h: Likewise.
2653 * include/search.h: Likewise.
2654 * include/shadow.h: Likewise.
2655 * include/signal.h: Likewise.
2656 * include/stdio.h: Likewise.
2657 * include/stdlib.h: Likewise.
2658 * include/string.h: Likewise.
2659 * include/sys/socket.h: Likewise.
2660 * include/sys/stat.h: Likewise.
2661 * include/sys/statfs.h: Likewise.
2662 * include/sys/statvfs.h: Likewise.
2663 * include/sys/syslog.h: Likewise.
2664 * include/sys/time.h: Likewise.
2665 * include/sys/uio.h: Likewise.
2666 * include/time.h: Likewise.
2667 * include/unistd.h: Likewise.
2668 * include/utmp.h: Likewise.
2669 * include/wchar.h: Likewise.
2670 * include/wctype.h: Likewise.
2671 * inet/aliases.h: Likewise.
2672 * inet/arpa/inet.h: Likewise.
2673 * inet/netinet/ether.h: Likewise.
2674 * inet/netinet/in.h: Likewise.
2675 * intl/libintl.h: Likewise.
2676 * io/bits/fcntl2.h: Likewise.
2677 * io/fcntl.h: Likewise.
2678 * io/ftw.h: Likewise.
2679 * io/sys/poll.h: Likewise.
2680 * io/sys/stat.h: Likewise.
2681 * io/sys/statfs.h: Likewise.
2682 * io/sys/statvfs.h: Likewise.
2683 * io/utime.h: Likewise.
2684 * libio/bits/stdio.h: Likewise.
2685 * libio/bits/stdio2.h: Likewise.
2686 * libio/libio.h: Likewise.
2687 * libio/libioP.h: Likewise.
2688 * libio/stdio.h: Likewise.
2689 * locale/lc-ctype.c: Likewise.
2690 * locale/locale.h: Likewise.
2691 * login/utmp.h: Likewise.
2692 * malloc/arena.c: Likewise.
2693 * malloc/malloc.c: Likewise.
2694 * malloc/malloc.h: Likewise.
2695 * malloc/mcheck.c: Likewise.
2696 * malloc/mtrace.c: Likewise.
2697 * math/bits/mathcalls.h: Likewise.
2698 * math/fenv.h: Likewise.
2699 * math/math_private.h: Likewise.
2700 * misc/bits/error.h: Likewise.
2701 * misc/bits/syslog.h: Likewise.
2702 * misc/err.h: Likewise.
2703 * misc/error.h: Likewise.
2704 * misc/fstab.h: Likewise.
2705 * misc/mntent.h: Likewise.
2706 * misc/regexp.h: Likewise.
2707 * misc/search.h: Likewise.
2708 * misc/sgtty.h: Likewise.
2709 * misc/sys/mman.h: Likewise.
2710 * misc/sys/syslog.h: Likewise.
2711 * misc/sys/uio.h: Likewise.
2712 * misc/sys/xattr.h: Likewise.
2713 * misc/ttyent.h: Likewise.
2714 * nis/rpcsvc/ypclnt.h: Likewise.
2715 * nss/nss.h: Likewise.
2716 * posix/bits/unistd.h: Likewise.
2717 * posix/fnmatch.h: Likewise.
2718 * posix/glob.h: Likewise.
2719 * posix/sched.h: Likewise.
2720 * posix/spawn.h: Likewise.
2721 * posix/sys/wait.h: Likewise.
2722 * posix/unistd.h: Likewise.
2723 * posix/wordexp.h: Likewise.
2724 * pwd/pwd.h: Likewise.
2725 * resolv/netdb.h: Likewise.
2726 * resource/sys/resource.h: Likewise.
2727 * rt/aio.h: Likewise.
2728 * rt/bits/mqueue2.h: Likewise.
2729 * rt/mqueue.h: Likewise.
2730 * shadow/shadow.h: Likewise.
2731 * signal/signal.h: Likewise.
2732 * socket/send.c: Likewise.
2733 * socket/sendto.c: Likewise.
2734 * socket/sys/socket.h: Likewise.
2735 * stdio-common/printf.h: Likewise.
2736 * stdlib/bits/stdlib.h: Likewise.
2737 * stdlib/fmtmsg.h: Likewise.
2738 * stdlib/monetary.h: Likewise.
2739 * stdlib/stdlib.h: Likewise.
2740 * stdlib/ucontext.h: Likewise.
2741 * streams/stropts.h: Likewise.
2742 * string/argz.h: Likewise.
2743 * string/bits/string2.h: Likewise.
2744 * string/string.h: Likewise.
2745 * string/strings.h: Likewise.
2746 * sunrpc/rpc/auth.h: Likewise.
2747 * sunrpc/rpc/auth_des.h: Likewise.
2748 * sunrpc/rpc/clnt.h: Likewise.
2749 * sunrpc/rpc/netdb.h: Likewise.
2750 * sunrpc/rpc/pmap_clnt.h: Likewise.
2751 * sunrpc/rpc/xdr.h: Likewise.
2752 * sysdeps/generic/inttypes.h: Likewise.
2753 * sysdeps/generic/net/if.h: Likewise.
2754 * sysdeps/generic/sys/swap.h: Likewise.
2755 * sysdeps/gnu/net/if.h: Likewise.
2756 * sysdeps/gnu/utmpx.h: Likewise.
2757 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2758 * sysdeps/i386/i486/bits/string.h: Likewise.
2759 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2760 * sysdeps/s390/bits/string.h: Likewise.
2761 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2762 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2763 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2764 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2765 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2766 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2767 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2768 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2769 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2770 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2771 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2772 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2773 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2774 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2775 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2776 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2777 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2779 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2782 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2783 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2784 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2785 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2786 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2787 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2789 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2790 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2791 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2792 * sysvipc/sys/ipc.h: Likewise.
2793 * sysvipc/sys/msg.h: Likewise.
2794 * sysvipc/sys/sem.h: Likewise.
2795 * sysvipc/sys/shm.h: Likewise.
2796 * termios/termios.h: Likewise.
2797 * time/sys/time.h: Likewise.
2798 * time/time.h: Likewise.
2799 * wcsmbs/bits/wchar2.h: Likewise.
2800 * wcsmbs/uchar.h: Likewise.
2801 * wcsmbs/wchar.h: Likewise.
2802 * wctype/wctype.h: Likewise.
2803
0269750c
UD
2804 [BZ #13551]
2805 * Makeconfig: Remove all but ELF support including AIX support.
2806 * Makerules: Likewise.
2807 * config.h.in: Likewise.
2808 * config.make.in: Likewise.
2809 * configure: Likewise.
2810 * configure.in: Likewise.
2811 * csu/Makefile: Likewise.
2812 * csu/version.c: Likewise.
2813 * debug/Makefile: Likewise.
2814 * dlfcn/Makefile: Likewise.
2815 * elf/Makefile: Likewise.
2816 * extra-lib.mk: Likewise.
2817 * iconv/Makefile: Likewise.
2818 * include/libc-symbols.h: Likewise.
2819 * include/shlib-compat.h: Likewise.
2820 * resolv/Makefile: Likewise.
2821 * resolv/res_libc.c: Likewise.
2822 * rt/Makefile: Likewise.
2823 * sysdeps/i386/asm-syntax.h: Likewise.
2824 * sysdeps/i386/sysdep.h: Likewise.
2825 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2826 * sysdeps/mach/sysdep.h: Likewise.
2827 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2828 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2829 * sysdeps/s390/asm-syntax.h: Likewise.
2830 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2832 * sysdeps/sh/sysdep.h: Likewise.
2833 * sysdeps/unix/sparc/sysdep.h: Likewise.
2834 * sysdeps/wordsize-32/divdi3.c: Likewise.
2835 * sysdeps/x86_64/sysdep.h: Likewise.
2836
00bbd29b
UD
2837 * argp/Versions: Remove _argp_unlock_xxx.
2838
2839 [BZ #13559]
2840 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2841 * abilist/libBrokenLocale.abilist: Likewise.
2842 * abilist/libanl.abilist: Likewise.
2843 * abilist/libc.abilist: Likewise.
2844 * abilist/libcrypt.abilist: Likewise.
2845 * abilist/libdl.abilist: Likewise.
2846 * abilist/libm.abilist: Likewise.
2847 * abilist/libnsl.abilist: Likewise.
2848 * abilist/libpthread.abilist: Likewise.
2849 * abilist/libresolv.abilist: Likewise.
2850 * abilist/librt.abilist: Likewise.
2851 * abilist/libthread_db.abilist: Likewise.
2852 * abilist/libutil.abilist: Likewise.
2853 * abilist/libnss_db.abilist: New file.
2854
2855 * scripts/abilist.awk: Add support for indirect functions.
2856
a2693a0e
UD
2857 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2858
3f05895f
UD
2859 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2860
ecb6fb48
UD
2861 * shlib-versions: Remove entries for ports architectures.
2862
664f8cb9
UD
2863 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2864 files in ports.
2865 * elf/stackguard-macros.h: Remove support for IA-64.
2866 * elf/tst-auditmod1.c: Likewise.
2867 * sysdeps/generic/ldsodefs.h: Likewise.
2868
7ae81d88
UD
2869 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2870 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2871 configure files.
2872
bdeba135
UD
2873 [BZ #13552]
2874 * configure.in: Remove --enable-omitfp support.
2875 * FAQ.in: Adjust.
2876 * config.make.in: Likewise.
2877 * Makeconfig: Likewise.
2878 * manual/install.texi: Likewise.
2879
d75a0a62
UD
2880 In case anyone cares, the IA-64 architecture could move to ports.
2881 * sysdeps/ia64/*: Removed.
2882 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2883 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2884
dcc9756b
UD
2885 [BZ #13555]
2886 * configure.in: Remove entries for unsupported architectures.
2887
d3761ebc 2888 [BZ #13533]
9954432e
UD
2889 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2890 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2891 routines.
2892 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2893 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2894 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2895 fall back to using wcrtomb.
2896 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2897 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2898 renaming.
2899 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2900 * wcsmbs/tst-c16c32-1.c: New file.
2901
2902 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2903 local variable.
2904
c3a87236
UD
2905 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2906
28926a1b
UD
2907 * elf/tst-unique3.cc: Add explicit declaration of gets.
2908 * elf/tst-unique3lib.cc: Likewise.
2909 * elf/tst-unique3lib2.cc: Likewise.
2910 * elf/tst-unique4.cc: Likewise.
2911
df78418a
UD
2912 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2913
8ecd6b2a
JM
29142012-01-06 Joseph Myers <joseph@codesourcery.com>
2915
2916 [BZ #13566]
2917 * assert/assert.h (static_assert): Don't define for C++.
2918 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2919 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2920
9f115170
UD
29212012-01-03 Ulrich Drepper <drepper@gmail.com>
2922
5e0d0300
UD
2923 * iconv/loop.c (single loop): Fix assertion in storing of
2924 remaining bytes.
2925
9f115170
UD
2926 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2927
81fb02b0
UD
29282012-01-01 Ulrich Drepper <drepper@gmail.com>
2929
2930 * posix/getconf.c: Update copyright year.
2931 * nss/getent.c: Likewise.
a316c1f6 2932 * nss/makedb.c: Likewise.
81fb02b0
UD
2933 * iconv/iconvconfig.c: Likewise.
2934 * iconv/iconv_prog.c: Likewise.
2935 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2936 * elf/pldd.c: Likewise.
2937 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2938 * catgets/gencat.c: Likewise.
2939 * csu/version.c: Likewise.
2940 * elf/ldd.bash.in: Likewise.
2941 * elf/sprof.c (print_version): Likewise.
2942 * locale/programs/locale.c: Likewise.
2943 * locale/programs/localedef.c: Likewise.
a316c1f6 2944 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2945 * nscd/nscd.c (print_version): Likewise.
2946 * debug/xtrace.sh: Likewise.
2947 * malloc/memusage.sh: Likewise.
2948 * malloc/mtrace.pl: Likewise.
2949 * debug/catchsegv.sh: Likewise.
2950
2ba92745
JJ
29512011-12-30 Jakub Jelinek <jakub@redhat.com>
2952
2953 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2954 pure attribute.
2955
dadebdae
UD
29562011-12-24 Ulrich Drepper <drepper@gmail.com>
2957
d3761ebc 2958 [BZ #13533]
db6af3eb
UD
2959 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2960 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2961 transformations.
2962 * iconv/gconv_int.h: Likewise.
2963 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2964 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2965 from libc for GLIBC_2.16.
2966 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2967 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2968 * wcsmbs/uchar.h: Really define mbstate_t.
2969 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2970 * wcsmbs/c16rtomb.c: New file.
2971 * wcsmbs/mbrtoc16.c: New file.
2972 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2973 for C/POSIX locale.
2974 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2975 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2976
dadebdae
UD
2977 * wcsmbs/wchar.h: Add missing __restrict.
2978
67371b56
UD
29792011-12-23 Ulrich Drepper <drepper@gmail.com>
2980
74033a25
UD
2981 [BZ #13532]
2982 * time/Makefile (routines): Add timespec_get.
2983 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2984 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2985 timespec for ISO C11.
2986 * time/timespec_get.c: New file.
2987 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2988 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2989
380d7e87
UD
2990 [BZ #13531]
2991 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2992 * stdlib/stdlib.h: Declare aligned_alloc.
2993 * Versions.def: Add GLIBC_2.16 for libc.
2994 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2995
4e9e7a35
UD
2996 [BZ 13527]
2997 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2998 ISO C11.
2999
380d7e87 3000 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3001 code.
3002
03a71829
UD
3003 [BZ #13528]
3004 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3005
839e283e
UD
3006 [BZ #13529]
3007 * assert/assert.h (static_assert): Define.
3008
ce5294e2 3009 * version.h: Update for 2.16 development version.
90fa7312 3010
8d44e150 3011 [BZ #13526]
d7809905
UD
3012 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3013 _ISOC11_SOURCE.
3014
c0da14cd
UD
3015 * version.h (RELEASE): Bump for 2.15 release.
3016 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3017
530a3249
MP
3018 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3019 Patch by Marek Polacek <mpolacek@redhat.com>.
3020
67371b56
UD
3021 * bits/byteswap.h: Protect long long constants with __extension__.
3022 * sysdeps/i386/bits/byteswap.h: Likewise.
3023 * sysdeps/ia64/bits/byteswap.h: Likewise.
3024 * sysdeps/s390/bits/byteswap.h: Likewise.
3025 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3026
15db4de1
LD
30272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3028
3029 [BZ #13540]
bbe315ea
LD
3030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3031 destination buffer.
15db4de1
LD
3032 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3033
2b2596b1
MP
30342011-12-23 Marek Polacek <polacek@redhat.com>
3035
3036 * elf/dl-addr.c (determine_info): Add inline keyword.
3037 * elf/tst-auditmod4b.c (check_avx): Likewise.
3038 * elf/tst-auditmod6b.c (check_avx): Likewise.
3039 * elf/tst-auditmod6c.c (check_avx): Likewise.
3040 * elf/tst-auditmod7b.c (check_avx): Likewise.
3041
70c6c246
UD
30422011-12-23 Ulrich Drepper <drepper@gmail.com>
3043
3044 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3045 !__SSE_MATH__.
3046
c044cf14
LD
30472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3048
15db4de1 3049 [BZ #13540]
c044cf14
LD
3050 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3051 processing for last bytes.
3052
6b13d9d9
BH
30532011-08-06 Bruno Haible <bruno@clisp.org>
3054
d455f537
BH
3055 [BZ #13061]
3056 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3057 U+0385, not to U+1FEE.
3058
6b13d9d9
BH
3059 [BZ #13062]
3060 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3061 entry for U+00A5 U+0301.
3062
db910efd
UD
30632011-12-22 Ulrich Drepper <drepper@gmail.com>
3064
27deeafc
UD
3065 [BZ #13166]
3066 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3067 buffer for the output is too small.
3068
aed9d171
UD
3069 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3070 optimization.
3071
db910efd
UD
3072 [BZ #13185]
3073 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3074 SSE flags if possible.
3075
2bd779ae
LD
30762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3077
e7f9dac3 3078 [BZ #13540]
2bd779ae
LD
3079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3080 processing for last bytes.
3081
154bfc16
JM
30822011-12-22 Joseph Myers <joseph@codesourcery.com>
3083
3084 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3085 (syscall-list-default-options, syscall-list-default-condition)
3086 (syscall-list-includes): Define.
3087 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3088 list of ABIs and options and #if conditions for each ABI. Do not
3089 handle common syscalls between ABIs specially.
3090 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3091 Remove.
3092 (syscall-list-variants, syscall-list-32bit-options)
3093 (syscall-list-32bit-condition, syscall-list-64bit-options)
3094 (syscall-list-64bit-condition): Define.
3095 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3096 (syscall-list-variants, syscall-list-32bit-options)
3097 (syscall-list-32bit-condition, syscall-list-64bit-options)
3098 (syscall-list-64bit-condition): Define.
3099 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3100 Remove.
3101 (syscall-list-variants, syscall-list-32bit-options)
3102 (syscall-list-32bit-condition, syscall-list-64bit-options)
3103 (syscall-list-64bit-condition): Define.
3104 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3105 Remove.
3106 (syscall-list-variants, syscall-list-32bit-options)
3107 (syscall-list-32bit-condition, syscall-list-64bit-options)
3108 (syscall-list-64bit-condition): Define.
3109
21eaf3a5
UD
31102011-12-22 Ulrich Drepper <drepper@gmail.com>
3111
16c6f992
UD
3112 * locale/iso-639.def: Add brx entry.
3113
41043168
UD
3114 [BZ #13328]
3115 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3116 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3117
21eaf3a5
UD
3118 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3119 __feraiseexcept_renamed.
3120
e3a851a2
UD
31212011-12-21 Ulrich Drepper <drepper@gmail.com>
3122
4920765e
UD
3123 [BZ #13538]
3124 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3125 EPOLLET with unsigned values.
3126 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3127 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3128
e3a851a2
UD
3129 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3130 to large cancellation.
3131 * math/s_cacoshf.c: Likewise.
3132 * math/s_cacoshl.c: Likewise.
3133
b27e24b8
RK
31342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3135
3136 [BZ #13305]
aebefeee 3137 [BZ #12786]
b27e24b8
RK
3138 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3139 * math/s_cacoshf.c: Likewise.
3140 * math/s_cacoshl.c: Likewise.
3141
ee190f67
UD
31422011-12-21 Ulrich Drepper <drepper@gmail.com>
3143
3144 [BZ #13439]
3145 * iconv/gconv.h: Define __GCONV_SWAP.
3146 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3147 * iconvdata/utf-16.c: Likewise.
3148 * iconvdata/utf-32.c: Likewise.
3149
707f25df
AS
31502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3151
3152 [BZ #13524]
3153 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3154 numerator after shifting it by one limb.
3155
d2daaa1e
RÁE
31562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3157
3158 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3159 under [__USE_EXTERN_INLINES].
3160
a4647e72
UD
31612011-12-17 Ulrich Drepper <drepper@gmail.com>
3162
3163 [BZ #13446]
3164 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3165
f0b264f1
AZ
31662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167
3168 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3169 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3170 optimized code.
3171 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3172 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3173 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3174 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3175 for strncasecmp/strncasecmp_l compilation.
3176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3177 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3178
8ef4f244
MP
31792011-12-08 Marek Polacek <mpolacek@redhat.com>
3180
3181 [BZ #13484]
3182 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3183 of __asm__.
3184
97ac2654
UD
31852011-12-17 Ulrich Drepper <drepper@gmail.com>
3186
3187 [BZ #13506]
3188 * time/tzfile.c (__tzfile_read): Check values from file header.
3189
91d2a845
WS
31902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3191
3192 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3193 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3194 * powerpc/powerpc32/dl-start.S: Likewise.
3195 * powerpc/powerpc32/elf/start.S: Likewise.
3196 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3197 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3198 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3199 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3200 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3201 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3202 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3203 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3204 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3205 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3206 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3207 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3208 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3209 * powerpc/powerpc32/memset.S: Likewise.
3210 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3211 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3212 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3213 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3214 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3215 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3216 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3217 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3218 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3219 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3220 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3221 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3222 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3223
a1267ba1
AZ
32242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3225
3226 * math/libm-test.inc: Added more nearbyint tests.
3227 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3228 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3229 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3231
ad8ac1bd
RL
32322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3233
3234 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3235 FD_CLOEXEC.
3236
1d3e4b61
UD
32372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3238
3239 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3240 Add wcscpy-ssse3 wcscpy-c.
3241 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3242 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3243 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3244 * sysdeps/x86_64/wcschr.S: New file.
3245 * sysdeps/x86_64/wcsrchr.S: New file.
3246 * string/test-strcmp.c: Remove checking of wcscmp function for
3247 wrong alignments.
3248 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3249 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3250 wcsrchr-sse2 wcsrchr-c.
3251 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3252 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3253 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3254 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3255 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3256 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3257 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3258 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3259 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3260 * wcsmbc/wcschr.c (WCSCHR): New macro.
3261
5b330a2d
UD
32622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3263
3264 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3265 * wcsmbs/test-wcsrchr.c: New file.
3266 * string/test-strrchr.c: Add wcsrchr support.
3267 (WIDE): New macro.
3268 * wcsmbs/test-wcscpy.c: New file.
3269 * string/test-strcpy.c: Add wcscpy support.
3270 (WIDE): New macro.
26428b7c 3271
f039c043
UD
32722011-12-10 Ulrich Drepper <drepper@gmail.com>
3273
3274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3275 the inner loop.
3276
850fb039
AS
32772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3278
3279 [BZ #13472]
3280 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3281
4efbd5cb
UD
32822011-12-04 Ulrich Drepper <drepper@gmail.com>
3283
52ff5dd0 3284 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3285 Minor optimizations.
52ff5dd0 3286
4efbd5cb
UD
3287 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3288 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3289 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3290
8a426e12
UD
32912011-12-03 Ulrich Drepper <drepper@gmail.com>
3292
aff2453d
UD
3293 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3294 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3295 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3296 for gcc to avoid warnings.
3297 * inet/Makefile (tests): Add tst-checks.
3298 * inet/tst-checks.c: New file.
3299
3300 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3301 warning.
3302
3303 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3304 __wmemcmp_sse2.
3305
3306 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3307 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3308
8a426e12
UD
3309 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3310
9bea3473
UD
33112011-12-02 Ulrich Drepper <drepper@gmail.com>
3312
3a965496
UD
3313 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3314 problem.
3315
9bea3473
UD
3316 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3317
f101631b
UD
33182011-11-29 Joseph Myers <joseph@codesourcery.com>
3319
3320 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3321 conditional on GCC version.
3322 (__arch_compare_and_exchange_val_8_acq)
3323 (__arch_compare_and_exchange_val_16_acq)
3324 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3325 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3326 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3327
a98275aa
UD
33282011-12-02 Joseph Myers <joseph@codesourcery.com>
3329
3330 * sysdeps/sh/backtrace.c: New file.
3331
d4cc29a2
AS
33322011-12-02 Andreas Schwab <schwab@redhat.com>
3333
3334 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3335 parenthesis.
3336
6257af2d
AS
33372011-12-01 Andreas Schwab <schwab@redhat.com>
3338
3339 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3340 falling back to utime.
3341
b5f44c1a
AS
33422011-11-30 Andreas Schwab <schwab@redhat.com>
3343
3344 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3345 expectations for float.
3346
f3a6cc0a
AS
33472011-11-29 Andreas Schwab <schwab@redhat.com>
3348
3349 * locale/weight.h (findidx): Add parameter len.
3350 * locale/weightwc.h (findidx): Likewise.
3351 * posix/fnmatch_loop.c (FCT): Adjust caller.
3352 * posix/regcomp.c (build_equiv_class): Likewise.
3353 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3354 * posix/regexec.c (check_node_accept_bytes): Likewise.
3355 * string/strcoll_l.c (STRCOLL): Likewise.
3356 * string/strxfrm_l.c (STRXFRM): Likewise.
3357
9d65ea3a
UD
33582011-11-17 Ulrich Drepper <drepper@gmail.com>
3359
3360 * Makefile.in: Remove CVSOPT handling.
3361 * configure.in: Remove use of AC_REVISION.
3362 * iconvdata/Makefile (distribute): No need to filter out CVS.
3363 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3364 handling.
3365
5583a086
AS
33662011-11-16 Andreas Schwab <schwab@redhat.com>
3367
3368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3369 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3370 [USE_AS_STRNCASECMP_L]: Likewise.
3371 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3372 NO_TLS_DIRECT_SEG_REFS.
3373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3374 Fix argument offsets for non-PIC.
3375 [USE_AS_STRNCASECMP_L]: Likewise.
3376 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3377 NO_TLS_DIRECT_SEG_REFS.
3378
d62a8200
UD
33792011-11-15 Ulrich Drepper <drepper@gmail.com>
3380
9d65ea3a 3381 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3382 O_CLOEXEC.
3383 * locale/loadlocale.c (_nl_load_locale): Likewise.
3384
09f93bd3
AS
33852011-11-15 Andreas Schwab <schwab@redhat.com>
3386
446514f9
AS
3387 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3388 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3389 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3390 (SYSCALL_GETTIME): Set errno on error.
3391
09f93bd3
AS
3392 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3393 count references to noai6ai_cached.
3394
312be3f9
UD
33952011-11-15 Ulrich Drepper <drepper@gmail.com>
3396
3397 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3398
3399 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3400 FD_CLOEXEC for /proc/self/maps.
3401
3402 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3403 FD_CLOEXEC for /proc/meminfo.
3404
3405 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3406 gai.conf.
3407
3408 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3409 FD_CLOEXEC for given file.
3410
3411 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3412
3413 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3414 FD_CLOEXEC for /etc/hosts.
3415 (_gethtent): Likewise.
3416
3417 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3418
3419 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3420 cancellation and set FD_CLOEXEC for /etc/netgroup.
3421
3422 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3423 reading /etc/publickey.
3424
3425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3426 allow cancellation when reading /etc/group.
3427
3428 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3429 cancellation.
3430 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3431
3432 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3433 when using data file.
3434
3435 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3436
3437 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3438 (write_nis_obj): Use "c" and "e" in fopen.
3439
3440 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3441
3442 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3443
3444 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3445
3446 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3447
3448 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3449 locale.alias.
3450
3451 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3452
3453 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3454
3455 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3456
3457 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3458 file parsing and set FD_CLOEXEC.
3459
82af0fa8
UD
34602011-11-14 Ulrich Drepper <drepper@gmail.com>
3461
3462 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3463
a5fb313c
AS
34642011-11-14 Andreas Schwab <schwab@redhat.com>
3465
3466 * malloc/arena.c (arena_get2): Don't call reused_arena when
3467 _int_new_arena failed.
3468
6abf3465
UD
34692011-11-14 Ulrich Drepper <drepper@gmail.com>
3470
3471 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3472 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3474 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3477 to compile strcasecmp and strncasecmp.
3478 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3479 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3480
3481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3482
76e3966e
UD
34832011-11-13 Ulrich Drepper <drepper@gmail.com>
3484
3485 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3486 locale-defines.sym to gen-as-const-headers.
3487 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3488 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3490 to compile strcasecmp and strncasecmp.
3491 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3492 strcasecmp_l and strncasecmp_l.
3493 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3494 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3495 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3496 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3497 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3498 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3499 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3500 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3501 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3502 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3503 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3504
ab26144e
UD
35052011-11-12 Ulrich Drepper <drepper@gmail.com>
3506
7edb22ef
UD
3507 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3508 result of SYSDEP_GETTIME_CPU to retval.
3509 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3510 parameter list to macro. Remove trailing semicolon. Adjust users.
3511
9694fc44
UD
3512 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3513 variable.
3514
8ad89ef8
UD
3515 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3516 mantissa words.
3517 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3518
0c822ef9
UD
3519 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3520 from unused variable.
3521
874e0564
UD
3522 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3523 DWARF definitions.
3524 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3525 for assembling.
3526
3a2edc79
UD
3527 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3528 over namespaces.
3529
f3c2577f
UD
3530 * sunrpc/rpc_prot.c (rejected): Fix case value.
3531
294ce126
UD
3532 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3533 unsigned long long int to avoid warnings in shift.
3534
5e2b63c6
UD
3535 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3536 of use of trans.
3537 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3538 variable tmp.
3539
e7f4b08e
UD
3540 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3541 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3542 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3543
ab26144e
UD
3544 * nis/nis_table.c (nis_list): Use variable of correct type for
3545 result of __follow_path call.
3546
8a6d5255
AZ
35472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3550 of math functions ceil, trunc, floor, round, and sqrt, when
3551 avaliable on the platform.
3552 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3553 name clash.
3554 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3555 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3556 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3557
aaddc98c
MP
35582011-10-30 Marek Polacek <mpolacek@redhat.com>
3559
3560 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3561 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3562
95b7042b
RM
35632011-11-11 Roland McGrath <roland@hack.frob.com>
3564
3565 * include/unistd.h: Fix __readlink return type.
3566 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3567
57769839
UD
35682011-11-11 Ulrich Drepper <drepper@gmail.com>
3569
3570 * stdlib/ucontext.h: Undo last change for makecontext.
3571
edc5984d
AS
35722011-11-11 Andreas Schwab <schwab@redhat.com>
3573
98591e58
AS
3574 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3575
edc5984d
AS
3576 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3577 * setjmp/setjmp.h: Mark functions as non-leaf.
3578 * setjmp/bits/setjmp2.h: Likewise.
3579 * stdlib/ucontext.h: Likewise.
3580
77cdc054
AS
35812011-11-10 Andreas Schwab <schwab@redhat.com>
3582
3583 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3584 (reused_arena): Don't check arena limit.
3585 (arena_get2): Atomically check arena limit.
3586
fe72eebd
UD
35872011-11-08 Ulrich Drepper <drepper@gmail.com>
3588
5f078c32
UD
3589 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3590 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3591
fe72eebd
UD
3592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3593 instructions.
3594
ae1bc2fa
AS
35952011-11-07 Andreas Schwab <schwab@redhat.com>
3596
7583a88d
AS
3597 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3598 handler when locking.
3599
ae1bc2fa
AS
3600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3601 Fix size of allocated buffer.
3602
10fb0bfa
AS
36032011-11-04 Andreas Schwab <schwab@redhat.com>
3604
998832a4
AS
3605 [BZ #10103]
3606 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3607 declarations for long double functions.
3608 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3609
10fb0bfa
AS
3610 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3611
3d7ba52b
AS
36122011-11-03 Andreas Schwab <schwab@redhat.com>
3613
a9ae54a1
AS
3614 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3615 installed.
3616
3d7ba52b
AS
3617 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3618 is disabled.
3619
bc8db248
ST
36202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3621
3622 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3623
45b96dd6
AS
36242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3625
647776f6
AS
3626 * include/alloca.h (stackinfo_alloca_round): Define.
3627 (extend_alloca): Use it.
3628 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3629 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3630 here.
3631
d91a8b93
AS
3632 * scripts/check-local-headers.sh: Ignore libaudit.h.
3633
45b96dd6
AS
3634 * nscd/Makefile (extra-objs): Make recursively expanded.
3635
432d41ce
UD
36362011-11-01 Ulrich Drepper <drepper@gmail.com>
3637
34372fc6
UD
3638 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3640
fadb59f8
UD
3641 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3642 * posix/tst-rfc3484-2.c: Likewise.
3643 * posix/tst-rfc3484-3.c: Likewise.
3644
78239589
UD
3645 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3646 process_vm_writev.
3647 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3648 process_vm_writev.
3649 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3650 process_vm_writev from libc using GLIBC_2.15 version.
3651
432d41ce
UD
3652 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3653
02f9c6cf
PP
36542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3655
3656 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3657 stack usage.
3658
3a2c0242
UD
36592011-10-31 Ulrich Drepper <drepper@gmail.com>
3660
f4ec4833
UD
3661 [BZ #13367]
3662 * nss/getent.c (initgroups_keys): Show error message in case no group
3663 names are given.
3664
3a2c0242
UD
3665 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3666 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3667 __bump_nl_timestamp.
3668 * nscd/connections (nscd_init): When host database is served open
3669 netlink socket and request notification about configuration changes.
3670 (main_loop_poll): Track netlink file descriptor and bump timestamp
3671 in case data becomes available.
3672 (main_loop_epoll): Likewise.
3673 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3674 (database_pers_head): Add extra_data fileds.
3675 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3676 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3677 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3678 Adjust caller.
3679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3680 in6ai data, call __free_in6ai.
3681 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3682 Add -DHAVE_NETLINK.
3683 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3684 interface information. Reuse previous data if netlink timestamp
3685 is not changed.
3686 (__bump_nl_timestamp): New function.
3687 (__free_in6ai): New function.
3688
636064eb
UD
36892011-10-30 Ulrich Drepper <drepper@gmail.com>
3690
3691 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3692 close_not_cancel_no_status here.
3693 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3694
9beb2334
UD
36952011-10-29 Ulrich Drepper <drepper@gmail.com>
3696
6ef76f3b
UD
3697 [BZ #13276]
3698 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3699 return value.
3700
0ffc4f3e 3701 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3702 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3703 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3704
cb95113e
UD
37052011-07-03 Andreas Jaeger <aj@suse.de>
3706
3707 [BZ #10709]
3708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3709 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3710 * math/libm-test.inc (sin_test): Add test case.
3711
a1b560ff
UD
37122011-10-29 Ulrich Drepper <drepper@gmail.com>
3713
c9aaface
UD
3714 [BZ #13337]
3715 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3716 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3717
d272e7f1
UD
3718 * elf/chroot_canon.c (chroot_canon): Cleanups.
3719
1bc33071
UD
3720 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3721
1760874d
TJ
3722 [BZ #13335]
3723 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3724 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3725
51d91b18
UD
3726 * string/test-strchr.c: Make usable for strchrnul testing.
3727 * string/test-strchrnul.c: New file.
3728 * string/Makefile (strop-tests): Add strchrnul.
3729
a1b560ff 3730 * po/it.po: Update from translation team.
b611fb81 3731 * po/es.po: Likewise.
a1b560ff 3732
a5b81e1f
UD
37332011-10-28 Ulrich Drepper <drepper@gmail.com>
3734
fd52bc6d
UD
3735 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3736 the three constants needed as parameters. Drop the others.
3737 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3738 __m128i_strloadu_tolower.
52e4b9eb
UD
3739 Create and initialize variable zero and use it in all the places
3740 where _mm_setzero_si128 was used.
fd52bc6d 3741
a5b81e1f
UD
3742 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3743 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3744 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3745 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3746 anymore.
3747 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3748 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3749 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3750 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3752 __mpranred, __mptan.
3753 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3754 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3755 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3756 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3757 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3758 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3760 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3761 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3762
b4343346
AS
37632011-10-28 Andreas Schwab <schwab@redhat.com>
3764
0c92d8a8
AS
3765 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3766 redefine if SHARED.
3767 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3768
b4343346
AS
3769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3770 wide char related routines to wcsmbs subdir.
3771
3871f58f
AS
37722011-10-27 Andreas Schwab <schwab@redhat.com>
3773
3774 [BZ #13344]
3775 * misc/sys/cdefs.h (__THROWNL): Define.
3776 * posix/unistd.h: Use __THREADNL instead of __THREAD
3777 for memory synchronization functions.
3778
94d44d9f
RM
37792011-10-26 Roland McGrath <roland@hack.frob.com>
3780
21b64b15 3781 [BZ #13349]
94d44d9f
RM
3782 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3783 doesn't exist.
3784 * manual/stdio.texi (Obstack Streams): Node removed.
3785
f6ce9294
AS
37862011-10-26 Andreas Schwab <schwab@redhat.com>
3787
80479147
AS
3788 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3789 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3790 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3791
f6ce9294
AS
3792 * math/math_private.h (math_force_eval): Allow non-addressable
3793 arguments.
3794 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3795
618280a1
UD
37962011-10-25 Ulrich Drepper <drepper@gmail.com>
3797
e0016b11
UD
3798 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3799 file is not needed.
3800
3801 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3803 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3804 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3805 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3808 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3809 Add AVX variants.
3810 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3811 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3812 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3813 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3814 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3815 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3816 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3818 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3819 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3820 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3821 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3822 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3823 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3824 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3825 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3826 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3827 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3828 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3829
3830 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3831 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3832
618280a1
UD
3833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3834 place. Use VEX encoding when compiling for AVX.
3835
37822576
AS
38362011-10-25 Andreas Schwab <schwab@redhat.com>
3837
1f1e1947
AS
3838 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3839 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3840
37822576
AS
3841 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3842
31ea014d
UD
38432011-10-25 Ulrich Drepper <drepper@gmail.com>
3844
d7826aa1 3845 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3846 useless if() expression.
d7826aa1
UD
3847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3857 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3858 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3860 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3861 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3862 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3863 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3865 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3866
31ea014d
UD
3867 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3868
16437fec
AS
38692011-10-25 Andreas Schwab <schwab@redhat.com>
3870
3871 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3872 condition.
3873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3874
31d3cc00
UD
38752011-10-25 Ulrich Drepper <drepper@gmail.com>
3876
3877 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3878 .text section. Avoid duplicate constants.
3879 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3889 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3891 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3894 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3896 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3903 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3904 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3905 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3906 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3911 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3917 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3918 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3920 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3921 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3922 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3923 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3924
58985aa9
UD
39252011-10-24 Ulrich Drepper <drepper@gmail.com>
3926
202c9deb
UD
3927 * sysdeps/x86_64/dla.h: Move to ...
3928 * sysdeps/x86_64/fpu/dla.h: ...here.
3929 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3930 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3931
af968f62
UD
3932 * config.make.in: Add have-mfma4 entry.
3933 * configure.in: Substitute libc_cv_cc_fma4.
3934 * math/Makefile (dbl-only-routines): Add sincostab.
3935 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3936 Use __sincostab not sincos.
3937 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3938 name is a macro.
3939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3943 using __copysign.
3944 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3945 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3946 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3947 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3948 and __inv.
3949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3950 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3951 __copysign.
3952 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3953 define aliases when function name is a macro.
3954 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3955 sysdeps/ieee754/dbl-64/sincos.tbl.
3956 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3957 fma4-enabled routines.
3958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3959 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3960 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3961 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3962 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3963 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3964 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3967 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3968 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3969 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3970 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3971 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3973 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3974 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3975 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3976 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3978 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3979 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3981 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3982 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3983 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3984 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3985 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3986 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3987 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3988
58985aa9
UD
3989 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3990 rename.
3991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3999
a201fbcf
AS
40002011-10-24 Andreas Schwab <schwab@redhat.com>
4001
4002 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4003
fc2ee42a
LD
40042011-10-23 Ulrich Drepper <drepper@gmail.com>
4005
bb3129bd
UD
4006 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4007
0275fff8
UD
4008 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4009 prediction.
4010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4011
2fa2ae85
UD
4012 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4013 Remove unused variable magic_bits.
4014 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4015
fc2ee42a
LD
4016 * string/strnlen.c: Define and use STRNLEN macro.
4017 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4018 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4020 * wcsmbs/wcslen.c: Define and use WCSLEN.
4021 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4022 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4023 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4024 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4025 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4026 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4027 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4028
ce7dd29f
LD
40292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4030
4031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4032 strnlen-sse2-no-bsf.
4033 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4035 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4036 Add strnlen support.
4037 (USE_AS_STRNLEN): New macro.
4038 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4039 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4040 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4041 * sysdeps/x86_64/wcslen.S: New file.
4042
979c70a3
MZ
40432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4044
4045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4046 XMM-moves are used for copying on small sizes.
4047
2d09f82f
LD
40482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4049
4050 * wcsmbs/Makefile (strop-tests): Add wcschr.
4051 * wcsmbs/test-wcschr.c: New file.
4052 * string/test-strchr.c: Update.
4053 Add wcschr support.
4054 (WIDE): New macro.
4055
619fccca
LD
40562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4057
2d09f82f 4058 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4059 * wcsmbs/test-wcslen.c: New file.
4060 * string/test-strlen.c: Update.
4061 Add wcslen support.
4062 (WIDE): New macro.
4063
09f699ea
UD
40642011-10-23 Ulrich Drepper <drepper@gmail.com>
4065
4066 * po/it.po: Update from translation team.
4067
95584d3b
LD
40682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4069
4070 * sysdeps/x86_64/wcscmp.S: Update.
4071 Fix wrong comparison semantics.
4072 wcscmp shall use signed comparison not unsigned.
4073 Don't use substraction to avoid overflow bug.
4074 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4075 * wcsmbc/wcscmp.c: Likewise.
4076 * string/test-strcmp.c: Likewise.
4077 Add new tests to check cases with negative values.
4078
c8b3296b
UD
40792011-10-23 Ulrich Drepper <drepper@gmail.com>
4080
4081 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4082 * sysdeps/x86_64/dla.h: ...here. New file.
4083 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4092
246ad57a
AS
40932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4094
4095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4096 __ynl_finite aliases.
4097
a1a87169
UD
40982011-10-22 Ulrich Drepper <drepper@gmail.com>
4099
0d355eb7
UD
4100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4101
a1a87169
UD
4102 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4103 define DLA_FMA.
4104 [DLA_FMA] (EMULV): Use DLA_FMA.
4105 [DLA_FMA] (MUL12): Use EMULV.
4106 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4107 that are not needed.
4108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4115
ee2aafe0
AS
41162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4117
4118 * math/s_nan.c: Undef __nan.
4119 * math/s_nanf.c: Undef __nanf.
4120 * math/s_nanl.c: Undef __nanl.
4121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4122 "math_private.h".
4123
bc62c2fb
UD
41242011-10-22 Ulrich Drepper <drepper@gmail.com>
4125
77425c63
UD
4126 * math/s_catan.c: Add branch predictions.
4127 * math/s_catanf.c: Likewise.
4128 * math/s_catanh.c: Likewise.
4129 * math/s_catanhf.c: Likewise.
4130 * math/s_catanhl.c: Likewise.
4131 * math/s_catanl.c: Likewise.
4132 * math/s_cexp.c: Likewise.
4133 * math/s_cexpf.c: Likewise.
4134 * math/s_cexpl.c: Likewise.
4135 * math/s_clog.c: Likewise.
4136 * math/s_clog10.c: Likewise.
4137 * math/s_clog10f.c: Likewise.
4138 * math/s_clog10l.c: Likewise.
4139 * math/s_clogf.c: Likewise.
4140 * math/s_clogl.c: Likewise.
4141 * math/s_csqrt.c: Likewise.
4142 * math/s_csqrtf.c: Likewise.
4143 * math/s_csqrtl.c: Likewise.
4144 * math/s_ctanf.c: Likewise.
4145 * math/s_ctanh.c: Likewise.
4146 * math/s_ctanhf.c: Likewise.
4147 * math/s_ctanhl.c: Likewise.
4148 * math/s_ctanl.c: Likewise.
4149
bc62c2fb
UD
4150 * math/math_private.h: Define __nan, __nanf, __nanl.
4151 * math/s_cacosh.c: Include <math_private.h>.
4152 * math/s_cacoshl.c: Likewise.
4153 * math/s_casinh.c: Likewise.
4154 * math/s_casinhf.c: Likewise.
4155 * math/s_casinhl.c: Likewise.
4156 * math/s_ccos.c: Rely entire on ccosh.
4157 * math/s_ccosf.c: Rely entire on ccoshf.
4158 * math/s_ccosl.c: Rely entirely on ccoshl.
4159 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4160 Remove tests for FE_INVALID.
4161 * math/s_ccoshf.c: Likewise.
4162 * math/s_ccoshl.c: Likewise.
4163 * math/s_csin.c: Likewise.
4164 * math/s_csinf.c: Likewise.
4165 * math/s_csinh.c Likewise.
4166 * math/s_csinhf.c: Likewise.
4167 * math/s_csinhl.c: Likewise.
4168 * math/s_csinl.c: Likewise.
4169 * math/s_ctan.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4171 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4172 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4173
8ec250a4
UD
41742011-10-21 Ulrich Drepper <drepper@gmail.com>
4175
c196fed8
UD
4176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4177 compilation problems.
4178
8ec250a4
UD
4179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4180 __builtin_expect.
4181
8d4f46c6
UD
41822011-10-20 Ulrich Drepper <drepper@gmail.com>
4183
ed72b654
UD
4184 * sysdeps/i386/configure.in: Test for -mfma4 option.
4185 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4186 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4187 COMMON_CPUID_INDEX_80000001.
4188 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4189 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4190 use it if FMA3 is not supported.
4191 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4192
8d4f46c6
UD
4193 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4194 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4195
d45c60c2
AS
41962011-10-20 Andreas Schwab <schwab@redhat.com>
4197
4198 [BZ #12892]
4199 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4200 it would create a cycle with a link time dependency.
4201
d9a4d2ab
UD
42022011-10-19 Ulrich Drepper <drepper@gmail.com>
4203
855d1560
UD
4204 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4205 instruction.
4206 * string/Makefile (strop-tests): Add rawmemchr.
4207 * string/test-rawmemchr.c: New file.
4208
d9a4d2ab
UD
4209 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4210 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4211 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4212 when compiling str{,n}casecmp and when AVX is available. Hook up
4213 new optimized code in initializers.
4214
8f3b1ffe
AS
42152011-10-19 Andreas Schwab <schwab@redhat.com>
4216
4217 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4218 __feraiseexcept instead of feraiseexcept.
4219
d38f1dba
UD
42202011-10-18 Ulrich Drepper <drepper@gmail.com>
4221
d9a8d0ab
UD
4222 * math/math_private.h: Define defaults for libc_fetestexcept and
4223 libc_feupdateenv.
4224 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4225 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4227 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4228 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4229 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4230 libc_fetestexcept and libc_feupdateenv.
4231
4855e3dd
UD
4232 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4233 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4234 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4235 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4236 libc_feholdexcept_setround.
4237
581d30e3
UD
4238 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4239 Add s_nearbyint-c and s_nearbyintf-c.
4240 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4241 nearbyintf inlines.
4242 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4243 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4244 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4245 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4246
d38f1dba
UD
4247 * math/math_private.h: Define defaults for libc_fegetround,
4248 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4249 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4250 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4252 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4253 standard functions.
4254 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4255 Remove comments and hacks for old compiler versions.
4256 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4257 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4258 libc_feholdexceptl.
4259
caa6c9d8
AS
42602011-10-18 Andreas Schwab <schwab@redhat.com>
4261
4262 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4263 (__feraiseexcept_renamed): Add __NTH.
4264 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4265 namespace violations.
4266
97c066e6
UD
42672011-10-17 Ulrich Drepper <drepper@gmail.com>
4268
99ce7b04
UD
4269 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4270
1004d182
UD
4271 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4272
228a984d
UD
4273 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4274 recently added interfaces.
4275 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4276
c8553a6a
UD
4277 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4278 about macro parameter expansion.
4279
ed22dcf6
UD
4280 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4281 __NO_MATH_INLINES is defined. Cleanups.
4282
4283 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4284 and __floorf is target has SSE4.1.
4285 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4286 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4287 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4288 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4289
b171c137
UD
4290 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4291 name.
4292 (floorf): Likewise.
4293
97c066e6
UD
4294 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4295
629f62ef
AS
42962011-10-17 Andreas Schwab <schwab@redhat.com>
4297
49a43d80
AS
4298 * misc/sys/cdefs.h: Fix last change.
4299
629f62ef
AS
4300 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4301 database lookup.
4302
e453f6cd
UD
43032011-10-16 Ulrich Drepper <drepper@gmail.com>
4304
aa78043a
UD
4305 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4306
ad0f5cad
UD
4307 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4316 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4317 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4318 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4319 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4320 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4321 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4322 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4323 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4324 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4325 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4326 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4327 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4328 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4329
4330 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4331 ceil, ceilf, floor, floorf.
4332
4333 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4334 Perform IRELATIVE relocations last.
4335
e453f6cd
UD
4336 * elf/do-rel.h: Add another parameter nrelative, replacing the
4337 local variable with the same name. Change name of the function
4338 to end in Rel or Rela (uppercase).
4339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4340 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4341 elf_dynamic_do_##reloc function.
4342
fd5bdc09
UD
43432011-10-15 Ulrich Drepper <drepper@gmail.com>
4344
79b195b5
UD
4345 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4346 is sufficient, at least on modern CPUs.
4347
d4a28569
UD
4348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4349
b61099b5
UD
4350 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4352
bcf01e6d
UD
4353 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4354 __expl_finite.
4355 * math/bits/math-finite.h: Add entries for exp.
4356 * math/e_expl.c: Add __*_finite alias.
4357 * sysdeps/i386/fpu/e_exp.S: Likewise.
4358 * sysdeps/i386/fpu/e_expf.S: Likewise.
4359 * sysdeps/i386/fpu/e_expl.c: Likewise.
4360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4361 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4365 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4366 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4367
ba1a0d59
UD
4368 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4369 is sufficient, at least on modern CPUs.
4370
fd5bdc09
UD
4371 * ctype/ctype-info.c (__ctype_init): Define.
4372 * include/ctype.h (__ctype_init): Declare.
4373 (__ctype_b_loc): The variable is always initialized.
4374 (__ctype_toupper_loc): Likewise.
4375 (__ctype_tolower_loc): Likewise.
4376 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4377 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4378
7872cfb0
AS
43792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4380
b468825a
AS
4381 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4382
7872cfb0
AS
4383 * configure.in: Also look in $cxxmachine/include for C++ system
4384 headers.
4385
be13f7bf
LD
43862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4387
4388 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4389 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4390 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4391 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4392 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4393 (USE_AS_WMEMCMP): New macro.
4394 Fixing indents.
4395 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4396 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4397 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4398 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4400 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4401 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4403 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4404 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4405 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4406 (USE_AS_WMEMCMP): New macro.
4407 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4408 * sysdeps/string/test-memcmp.c: Update.
4409 Fix simple_wmemcmp.
4410 Add new tests.
4411 * wcsmbs/wmemcmp.c: Update.
4412 (WMEMCMP): New macro.
4413 Fix overflow bug.
4414
556a2007
AJ
44152011-10-12 Andreas Jaeger <aj@suse.de>
4416
4417 [BZ #13268]
4418 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4419
538faaa7
UD
44202011-10-15 Ulrich Drepper <drepper@gmail.com>
4421
ab6737ff
UD
4422 * libio/iofwide.c (do_length): Avoid warning.
4423
538faaa7
UD
4424 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4425
396a21b1
UD
44262011-10-14 Ulrich Drepper <drepper@gmail.com>
4427
cdf2901f
UD
4428 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4429
38ad40ce
UD
4430 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4431 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4432 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4433 * sysdeps/i386/i686/fpu/e_log.S: New file.
4434 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4435 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4436
396a21b1
UD
4437 * ctype/ctype.h: Add support for inlined isXXX functions when
4438 compiling C++ code.
4439
6b1f68c9
AS
44402011-10-14 Andreas Schwab <schwab@redhat.com>
4441
349290c0
AS
4442 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4443
6b1f68c9
AS
4444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4445
f2282d42
RM
44462011-10-13 Roland McGrath <roland@hack.frob.com>
4447
4448 [BZ #13291]
4449 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4450
5298ffa8
AS
44512011-10-13 Andreas Schwab <schwab@redhat.com>
4452
714fad23
AS
4453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4454 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4455 feraiseexcept.
4456
81dcc7fb
AS
4457 * sysdeps/x86_64/memrchr.S: Check for zero size.
4458
5298ffa8
AS
4459 * string/stratcliff.c: Add memrchr tests.
4460
951fbcec
LD
44612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4462
4463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4464 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4465 rawmemchr-sse2 rawmemchr-sse2-bsf.
4466 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4467 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4468 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4469 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4470 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4471 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4472 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4473 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4474 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4475 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4476 * string/memrchr.c (MEMRCHR): New macro.
4477
0ac5ae23
UD
44782011-10-12 Ulrich Drepper <drepper@gmail.com>
4479
4480 Add integration with gcc's -ffinite-math-only and optimize wrapper
4481 functions in libm.
4482 * Versions.def: Define GLIBC_2.15 version for libm.
4483 * math/Makefile (headers): Add bits/math-finite.h.
4484 * math/bits/math-finite.h: New file.
4485 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4486 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4487 * math/e_acoshl.c: Add __*_finite alias.
4488 * math/e_acosl.c: Likewise.
4489 * math/e_asinl.c: Likewise.
4490 * math/e_atan2l.c: Likewise.
4491 * math/e_atanhl.c: Likewise.
4492 * math/e_coshl.c: Likewise.
4493 * math/e_exp10.c: Likewise.
4494 * math/e_exp10f.c: Likewise.
4495 * math/e_exp10l.c: Likewise.
4496 * math/e_exp2l.c: Likewise.
4497 * math/e_fmodl.c: Likewise.
4498 * math/e_gammal_r.c: Likewise.
4499 * math/e_hypotl.c: Likewise.
4500 * math/e_j0l.c: Likewise.
4501 * math/e_j1l.c: Likewise.
4502 * math/e_jnl.c: Likewise.
4503 * math/e_lgammal_r.c: Likewise.
4504 * math/e_log10l.c: Likewise.
4505 * math/e_log2l.c: Likewise.
4506 * math/e_logl.c: Likewise.
4507 * math/e_powl.c: Likewise.
4508 * math/e_sinhl.c: Likewise.
4509 * math/e_sqrtl.c: Likewise.
4510 * math/e_scalb.c: Completely rewritten and optimized.
4511 * math/e_scalbf.c: Likewise.
4512 * math/e_scalbl.c: Likewise.
4513 * math/w_acos.c: Likewise.
4514 * math/w_acosf.c: Likewise.
4515 * math/w_acosl.c: Likewise.
4516 * math/w_acosh.c: Likewise.
4517 * math/w_acoshf.c: Likewise.
4518 * math/w_acoshl.c: Likewise.
4519 * math/w_asin.c: Likewise.
4520 * math/w_asinf.c: Likewise.
4521 * math/w_asinl.c: Likewise.
4522 * math/w_atan2.c: Likewise.
4523 * math/w_atan2f.c: Likewise.
4524 * math/w_atan2l.c: Likewise.
4525 * math/w_atanh.c: Likewise.
4526 * math/w_atanhf.c: Likewise.
4527 * math/w_atanhl.c: Likewise.
4528 * math/w_exp10.c: Likewise.
4529 * math/w_exp10f.c: Likewise.
4530 * math/w_exp10l.c: Likewise.
4531 * math/w_fmod.c: Likewise.
4532 * math/w_fmodf.c: Likewise.
4533 * math/w_fmodl.c: Likewise.
4534 * math/w_j0.c: Likewise.
4535 * math/w_j0f.c: Likewise.
4536 * math/w_j0l.c: Likewise.
4537 * math/w_j1.c: Likewise.
4538 * math/w_j1f.c: Likewise.
4539 * math/w_j1l.c: Likewise.
4540 * math/w_jn.c: Likewise.
4541 * math/w_jnf.c: Likewise.
4542 * math/w_log.c: Likewise.
4543 * math/w_logf.c: Likewise.
4544 * math/w_logl.c: Likewise.
4545 * math/w_log10.c: Likewise.
4546 * math/w_log10f.c: Likewise.
4547 * math/w_log10l.c: Likewise.
4548 * math/w_log2.c: Likewise.
4549 * math/w_log2f.c: Likewise.
4550 * math/w_log2l.c: Likewise.
4551 * math/w_pow.c: Likewise.
4552 * math/w_powf.c: Likewise.
4553 * math/w_powl.c: Likewise.
4554 * math/w_remainder.c: Likewise.
4555 * math/w_remainderf.c: Likewise.
4556 * math/w_remainderl.c: Likewise.
4557 * math/w_scalb.c: Likewise.
4558 * math/w_scalbf.c: Likewise.
4559 * math/w_scalbl.c: Likewise.
4560 * math/w_sqrt.c: Likewise.
4561 * math/w_sqrtf.c: Likewise.
4562 * math/w_sqrtl.c: Likewise.
4563 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4564 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4565 used.
4566 * math/math_private.h: Declare __kernel_standard_f.
4567 * math/w_cosh.c: Remove cruft and optimize a bit.
4568 * math/w_coshf.c: Likewise.
4569 * math/w_coshl.c: Likewise.
4570 * math/w_exp2.c: Likewise.
4571 * math/w_exp2f.c: Likewise.
4572 * math/w_exp2l.c: Likewise.
4573 * math/w_hypot.c: Likewise.
4574 * math/w_hypotf.c: Likewise.
4575 * math/w_hypotl.c: Likewise.
4576 * math/w_lgamma.c: Likewise.
4577 * math/w_lgamma_r.c: Likewise.
4578 * math/w_lgammaf.c: Likewise.
4579 * math/w_lgammaf_r.c: Likewise.
4580 * math/w_lgammal.c: Likewise.
4581 * math/w_lgammal_r.c: Likewise.
4582 * math/w_sinh.c: Likewise.
4583 * math/w_sinhf.c: Likewise.
4584 * math/w_sinhl.c: Likewise.
4585 * math/w_tgamma.c: Likewise.
4586 * math/w_tgammaf.c: Likewise.
4587 * math/w_tgammal.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4590 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4591 Minor optimizations. Pretty printing. Remove cruft.
4592 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4593 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4594 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4596 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4597 * sysdeps/i386/fpu/e_asin.S: Likewise.
4598 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4599 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4600 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4601 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4602 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4603 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4604 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4605 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4606 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4607 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4608 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4609 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4610 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4611 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4612 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4613 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4614 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4615 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4616 * sysdeps/i386/fpu/e_log.S: Likewise.
4617 * sysdeps/i386/fpu/e_log10.S: Likewise.
4618 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4619 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4620 * sysdeps/i386/fpu/e_log2.S: Likewise.
4621 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4622 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4623 * sysdeps/i386/fpu/e_logf.S: Likewise.
4624 * sysdeps/i386/fpu/e_logl.S: Likewise.
4625 * sysdeps/i386/fpu/e_pow.S: Likewise.
4626 * sysdeps/i386/fpu/e_powf.S: Likewise.
4627 * sysdeps/i386/fpu/e_powl.S: Likewise.
4628 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4629 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4630 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4632 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4633 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4634 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4635 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4636 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4653 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4654 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4655 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4657 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4658 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4659 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4660 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4661 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4662 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4663 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4664 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4665 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4666 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4667 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4668 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4669 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4670 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4671 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4672 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4673 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4674 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4675 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4676 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4677 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4678 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4717 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4722 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4723 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4725 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4728 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4729 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4730 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4731 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4732 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4733 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4734 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4735 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4736 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4737 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4738 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4739 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4740 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4741 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4742 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4743 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4745 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4746 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4747 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4748 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4749 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4750 (__isnanf): Likewise.
4751 (__isinf_ns): Likewise.
4752 (__isinf_nsf): Likewise.
4753 (__finite): Likewise.
4754 (__finitef): Likewise.
4755 (__ieee754_sqrt): Define as macro.
4756 (__ieee754_sqrtf): Define as macro.
4757 (__ieee754_sqrtl): Define as macro.
4758 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4759 inlined copy.
4760 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4761 __FINITE_MATH_ONLY__ consistent.
4762 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4763
12cc2fcd
AS
47642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4765
a843a204
AS
4766 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4767 of rawmemchr.
4768
12cc2fcd
AS
4769 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4770
c853acd5
UD
47712011-10-09 Ulrich Drepper <drepper@gmail.com>
4772
4773 * po/ja.po: Update from translation team.
4774
c658d255
RM
47752011-10-08 Roland McGrath <roland@hack.frob.com>
4776
110946e4
RM
4777 * locale/programs/locarchive.c (prepare_address_space): New function.
4778 (create_archive, enlarge_archive, open_archive): Use it.
4779
50604220
RM
4780 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4781 inside [SHARED], where it is used.
4782
c658d255
RM
4783 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4784
4785 * nss/getent.c (netgroup_keys): Remove unused variable.
4786 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4787
6a621eb7
UD
47882011-10-08 Ulrich Drepper <drepper@gmail.com>
4789
7edb55ce
UD
4790 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4791 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4793 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4794 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4795 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4796 * math/Makefile (libm-calls): Add s_isinf_ns.
4797 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4798 * math/multc3.c: Likewise.
4799 * math/s_casin.c: Likewise.
4800 * math/s_casinf.c: Likewise.
4801 * math/s_casinl.c: Likewise.
4802 * math/s_ccos.c: Likewise.
4803 * math/s_ccosf.c: Likewise.
4804 * math/s_ccosl.c: Likewise.
4805 * math/s_ctan.c: Likewise.
4806 * math/s_ctanf.c: Likewise.
4807 * math/s_ctanh.c: Likewise.
4808 * math/s_ctanhf.c: Likewise.
4809 * math/s_ctanhl.c: Likewise.
4810 * math/s_ctanl.c: Likewise.
4811 * math/w_fmod.c: Likewise.
4812 * math/w_fmodf.c: Likewise.
4813 * math/w_fmodl.c: Likewise.
4814 * math/w_remainder.c: Likewise.
4815 * math/w_remainderf.c: Likewise.
4816 * math/w_remainderl.c: Likewise.
4817 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4818 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4819 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4821 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4822 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4823 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4824 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4825
187da0ae
UD
4826 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4827 of the number.
4828 * stdio-common/printf_fphex.c: Likewise.
4829 * stdio-common/printf_size.c: Likewise.
4830
9277c064
UD
4831 * math/e_exp10.c: Include math_private.h using <...> not "...".
4832 * math/e_exp10f.c: Likewise.
4833 * math/e_exp10l.c: Likewise.
4834 * math/e_exp2l.c: Likewise.
4835 * math/e_j0l.c: Likewise.
4836 * math/e_j1l.c: Likewise.
4837 * math/e_jnl.c: Likewise.
4838 * math/e_lgammal_r.c: Likewise.
4839 * math/e_rem_pio2l.c: Likewise.
4840 * math/e_scalb.c: Likewise.
4841 * math/e_scalbf.c: Likewise.
4842 * math/e_scalbl.c: Likewise.
4843 * math/k_cosl.c: Likewise.
4844 * math/k_sinl.c: Likewise.
4845 * math/k_tanl.c: Likewise.
4846 * math/s_cacoshf.c: Likewise.
4847 * math/s_catan.c: Likewise.
4848 * math/s_catanf.c: Likewise.
4849 * math/s_catanh.c: Likewise.
4850 * math/s_catanhf.c: Likewise.
4851 * math/s_catanhl.c: Likewise.
4852 * math/s_catanl.c: Likewise.
4853 * math/s_ccosh.c: Likewise.
4854 * math/s_ccoshf.c: Likewise.
4855 * math/s_ccoshl.c: Likewise.
4856 * math/s_cexp.c: Likewise.
4857 * math/s_cexpf.c: Likewise.
4858 * math/s_cexpl.c: Likewise.
4859 * math/s_clog.c: Likewise.
4860 * math/s_clog10.c: Likewise.
4861 * math/s_clog10f.c: Likewise.
4862 * math/s_clog10l.c: Likewise.
4863 * math/s_clogf.c: Likewise.
4864 * math/s_clogl.c: Likewise.
4865 * math/s_csin.c: Likewise.
4866 * math/s_csinf.c: Likewise.
4867 * math/s_csinh.c: Likewise.
4868 * math/s_csinhf.c: Likewise.
4869 * math/s_csinhl.c: Likewise.
4870 * math/s_csinl.c: Likewise.
4871 * math/s_csqrt.c: Likewise.
4872 * math/s_csqrtf.c: Likewise.
4873 * math/s_csqrtl.c: Likewise.
4874 * math/s_ctan.c: Likewise.
4875 * math/s_ctanf.c: Likewise.
4876 * math/s_ctanh.c: Likewise.
4877 * math/s_ctanhf.c: Likewise.
4878 * math/s_ctanhl.c: Likewise.
4879 * math/s_ctanl.c: Likewise.
4880 * math/s_ldexp.c: Likewise.
4881 * math/s_ldexpf.c: Likewise.
4882 * math/s_ldexpl.c: Likewise.
4883 * math/s_significand.c: Likewise.
4884 * math/s_significandf.c: Likewise.
4885 * math/s_significandl.c: Likewise.
4886 * math/w_acos.c: Likewise.
4887 * math/w_acosf.c: Likewise.
4888 * math/w_acosh.c: Likewise.
4889 * math/w_acoshf.c: Likewise.
4890 * math/w_acoshl.c: Likewise.
4891 * math/w_acosl.c: Likewise.
4892 * math/w_asin.c: Likewise.
4893 * math/w_asinf.c: Likewise.
4894 * math/w_asinl.c: Likewise.
4895 * math/w_atan2.c: Likewise.
4896 * math/w_atan2f.c: Likewise.
4897 * math/w_atan2l.c: Likewise.
4898 * math/w_atanh.c: Likewise.
4899 * math/w_atanhf.c: Likewise.
4900 * math/w_atanhl.c: Likewise.
4901 * math/w_cosh.c: Likewise.
4902 * math/w_coshf.c: Likewise.
4903 * math/w_coshl.c: Likewise.
4904 * math/w_dremf.c: Likewise.
4905 * math/w_exp10.c: Likewise.
4906 * math/w_exp10f.c: Likewise.
4907 * math/w_exp10l.c: Likewise.
4908 * math/w_exp2.c: Likewise.
4909 * math/w_exp2f.c: Likewise.
4910 * math/w_fmod.c: Likewise.
4911 * math/w_fmodf.c: Likewise.
4912 * math/w_fmodl.c: Likewise.
4913 * math/w_hypot.c: Likewise.
4914 * math/w_hypotf.c: Likewise.
4915 * math/w_hypotl.c: Likewise.
4916 * math/w_j0.c: Likewise.
4917 * math/w_j0f.c: Likewise.
4918 * math/w_j0l.c: Likewise.
4919 * math/w_j1.c: Likewise.
4920 * math/w_j1f.c: Likewise.
4921 * math/w_j1l.c: Likewise.
4922 * math/w_jn.c: Likewise.
4923 * math/w_jnf.c: Likewise.
4924 * math/w_jnl.c: Likewise.
4925 * math/w_lgamma.c: Likewise.
4926 * math/w_lgamma_r.c: Likewise.
4927 * math/w_lgammaf.c: Likewise.
4928 * math/w_lgammaf_r.c: Likewise.
4929 * math/w_lgammal.c: Likewise.
4930 * math/w_lgammal_r.c: Likewise.
4931 * math/w_log.c: Likewise.
4932 * math/w_log10.c: Likewise.
4933 * math/w_log10f.c: Likewise.
4934 * math/w_log10l.c: Likewise.
4935 * math/w_log2.c: Likewise.
4936 * math/w_log2f.c: Likewise.
4937 * math/w_log2l.c: Likewise.
4938 * math/w_logf.c: Likewise.
4939 * math/w_logl.c: Likewise.
4940 * math/w_pow.c: Likewise.
4941 * math/w_powf.c: Likewise.
4942 * math/w_powl.c: Likewise.
4943 * math/w_remainder.c: Likewise.
4944 * math/w_remainderf.c: Likewise.
4945 * math/w_remainderl.c: Likewise.
4946 * math/w_scalb.c: Likewise.
4947 * math/w_scalbf.c: Likewise.
4948 * math/w_scalbl.c: Likewise.
4949 * math/w_sinh.c: Likewise.
4950 * math/w_sinhf.c: Likewise.
4951 * math/w_sinhl.c: Likewise.
4952 * math/w_sqrt.c: Likewise.
4953 * math/w_sqrtf.c: Likewise.
4954 * math/w_sqrtl.c: Likewise.
4955 * math/w_tgamma.c: Likewise.
4956 * math/w_tgammaf.c: Likewise.
4957 * math/w_tgammal.c: Likewise.
4958
6a621eb7
UD
4959 * po/ja.po: Update from translation team.
4960
bf582445
AJ
49612011-09-29 Andreas Jaeger <aj@suse.de>
4962
f9efbf3a
AJ
4963 [BZ #13179]
4964 * sunrpc/netname.c (netname2host): Fix logic.
4965
bf582445
AJ
4966 [BZ #6779]
4967 [BZ #6783]
4968 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4969 correctly.
4970 * math/w_remainder.c (__remainder): Likewise.
4971 * math/w_remainderf.c (__remainderf): Likewise.
4972 * math/libm-test.inc (remainder_test): Add test cases.
4973
48693bea
AK
49742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4975
4976 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4977 sdiv_qrnnd.
4978
42622229
LD
49792011-10-07 Ulrich Drepper <drepper@gmail.com>
4980
4981 * string/test-memcmp.c: Avoid unncessary #defines.
4982 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4983
093ecf92
LD
49842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4985
4986 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4987 Use new sse2 version for core i3 - i7 as it's faster
4988 than sse42 version.
4989 (bit_Prefer_PMINUB_for_stringop): New.
4990 * sysdeps/x86_64/rawmemchr.S: Update.
4991 Replace with faster SSE2 version.
4992 * sysdeps/x86_64/memrchr.S: New file.
4993 * sysdeps/x86_64/memchr.S: Update.
4994 Replace with faster SSE2 version.
4995
fde56e5c
MP
49962011-09-12 Marek Polacek <mpolacek@redhat.com>
4997
4998 * elf/dl-load.c (lose): Add cast to avoid warning.
4999
21fd49a9
UD
50002011-10-07 Ulrich Drepper <drepper@gmail.com>
5001
5a06e643
UD
5002 * po/ca.po: Update from translation team.
5003
684ae515
UD
5004 * inet/getnetgrent_r.c: Hook up nscd.
5005 * nscd/Makefile (routines): Add nscd_netgroup.
5006 (nscd-modules): Add netgroupcache.
5007 (CFLAGS-netgroupcache.c): Define.
5008 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5009 (cache_search): Add const to second parameter.
5010 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5011 INNETGR.
5012 (dbs): Add netgrdb entry.
5013 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5014 (verify_persistent_db): Handle netgrdb.
5015 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5016 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5017 GETFDNETGR.
5018 (netgroup_response_header): Define.
5019 (innetgroup_response_header): Define.
5020 (datahead): Add netgroup_response_header and innetgroup_response_header
5021 elements.
5022 * nscd/nscd.conf: Add entries for netgroup cache.
5023 * nscd/nscd.h (dbtype): Add netgrdb.
5024 (_PATH_NSCD_NETGROUP_DB): Define.
5025 (netgroup_iov_disabled): Declare.
5026 (xmalloc, xcalloc, xrealloc): Move declarations here.
5027 (cache_search): Adjust prototype.
5028 Add netgroup-related prototypes.
5029 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5030 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5031 (__nscd_innetgr): Declare.
5032 * nscd/selinux.c (perms): Use access_vector_t as element type and
5033 add netgroup-related initializers.
5034 * nscd/netgroupcache.c: New file.
5035 * nscd/nscd_netgroup.c: New file.
5036 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5037 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5038 For four parameters use innetgr.
5039 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5040 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5041 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5042 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5043
21fd49a9
UD
5044 * nscd/connections.c (register_traced_file): Don't register file
5045 for disabled databases.
5046
054c0457
UD
50472011-10-06 Ulrich Drepper <drepper@gmail.com>
5048
32b63198
UD
5049 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5050
054c0457
UD
5051 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5052 from tree and freeing node.
5053
64031225
JO
50542011-09-25 Jiri Olsa <jolsa@redhat.com>
5055
5056 * nss/nsswitch.c (__nss_database_lookup): Handle
5057 nss_parse_service_list out of memory case.
5058
0490345c
JO
50592011-09-15 Jiri Olsa <jolsa@redhat.com>
5060
5061 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5062 out of memory case.
5063
3a62d00d
AS
50642011-10-04 Andreas Schwab <schwab@redhat.com>
5065
5066 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5067 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5068 pass it down.
5069 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5070 elf_machine_rela, elf_machine_lazy_rel.
5071 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5072 (ELF_DYNAMIC_DO_REL): Likewise.
5073 (ELF_DYNAMIC_DO_RELA): Likewise.
5074 (ELF_DYNAMIC_RELOCATE): Likewise.
5075 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5076 to ELF_DYNAMIC_DO_REL.
5077 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5078 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5079 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5080 elf_machine_rela.
5081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5082 skip_ifunc, don't call ifunc function if non-zero.
5083 (elf_machine_rela): Likewise.
5084 (elf_machine_lazy_rel): Likewise.
5085 (elf_machine_lazy_rela): Likewise.
5086 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5087 (elf_machine_lazy_rel): Likewise.
5088 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5089 Likewise.
5090 (elf_machine_lazy_rel): Likewise.
5091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5092 Likewise.
5093 (elf_machine_lazy_rel): Likewise.
5094 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5095 (elf_machine_lazy_rel): Likewise.
5096 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5097 (elf_machine_lazy_rel): Likewise.
5098 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5099 (elf_machine_lazy_rel): Likewise.
5100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5101 (elf_machine_lazy_rel): Likewise.
5102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5103 (elf_machine_lazy_rel): Likewise.
5104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5105 (elf_machine_lazy_rel): Likewise.
5106
68577918
UD
51072011-09-28 Ulrich Drepper <drepper@gmail.com>
5108
5109 * nss/nss_files/files-init.c (_nss_files_init): Use static
5110 initialization for all the *_traced_file variables.
5111
68822d74
AS
51122011-09-28 Andreas Schwab <schwab@redhat.com>
5113
5114 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5115
2056100b
RM
51162011-09-27 Roland McGrath <roland@hack.frob.com>
5117
5118 [BZ #13226]
5119 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5120
32c76b63
AS
51212011-09-27 Andreas Schwab <schwab@redhat.com>
5122
5123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5124 Reread the line before reparsing it.
5125
bf972c9d
AS
51262011-09-26 Andreas Schwab <schwab@redhat.com>
5127
5128 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5129
e057a1b5
JM
51302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5131 Maxim Kuvyrkov <maxim@codesourcery.com>
5132 Joseph Myers <joseph@codesourcery.com>
5133
5134 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5135 if needed for __stack_chk_guard.
5136
bc7e1c36
RM
51372011-09-19 Roland McGrath <roland@hack.frob.com>
5138
ecb1482f
RM
5139 * sysdeps/posix/spawni.c (script_execute): Always define it.
5140 It will be optimized away if unused.
5141 (maybe_script_execute): New function.
5142 (__spawni): Call it.
5143
bc7e1c36
RM
5144 * Makerules: Don't include tls.make.
5145 (config-tls): Always set to thread.
5146 * tls.make.c: File removed.
5147
1c3b002b
MF
51482011-09-19 Mike Frysinger <vapier@gentoo.org>
5149
5150 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5151 * config.make.in (CPPFLAGS-config): New substituted variable.
5152
2840865d
UD
51532011-09-15 Ulrich Drepper <drepper@gmail.com>
5154
88738eb6
UD
5155 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5156
cbf645a6 5157 [BZ #13192]
2840865d
UD
5158 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5159 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5160
b402e91a
RM
51612011-09-15 Roland McGrath <roland@hack.frob.com>
5162
5163 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5164 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5166 (CALL_FAIL): Likewise.
5167 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5168 (CALL_FAIL): Macro removed.
5169 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5170
4c1a1f71
UD
51712011-09-15 Ulrich Drepper <drepper@gmail.com>
5172
5173 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5174 for __FINITE_MATH_ONLY__ == 1.
5175
edc121be
AS
51762011-09-15 Andreas Schwab <schwab@redhat.com>
5177
5178 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5179 __ieee754_sqrt instead of sqrt.
5180 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5181 __ieee754_sqrtf instead of sqrtf.
5182 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5183 __floorf instead of floorf.
5184 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5185 __floorf, __truncf instead of floorf, truncf.
5186
cd205654
UD
51872011-09-14 Ulrich Drepper <drepper@gmail.com>
5188
ee4d0315
UD
5189 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5190
cd205654
UD
5191 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5192 __extern_always_inline.
5193 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5194 32-bit.
5195
48b67d71
AS
51962011-09-14 Andreas Schwab <schwab@redhat.com>
5197
5198 * elf/rtld.c (dl_main): Also relocate in dependency order when
5199 doing symbol dependency testing.
5200
1ae12c75
AS
52012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5202
5203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5204 Always define `refsym'.
5205
995a80df
AS
52062011-09-13 Andreas Schwab <schwab@redhat.com>
5207
e529793b
AS
5208 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5209 (__FD_ELT): Renamed from __FDELT.
5210 * misc/bits/select2.h (__FD_ELT): Likewise.
5211 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5212 __FD_MASK instead of __FDELT, __FDMASK.
5213 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5214 Likewise.
5215 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5216 Likewise.
5217
52d4fef8
AS
5218 * elf/Makefile (gen-ldd): Fix pattern.
5219
995a80df
AS
5220 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5221 (init_tls): Likewise.
5222
8682f8b0
UD
52232011-09-12 Ulrich Drepper <drepper@gmail.com>
5224
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5226
de82006d
AS
52272011-09-12 Andreas Schwab <schwab@redhat.com>
5228
a7c8e6a1
AS
5229 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5230 `struct cmsghdr *' instead of `void *'.
5231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5232 Likewise.
5233
0f31fe77
AS
52342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5235
5236 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5237 if non-absolute.
5238 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5239 ldd_rewrite_script.
0f31fe77 5240
32b4c839
UD
52412011-09-11 Ulrich Drepper <drepper@gmail.com>
5242
83cd1420
UD
5243 * configure.in: Remove --with-tls option.
5244 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5245 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5246 out in case it is missing.
5247 * sysdeps/ia64/elf/configure.in: Likewise.
5248 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5249 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5250 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5251 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5252 * sysdeps/sh/elf/configure.in: Likewise.
5253 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5254 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5255 * sysdeps/x86_64/elf/configure.in: Likewise.
5256 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5257 * sysdeps/mach/hurd/tls.h: Likewise.
5258
633f745d
UD
5259 [BZ #13067]
5260 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5261
f318beb8
UD
5262 [BZ #13090]
5263 * configure.in: Fix use of AC_INIT.
5264
32b4c839
UD
5265 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5266
3ce1f295
UD
52672011-09-10 Ulrich Drepper <drepper@gmail.com>
5268
bb016596
UD
5269 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5270 __set_errno.
8e58439c
UD
5271 * malloc/hooks.c: Likewise.
5272
aebae053 5273 [BZ #11929]
02d46fc4
UD
5274 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5275 variables statically.
5276 (narenas): Initialize.
5277 (list_lock): Initialize.
bb016596
UD
5278 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5279 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5280 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5281 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5282 Add initializers to main_arena and mp_.
5283 (malloc_state): Remove pagesize member. Change all users to use
5284 GLRO(dl_pagesize).
5285
5286 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5287 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5288 is always initialized.
5289
22a89187
UD
5290 * malloc/malloc.c: Removed unused configurations and dead code.
5291 * malloc/arena.c: Likewise.
5292 * malloc/hooks.c: Likewise.
02d46fc4 5293 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5294
d063d164
UD
5295 * include/tls.h: Removed. USE___THREAD must always be defined.
5296 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5297 * elf/dl-libc.c: Likewise.
5298 * elf/dl-tsd.c: Likewise.
5299 * include/errno.h: Likewise.
5300 * include/netdb.h: Likewise.
5301 * include/resolv.h: Likewise.
5302 * inet/herrno-loc.c: Likewise.
5303 * inet/herrno.c: Likewise.
5304 * malloc/arena.c: Likewise.
5305 * malloc/hooks.c: Likewise.
5306 * malloc/malloc.c: Likewise.
5307 * resolv/res-state.c: Likewise.
5308 * resolv/res_libc.c: Likewise.
5309 * sysdeps/i386/dl-machine.h: Likewise.
5310 * sysdeps/ia64/dl-machine.h: Likewise.
5311 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5312 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5313 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5314 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5315 * sysdeps/sh/dl-machine.h: Likewise.
5316 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5318 * sysdeps/unix/i386/sysdep.S: Likewise.
5319 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5320 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5321 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5325 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5329 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5330 * sysdeps/x86_64/dl-machine.h: Likewise.
5331 * tls.make.c: Likewise.
5332
3ce1f295
UD
5333 * configure.in: Remove --with-__thread option. Make tests for
5334 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5335 tls_model attribute fail if no support is available. Remove
5336 USE_IN_LIBIO.
5337 * Makeconfig: Adjust for dropped configure option. All features are
5338 now mandatory.
5339 * Makerules: Likewise.
5340 * Versions.def: Likewise.
5341 * argp/argp-fmtstream.c: Likewise.
5342 * argp/argp-fmtstream.h: Likewise.
5343 * argp/argp-help.c: Likewise.
5344 * assert/assert.c: Likewise.
5345 * config.h.in: Likewise.
5346 * config.make.in: Likewise.
5347 * configure: Likewise.
5348 * configure.in: Likewise.
5349 * csu/Versions: Likewise.
5350 * csu/init.c: Likewise.
5351 * elf/tst-audit2.c: Likewise.
5352 * elf/tst-tls10.c: Likewise.
5353 * elf/tst-tls10.h: Likewise.
5354 * elf/tst-tls11.c: Likewise.
5355 * elf/tst-tls12.c: Likewise.
5356 * elf/tst-tls14.c: Likewise.
5357 * elf/tst-tlsmod11.c: Likewise.
5358 * elf/tst-tlsmod12.c: Likewise.
5359 * elf/tst-tlsmod13.c: Likewise.
5360 * elf/tst-tlsmod13a.c: Likewise.
5361 * elf/tst-tlsmod14a.c: Likewise.
5362 * elf/tst-tlsmod15b.c: Likewise.
5363 * elf/tst-tlsmod16a.c: Likewise.
5364 * elf/tst-tlsmod16b.c: Likewise.
5365 * elf/tst-tlsmod7.c: Likewise.
5366 * elf/tst-tlsmod8.c: Likewise.
5367 * elf/tst-tlsmod9.c: Likewise.
5368 * gmon/gmon.c: Likewise.
5369 * grp/fgetgrent_r.c: Likewise.
5370 * grp/putgrent.c: Likewise.
5371 * hurd/fopenport.c: Likewise.
5372 * include/libc-symbols.h: Likewise.
5373 * include/tls.h: Likewise.
5374 * intl/gettextP.h: Likewise.
5375 * intl/loadinfo.h: Likewise.
5376 * locale/global-locale.c: Likewise.
5377 * locale/localeinfo.h: Likewise.
5378 * mach/devstream.c: Likewise.
5379 * malloc/arena.c: Likewise.
5380 * malloc/set-freeres.c: Likewise.
5381 * misc/err.c: Likewise.
5382 * misc/getttyent.c: Likewise.
5383 * misc/mntent_r.c: Likewise.
5384 * posix/getopt.c: Likewise.
5385 * posix/wordexp.c: Likewise.
5386 * pwd/fgetpwent_r.c: Likewise.
5387 * resolv/Versions: Likewise.
5388 * resolv/res_hconf.c: Likewise.
5389 * shadow/fgetspent_r.c: Likewise.
5390 * shadow/putspent.c: Likewise.
5391 * stdio-common/printf_fphex.c: Likewise.
5392 * stdio-common/tmpfile.c: Likewise.
5393 * stdlib/abort.c: Likewise.
5394 * stdlib/fmtmsg.c: Likewise.
5395 * sunrpc/auth_unix.c: Likewise.
5396 * sunrpc/clnt_perr.c: Likewise.
5397 * sunrpc/clnt_tcp.c: Likewise.
5398 * sunrpc/clnt_udp.c: Likewise.
5399 * sunrpc/clnt_unix.c: Likewise.
5400 * sunrpc/openchild.c: Likewise.
5401 * sunrpc/svc_simple.c: Likewise.
5402 * sunrpc/svc_tcp.c: Likewise.
5403 * sunrpc/svc_udp.c: Likewise.
5404 * sunrpc/svc_unix.c: Likewise.
5405 * sunrpc/xdr.c: Likewise.
5406 * sunrpc/xdr_array.c: Likewise.
5407 * sunrpc/xdr_rec.c: Likewise.
5408 * sunrpc/xdr_ref.c: Likewise.
5409 * sunrpc/xdr_stdio.c: Likewise.
5410
1248c1c4
PB
54112011-09-09 Ulrich Drepper <drepper@gmail.com>
5412
5413 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5414
54152011-07-03 Andreas Jaeger <aj@suse.de>
5416
5417 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5418 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5419 regenerate with gen-libm-tests.pl.
5420
54212010-05-12 Petr Baudis <pasky@suse.cz>
5422
5423 [BZ #11589]
5424 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5425 around j0() zero points by switching to j1().
5426 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5430
f22e1074
UD
54312011-09-09 Ulrich Drepper <drepper@gmail.com>
5432
f19009c1
UD
5433 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5434 instead of 0.
5435 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5436 instead of 0. .
5437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5438 Patch in part by Pavel Roskin <proski@gnu.org>.
5439
3f8cc204
UD
5440 [BZ #13138]
5441 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5442 realloc.
5443 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5444 Free memory block if necessary.
5445
f22e1074
UD
5446 [BZ #12847]
5447 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5448 be NULL. Don't lock in this case.
5449
0a2349f9
RM
54502011-09-09 Roland McGrath <roland@hack.frob.com>
5451
5452 * elf/elf.h (ELFOSABI_GNU): New macro.
5453 (ELFOSABI_LINUX): Define to that.
5454
f3cdd467
DZ
54552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5456
5457 * string/strncat.c (strncat): Undef the symbol in case it has been
5458 defined in bits/string.h.
5459
74718d13
UD
54602011-09-09 Ulrich Drepper <drepper@gmail.com>
5461
633e9e0f
UD
5462 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5463
0a2349f9 5464 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5465 link map.
5466
f9924780
AJ
54672011-08-17 Andreas Jaeger <aj@suse.de>
5468
5469 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5470
7f5517aa
PP
54712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5472 Ian Lance Taylor <iant@google.com>
5473
5474 * math/libm-test.inc (lround_test): New testcase.
5475 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5476
762011fe
UD
54772011-09-08 Ulrich Drepper <drepper@gmail.com>
5478
92963737
UD
5479 * Makefile: Remove support for automatic cvs check-ins.
5480 * Makerules: Likewise.
5481 * config.make.in: Likewise.
5482 * configure.in: Likewise.
5483 * intl/Makefile: Likewise.
5484 * locale/Makefile: Likewise.
5485 * po/Makefile: Likewise.
5486 * posix/Makefile: Likewise.
5487 * sysdeps/gnu/Makefile: Likewise.
5488 * sysdeps/mach/hurd/Makefile: Likewise.
5489 * sysdeps/sparc/sparc32/Makefile: Likewise.
5490
b0727fd8
JS
5491 [BZ #13118]
5492 * posix/Makefile (bug-regex32-ENV): Define.
5493 Patch by John Stanley <jpsinthemix@verizon.net>.
5494
a0f33f99
UD
5495 * misc/Makefile (headers): Add bits/select2.h.
5496 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5497 * misc/bits/select2.h: New file.
5498 * include/bits/select2.h: New file.
5499 * debug/Makefile (routines): Add fdelt_chk.
5500 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5501 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5502 FD_ISSET.
5503 * debug/fdelt_chk.c: New file.
5504
762011fe
UD
5505 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5506 * wcsmbs/test-wmemcmp.c: Likewise.
5507 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5508 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5509
55102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5511
5512 * string/Makefile (strop-tests): Add memcmp.
5513 * string/test-wmemcmp.c: New file.
5514 * string/test-memcmp.c: Add wmemcmp support.
5515
7f513ec8
RM
55162011-09-08 Roland McGrath <roland@hack.frob.com>
5517
0442afb4
RM
5518 [BZ #13153]
5519 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5520 2011-07-19 change.
5521
7f513ec8
RM
5522 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5523 garbage value in a __mach_port_mod_refs call in the cases of the
5524 task-self and thread-self ports.
5525
a12b2239
ST
55262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5527
5528 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5529
610f9ab4
AS
55302011-09-08 Andreas Schwab <schwab@redhat.com>
5531
7f513ec8 5532 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5533
48882a1a
LD
55342011-09-07 Ulrich Drepper <drepper@gmail.com>
5535
b49865be
UD
5536 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5537
fdc86bc9
UD
5538 * elf/dl-libc.c (dlerror_run): Pass back error code from
5539 dl_catch_error.
5540
c966526a
UD
5541 [BZ #13123]
5542 * elf/dl-load.c (lose): Free l_origin if it is valid.
5543
48882a1a
LD
5544 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5545 names.
5546 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5547 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5548 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5550 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5551 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5552
77a2a8b4
AZ
55532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5554
5555 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5556 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5558 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5559 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5560 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5561 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5562 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5563 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5564 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5565
24f579d8
AM
55662011-08-15 Alan Modra <amodra@gmail.com>
5567
5568 [BZ #13092]
5569 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5570 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5571 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5572 ppc_mcount to static-only-routines.
5573 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5574 __mcount_internal.
5575 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5576 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5577
3d4837df
UD
55782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5579
5580 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5581 for finite and infinity parameters.
5582
22700377
WS
55832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5584
5585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5586 and add nop instructions for throughput optimization.
5587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5588
5025581e
WS
55892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5590
5591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5592 aligned copy for power7 with vector-scalar instructions.
5593 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5594
08a300c9
L
55952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5598 AVX check.
5599
59178ef9
AS
56002011-09-07 Andreas Schwab <schwab@redhat.com>
5601
5602 [BZ #13144]
5603 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5604 last change.
5605
e38ba7ab
UD
56062011-09-07 Ulrich Drepper <drepper@gmail.com>
5607
5608 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5609 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5610 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5611 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5612 clock_gettime.
5613
d53a73ac
UD
56142011-09-06 Ulrich Drepper <drepper@gmail.com>
5615
fc8bffcc
UD
5616 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5617 Forgot to demangle the pointer.
5618
ceaa0c5d
UD
5619 * sysdeps/i386/sysdep.h: Define atom_text_section.
5620 * sysdeps/x86_64/sysdep.h: Likewise.
5621 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5622 section with atom_text_section.
5623 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5627 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5628
a77d3c17
UD
5629 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5630 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5631 already be defined. Change to take two parameters and don't assign
5632 result to variable. Adjust all users.
5633 Define INTERNAL_GETTIME if not already defined.
5634 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5635 call.
5636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5637 HAVE_CLOCK_GETTIME_VSYSCALL.
5638 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5639
d53a73ac
UD
5640 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5641 gettimeofday vsyscall, just use time.
5642
a8f84144
AS
56432011-09-06 Andreas Schwab <schwab@redhat.com>
5644
5645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5646 <errno.h>.
5647
ef606249
UD
56482011-09-06 Ulrich Drepper <drepper@gmail.com>
5649
5650 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5651 syscall on x86-64.
5652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5653 syscall.
5654 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5655 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5656 syscall if possible.
5657
6585cb60
UD
56582011-09-05 Ulrich Drepper <drepper@gmail.com>
5659
5660 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5661 e_ident. Don't pass to find_mapsXX.
5662 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5663
a5f524e4
LD
56642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5665
5666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5667 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5668 * sysdeps/x86_64/multiarch/strchr.S: Update.
5669 Check bit_slow_BSF bit.
5670 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5671 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5672 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5673
554881ef
UD
56742011-09-05 Ulrich Drepper <drepper@gmail.com>
5675
d96de963
UD
5676 [BZ #13134]
5677 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5678 before glibc 2.15.
5679 (tryshell): Define.
5680 (__spawni): Change last parameter to be flag. Test
5681 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5682 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5683 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5684 * posix/spawni.c: Likewise.
5685 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5686 * posix/spawnp.c: Likewise. Change normal version to use
5687 SPAWN_XFLAGS_USE_PATH.
5688 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5689 SPAWN_XFLAGS_TRY_SHELL.
5690
d48e5868
UD
5691 [BZ #13150]
5692 * posix/glob.h: Remove gcc 1.x support.
5693
554881ef
UD
5694 [BZ #13068]
5695 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5696
693fb948
LD
56972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5698
5699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5700 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5701 strrchr-sse2-bsf
5702 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5703 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5704 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5705 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5706 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5707 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5708
1b48c537
UD
57092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5710
49d42c37
UD
5711 * sysdeps/x86_64/wcscmp.S: New file.
5712
1b48c537
UD
5713 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5714 wcscmp-c wcscmp-sse2
5715 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5716 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5717 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5718 * wcsmbs/wcscmp.c: Allow renaming.
5719
15c95c5d
DM
57202011-09-05 David S. Miller <davem@davemloft.net>
5721
5722 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5723 stack slot, rather than the struct return pointer slot.
5724 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5725 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5728
2f0ad8f3
UD
57292011-09-05 Ulrich Drepper <drepper@gmail.com>
5730
d88ae418
UD
5731 * po/ja.po: Update from translation team.
5732
2f0ad8f3
UD
5733 [BZ #13144]
5734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5735 kernel in 64-bit binaries.
5736
5f4318d1
DM
57372011-09-01 David S. Miller <davem@davemloft.net>
5738
5739 * elf/elf.h (HWCAP_SPARC_*): Move to..
5740 * sysdeps/sparc/sysdep.h: this new file and add new values.
5741 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5742 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5743 _DL_HWCAP_COUNT to 24.
5744 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5745 entries.
5746 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5747 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5748 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5750 instead of magic constants.
5751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5752
3ba57516
DM
57532011-08-31 David S. Miller <davem@davemloft.net>
5754
5755 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5757 Reimplement to do errno handling inline.
5758 (SYSCALL_ERROR_HANDLER): New macro.
5759 (__SYSCALL_STRING): Do not do errno handling in asm.
5760 (__CLONE_SYSCALL_STRING): Delete.
5761 (__INTERNAL_SYSCALL_STRING): Delete.
5762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5763 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5764 (PSEUDO): Reimplement to do errno handling inline.
5765 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5766 (SYSCALL_ERROR_HANDLER): New macro.
5767 (__SYSCALL_STRING): Do not do errno handling in asm.
5768 (__CLONE_SYSCALL_STRING): Delete.
5769 (__INTERNAL_SYSCALL_STRING): Delete.
5770 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5771 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5772 i386.
5773 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5774 (inline_syscall*): Add 'err' argument.
5775 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5776 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5777 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5778 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5779
5780 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5781 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5782
2bc17433
AS
57832011-08-30 Andreas Schwab <schwab@redhat.com>
5784
5785 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5786
fbeb5f4d
JO
57872011-08-29 Jiri Olsa <jolsa@redhat.com>
5788
5789 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5790 directive.
5791
ad69cc26
DM
57922011-08-24 David S. Miller <davem@davemloft.net>
5793
5794 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5795
39dd69df
AS
57962011-08-24 Andreas Schwab <schwab@redhat.com>
5797
5798 * elf/Makefile: Add rules to build and run unload8 test.
5799 * elf/unload8.c: New file.
5800 * elf/unload8mod1.c: New file.
5801 * elf/unload8mod1x.c: New file.
5802 * elf/unload8mod2.c: New file.
5803 * elf/unload8mod3.c: New file.
5804
5805 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5806 it wasn't used.
5807
2c0b250a
DM
58082011-08-23 David S. Miller <davem@davemloft.net>
5809
5810 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5811 subtract stack bias.
5812 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5813 %sp not %fp in calculations.
5814 (_JMPBUF_UNWINDS_ADJ): Likewise.
5815
22044b48
DM
5816 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5817 (aio_suspend): Call it to force an exception region around the
5818 AIO_MISC_WAIT() invocation.
5819
2cae4995
AS
58202011-08-23 Andreas Schwab <schwab@redhat.com>
5821
5822 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5823 backslash.
5824
873a772e
AJ
58252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5826
5827 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5828 protection macro.
5829 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5830 and <dl-machine.h>.
5831 (Elf64_FuncDesc): Remove.
5832
25ad0df1
DM
58332011-08-22 David S. Miller <davem@davemloft.net>
5834
5835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5836 sigaltstack check, add missing cfi directives.
5837 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5838 missing cfi directives, and sigaltstack handling.
5839
e888bcbe
AS
58402011-08-16 Andreas Schwab <schwab@redhat.com>
5841
5842 [BZ #11724]
5843 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5844 object is seen twice.
5845 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5846
5847 * elf/Makefile (distribute): Add tst-initorder2.c.
5848 (tests): Add tst-initorder2.
5849 (modules-names): Add tst-initorder2a tst-initorder2b
5850 tst-initorder2c tst-initorder2d. Add rules to build them.
5851 ($(objpfx)tst-initorder2.out): New rule.
5852 * elf/tst-initorder2.c: New file.
5853 * elf/tst-initorder2.exp: New file.
5854
87162f46
AS
58552011-08-22 Andreas Schwab <schwab@redhat.com>
5856
70538b7f
AS
5857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5858
f55ffe58
AS
5859 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5860 dependencies back to end of function.
5861
87162f46
AS
5862 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5863 $(elfobjdir)/ld.so.
5864
91b392a4
UD
58652011-08-21 Ulrich Drepper <drepper@gmail.com>
5866
5867 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5868 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5870 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5871 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5872 of __vdso_gettimeofday.
5873 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5874 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5875 attribute_hidden.
5876 (_libc_vdso_platform_setup): Remove initialization of
5877 __vdso_gettimeofday and __vdso_time.
5878
5c43483f
UD
58792011-08-20 Ulrich Drepper <drepper@gmail.com>
5880
775a77e7
UD
5881 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5882 and fgetc_unlocked.
5883 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5884 getc_unlocked.
89f447ed 5885
49c74ba9
UD
5886 * elf/dl-open.c (add_to_global): Report additions to the global scope
5887 for LD_DEBUG=scopes.
5888 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5889 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5890
5c43483f
UD
5891 [BZ #13114]
5892 * stdio-common/Makefile (tests): Add bug24.
5893 * stdio-common/bug24.c: New file.
5894
a101b025
AJ
58952011-08-19 Andreas Jaeger <aj@suse.de>
5896
5897 [BZ #13114]
5898 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5899 non-existant file when using close-on-exec mode.
5900
c88f1766
UD
59012011-08-20 Ulrich Drepper <drepper@gmail.com>
5902
0276a718
UD
5903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5904 the very first instruction.
5905
c88f1766
UD
5906 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5907 the CFI state in the end.
5908 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5909 inclusion of dl-trampoline.h.
5910 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5911
51ccffa0
AS
59122011-08-19 Andreas Schwab <schwab@redhat.com>
5913
94d7165f
AS
5914 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5915 expectations for long double.
5916
51ccffa0
AS
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5918 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5919
fd708658 59202011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5921
5922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5923 artificual limit depends upon the system page size.
5924
44f0a71e
UD
59252011-08-17 Ulrich Drepper <drepper@gmail.com>
5926
5927 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5928 * resolv/Makefile: Define CFLAGS-libresolv.
5929
8de79a24
AS
59302011-08-17 Andreas Schwab <schwab@redhat.com>
5931
5932 * nss/makedb.c (compute_tables): Make variables used in nested
5933 function static.
5934
27724598
UD
59352011-08-17 Ulrich Drepper <drepper@gmail.com>
5936
c5305d88
UD
5937 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5938 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5939 if buffer was too small.
5940
27724598
UD
5941 * elf/pldd.c (main): Attach to all threads in the process.
5942 Rewrite /proc handling to use *at functions.
5943
076fe015
UD
59442011-08-16 Ulrich Drepper <drepper@gmail.com>
5945
174baab3
UD
5946 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5947 specifies first scope to show.
5948 (dl_open_worker): Update callers. Move printing scope of new
5949 object to before the relocation.
44f0a71e 5950 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5951 * sysdeps/generic/ldsodefs.h: Update declaration.
5952
076fe015
UD
5953 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5954 string for the scope number.
5955
a60df2c3
UD
59562011-08-14 Ulrich Drepper <drepper@gmail.com>
5957
5958 * nscd/servicescache.c (cache_addserv): Make sure written is always
5959 initialized.
5960
5e4287d1
RM
59612011-08-14 Roland McGrath <roland@hack.frob.com>
5962
85ae0589
RM
5963 * sysdeps/i386/i486/bits/atomic.h
5964 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5965 statement expression, so as to suppress "set but not used" warning.
5966 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5967
69f63097
RM
5968 * string/strncat.c (STRNCAT): Use prototype definition.
5969
675456ef
RM
5970 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5971 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5972 -Iprograms here.
5973 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5974 (localedef-modules): Add localedef.
5975 (locale-modules): Add locale.
5976
5e4287d1
RM
5977 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5978 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5979 to avoid a warning.
5980
9c96ff23
DM
59812011-08-14 David S. Miller <davem@davemloft.net>
5982
5983 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5984 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5985
f9ddf089
UD
59862011-08-13 Ulrich Drepper <drepper@gmail.com>
5987
44f0a71e 5988 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5989 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5990 * elf/rtld.c (dl_main): Set l_name of vDSO.
5991 Call _dl_show_scope when DL_DEBUG_SCOPES.
5992 (process_dl_debug): Recognize scopes flag and also set it for all.
5993 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5994 Declare _dl_show_scope.
5995
1dc27704
UD
5996 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5997 (do_dlopen): Pass caller_dlopen to dl_open.
5998 (__libc_dlopen_mode): Initialize caller_dlopen.
5999
f9ddf089
UD
6000 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6001 of libc. Make tolower call locale-independent. Optimize a bit by
6002 using isdigit instead of isalnum.
6003 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6004
9ac533d3
UD
60052011-08-12 Ulrich Drepper <drepper@gmail.com>
6006
6007 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6008 was a dependency or dynamically loaded.
6009
89edf2e9
UD
60102011-08-11 Ulrich Drepper <drepper@gmail.com>
6011
8e999d29
UD
6012 * intl/l10nflist.c: Allow architecture-specific pop function.
6013 * sysdeps/x86_64/l10nflist.c: New file.
6014
89edf2e9
UD
6015 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6016 classification.
6017
14d96785
AS
60182011-08-10 Andreas Schwab <schwab@redhat.com>
6019
6020 * include/dirent.h: Add libc_hidden_proto for scandirat and
6021 scandirat64. Don't declare __scandirat64.
6022 * dirent/scandirat.c: Add libc_hidden_def.
6023 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6024 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6025
6761ac04
DM
60262011-08-10 David S. Miller <davem@davemloft.net>
6027
6028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6029 enum.
6030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6033
c55fbd1e
UD
60342011-08-09 Ulrich Drepper <drepper@gmail.com>
6035
6036 * Versions.def [libc]: Add GLIBC_2.15.
6037 * dirent/Makefile (routines): Add scandirat and scandirat64.
6038 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6039 GLIBC_2.15.
6040 * dirent/dirent.h: Declare scandirat and scandirat64.
6041 * dirent/scandirat.c: New file.
6042 * dirent/scandirat64.c: New file.
6043 * sysdeps/wordsize-64/scandirat.c: New file.
6044 * sysdeps/wordsize-64/scandirat64.c: New file.
6045 * dirent/opendir.c: Define opendirat.
6046 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6047 using scandirat.
6048 * dirent/scandir64.c: Adjust for scandir.c change.
6049 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6050 __scandirat64, and __scandir_cancel_handler.
6051 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6052 additional parameter and use openat instead of open (outside of ld.so).
6053 Add new __opendir as wrapper around __opendirat.
6054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6055 here without requiring old scandirat implementation.
6056
879165f2
UD
60572011-08-08 Ulrich Drepper <drepper@gmail.com>
6058
6059 * dirent/scandir.c (cancel_handler): Renamed to
6060 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6061 defined. Adjust users.
6062 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6063 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6064
cb7e923b
UD
60652011-08-04 Ulrich Drepper <drepper@gmail.com>
6066
16292edd
UD
6067 * string/test-string.h (IMPL): Use __STRING to expand name and then
6068 stringify it.
6069
cb7e923b
UD
6070 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6071 of cleanups.
6072
cff82933
LD
60732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6074
6075 * string/Makefile: Update.
6076 (strop-tests): Append strncat.
6077 * string/test-wcscmp.c: New file.
6078 New comprehensive test for wcscmp.
6079 * string/test-strcmp.c: Update.
6080 (WIDE): New define.
6081
9be9bfcc
AS
60822011-07-22 Andreas Schwab <schwab@redhat.com>
6083
6084 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6085 line.
6086
2e96f1c7
AS
60872011-07-26 Andreas Schwab <schwab@redhat.com>
6088
6089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6090 encoding to ACE if AI_IDN.
6091
85188888
JJ
60922011-08-01 Jakub Jelinek <jakub@redhat.com>
6093
6094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6095 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6096
5fa16e9b
LD
60972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6098
6099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6100 Fix overflow bug in strncat.
6101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6102
6103 * string/test-strncat.c: Update.
6104 Add new tests for checking overflow bugs.
6105
61062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6107
6108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6109 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6110 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6111 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6112 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6113 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6114 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6115 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6116 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6117
6118 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6119 (USE_AS_STRCAT): Define.
6120 Add strcat and strncat support.
6121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6122
8c1a459f
AS
61232011-07-25 Andreas Schwab <schwab@redhat.com>
6124
6125 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6126 __n bigger than INT_MAX+1.
6127 (__strncmp_g): Likewise.
6128
bba33c28
UD
61292011-07-23 Ulrich Drepper <drepper@gmail.com>
6130
798be72d
UD
6131 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6132 * libio/stido.h: Likewise.
6133
8accd4dc
UD
6134 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6135 (AF_NFC): Define.
6136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6137 (AF_NFC): Define.
6138
cbff0d96
UD
6139 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6140 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6142 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6144
9191c04a
UD
6145 [BZ #13021]
6146 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6147 installed.
6148
bba33c28
UD
6149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6150 typo.
6151 (_dl_x86_64_save_sse): Likewise.
6152
90f139dd
UD
61532011-07-22 Ulrich Drepper <drepper@gmail.com>
6154
1aae088a
UD
6155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6156 OSXSAVE.
6157 (_dl_x86_64_save_sse): Likewise.
6158
8e2045f5
UD
6159 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6160
90f139dd
UD
6161 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6162
1d002f25
AS
61632011-07-21 Andreas Schwab <schwab@redhat.com>
6164
6165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6166 change.
6167 (_dl_x86_64_save_sse): Use correct AVX check.
6168
21137f89
UD
61692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6170
6171 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6172 bug in strncpy/strncat.
6173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6174
a65c0b7a
UD
61752011-07-21 Ulrich Drepper <drepper@gmail.com>
6176
6177 * string/tester.c (test_strcat): Add tests for different alignments
6178 of source and destination.
6179 (test_strncat): Likewise.
6180
6986b98a
UD
61812011-07-20 Ulrich Drepper <drepper@gmail.com>
6182
90bb2039
UD
6183 [BZ #12852]
6184 * posix/glob.c (glob): Check passed in values before using them in
6185 expressions to avoid some overflows.
6186 (glob_in_dir): Likewise.
6187
5644ef54
UD
6188 [BZ #13007]
6189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6190 check for AVX enablement so that we don't crash with old kernels and
6191 new hardware.
6192 * elf/tst-audit4.c: Add same checks here.
6193 * elf/tst-audit6.c: Likewise.
6194
6195 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6196
bfc9dc9b
AS
61972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6198
6199 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6200
702e64bb
UD
62012011-07-20 Ulrich Drepper <drepper@gmail.com>
6202
6203 * po/cs.po: Update from translation team.
6204 * po/bg.po: Likewise.
6205
295e904f
MP
62062011-07-12 Marek Polacek <mpolacek@redhat.com>
6207
6208 * misc/sys/cdefs.h: Add support for const attribute.
6209 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6210 to gnu_dev_{major,minor,makedev} functions.
6211
3ff94596
MP
62122011-07-20 Marek Polacek <mpolacek@redhat.com>
6213
6214 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6215
28b59fca
AS
62162011-07-20 Andreas Schwab <schwab@redhat.com>
6217
6218 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6219 strlen results.
6220
19df733e
AK
62212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6222
6223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6224 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6225 register in order to avoid conflicts with the soft frame pointer
6226 being held in r11 when necessary.
6227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6228 (INTERNAL_VSYSCALL_NCS): Likewise.
6229
c8835729
MP
62302011-07-14 Marek Polacek <mpolacek@redhat.com>
6231
6232 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6233 * elf/dl-fini.c (_dl_fini): Adjust caller.
6234 * elf/dl-close.c (_dl_close_worker): Likewise.
6235 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6236
b902330c
MP
62372011-07-15 Marek Polacek <mpolacek@redhat.com>
6238
8991e135
MP
6239 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6240 "aux_cache->nlibs < 0".
6241
b902330c
MP
6242 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6243 in the reload-count case.
6244
99710781
LD
62452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6246
6247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6248 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6249 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6250 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6251 * sysdeps/x86_64/multiarch/strcat.S: New file.
6252 * sysdeps/x86_64/multiarch/strncat.S: New file.
6253 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6254 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6255 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6256 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6257 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6258 (USE_AS_STRCAT): Define.
6259 Add strcat and strncat support.
6260 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6262 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6263 * string/strncat.c: Update.
6264 (USE_AS_STRNCAT): Define.
6265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6266 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6267 and i7.
6268 * sysdeps/x86_64/multiarch/init-arch.h
6269 (bit_Prefer_PMINUB_for_stringop): New.
6270 (index_Prefer_PMINUB_for_stringop): Likewise.
6271 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6272 bit_Prefer_PMINUB_for_stringop.
6273
7dc6bd90
UD
62742011-07-19 Ulrich Drepper <drepper@gmail.com>
6275
6276 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6277 buffer64.
6278 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6279 of casting of buffer.
6280 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6281 buffer32 and buffer64.
6282 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6283 writes instead of casting of buffer.
6284 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6285 buffer32.
6286 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6287 casting of buffer.
6288
e0e72284
AS
62892011-07-19 Andreas Schwab <schwab@redhat.com>
6290
6291 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6292
feb1eb0b
UD
62932011-07-19 Ulrich Drepper <drepper@gmail.com>
6294
6295 * nscd/nscd.c (termination_handler): Don't do anything for a database
6296 if it has not yet been initialized.
6297
298711ff
UD
62982011-07-18 Ulrich Drepper <drepper@gmail.com>
6299
6300 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6301
63022011-07-15 Marek Polacek <mpolacek@redhat.com>
6303
6304 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6305
f9d68389
UD
63062011-07-18 Ulrich Drepper <drepper@gmail.com>
6307
6308 * po/nl.po: Update from translation team.
6309 * po/sv.po: Likewise.
6310
db290cf5
RM
63112011-07-16 Roland McGrath <roland@hack.frob.com>
6312
6313 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6314 now disallowed by GCC.
5c550700 6315
fd5e21c7
RM
6316 * configure.in (use-default-link): Default to yes if a test -shared
6317 link meets our qualifications.
6318 * configure: Regenerated.
6319
5c550700
RM
6320 * config.make.in (output-format): New variable.
6321 * configure.in: Check for ld --print-output-format support.
6322 * configure: Regenerated.
6323 * Makerules ($(common-objpfx)format.lds)
6324 [$(output-format) != unknown]: Just use $(output-format),
6325 instead of the linker-script munging.
6326
9fa2c032
RM
63272011-07-14 Roland McGrath <roland@hack.frob.com>
6328
a6928d51
RM
6329 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6330 of $(common-objpfx)shlib.lds.
6331 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6332
661607b3
RM
6333 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6334 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6335
9fa2c032
RM
6336 * configure.in (-z relro check): Adjust test code to add a large
6337 writable data section after it.
6338 * configure: Regenerated.
6339
defe9061
RM
63402011-07-11 Roland McGrath <roland@hack.frob.com>
6341
6342 * configure.in (-z relro check): Fix test code to make the variable
6343 truly const.
6344 * configure: Regenerated.
6345
319b9ad4
UD
63462011-07-11 Ulrich Drepper <drepper@gmail.com>
6347
6348 * nscd/nscd.h (struct traced_file): Define.
6349 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6350 elements. Add traced_files.
6351 (inotify_fd): Declare.
6352 (register_traced_file): Declare.
6353 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6354 (inotify_fd): Export.
6355 (resolv_conf_descr): Remove.
6356 (nscd_init): Move inotify descriptor creation to main.
6357 Don't register files for notification here.
6358 (register_traced_file): New function.
6359 (invalidate_cache): Don't use reset_res to determine whether to call
6360 res_init, go through the list of registered files.
6361 (main_loop_poll): The inotify descriptors are now stored in the
6362 structures for the traced files.
6363 (main_loop_epoll): Likewise
6364 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6365 to __nss_disable_nscd.
6366 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6367 for a database anymore. Check the records for all the registered
6368 files instead.
6369 * nss/Makefile (libnss_files-routines): Add files-init.
6370 (libnss_db-routines): Add db-init.
6371 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6372 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6373 * nss/nss_db/db-init.c: New file.
6374 * nss/nss_files/files-init.c: New file.
6375 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6376 __nss_lookup_function.
6377 (__nss_lookup_function): Call nss_load_library.
6378 (nss_load_all_libraries): New function.
6379 (__nss_disable_nscd): Take parameter with callback function for files
6380 to register. Set is_nscd. Load all the DSOs for the NSS modules
6381 used for the cached services.
6382 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6383 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6384 options for features to all the files in nscd.
6385
6386 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6387
23bee3e8
RM
63882011-07-10 Roland McGrath <roland@hack.frob.com>
6389
6390 * csu/elf-init.c (__libc_csu_init): Comment typo.
6391
46a5b7f0
UD
63922011-07-09 Ulrich Drepper <drepper@gmail.com>
6393
6394 * po/pl.po: Update from translation team.
6395 * po/ja.po: Likewise.
6396 * po/ru.po: Likewise.
6397 * po/ko.po: Likewise.
6398 * po/fr.po: Likewise.
6399
d30cf5bb
RM
64002011-07-09 Roland McGrath <roland@hack.frob.com>
6401
113ddea4
RM
6402 * configure.in (.ctors/.dtors header and trailer check):
6403 Use an empirical test on a built program.
6404 * configure: Regenerated.
6405
574920b4
RM
6406 * configure.in (-z relro check): Use an empirical test on a built DSO.
6407 Detect, but do not require, on ia64.
6408 * configure: Regenerated.
6409
d30cf5bb
RM
6410 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6411 Update tests that use readelf to use $READELF instead.
6412 * configure: Regenerated.
6413
8538fdb3
UD
64142011-07-08 Ulrich Drepper <drepper@gmail.com>
6415
6416 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6417 if the result is not used.
6418
04d08991
AJ
64192011-07-05 Andreas Jaeger <aj@suse.de>
6420
6421 [BZ#9696]
6422 * stdlib/tst-strtod.c: Add testcase.
6423
de283087
AD
64242011-07-07 Ulrich Drepper <drepper@gmail.com>
6425
4e5f31c8 6426 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6427 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6428 The latter has a higher limit. Take additional parameter to pass to
6429 the new function.
6430 (__pathconf): Pass file to __statfs_link_max.
6431 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6432 __statfs_link_max.
6433 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6434 __statfs_link_max.
6435
de283087
AD
6436 [BZ #12868]
6437 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6438 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6439 Handle Lustre.
6440 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6441 (__statfs_filesize_max): Likewise.
6442 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6443
c75fa153
AJ
64442011-07-05 Andreas Jaeger <aj@suse.de>
6445
6446 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6447
1a544854
UD
64482011-07-06 Marek Polacek <mpolacek@redhat.com>
6449
6450 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6451 `status' variable.
6452 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6453 Likewise.
6454
6f0eec67
UD
64552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6456
6457 * Makefile (strop-tests): Add strncat.
6458 * string/test-strncat.c: New file.
6459
aae30307
UD
64602011-06-30 Marek Polacek <mpolacek@redhat.com>
6461
6462 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6463
c0cfb5eb
UD
64642011-06-21 Andreas Jaeger <aj@suse.de>
6465
6466 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6467 Copy rule from iconvdata/Makefile.
6468
01636b21
UD
64692011-07-06 Ulrich Drepper <drepper@gmail.com>
6470
6471 [BZ #12922]
6472 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6473 but no long options are defined, just return 'W'.
6474
9895c8bc
UD
64752011-06-22 Marek Polacek <mpolacek@redhat.com>
6476
6477 [BZ #9696]
6478 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6479
5d4cf042
UD
64802011-07-06 Ulrich Drepper <drepper@gmail.com>
6481
6482 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6483 netgroups to read.
960e5535 6484 (innetgr): Likewise.
5d4cf042 6485
751eb97e
RM
64862011-07-05 Roland McGrath <roland@hack.frob.com>
6487
6488 * config.make.in (install_root): Default to $(DESTDIR).
6489
f15f1e45
UD
64902011-07-05 Ulrich Drepper <drepper@gmail.com>
6491
6492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6493
4e34ac6a
RM
64942011-07-02 Roland McGrath <roland@hack.frob.com>
6495
5e9b6af4
RM
6496 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6497
84f9ea0f
RM
6498 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6499 containing directory rather than embedding absolute directory names.
6500
ea5ee9f7
RM
6501 * scripts/check-local-headers.sh: Rewritten using awk.
6502 Match by word, not by line. Print error messages for matches.
6503 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6504
1b74661a
RM
6505 * Makerules [shlib-lds-flags empty]:
6506 ($(common-objpfx)libc_pic.opts): New target.
6507 ($(common-objpfx)libc_pic.os.clean): New target.
6508 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6509
6510 * config.make.in (OBJCOPY): New variable.
6511 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6512 * configure: Regenerated.
6513
f781ef40
RM
6514 * config.make.in (use-default-link): New variable.
6515 * configure.in (use_default_link): Grok --with-default-link to set it.
6516 * configure: Regenerated.
6517 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6518 (shlib-lds, shlib-lds-flags): Define to empty.
6519
2d4fa81e
RM
6520 * Makerules (shlib-lds): New variable.
6521 (shlib-lds-flags): New variable.
6522 (build-shlib, build-moduile, build-module-asneeded): Use it.
6523 ($(common-objpfx)libc.so): Use $(shlib-lds).
6524 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6525 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6526
31fffa6b
RM
6527 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6528 DT_FLAGS/DT_FLAGS_1 with zero flags.
6529
4e34ac6a
RM
6530 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6531 linker script munging.
6532
fcfc776b
UD
65332011-07-02 Ulrich Drepper <drepper@gmail.com>
6534
6535 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6536 as 128-bit value.
6537 * crypt/sha512.c (sha512_process_block): Perform total addition using
6538 128-bit if possible.
6539 (__sha512_finish_ctx): Likewise.
6540 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6541 as 64-bit value.
6542 * crypt/sha256.c (SWAP64): Define.
6543 (sha256_process_block): Perform total addition using 64-bit if
6544 possible.
6545 (__sha256_finish_ctx): Likewise.
6546
99231d9a
UD
65472011-07-01 Ulrich Drepper <drepper@gmail.com>
6548
6549 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6551 * nscd/hstcache.c (cache_addhst): Likewise.
6552 * nscd/grpcache.c (cache_addgr): Likewise.
6553 * nscd/aicache.c (addhstaiX): Likewise
6554 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6555
445b4a53
TK
65562011-07-01 Thorsten Kukuk <kukuk@suse.de>
6557
6558 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6560 * nscd/hstcache.c (cache_addhst): Likewise.
6561 * nscd/grpcache.c (cache_addgr): Likewise.
6562 * nscd/aicache.c (addhstaiX): Likewise
6563
6d4d8e8e
AS
65642011-07-01 Andreas Schwab <schwab@redhat.com>
6565
6566 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6567 domain only when needed.
6568
89f654c5
AS
65692011-06-30 Andreas Schwab <schwab@redhat.com>
6570
6571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6572 is always restored.
6573
cf3b23ff
UD
65742011-06-29 Ulrich Drepper <drepper@gmail.com>
6575
6576 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6577 are re-adding the entry.
6578 * nscd/servicescache.c (cache_addserv): Likewise.
6579
751626f9
AJ
65802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6581
6582 * sysdeps/generic/dl-irel.h: fix protection against multiple
6583 inclusions.
6584 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6585
9113ea1f
UD
65862011-06-28 Ulrich Drepper <drepper@gmail.com>
6587
5c0b8d90
UD
6588 [BZ #12935]
6589 * malloc/memusage.sh: Fix quoting in message.
6590 * debug/xtrace.sh: Likewise.
6591
9113ea1f
UD
6592 * configure.in: Remove support for --experimental-malloc option, make
6593 it the default.
6594 * config.make.in: Likewise.
6595 * malloc/Makefile: Likewise.
6596
a4172181
AS
65972011-06-27 Andreas Schwab <schwab@redhat.com>
6598
6599 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6600 two-byte characters.
6601
78a7eee7
RM
66022011-06-27 Roland McGrath <roland@hack.frob.com>
6603
62bede13
RM
6604 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6605 AC_CACHE_CHECK invocation.
6606 * configure: Regenerated.
6607
78a7eee7
RM
6608 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6609
5ce33a62
UD
66102011-06-27 Ulrich Drepper <drepper@gmail.com>
6611
034807a9
UD
6612 [BZ #12350]
6613 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6614 bit from old_res_options.
6615
4902da17
UD
6616 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6617
5ce33a62
UD
6618 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6619 value type for setfct.
6620
c2344f56
L
66212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6622
6623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6624 __gettimeofday instead of gettimeofday.
6625
68468076
UD
66262011-06-26 Ulrich Drepper <drepper@gmail.com>
6627
6628 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6629
acb0d739
L
66302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6631
6632 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6633
6634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6635 info.
6636
8912479f
L
66372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6640 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6641 strcpy-sse2-unaligned strncpy-sse2-unaligned
6642 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6643 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6644 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6645 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6646 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6649 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6650 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6651 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6652 (STRCPY): Support SSE2 and SSSE3 versions.
6653
d5495a11
UD
66542011-06-24 Ulrich Drepper <drepper@gmail.com>
6655
6656 [BZ #12874]
6657 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6658 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6659 kernels which artificially limit size of requests.
6660
0b1cbaae
L
66612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6664 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6665 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6666 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6667 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6668 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6669 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6670 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6671 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6673 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6674 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6675 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6676 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6677 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6679 Enable unaligned load optimization for Intel Core i3, i5 and i7
6680 processors.
6681 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6682 Define.
6683 (index_Fast_Unaligned_Load): Define.
6684 (HAS_FAST_UNALIGNED_LOAD): Define.
6685
07f494a0
MP
66862011-06-23 Marek Polacek <mpolacek@redhat.com>
6687
6688 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6689
fa3fc0fe
UD
66902011-06-22 Ulrich Drepper <drepper@gmail.com>
6691
6692 [BZ #12907]
6693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6694 until it is clear that the information is realy needed.
6695 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6696
e12df166
AS
66972011-06-22 Andreas Schwab <schwab@redhat.com>
6698
6699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6700
852eb34d
UD
67012011-06-22 Ulrich Drepper <drepper@gmail.com>
6702
84e2a551
UD
6703 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6704 /sys/devices/system/cpu/online if it is usable.
6705
852eb34d
UD
6706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6707 reading the information from the /proc filesystem to once a second.
6708
6e502e19
UD
67092011-06-21 Andreas Jaeger <aj@suse.de>
6710
6711 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6712 NULL after inclusion of kernel headers.
6713
75d39ff2
UD
67142011-06-21 Ulrich Drepper <drepper@gmail.com>
6715
51f9aa6a
UD
6716 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6717 calls to internal_setent.
6718
c0244a9d
UD
6719 [BZ #12885]
6720 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6721 addresses using gethostbyname4_r ignore IPv4 addresses.
6722
c5e3c2ae
UD
6723 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6724 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6725
75d39ff2
UD
6726 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6727
42675c6f
DM
67282011-06-20 David S. Miller <davem@davemloft.net>
6729
6730 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6731 inclusions.
6732 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6733
6734 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6735 (elf_irel): Use it.
6736 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6737 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6738 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6739 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6740 * sysdeps/x86_64/dl-irel.h: Likewise.
6741
6742 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6743 * elf/dl-sym.c: Likewise.
6744
57912a71
UD
67452011-06-15 Ulrich Drepper <drepper@gmail.com>
6746
6747 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6748 need to dereference resplen2.
6749
ee22793d
AS
67502011-06-14 Andreas Schwab <schwab@redhat.com>
6751
6752 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6753
a9e836b0
UD
67542011-06-15 Ulrich Drepper <drepper@gmail.com>
6755
77fb9117
UD
6756 * Makeconfig: Define vardbdir and inst_vardbdir.
6757 * nss/Makefile: Add rules to install db-Makefile.
6758
40c1b22c
UD
6759 * nss/nss_db/db-XXX.c: Cleanup.
6760
9f2da732
UD
6761 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6762 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6763 GLIBC_PRIVATE.
6764 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6765 * nss/makedb.c: Implement -g option to specify that value strings
6766 are generated and should not be added to table iterated over for
6767 get*ent calls.
6768 * nss/nss_db/db-initgroups.c: New file.
6769
82e9a1f7
UD
6770 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6771 interface.
6772
c41af17e
UD
6773 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6774 (internal_getgrouplist): Adjust to name change.
6775 Update use_initgroups_entry if this is not the first call.
6776 * nss/databases.def: Add initgroups entry.
6777
a9e836b0
UD
6778 * nss/makedb.c (compute_tables): Check result of multiple hash table
6779 sizes to minimize maximum chain length.
6780
2666d441
UD
67812011-06-14 Ulrich Drepper <drepper@gmail.com>
6782
6783 * Versions.def: Add entry for libnss_db.
6784 * shlib-versions: Likewise.
6785 * nss/Makefile: Add rules to build libnss_db.
6786 * nss/Versions: Add libnss_db information. Organize libnss_files
6787 entries better.
6788 * nss/db-Makefile: Add gshadow support. Change rules for the new
6789 makedb progra. Some minor improvements to generate smaller files.
6790 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6791 here from...
6792 * nss/makedb.c: ...here.
6793 Improve database format to be smaller and require less memory at
6794 runtime.
6795 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6796 db anymore.
6797 * nss/nss_db/db-netgrp.c: Likewise.
6798 * nss/nss_db/db-open.c: Likewise.
6799 * nss/nss_files/flies-XXX.x: Adjust comments.
6800 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6801 * nss/nss_files/files-grp.c: Likewise.
6802 * nss/nss_files/files-hosts.c: Likewise.
6803 * nss/nss_files/files-network.c: Likewise.
6804 * nss/nss_files/files-proto.c: Likewise.
6805 * nss/nss_files/files-pwd.c: Likewise.
6806 * nss/nss_files/files-rpc.c: Likewise.
6807 * nss/nss_files/files-service.c: Likewise.
6808 * nss/nss_files/files-sgrp.c: Likewise.
6809 * nss/nss_files/files-spwd.c: Likewise.
6810 * nss/nss_db/db-alias.c: Removed.
6811 * nss/nss_db/dummy-db.h: Removed.
6812
9ee76b5a
UD
68132011-06-02 Ulrich Drepper <drepper@gmail.com>
6814
6815 * nss/makedb.c: Rewritten to not use database library.
6816 * nss/Makefile: Update to build new makedb program.
6817
c71ca1f8
AJ
68182011-06-14 Andreas Jaeger <aj@suse.de>
6819
6820 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6821 memset declaration.
6822
3154bfb8
UD
68232011-06-10 Andreas Schwab <schwab@redhat.com>
6824
6825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6826 tmpbuf.
6827
b350afab
RM
68282011-06-10 Roland McGrath <roland@hack.frob.com>
6829
decd4e50
RM
6830 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6831 * elf/Makefile ($(objpfx)ld.so): Likewise.
6832
5615eaf2
RM
6833 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6834 Don't list ld.so twice in dependencies.
6835
6836 * posix/bug-regex31.c: Include <stdlib.h>.
6837
6838 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6839
6840 * nis/nss_compat/compat-spwd.c
6841 (getspent_next_nss_netgr): Remove unused variable.
6842 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6843
6844 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6845 nonmembers" output to use the right array.
6846
6847 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6848
6849 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6850
6851 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6852 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6853 * catgets/gencat.c (read_input_file): Likewise.
6854 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6855
6856 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6857 variable definition inside #if's controlling its use.
6858
6859 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6860
6861 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6862
6863 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6864
6865 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6866 unreachable code.
6867
6868 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6869
b68e08db
RM
6870 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6871 * configure: Regenerated.
6872
b350afab
RM
6873 * Makerules: Revert last change.
6874 * elf/Makefile: Likewise.
6875
28368601
RM
68762011-06-09 Roland McGrath <roland@hack.frob.com>
6877
6878 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6879 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6880 (reloc-link): Likewise.
6881
11988f8f
UD
68822011-06-09 Ulrich Drepper <drepper@gmail.com>
6883
6884 * elf/Makefile: Add rules to build pldd.
6885 * elf/pldd.c: New file.
6886 * elf/pldd-xx.c: New file.
6887
e80fab37
UD
68882011-06-07 Ulrich Drepper <drepper@gmail.com>
6889
6890 * version.h: Update for 2.15 development version.
6891
9b849836
DM
68922011-06-07 David S. Miller <davem@davemloft.net>
6893
6894 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6895 ifuncs.
6896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6897 elf_machine_lazy_rel): Likewise.
6898 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6900 elf_machine_lazy_rel): Likewise.
6901 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6902 dl_hwcap via passed in argument.
6903 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6904 Likewise.
6905
5a31b283
AK
69062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6907
6908 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6909
069e52f8
RM
69102011-06-06 Roland McGrath <roland@hack.frob.com>
6911
6912 [BZ #12849]
6913 * manual/fdl-1.1.texi: New file, verbatim from:
6914 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6915 * manual/lgpl-2.1.texi: New file, verbatim from:
6916 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6917 * manual/Makefile (licenses): New variable, list those new file names.
6918 (texis): Use it.
6919 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6920
6921 * manual/fdl.texi: File removed.
6922 * manual/lesser.texi: File removed.
6923 * manual/libc.texinfo (Copying, Documentation License):
6924 Use new @include file names, put @appendix directive before @include.
6925
f16846a5
JJ
69262011-06-04 Jakub Jelinek <jakub@redhat.com>
6927
6928 [BZ #12841]
6929 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6930 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6931 (mq_open): Add __NTH.
6932
3d29045b
L
69332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6934
6935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6936 Assume Intel Core i3/i5/i7 processor if AVX is available.
6937
8c297311
UD
69382011-05-31 Ulrich Drepper <drepper@gmail.com>
6939
6940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6941 typo.
6942
c8fc0c91
UD
69432011-05-31 Andreas Schwab <schwab@redhat.com>
6944
6945 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6946 memory. Use alloca_account. Fix memory leak when retrying.
6947
5b27a807
UD
69482011-05-31 Ulrich Drepper <drepper@gmail.com>
6949
356f8bc6
UD
6950 * version.h (RELEASE): Bump for 2.14 release.
6951 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6952
5b27a807
UD
6953 * config.make.in (RANLIB): Remove entry.
6954
01f16ab0
UD
69552011-05-30 Ulrich Drepper <drepper@gmail.com>
6956
41fce8bd
UD
6957 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6958 (libc.pot): Work around missing support for .ksh extension in xgettext.
6959
4769ae77
UD
6960 [BZ #12684]
6961 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6962 if both request failed.
6963 (send_dg): In case of server errors clear resplen or *resplen2.
6964
6b1e7d19
UD
6965 [BZ #12454]
6966 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6967 when there are multiple maps.
6968 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6969 (_dl_fini): Remove test here.
6970
01f16ab0
UD
6971 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6972
b1ebd700
UD
69732011-05-29 Ulrich Drepper <drepper@gmail.com>
6974
7ae22829
UD
6975 [BZ #12350]
6976 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6977 bit from old_res_options.
6978 (gaih_inet): Likewise.
6979
553149f6 6980 [BZ #11099]
18a84741 6981 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6982 as signed.
6983
652ffab1
UD
6984 * resolv/res_init.c (res_setoptions): Make the code more compact.
6985
16985fd0
UD
6986 [BZ #11558]
6987 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6988 set RES_USEVC.
6989
0464f746
UD
6990 [BZ #11634]
6991 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6992
7d17596c
UD
6993 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6994
cf6bbbd7
UD
6995 [BZ #11781]
6996 * malloc/malloc.h: Declare malloc hook variables as volatile.
6997
13f1ab36
UD
6998 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6999 in last patch.
7000
b1ebd700
UD
7001 [BZ #11799]
7002 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7003 raise in the comment.
80e2212d
UD
7004 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7005 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7006 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7007
ce67228d
UD
70082011-05-28 Ulrich Drepper <drepper@gmail.com>
7009
8887a920
UD
7010 [BZ #12811]
7011 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7012 grow the buffers more if it already has to be sufficient.
7013 (build_wcs_upper_buffer): Likewise.
7014 * posix/regexec.c (check_matching): Likewise.
7015 (clean_state_log_if_needed): Likewise.
7016 (extend_buffers): Don't enlarge buffers beyond size of the input
7017 buffer.
7018 Patches mostly by Emil Wojak <emil@wojak.eu>.
7019 * posix/bug-regex32.c: New file.
7020 * posix/Makefile (tests): Add bug-regex32.
7021
4f031072
UD
7022 * locale/findlocale.c (_nl_find_locale): Return right away if
7023 _nl_explode_name failed.
7024 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7025
d0478f0c
UD
7026 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7027
de81b246
UD
7028 * debug/xtrace.sh: Unify messages.
7029 * malloc/memusage.sh: Likewise.
7030
c738465a
UD
7031 [BZ #12813]
7032 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7033 time symbol from vDSO. Substitute with vsyscall if not available.
7034 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7035 __vdso_time.
7036
f1f929d7
UD
7037 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7038 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7039 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7040 Add sendmmsg and internal_sendmmsg.
7041 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7042 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7043 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7044
ce67228d
UD
7045 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7046 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7048
e57420c6
UD
70492011-05-27 Ulrich Drepper <drepper@gmail.com>
7050
a8509ca5
UD
7051 [BZ #12813]
7052 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7053 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7054 available.
7055 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7056 __vdso_getcpu.
7057
e57420c6
UD
7058 [BZ #12814]
7059 * iconvdata/Makefile (tests): Add bug-iconv9.
7060 * iconvdata/bug-iconv9.c: New file.
7061
4d07db15
AS
70622011-05-27 Andreas Schwab <schwab@redhat.com>
7063
7064 [BZ #12814]
7065 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7066
ea486f69
JJ
70672011-05-25 Jakub Jelinek <jakub@redhat.com>
7068
7069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7070 (struct user_regs_struct): Change intcs field back to cs.
7071
6f038433
UD
70722011-05-25 Ulrich Drepper <drepper@gmail.com>
7073
7074 * po/ja.po: Update from translation team.
7075
67f86a25
UD
70762011-05-23 Ulrich Drepper <drepper@gmail.com>
7077
7078 [BZ #12795]
7079 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7080 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7081
def7fbd6
AS
70822011-05-20 Andreas Schwab <schwab@redhat.com>
7083
7084 * stdlib/longlong.h: Update from GCC.
7085
f50ef8f1
AS
70862011-05-23 Andreas Schwab <schwab@redhat.com>
7087
7088 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7089 parameter name.
7090 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7091 Add parameter name.
7092 (__sysconf): Pass it down.
7093
de7ce8f1
UD
70942011-05-22 Ulrich Drepper <drepper@gmail.com>
7095
f2962a71
UD
7096 [BZ #12671]
7097 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7098 some situations.
7099 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7100 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7101 add in in __libc_use_alloca calls. Adjust callers.
7102 (glob): Use malloc in some situations.
7103
de7ce8f1
UD
7104 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7105 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7106 pltexit.
7107
aec84f53
UD
71082011-05-21 Ulrich Drepper <drepper@gmail.com>
7109
05bb4a68
UD
7110 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7111 and CLOCK_BOOTTIME_ALARM.
7112
7ea72f99
UD
7113 [BZ #12782]
7114 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7115 is returned.
7116
7e4afad5
UD
7117 * string/_strerror.c (__strerror_r): Print negative errors as signed
7118 numbers.
7119
8e211fec
UD
7120 [BZ #12777]
7121 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7122 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7123 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7124
f7d82dc9
UD
7125 * configure.in: Fix typo in redirection and correct removal of test
7126 files in two cases.
7127
cc9e536d
UD
7128 [BZ #12788]
7129 * locale/setlocale.c (new_composite_name): Fix test to check for
7130 identical name of all categories.
7131
aec84f53
UD
7132 [BZ #12792]
7133 * libio/filedoalloc.c (local_isatty): New function.
7134 (_IO_file_doallocate): Use local_isatty.
7135 * stdio-common/perror.c (perror): In case a new stream is used
7136 forward the stream error.
7137 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7138 error flag.
7139
78e64fdc
RT
71402011-05-20 Ulrich Drepper <drepper@gmail.com>
7141
34a9094f
UD
7142 [BZ #11869]
7143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7144 alloca.
7145 * include/alloca.h (extend_alloca_account): Define.
7146
78e64fdc
RT
7147 [BZ #11857]
7148 * posix/regex.h: Fix comments with documentation of user-accessible
7149 fields after compilation and describe correct free'ing of pattern
7150 after re_compile_pattern.
7151 Patch by Reuben Thomas <rrt@sc3d.org>.
7152
457bddfc
RA
71532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7154
7155 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7156 and -mno-altivec to prevent the compiler from using Altivec and/or
7157 VSX instructions when the corresponding registers are not available.
7158
a4527b51
AS
71592011-05-19 Andreas Schwab <schwab@redhat.com>
7160
7161 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7162
ed690b2f
UD
71632011-05-19 Ulrich Drepper <drepper@gmail.com>
7164
7165 * libio/freopen.c (freopen): Use __dup2, not dup2.
7166 * libio/freopen64.c (freopen64): Likewise.
7167
8db73634
L
71682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 [BZ #12775]
7171 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7172 * math/Makefile (tests): Add test-powl.
7173 (CFLAGS-test-powl.c): Define.
7174 * math/test-powl.c: New file.
7175
0a197a9d
L
71762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7179
ee30c380
UD
71802011-05-17 Ulrich Drepper <drepper@gmail.com>
7181
7182 [BZ #11837]
7183 * iconvdata/gb18030.c: Update to GB18020-2005.
7184
6ce75379
UD
71852011-05-16 Ulrich Drepper <drepper@gmail.com>
7186
a4b89fd8
AR
7187 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7188 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7189 Patch by Aharon Robbins <arnold@skeeve.com>.
7190
ea389b12
UD
7191 [BZ #11892]
7192 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7193 on the stack.
7194
68a3f91f
UD
7195 [BZ #11895]
7196 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7197 through underflows.
7198
15cc7dd1
UD
7199 [BZ #12766]
7200 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7201 point to strings before performing equality test for error_one_per_line
7202 mode.
7203
f3799213
UD
7204 [BZ #11697]
7205 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7206
d79a9c94
UD
7207 [BZ #11820]
7208 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7209 (struct user_fpregs_struct): Avoid __uint*_t types.
7210
56e5eb46
UD
7211 [BZ #6420]
7212 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7213 symbol info. Use it instead of calling _dl_addr locally.
7214 (lock_and_info): New function.
7215 (tr_freehook): Call lock_and_info and pass symbol info as additional
7216 parameter to tr_where.
7217 (tr_mallochook): Likewise.
7218 (tr_reallochook): Likewise.
7219 (tr_memalignhook): Likewise.
7220
6ce75379
UD
7221 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7222 used and couldn't be at all thread-safe.
7223
f8a3b5bf
UD
72242011-05-15 Ulrich Drepper <drepper@gmail.com>
7225
94b7cc37
UD
7226 * libio/freopen.c (freopen): Don't close old file descriptor
7227 before the new one is opened. Instead dup the new file descriptor
7228 to the old one after the new stream is created.
7229 * libio/freopen64.c (freopen64): Likewise.
7230 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7231 * libio/fileops.c (_IO_new_file_close_it): Handle new
7232 _IO_FLAGS2_NOCLOSE flag.
7233 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7234 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7235 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7236 _IO_FLAGS2_NOCLOSE flag.
7237 * include/unistd.h: Add hidden_proto for dup3.
7238 Define __have_dup3.
7239 * io/dup3.c: Define hidden symbol.
7240 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7241
bd25564e
UD
7242 [BZ #7101]
7243 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7244 when an incomplete long option is used.
7245 * posix/tst-getopt_long1.c: New file.
7246 * posix/Makefile (tests): Add tst-getopt_long1.
7247
c84cfef4
UD
7248 [BZ #10138]
7249 * scripts/config.guess: Update from autoconf-2.68.
7250 * scripts/config.sub: Likewise.
7251
3b85df27
UD
7252 [BZ #10157]
7253 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7254 tests into ...
7255 (has_cpuclock): ...this. New function.
7256 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7257 macro here based on has_cpuclock code.
7258
15a856b1
UD
7259 [BZ #10149]
7260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7261 First byte (not low byte) is now always NUL.
7262 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7263
05f399e6
UD
7264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7265 Use non-cancelable interfaces.
7266
10a52685 7267 [BZ #9809]
94ecc67d
UD
7268 * locale/iso-639.def: Add entry for Sorani.
7269
f8a3b5bf
UD
7270 [BZ #11901]
7271 * include/stdlib.h: Move include protection to the right place.
7272 Define abort_msg_s. Declare __abort_msg with it.
7273 * stdlib/abort.c (__abort_msg): Adjust type.
7274 * assert/assert.c (__assert_fail_base): New function. Majority
7275 of code from __assert_fail. Allocate memory for __abort_msg with
7276 mmap.
7277 (__assert_fail): Now call __assert_fail_base.
7278 * assert/assert-perr.c: Remove bulk of implementation. Use
7279 __assert_fail_base.
7280 * include/assert.hL Declare __assert_fail_base.
7281 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7282 mmap.
7283 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7284
1af4e298
UD
72852011-05-14 Ulrich Drepper <drepper@gmail.com>
7286
f8a3b5bf 7287 [BZ #11952]
d26dfc60
MG
7288 [BZ #12453]
7289 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7290 until all modules are registered in the DTV.
7291 * elf/Makefile: Add rules to build and run tst-tls19.
7292 * elf/tst-tls19.c: New file.
7293 * elf/tst-tls19mod1.c: New file.
7294 * elf/tst-tls19mod2.c: New file.
7295 * elf/tst-tls19mod3.c: New file.
7296 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7297
2fc54d6f
UD
7298 [BZ #12083]
7299 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7300 correctly.
7301
98d76b46
UD
7302 [BZ #12601]
7303 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7304 two-byte sequence errors.
7305 * iconvdata/Makefile (tests): Add bug-iconv8.
7306 * iconvdata/bug-iconv8.c: New file.
7307
da3c19ef
UD
7308 [BZ #12626]
7309 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7310 buf2 definition.
7311
ca408c15
UD
7312 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7313
d6f67f7d
UD
7314 [BZ #12432]
7315 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7316 (dummy_getcfa): New function.
7317 (init): Get _Unwind_GetCFA address, use dummy if not found.
7318 (backtrace_helper): In recursion check, also check whether CFA changes.
7319 (__backtrace): Completely initialize arg.
7320
1af4e298 7321 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7322 storing incomplete byte sequence in state object. Avoid testing for
7323 guaranteed too small input if we know there is enough data available.
1af4e298 7324
da62f81b
AS
73252011-05-11 Andreas Schwab <schwab@redhat.com>
7326
7327 * Makeconfig (+link-pie): Indent.
7328 * Rules (binaries-pie): Define if $(have-fpie) and
7329 $(build-shared).
7330 (binaries-shared): Also filter out $(binaries-pie).
7331 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7332 * nscd/Makefile (others-pie): Add nscd.
7333 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7334 ($(objpfx)nscd): Remove command override.
7335 * login/Makefile (others-pie): Add pt_chown.
7336 ($(objpfx)pt_chown): Remove command override.
7337 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7338 remove command overrides.
7339
fcabc0f8
UD
73402011-05-13 Ulrich Drepper <drepper@gmail.com>
7341
20030ae6
UD
7342 * libio/tst_putwc.c: Fix error messages.
7343
fcabc0f8
UD
7344 [BZ #12724]
7345 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7346 currently writing and seek to current position when not.
7347 * libio/Makefile (tests): Add bug-fclose1.
7348 * libio/bug-fclose1.c: New file.
7349
320a5dc0
PB
73502011-05-12 Ulrich Drepper <drepper@gmail.com>
7351
7352 [BZ #12511]
7353 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7354 don't set DF_1_NODELETE here.
7355 (do_lookup_x): When entering new entry test for copy relocation
7356 and if necessary set DF_1_NODELETE flag.
7357 * elf/tst-unique4.cc: New file.
7358 * elf/tst-unique4.h: New file.
7359 * elf/tst-unique4lib.cc: New file.
7360 * elf/Makefile: Add rules to build and run tst-unique4.
7361 Patch by Piotr Bury <pbury@goahead.com>.
7362
22836f52
UD
73632011-05-11 Ulrich Drepper <drepper@gmail.com>
7364
f574184a
UD
7365 [BZ #12052]
7366 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7367
e1fb097f
UD
7368 [BZ #12625]
7369 * misc/mntent_r.c (addmntent): Flush the stream after the output
7370
22836f52
UD
7371 [BZ #12393]
7372 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7373 (is_trusted_path_normalize): Skip initial colon. Append slash
7374 to empty buffer. Duplicate is_trusted_path code but allow
7375 constructed patch to be prefix.
7376 (is_dst): Allow $ORIGIN followed by /.
7377 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7378 Correct testing of result of is_trusted_path_normalize
7379 (decompose_rpath): Fix warning.
7380
7b3b0b2a
UD
73812011-05-10 Ulrich Drepper <drepper@gmail.com>
7382
7383 [BZ #11257]
7384 * grp/initgroups.c (internal_getgrouplist): When we found the service
7385 list through the initgroups entry in nsswitch.conf do not always
7386 continue on a successful lookup. Don't always use the
eac80ce2 7387 __nss_group_database value if it is set.
7b3b0b2a
UD
7388 * nss/nsswitch.conf (initgroups): Change action for successful db
7389 lookup to continue for compatibility.
7390
2a81eaa5
UD
73912011-05-09 Ulrich Drepper <drepper@gmail.com>
7392
be97a69e
UD
7393 [BZ #11532]
7394 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7395 and CP774 modules.
7396 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7397 and CP774 modules.
7398 * iconvdata/tst-tables.sh: Likewise.
7399 * iconvdata/cp770.c: New file.
7400 * iconvdata/cp771.c: New file.
7401 * iconvdata/cp772.c: New file.
7402 * iconvdata/cp773.c: New file.
7403 * iconvdata/cp774.c: New file.
7404 * iconvdata/testdata/CP770: New file.
7405 * iconvdata/testdata/CP770..UTF8: New file.
7406 * iconvdata/testdata/CP771: New file.
7407 * iconvdata/testdata/CP771..UTF8: New file.
7408 * iconvdata/testdata/CP772: New file.
7409 * iconvdata/testdata/CP772..UTF8: New file.
7410 * iconvdata/testdata/CP773: New file.
7411 * iconvdata/testdata/CP773..UTF8: New file.
7412 * iconvdata/testdata/CP774: New file.
7413 * iconvdata/testdata/CP774..UTF8: New file.
7414
7415 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7416 END CHARMAP line.
7417 * iconvdata/gen-8bit-gap.sh: Likewise.
7418 * iconvdata/gen-8bit.sh: Likewise.
7419
c1e9e399
UD
7420 * locale/iso-639.def: Add ary entry.
7421
24c55fb3 7422 [BZ #11258]
96b4b1b0
UD
7423 * locale/C-translit.h.in: Add U20A1 transliteration.
7424
bdc2f971
KB
7425 [BZ #12178]
7426 * locale/iso-639.def: Add wae entry.
7427 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7428
2952b117
UD
7429 [BZ #12545]
7430 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7431 for n.
7432
2a81eaa5
UD
7433 [BZ #12711]
7434 * locale/C-translit.h.in: Add entry for U20B9.
7435 Patch by pravin.d.s@gmail.com.
7436
28377d1b
UD
74372011-05-08 Ulrich Drepper <drepper@gmail.com>
7438
7fb90fb8
UD
7439 [BZ #12713]
7440 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7441 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7442 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7443 in rtld. Use *stat64.
7fb90fb8 7444 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7445 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7446 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7447 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7448 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7449 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7450 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7451 __fstatat64 macros.
7fb90fb8
UD
7452 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7453 * dirent/rewinddir.c: Add libc_hidden_def.
7454 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7455 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7456
28377d1b
UD
7457 * include/dirent.h (__alloc_dir): Add flags parameter.
7458 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7459 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7460 __alloc_dir.
7461 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7462 from fdopendir if O_CLOEXEC is already set.
7463
66bdbaa4
AM
74642011-03-15 Alan Modra <amodra@gmail.com>
7465
7466 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7467 l_tls_firstbyte_offset non-zero. Save padding offset in
7468 l_tls_firstbyte_offset for later use.
7469 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7470 freeing static tls block.
7471
95721191
JN
74722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7473
7474 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7475 where #ifdef was intended. The intent is to prevent ARG_MAX from
7476 being defined by the kernel headers.
7477
f87dfb1f
UD
74782011-05-07 Ulrich Drepper <drepper@gmail.com>
7479
7480 [BZ #12734]
7481 * resolv/resolv.h: Define RES_NOTLDQUERY.
7482 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7483 no-tld-query and set RES_NOTLDQUERY.
7484 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7485 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7486 modern BIND to search name as TLD unless forbidden.
7487
47c3cd7a
UD
74882011-05-07 Petr Baudis <pasky@suse.cz>
7489 Ulrich Drepper <drepper@gmail.com>
7490
7491 [BZ #12393]
7492 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7493 (is_trusted_path): ...to here.
c1e9ea35 7494 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7495 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7496 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7497
8a35c912
PP
74982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7499
7500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7501 __BEGIN/__END_DECLS.
7502
acd41f47
UD
75032011-05-06 Ulrich Drepper <drepper@gmail.com>
7504
7505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7506 NSS_STATUS_NOTFOUND if no record was found.
7507
597df647
AS
75082011-05-05 Andreas Schwab <schwab@redhat.com>
7509
7510 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7511 (headers-not-in-tirpc): Remove rpc/netdb.h
7512 * resolv/netdb.h: Revert last change.
7513
b9af1301
PP
75142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7515
7516 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7517 circular dependency between libgcc.a and libc.a.
7518
4e34d5f5
AS
75192011-05-05 Andreas Schwab <schwab@redhat.com>
7520
7521 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7522 * nis/Makefile: Don't install rpcsvc/*.
7523 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7524 instead of <rpc/types.h>.
7525 (MAXHOSTNAMELEN): Define.
7526
00ee369c
AS
75272011-05-03 Andreas Schwab <schwab@redhat.com>
7528
7529 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7530
0b592a30
MB
75312011-04-28 Maciej Babinski <mbabinski@google.com>
7532
7533 [BZ #12714]
7534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7535 gethostbyname4_r when IPv6 results are possible.
7536
6e04cbbe
UD
75372011-05-02 Ulrich Drepper <drepper@gmail.com>
7538
7539 [BZ #12723]
7540 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7541 _PC_PIPE_BUF handling.
7542
e4ecafe0
BH
75432011-04-30 Bruno Haible <bruno@clisp.org>
7544
7545 [BZ #12717]
7546 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7547 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7548 to 'int'.
7549 * inet/getnameinfo.c (getnameinfo): Likewise.
7550
125ee683
UD
75512011-04-29 Ulrich Drepper <drepper@gmail.com>
7552
7553 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7554 to groups setting in database lookup.
7555 * nss/nsswitch.conf: Add initgroups entry.
7556
b722481a
EB
75572011-04-22 Ulrich Drepper <drepper@gmail.com>
7558
7559 [BZ #12685]
7560 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7561 mode string.
7562 Patch by Eric Blake <eblake@redhat.com>.
7563
4df46dbd
L
75642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7565
7566 * sunrpc/Makefile (need-export-routines): Add svc_run.
7567 (routines): Remove svc_run.
7568 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7569 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7570 * sunrpc/svc_run.c (svc_run): Likewise.
7571 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7572
e84142d2
UD
75732011-04-21 Ulrich Drepper <drepper@gmail.com>
7574
7575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7576 problem in reallocation in last patch.
7577
877175d8
UD
75782011-04-20 Ulrich Drepper <drepper@gmail.com>
7579
7580 * sunrpc/Makefile: Move inclusion of Rules.
7581
ab8eed78
UD
75822011-04-19 Ulrich Drepper <drepper@gmail.com>
7583
7584 * nss/nss_files/files-initgroups.c: New file.
7585 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7586 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7587 _nss_files_initgroups_dyn.
7588
e3d8f584
RS
75892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7590
7591 * elf/elf.h (R_ARM_IRELATIVE): Define.
7592
af190f45
UD
75932011-04-19 Ulrich Drepper <drepper@gmail.com>
7594
7595 * po/ru.po: Update from translation team.
7596
53cf59ef
UD
75972011-04-17 Ulrich Drepper <drepper@gmail.com>
7598
7599 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7600 dependencies.
7601
4c559bcd
MF
76022011-02-06 Mike Frysinger <vapier@gentoo.org>
7603
7604 [BZ #12653]
7605 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7606 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7609 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7610
4420675c
AS
76112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7612
7613 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7614 differing bytes.
7615 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7618
75ea32ab
UD
76192011-04-17 Ulrich Drepper <drepper@gmail.com>
7620
7621 [BZ #12420]
7622 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7623 storing it.
7624 * stdlib/bug-getcontext.c: New file.
7625 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7626
27390476
AK
76272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7628
7629 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7630 instructions into .machine "z9-109".
7631 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7632 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7633
10442705
AK
76342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7635
7636 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7637 between environment variables and auxiliary vector.
7638
7b57bfe5
UD
76392011-04-16 Ulrich Drepper <drepper@gmail.com>
7640
7641 * Makefile: Add rules to build linkobj/libc.so.
7642 * include/libc-symbols.h: Define libc_hidden_nolink.
7643 * include/rpc/auth.h: Mark functions which are to be hidden.
7644 * include/rpc/auth_des.h: Likewise.
7645 * include/rpc/auth_unix.h: Likewise.
7646 * include/rpc/clnt.h: Likewise.
7647 * include/rpc/des_crypt.h: Likewise.
7648 * include/rpc/key_prot.h: Likewise.
7649 * include/rpc/pmap_clnt.h: Likewise.
7650 * include/rpc/pmap_prot.h: Likewise.
7651 * include/rpc/pmap_rmt.h: Likewise.
7652 * include/rpc/rpc_msg.h: Likewise.
7653 * include/rpc/svc.h: Likewise.
7654 * include/rpc/svc_auth.h: Likewise.
7655 * include/rpc/xdr.h: Likewise.
7656 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7657 * nss/Makefile: Likewise.
7658 * sunrpc/Makefile: Don't install headers. Build library with normal
7659 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7660 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7661 for the compat linking library. Remove use of INTDEF/INTUSE.
7662 * sunrpc/auth_none.c: Likewise.
7663 * sunrpc/auth_unix.c: Likewise.
7664 * sunrpc/authdes_prot.c: Likewise.
7665 * sunrpc/authuxprot.c: Likewise.
7666 * sunrpc/clnt_gen.c: Likewise.
7667 * sunrpc/clnt_perr.c: Likewise.
7668 * sunrpc/clnt_raw.c: Likewise.
7669 * sunrpc/clnt_simp.c: Likewise.
7670 * sunrpc/clnt_tcp.c: Likewise.
7671 * sunrpc/clnt_udp.c: Likewise.
7672 * sunrpc/clnt_unix.c: Likewise.
7673 * sunrpc/des_crypt.c: Likewise.
7674 * sunrpc/des_soft.c: Likewise.
7675 * sunrpc/get_myaddr.c: Likewise.
7676 * sunrpc/key_call.c: Likewise.
7677 * sunrpc/key_prot.c: Likewise.
7678 * sunrpc/netname.c: Likewise.
7679 * sunrpc/pm_getmaps.c: Likewise.
7680 * sunrpc/pm_getport.c: Likewise.
7681 * sunrpc/pmap_clnt.c: Likewise.
7682 * sunrpc/pmap_prot.c: Likewise.
7683 * sunrpc/pmap_prot2.c: Likewise.
7684 * sunrpc/pmap_rmt.c: Likewise.
7685 * sunrpc/publickey.c: Likewise.
7686 * sunrpc/rpc_cmsg.c: Likewise.
7687 * sunrpc/rpc_common.c: Likewise.
7688 * sunrpc/rpc_dtable.c: Likewise.
7689 * sunrpc/rpc_prot.c: Likewise.
7690 * sunrpc/rpc_thread.c: Likewise.
7691 * sunrpc/rtime.c: Likewise.
7692 * sunrpc/svc.c: Likewise.
7693 * sunrpc/svc_auth.c: Likewise.
7694 * sunrpc/svc_authux.c: Likewise.
7695 * sunrpc/svc_raw.c: Likewise.
7696 * sunrpc/svc_run.c: Likewise.
7697 * sunrpc/svc_simple.c: Likewise.
7698 * sunrpc/svc_tcp.c: Likewise.
7699 * sunrpc/svc_udp.c: Likewise.
7700 * sunrpc/svc_unix.c: Likewise.
7701 * sunrpc/svcauth_des.c: Likewise.
7702 * sunrpc/xcrypt.c: Likewise.
7703 * sunrpc/xdr.c: Likewise.
7704 * sunrpc/xdr_array.c: Likewise.
7705 * sunrpc/xdr_float.c: Likewise.
7706 * sunrpc/xdr_intXX_t.c: Likewise.
7707 * sunrpc/xdr_mem.c: Likewise.
7708 * sunrpc/xdr_rec.c: Likewise.
7709 * sunrpc/xdr_ref.c: Likewise.
7710 * sunrpc/xdr_sizeof.c: Likewise.
7711 * sunrpc/xdr_stdio.c: Likewise.
7712
e6c61494
UD
77132011-04-10 Ulrich Drepper <drepper@gmail.com>
7714
7715 [BZ #12650]
7716 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7717 * sysdeps/ia64/dl-tls.h: Likewise.
7718 * sysdeps/powerpc/dl-tls.h: Likewise.
7719 * sysdeps/s390/dl-tls.h: Likewise.
7720 * sysdeps/sh/dl-tls.h: Likewise.
7721 * sysdeps/sparc/dl-tls.h: Likewise.
7722 * sysdeps/x86_64/dl-tls.h: Likewise.
7723 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7724
34fe483e
AS
77252011-03-14 Andreas Schwab <schwab@redhat.com>
7726
7727 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7728 rpath element also skip the following colon.
7729 (expand_dynamic_string_token): Add is_path parameter and pass
7730 down to DL_DST_REQUIRED and _dl_dst_substitute.
7731 (decompose_rpath): Call expand_dynamic_string_token with
7732 non-zero is_path. Ignore empty rpaths.
7733 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7734 with zero is_path.
7735
f12a32e6
AS
77362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7737
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7739 Make cancelable.
7740
38a7d692
UD
77412011-04-09 Ulrich Drepper <drepper@gmail.com>
7742
7743 [BZ #12655]
7744 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7745 Patch by Filipe David Manana <fdmanana@apache.org>.
7746
e451d22b
AS
77472011-04-07 Andreas Schwab <schwab@redhat.com>
7748
7749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7750 Maintain aligned stack.
7751 (CHECK_RSP): Remove unused macro.
7752
dedc7c7b
UD
77532011-04-03 Ulrich Drepper <drepper@gmail.com>
7754
7755 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7756 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7757
94521213
UD
77582011-04-02 Ulrich Drepper <drepper@gmail.com>
7759
7760 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7761
8cb700c0 7762 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7763
0354e355
L
77642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7765
7766 [BZ #12518]
7767 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7768 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7769 * sysdeps/x86_64/memmove.c: New file.
7770 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7771 (memcpy): Renamed to ...
7772 (__new_memcpy): This.
7773 (memcpy): Provide GLIBC_2_14 memcpy.
7774 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7775 (memcpy): Provide GLIBC_2_2_5 memcpy.
7776
8593482f
UD
77772011-04-01 Ulrich Drepper <drepper@gmail.com>
7778
7779 [BZ #12631]
7780 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7781
81a5726b
AS
77822011-03-30 Andreas Schwab <schwab@redhat.com>
7783
7784 * misc/syncfs.c: New file.
7785 * misc/Makefile (routines): Add syncfs.
7786 * posix/unistd.h: Declare syncfs.
7787 * sysdeps/unix/syscalls.list: Add syncfs.
7788
00e5419f
AS
77892011-04-01 Andreas Schwab <schwab@redhat.com>
7790
7791 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7792 open_by_handle_at.
7793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7794 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7796 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7798 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7800
748876bf
UD
78012011-04-01 Ulrich Drepper <drepper@gmail.com>
7802
658e451d
UD
7803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7809 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7810
748876bf
UD
7811 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7812 sync_file_range.c with -fexceptions.
7813 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7814 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7815 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7816 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7817 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7818 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7820 sync_file_range as cancellation point
7821 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7822 now a wrapper around __call_sync_file_range with cancellation handling.
7823 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7824 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7825 function name to __call_sync_file_range.
7826 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7827 Add call_sync_file_range.
748876bf 7828
6e63d5e1
AS
78292011-04-01 Andreas Schwab <schwab@redhat.com>
7830
7831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7832 bits/timex.h.
6e63d5e1 7833
46998f74
UD
78342011-04-01 Ulrich Drepper <drepper@gmail.com>
7835
4c1423ed
UD
7836 * iconv/iconv.h: Fix typo in comment.
7837 * io/fcntl.h: Likewise.
7838 * libio/stdio.h: Likewise.
7839 * posix/spawn.h: Likewise.
7840 * posix/unistd.h: Likewise.
7841 * stdlib/stdlib.h: Likewise.
7842 * time/time.h: Likewise.
7843 * wcsmbs/wchar.h: Likewise.
7844
158648c0
UD
7845 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7846 open_by_handle): Add.
7847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7848 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7849 Augment a few comments.
7850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7855 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7856 open_by_handle.
7857
46998f74
UD
7858 * io/fcntl.h (AT_EMPTY_PATH): Define.
7859
83fe108b
UD
78602011-03-30 Ulrich Drepper <drepper@gmail.com>
7861
7862 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7863 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7864 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7865 to...
7866 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7867 * Versions.def: Add GLIBC_2.14.
7868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7869 Export.
83fe108b 7870
bb242059
UD
78712011-03-22 Ulrich Drepper <drepper@gmail.com>
7872
7873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7874 round counter.
7875 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7876
c97a1282
L
78772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7878
7879 [BZ #12597]
7880 * string/test-strncmp.c (do_page_test): New function.
7881 (check2): Likewise.
7882 (test_main): Call check2.
7883 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7884
2a115601
UD
78852011-03-20 Ulrich Drepper <drepper@gmail.com>
7886
7887 [BZ #12587]
7888 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7889 Handle cache information in CPU leaf 4.
7890 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7891
8126d904
UD
78922011-03-18 Ulrich Drepper <drepper@gmail.com>
7893
042c49c6 7894 [BZ #12583]
8126d904
UD
7895 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7896 character representation.
7897 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7898
ccfe366e
RA
78992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7900
7901 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7902 END(__isnan) to END(__isnanf) to match function entry point/label
7903 EALIGN(__isnanf,...).
7904
c6e13027
JJ
79052011-03-10 Jakub Jelinek <jakub@redhat.com>
7906
7907 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7908
33f85a3f
UD
79092011-03-10 Ulrich Drepper <drepper@gmail.com>
7910
028478fa
UD
7911 [BZ #12510]
7912 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7913 copy from the symbol referenced in the relocation to initialize the
7914 used variable.
7915 Patch by Piotr Bury <pbury@goahead.com>.
7916 * elf/Makefile: Add rules to build and tst-unique3.
7917 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7918 * elf/tst-unique3.cc: New file.
7919 * elf/tst-unique3.h: New file.
7920 * elf/tst-unique3lib.cc: New file.
7921 * elf/tst-unique3lib2.cc: New file.
7922
33f85a3f
UD
7923 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7924
03592fc7
MF
79252011-03-10 Mike Frysinger <vapier@gentoo.org>
7926
7927 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7928 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7929 to _start.
03592fc7 7930
6a5ee102
UD
79312011-03-06 Ulrich Drepper <drepper@gmail.com>
7932
7933 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7934 to-be-loaded object along a path to loader is ld.so.
7935
7e4ba49c
HJ
79362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7937 Ulrich Drepper <drepper@gmail.com>
7938
7939 * sysdeps/x86_64/memset.S: After aligning destination, code
7940 branches to different locations depending on the value of
7941 misalignment, when multiarch is enabled. Fix this.
7942
79432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7944
7945 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7946 Set _x86_64_preferred_memory_instruction for AMD processsors.
7947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7948 Set bit_Prefer_SSE_for_memop for AMD processors.
7949
13a804de
UD
79502011-03-04 Ulrich Drepper <drepper@gmail.com>
7951
7952 * libio/fmemopen.c (fmemopen): Optimize a bit.
7953
9d25c392
AS
79542011-03-03 Andreas Schwab <schwab@redhat.com>
7955
7956 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7957
a5543c6a
RM
79582011-03-03 Roland McGrath <roland@redhat.com>
7959
7960 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7961
012d35f7
DM
79622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7963
7e4ba49c 7964 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7965 __bzero_ultra1 instead of __memset_ultra1.
7966
4bff6e01
AS
79672011-02-23 Andreas Schwab <schwab@redhat.com>
7968 Ulrich Drepper <drepper@gmail.com>
7969
7970 [BZ #12509]
7971 * include/link.h (struct link_map): Add l_orig_initfini.
7972 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7973 returning unsuccessfully.
7974 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7975 close of a file loaded at startup, restore the original l_initfini
7976 list.
7977 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7978 list, store the pointer.
7979 * elf/Makefile ($(objpfx)noload-mem): New rule.
7980 (noload-ENV): Define.
7981 (tests): Add $(objpfx)noload-mem.
7982 * elf/noload.c: Include <memcheck.h>.
7983 (main): Call mtrace. Close all opened handles.
7984
f2092faf
AS
79852011-02-17 Andreas Schwab <schwab@redhat.com>
7986
7987 [BZ #12454]
7988 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7989 dependencies are missing.
7990
6c8a2e88
ST
79912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7992
f2092faf 7993 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7994 Hurd needs munmap.
7995 * sysdeps/mach/hurd/ifreq.h: New file.
7996
84a42118
PB
79972011-01-27 Petr Baudis <pasky@suse.cz>
7998 Ulrich Drepper <drepper@gmail.com>
7999
071f805e 8000 [BZ 12445]#
84a42118
PB
8001 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8002 to extend_alloca().
8003 * stdio-common/bug23.c: New file.
8004 * stdio-common/Makefile (tests): Add bug23.
8005
e23fe25b
AS
80062010-09-28 Andreas Schwab <schwab@redhat.com>
8007 Ulrich Drepper <drepper@gmail.com>
8008
8009 [BZ #12489]
8010 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8011 before performing relro protection. At old place add assertion
8012 to make sure nothing changed.
8013
d3f02e10
NS
80142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8015 Glauber de Oliveira Costa <glommer@gmail.com>
8016
8017 * elf/elf.h: Add new ARM TLS relocs.
8018
d55fd7a5
RA
80192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8020
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8022 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8023 cast from r3.
8024 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8025 'tests' variable.
8026 * sysdeps/wordsize-64/tst-writev.c: New file.
8027
2206397e
RA
80282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8029
8030 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8031 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8032 insns in _dl_start to prevent a TOC reference before relocs are
8033 resolved.
8034
e9433893
UD
80352011-02-15 Ulrich Drepper <drepper@gmail.com>
8036
8037 [BZ #12469]
8038 * Makeconfig: Remove RANLIB definition.
8039 * Makerules: Don't use RANLIB.
8040 * aclocal.m4: Remove ranlib test.
8041 * configure.in: No need to check for ranlib.
8042 * elf/rtld-Rules: Don't use RANLIB.
8043
f75286c6
ST
80442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8045
8e31c82d
ST
8046 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8047 protection macro.
8048 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8049 inclusion protection macro.
8050
f75286c6
ST
8051 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8052 SIGRTMIN and SIGRTMAX and print information in that case only when
8053 SIGRTMIN is defined.
8054
c1d0e639
JJ
80552011-02-11 Jakub Jelinek <jakub@redhat.com>
8056
8057 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8058 arginfo fn returning -1.
8059
8060 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8061 and thousands string is zero terminated.
8062
edf9294e
AS
80632011-02-03 Andreas Schwab <schwab@redhat.com>
8064
8065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8066 sysdeps/unix/sysv/linux/bits/socket.h.
8067
2b7e92df
ST
80682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8069
edf9294e
AS
8070 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8071 (__CPU_COUNT): Remove old macros.
8072 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8073 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8074 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8075 (__sched_cpualloc, __sched_cpufree): Add declarations.
8076
a4c7ea7b
UD
80772011-02-05 Ulrich Drepper <drepper@gmail.com>
8078
8079 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8080 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8081 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8082 (readdhstai): Return value of addhstaiX call.
8083 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8084 (addgrbyX): Return value returned by cache_addgr.
8085 (readdgrbyname): Return value returned by addgrbyX.
8086 (readdgrbygid): Likewise.
8087 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8088 (addpwbyX): Return value returned by cache_addpw.
8089 (readdpwbyname): Return value returned by addhstbyX.
8090 (readdpwbyuid): Likewise.
8091 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8092 (addservbyX): Return value returned by cache_addserv.
8093 (readdservbyname): Return value returned by addservbyX:
8094 (readdservbyport): Likewise.
8095 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8096 (addhstbyX): Return value returned by cache_addhst.
8097 (readdhstbyname): Return value returned by addhstbyX.
8098 (readdhstbyaddr): Likewise.
8099 (readdhstbynamev6): Likewise.
8100 (readdhstbyaddrv6): Likewise.
8101 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8102 (readdinitgroups): Return value returned by addinitgroupsX.
8103 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8104 (prune_cache): Keep track of timeout value of re-added entries.
8105 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8106 * nscd/nscd.h: Adjust prototypes of readd* functions.
8107
a0bf67cc
RM
81082011-02-04 Roland McGrath <roland@redhat.com>
8109
8110 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8111 (nis_stats): Likewise.
8112 * nis/nis_modify.c (nis_modify): Likewise.
8113 * nis/nis_remove.c (nis_remove): Likewise.
8114 * nis/nis_add.c (nis_add): Likewise.
8115
8116 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8117
8118 * posix/fnmatch_loop.c: Add some consts.
8119
8120 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8121
435b95eb
L
81222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8123
8124 [BZ #12460]
8125 * config.make.in (config-cflags-novzeroupper): Define.
8126 * configure.in: Substitute libc_cv_cc_novzeroupper.
8127 * elf/Makefile (AVX-CFLAGS): Define.
8128 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8129 (CFLAGS-tst-auditmod4a.c): Likewise.
8130 (CFLAGS-tst-auditmod4b.c): Likewise.
8131 (CFLAGS-tst-auditmod6b.c): Likewise.
8132 (CFLAGS-tst-auditmod6c.c): Likewise.
8133 (CFLAGS-tst-auditmod7b.c): Likewise.
8134 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8135
8517b15e
UD
81362011-02-02 Ulrich Drepper <drepper@gmail.com>
8137
8138 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8139 function to the callback.
8140 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8141
10a656fe
AS
81422011-02-02 Andreas Schwab <schwab@redhat.com>
8143
8144 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8145 of errno.
8146
968dad0a
UD
81472011-01-19 Ulrich Drepper <drepper@gmail.com>
8148
9f94d2ea 8149 [BZ #11724]
968dad0a
UD
8150 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8151 of constructors.
8152 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8153 of destructors.
8154 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8155
8156 [BZ #11724]
8157 * elf/Makefile: Add rules to build and run new test.
8158 * elf/tst-initorder.c: New file.
8159 * elf/tst-initorder.exp: New file.
8160 * elf/tst-initordera1.c: New file.
8161 * elf/tst-initordera2.c: New file.
8162 * elf/tst-initordera3.c: New file.
8163 * elf/tst-initordera4.c: New file.
8164 * elf/tst-initorderb1.c: New file.
8165 * elf/tst-initorderb2.c: New file.
8166 * elf/tst-order-a1.c: New file.
8167 * elf/tst-order-a2.c: New file.
8168 * elf/tst-order-a3.c: New file.
8169 * elf/tst-order-a4.c: New file.
8170 * elf/tst-order-b1.c: New file.
8171 * elf/tst-order-b2.c: New file.
8172 * elf/tst-order-main.c: New file.
8173 New test case by George Gensure <werkt0@gmail.com>.
8174
86e92359
UD
81752010-10-01 Andreas Schwab <schwab@redhat.com>
8176
8177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8178 decoding ACE if AI_CANONIDN.
8179
5d5732b0
UD
81802011-01-18 Ulrich Drepper <drepper@gmail.com>
8181
8182 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8183
a77e8cbc
UD
81842011-01-17 Ulrich Drepper <drepper@gmail.com>
8185
6392473f
UD
8186 * version.h (RELEASE): Bump for 2.13 release.
8187 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8188
620a0529
UD
8189 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8190
18ba70a5
UD
8191 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8192 MADV_NOHUGEPAGE.
32465c3e
UD
8193 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8194 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8196 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8198 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8199
c0dafcf1
UD
8200 * posix/getconf.c: Update copyright year.
8201 * catgets/gencat.c: Likewise.
8202 * csu/version.c: Likewise.
8203 * debug/catchsegv.sh: Likewise.
8204 * debug/xtrace.sh: Likewise.
8205 * elf/ldconfig.c: Likewise.
8206 * elf/ldd.bash.in: Likewise.
8207 * elf/sprof.c (print_version): Likewise.
8208 * iconv/iconv_prog.c: Likewise.
8209 * iconv/iconvconfig.c: Likewise.
8210 * locale/programs/locale.c: Likewise.
8211 * locale/programs/localedef.c: Likewise.
8212 * malloc/memusage.sh: Likewise.
8213 * malloc/mtrace.pl: Likewise.
8214 * nscd/nscd.c (print_version): Likewise.
8215 * nss/getent.c: Likewise.
8216
a77e8cbc
UD
8217 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8218 PF_CAIF, and PF_ALG.
8219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8220
77e8bddf
AS
82212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8222
1f20b93a
AS
8223 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8224 (modules-names): Use them.
8225 (ifunc-test-modules, ifunc-pie-tests): Define.
8226 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8227 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8228 (test-extras): Likewise.
8229 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8230 $(compile-command.c).
8231 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8232 (all-built-dso): Define.
8233 (check-textrel.out, check-execstack.out): Depend on it.
8234
77e8bddf
AS
8235 * configure.in: Don't override --enable-multi-arch.
8236
bc425b33
UD
82372011-01-15 Ulrich Drepper <drepper@gmail.com>
8238
8239 [BZ #6812]
8240 * nscd/hstcache.c (tryagain): Define.
8241 (cache_addhst): Return tryagain not notfound for temporary errors.
8242 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8243 failed.
8244
794c3ad3
UD
82452011-01-14 Ulrich Drepper <drepper@gmail.com>
8246
70181fdd
UD
8247 [BZ #10563]
8248 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8249 to make the syscall.
8250 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8251
794c3ad3
UD
8252 [BZ #12378]
8253 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8254 and fall back to matching as normal character if the string ends before
8255 the matching ']' is found. This is what POSIX requires.
8256 * posix/testfnm.c: Adjust test result.
8257 * posix/globtest.sh: Adjust test result. Add new test.
8258 * posix/tst-fnmatch.input: Likewise.
8259 * posix/tst-fnmatch2.c: Add new test.
8260
68dc9497
AS
82612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8262
8263 * elf/Makefile (check-execstack): Revert last change. Depend on
8264 check-execstack.h.
8265 (check-execstack.h): New target.
8266 (generated): Add check-execstack.h.
8267 * elf/check-execstack.c: Include "check-execstack.h".
8268 (main): Revert last change.
8269 (handle_file): Return zero if GNU_STACK is absent and
8270 DEFAULT_STACK_PERMS doesn't include PF_X.
8271
451f001b
UD
82722011-01-13 Ulrich Drepper <drepper@gmail.com>
8273
cfa28e56
UD
8274 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8275 in child fails because the descriptor is already closed.
8cf8ce17
UD
8276 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8277 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8278 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8279
1086d70d
UD
8280 [BZ #12397]
8281 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8282 syscall.
8283
451f001b
UD
8284 [BZ #10484]
8285 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8286 temporary buffer used to handle multi lookups locally.
a85b5cb4 8287 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8288
08769175
UD
82892011-01-12 Ulrich Drepper <drepper@gmail.com>
8290
8291 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8292 loader is ld.so.
8293
5e49c52e
UD
82942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8295
8296 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8297 alignment for SSE2.
8298
60522a5f
UD
82992011-01-12 Ulrich Drepper <drepper@gmail.com>
8300
8301 [BZ #12394]
8302 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8303 characters. When rounding increased number of integer digits recompute
8304 number of groups.
8305 * stdio-common/tst-grouping.c: New file.
8306 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8307
f257bbd7
UD
83082011-01-09 Ulrich Drepper <drepper@gmail.com>
8309
8310 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8311 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8312
8313 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8314 void.
8315 * bits/select.h: Likewise.
8316
fa9c15cb
UD
83172011-01-08 Ulrich Drepper <drepper@gmail.com>
8318
8319 * po/ja.po: Update from translation team.
8320
16c2895f
DM
83212011-01-04 David S. Miller <davem@sunset.davemloft.net>
8322
8323 [BZ #11155]
8324 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8325 implementation just like for lxstat, fxstatat, et al.
8326
2543fef2
JM
83272010-12-27 Jim Meyering <meyering@redhat.com>
8328
8329 [BZ #12348]
8330 * posix/regexec.c (build_trtable): Return failure indication upon
8331 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8332
98727dbe
UD
83332010-12-25 Ulrich Drepper <drepper@gmail.com>
8334
5bd6dc5c
UD
8335 [BZ #12201]
8336 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8337 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8338 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8339 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8340
97983464
UD
8341 [BZ #12207]
8342 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8343
98727dbe
UD
8344 [BZ #12204]
8345 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8346 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8347
4a531bb0
L
83482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8349
8350 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8351 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8352 script has SORT_BY_INIT_PRIORITY.
8353 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8354 NO_CTORS_DTORS_SECTIONS is defined.
8355 * elf/soinit.c: Likewise.
8356 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8357 NO_CTORS_DTORS_SECTIONS is defined.
8358 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8359 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8360 * sysdeps/sh/init-first.c: Likewise.
8361 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8362
07eb4b71
UD
83632010-12-24 Ulrich Drepper <drepper@gmail.com>
8364
8365 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8366 always use the slow path.
8367
30950a5f
RA
83682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8369
8370 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8371 similar rule which adds the sysdep directories to the header search in
8372 order to pick up the correct platform stackinfo.h.
8373 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8374 perform test if it is, otherwise return successfully without testing.
8375 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8376 DEFAULT_STACK_PERMS define in stackinfo.h.
8377 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8378 defined in stackinfo.h.
8379 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8380 DEFAULT_STACK_PERMS defined in stackinfo.h.
8381 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8382 * sysdeps/ia64/stackinfo.h: Likewise.
8383 * sysdeps/s390/stackinfo.h: Likewise.
8384 * sysdeps/sh/stackinfo.h: Likewise.
8385 * sysdeps/sparc/stackinfo.h: Likewise.
8386 * sysdeps/x86_64/stackinfo.h: Likewise.
8387 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8388 PF_X for powerpc64. Retain PF_X for powerpc32.
8389
db753e2c
UD
83902010-12-19 Ulrich Drepper <drepper@gmail.com>
8391
14b697f7
UD
8392 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8393 accurately.
db753e2c
UD
8394 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8395 GETDENTS_64BIT_ALIGNED.
8396
28300719
UD
83972010-12-14 Ulrich Drepper <dreper@gmail.com>
8398
14b697f7 8399 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8400
4f197237
AS
84012010-12-10 Andreas Schwab <schwab@redhat.com>
8402
dbb0472f
AS
8403 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8404 _GNU_SOURCE.
8405
4f197237
AS
8406 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8407 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8408 Remove __restrict.
8409 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8410 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8411
fb88ac72
UD
84122010-12-09 Ulrich Drepper <drepper@gmail.com>
8413
8414 [BZ #11655]
8415 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8416 are initialized.
8417
42acbb92
JJ
84182010-12-09 Jakub Jelinek <jakub@redhat.com>
8419
8420 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8421
c038d98d
UD
84222010-12-03 Ulrich Drepper <drepper@gmail.com>
8423
8424 * po/it.po: Update from translation team.
8425
3a4a2499
L
84262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8429 unused codes.
8430
1e24cf6e
UD
84312010-11-30 Ulrich Drepper <drepper@gmail.com>
8432
8433 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8434
a7690819
AS
84352010-11-24 Andreas Schwab <schwab@redhat.com>
8436
8437 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8438 specially.
8439 (gaih_getanswer_slice): Likewise.
8440
3bf8d1b1
JJ
84412010-10-20 Jakub Jelinek <jakub@redhat.com>
8442
8443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8444
6db52fbb
PB
84452010-05-31 Petr Baudis <pasky@suse.cz>
8446
8447 [BZ #11149]
8448 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8449 silently even in the chroot mode.
8450
eaca7569
UD
84512010-11-22 Ulrich Drepper <drepper@gmail.com>
8452
8453 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8454 last patch a bit. Pretty printing
8455
3056dcdb
UD
84562010-05-31 Petr Baudis <pasky@suse.cz>
8457
8458 [BZ #10085]
8459 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8460 initialization of skip_initgroups_dyn.
8461
cf7c9078
UD
84622010-11-19 Ulrich Drepper <drepper@gmail.com>
8463
8464 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8466
a1fb5e3e
UD
84672010-11-16 Ulrich Drepper <drepper@gmail.com>
8468
8469 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8470
3540d66b
AS
84712010-11-11 Andreas Schwab <schwab@redhat.com>
8472
8473 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8474 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8475 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8476 ($(objpfx)tst-fnmatch-mem): New rule.
8477 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8478 * posix/tst-fnmatch.c (main): Call mtrace.
8479
13b69574
L
84802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8483 Support Intel processor model 6 and model 0x2c.
8484
da93d214
LM
84852010-11-10 Luis Machado <luisgpm@br.ibm.com>
8486
8487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8488 signed comparison.
8489
8ca52c6e
L
84902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 [BZ #12205]
8493 * string/test-strncasecmp.c (check_result): New function.
8494 (do_one_test): Use it.
8495 (check1): New function.
8496 (test_main): Use it.
8497 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8498 Support strcasecmp and strncasecmp.
8499
69da074d
UD
85002010-11-08 Ulrich Drepper <drepper@gmail.com>
8501
8502 [BZ #12194]
8503 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8504 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8505
ff02d528
L
85062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8509 IFUNC support.
8510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8511 memset-x86-64.
8512 * sysdeps/x86_64/multiarch/bzero.S: New file.
8513 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8514 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8515 * sysdeps/x86_64/multiarch/memset.S: New file.
8516 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8518 Set bit_Prefer_SSE_for_memop for Intel processors.
8519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8520 Define.
8521 (index_Prefer_SSE_for_memop): Define.
8522 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8523
344d0b54
LM
85242010-11-04 Luis Machado <luisgpm@br.ibm.com>
8525
8526 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8527 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8528
c0dde15b
UD
85292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 [BZ #12191]
8532 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8533 (__x86_64_raw_data_cache_size_half): Likewise.
8534 (__x86_64_raw_shared_cache_size): Likewise.
8535 (__x86_64_raw_shared_cache_size_half): Likewise.
8536
8537 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8538 (__x86_64_raw_data_cache_size_half): Likewise.
8539 (__x86_64_raw_shared_cache_size): Likewise.
8540 (__x86_64_raw_shared_cache_size_half): Likewise.
8541 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8542 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8543 and __x86_64_raw_shared_cache_size_half. Round
8544 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8545 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8546 to multiple of 256 bytes.
8547
0e516e0e
MS
85482010-11-03 Ulrich Drepper <drepper@gmail.com>
8549
8550 [BZ #12167]
8551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8552 of inacessible symlinks. Verify result of symlink before returning it.
8553 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8554 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8555
0e012e87
ER
85562010-10-28 Erich Ritz <erichritz@gmail.com>
8557
8558 * math/math.h (isinf): Fix typo in comment.
8559
de0ff7bc
UD
85602010-11-01 Ulrich Drepper <drepper@gmail.com>
8561
8562 * po/da.po: Update from translation team.
8563
fa41c84d
UD
85642010-10-26 Ulrich Drepper <drepper@gmail.com>
8565
8566 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8567 is added to the list.
8568
f0967738
AK
85692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8570 Ulrich Drepper <drepper@gmail.com>
8571
8572 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8573 the global list here. Move code to...
8574 (_dl_add_to_namespace_list): ...here. New function.
8575 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8576 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8577 * elf/dl-load.c (lose): Don't remove the element from the list.
8578 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8579 (_dl_map_object): Likewise.
8580
85812010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8582
8583 [BZ #12159]
8584 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8585 into all bytes of SSE register.
8586 Patch by Richard Li <richardpku@gmail.com>.
8587
f0967738 85882010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8589
8590 [BZ #12140]
8591 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8592 perturbing.
8593
d0b9e94f
MB
85942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8595
8596 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8597 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8598 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8601 submachine.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8603
8e9f92e9
AS
86042010-10-22 Andreas Schwab <schwab@redhat.com>
8605
8606 * include/dlfcn.h (__RTLD_SECURE): Define.
8607 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8608 mode & __RTLD_SECURE instead.
8609 (open_path): Rename preloaded parameter to secure.
8610 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8611 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8612 * elf/dl-deps.c (openaux): Likewise.
8613 * elf/rtld.c (struct map_args): Remove is_preloaded.
8614 (map_doit): Don't use it.
8615 (dl_main): Likewise.
8616 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8617 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8618
bc96fbda
AS
86192010-09-09 Andreas Schwab <schwab@redhat.com>
8620
8621 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8622 (sysd-rules-targets): Remove duplicates.
8623 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8624 rtld-%.$o dependency.
8625
22cd1c9b
AS
86262010-10-18 Andreas Schwab <schwab@redhat.com>
8627
8628 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8629 _dl_map_object do it.
8630
18edac48
UD
86312010-10-19 Ulrich Drepper <drepper@gmail.com>
8632
8633 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8634 fast fma builtins, define the macros in the C99 standard.
8635 (FP_FAST_FMAF): Likewise.
8636 (FP_FAST_FMAL): Likewise.
8637 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8638
8639 * bits/mathdef.h: Update copyright year.
8640 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8641
d2050124
MM
86422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8643
8644 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8645 builtins, define the macros in the C99 standard.
8646 (FP_FAST_FMAF): Likewise.
8647 (FP_FAST_FMAL): Likewise.
8648 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8649 multiply/add.
8650 (FP_FAST_FMAF): Likewise.
8651
475facd1
JJ
86522010-10-15 Jakub Jelinek <jakub@redhat.com>
8653
8654 [BZ #3268]
8655 * math/libm-test.inc (fma_test): Some new testcases.
8656 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8657 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8658 y and infinite z. Do multiplication by C already in long double.
8659 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8661 y and infinite z. Do bitwise or of inexact bit into u.d.
8662 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8663 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8664 * sysdeps/i386/fpu/s_fma.S: Removed.
8665 * sysdeps/i386/fpu/s_fmal.S: Removed.
8666
7c08a05c
JJ
86672010-10-16 Jakub Jelinek <jakub@redhat.com>
8668
8669 [BZ #3268]
8670 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8672 computation is not scheduled after fetestexcept. Fix value
8673 of minimum denormal long double.
8674
f3f7372d
JJ
86752010-10-14 Jakub Jelinek <jakub@redhat.com>
8676
8677 [BZ #3268]
8678 * math/libm-test.inc (fma_test): Add some more tests.
8679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8680 correctly.
8681
14d43591
AS
86822010-10-15 Andreas Schwab <schwab@redhat.com>
8683
8684 * scripts/data/localplt-s390-linux-gnu.data: New file.
8685 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8686
5e908464
JJ
86872010-10-13 Jakub Jelinek <jakub@redhat.com>
8688
8689 [BZ #3268]
8690 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8691 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8692 instead of dbl-64.
8693 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8694 inlines.
8695 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8697 if one of x and y is very large and the other is subnormal.
8698 * sysdeps/s390/fpu/s_fmaf.c: New file.
8699 * sysdeps/s390/fpu/s_fma.c: New file.
8700 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8701 * sysdeps/powerpc/fpu/s_fma.S: New file.
8702 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8703 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8704 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8705
87062010-10-12 Jakub Jelinek <jakub@redhat.com>
8707
8708 [BZ #3268]
8709 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8710 fma tests.
8711 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8712 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8713 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8714 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8715 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8716 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8718
b833d51f
UD
87192010-10-12 Ulrich Drepper <drepper@redhat.com>
8720
8721 [BZ #12078]
8722 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8723 * posix/bug-regex31.input: Add test case.
8724
1751705d
UD
87252010-10-11 Ulrich Drepper <drepper@gmail.com>
8726
e9b9cbf5
UD
8727 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8728 * posix/bug-regex31.input: New file.
8729
8730 [BZ #12078]
8731 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8732 (parse_sub_exp): Fix last change, use postorder.
8733
ef06edbe
UD
8734 * posix/bug-regex31.c: New file.
8735 * posix/Makefile: Add rules to build and run bug-regex31.
8736
a129c80d
UD
8737 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8738
8739 [BZ #12078]
8740 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8741
b76b818e
UD
8742 [BZ #12108]
8743 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8744 to have entries in sys_siglist.
8745
1751705d
UD
8746 [BZ #12093]
8747 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8748 be NULL.
8749
9ff8d36f
JJ
87502010-10-07 Jakub Jelinek <jakub@redhat.com>
8751
8752 [BZ #3268]
8753 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8754 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8755 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8756 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8757 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8758 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8759 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8760 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8761 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8762 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8763 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8764 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8765 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8766 * math/ftestexcept.c (fetestexcept): Likewise.
8767 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8768 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8769 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8770 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8771 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8772 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8773 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8774
af325969
UD
87752010-10-11 Ulrich Drepper <drepper@gmail.com>
8776
c579b202 8777 [BZ #12107]
af325969
UD
8778 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8779 newline.
8780
67a67b95
UD
87812010-10-06 Ulrich Drepper <drepper@gmail.com>
8782
8783 * string/bug-strstr1.c: New file.
8784 * string/Makefile: Add rules to build and run bug-strstr1.
8785
5fb308bc
EB
87862010-10-05 Eric Blake <eblake@redhat.com>
8787
8788 [BZ #12092]
8789 * string/str-two-way.h (two_way_long_needle): Always clear memory
8790 when skipping input due to the shift table.
8791
45db99c7
UD
87922010-10-03 Ulrich Drepper <drepper@gmail.com>
8793
3b111893
UD
8794 [BZ #12005]
8795 * malloc/mcheck.c: Handle large requests.
8796
45db99c7
UD
8797 [BZ #12077]
8798 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8799 for strncmp and strncasecmp.
8800 * string/stratcliff.c: Add tests for strcmp and strncmp.
8801 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8802
cf7a1eb8
NI
88032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8804
8805 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8806 __set_fpscr.
8807
6484ba5e
AJ
88082010-09-30 Andreas Jaeger <aj@suse.de>
8809
8810 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8811 (CGROUP_SUPER_MAGIC): Define.
8812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8813 Handle btrfs and cgroup file systems.
8814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8815 Likewise.
8816
91c42559
LM
88172010-09-27 Luis Machado <luisgpm@br.ibm.com>
8818
8819 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8820 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8821
87a97932
AK
88222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8823
8824 [BZ #12067]
8825 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8826 trying to locate the ELF header.
8827
c21cc9bc
AS
88282010-09-27 Andreas Schwab <schwab@redhat.com>
8829
8830 [BZ #11611]
8831 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8832 Mask out sign-bit copies when constructing f_fsid.
8833
315970f6
PB
88342010-09-24 Petr Baudis <pasky@suse.cz>
8835
8836 * debug/stack_chk_fail_local.c: Add missing licence exception.
8837 * debug/warning-nop.c: Likewise.
8838
1ac7a2c7
JM
88392010-09-15 Joseph Myers <joseph@codesourcery.com>
8840
8841 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8842 implementing getdents64 using getdents syscall, set d_type if
8843 __ASSUME_GETDENTS32_D_TYPE.
8844
56801c50
AS
88452010-09-16 Andreas Schwab <schwab@redhat.com>
8846
8847 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8848 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8849
dda51327
UD
88502010-09-21 Ulrich Drepper <drepper@redhat.com>
8851
8852 [BZ #12037]
8853 * posix/unistd.h: Undo change of feature selection for ftruncate from
8854 2010-01-11.
8855
8ffcee4a
UD
88562010-09-20 Ulrich Drepper <drepper@redhat.com>
8857
a545ecd9 8858 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8859 detection.
8860
e24f0a8b
AS
88612010-09-20 Andreas Schwab <schwab@redhat.com>
8862
8863 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8864 fanotify_mark.
8865 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8866
7291c56f
AS
88672010-09-14 Andreas Schwab <schwab@redhat.com>
8868
8869 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8870 variables after CHECK_SP call.
8871 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8872
bc5fb037
AS
88732010-09-13 Andreas Schwab <schwab@redhat.com>
8874 Ulrich Drepper <drepper@redhat.com>
8875
8876 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8877 re-relocationg ld.so.
8878 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8879 _dl_init_paths call.
8880 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8881 here anymore.
8882
e66e7419
UD
88832010-09-14 Ulrich Drepper <drepper@redhat.com>
8884
8885 * resolv/res_init.c (__res_vinit): Count the default server we added.
8886
c044aa75
CLT
88872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8888 Ulrich Drepper <drepper@redhat.com>
8889
8890 [BZ #11968]
8891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8892 (____longjmp_chk): Use %ebx for saving value across system call.
8893 Add unwind info.
8894
32cf4069
AS
88952010-09-06 Andreas Schwab <schwab@redhat.com>
8896
8897 * manual/Makefile: Don't mix pattern rules with normal rules.
8898
817328ee
AS
88992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8900
8901 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8902 operation.
8903 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8904 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8905 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8906 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8908 Likewise.
8909
29fddf61
UD
89102010-09-04 Ulrich Drepper <drepper@redhat.com>
8911
8912 [BZ #11979]
8913 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8914 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8915
0959ffc9
UD
89162010-09-02 Ulrich Drepper <drepper@redhat.com>
8917
8918 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8919 * sysdeps/x86_64/addmul_1.S: Likewise.
8920 * sysdeps/x86_64/lshift.S: Likewise.
8921 * sysdeps/x86_64/mul_1.S: Likewise.
8922 * sysdeps/x86_64/rshift.S: Likewise.
8923 * sysdeps/x86_64/sub_n.S: Likewise.
8924 * sysdeps/x86_64/submul_1.S: Likewise.
8925
ece29840
ST
89262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8927
0959ffc9
UD
8928 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8929 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8930 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8931 * bits/sched.h [__need_schedparam]
ece29840 8932 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8933 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8934 (__defined_schedparam): Define to 1.
ece29840
ST
8935 (__sched_param): New structure, identical to sched_param.
8936 (__need_schedparam): Undefine.
8937
e53a31fe
MF
89382010-08-31 Mike Frysinger <vapier@gentoo.org>
8939
fdc0c10d
MF
8940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8941 (epoll_create1): Declare.
8942
e53a31fe
MF
8943 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8944
a726d796
AS
89452010-08-31 Andreas Schwab <schwab@redhat.com>
8946
8947 [BZ #7066]
8948 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8949 shifting retval into place.
8950
2f3e3dc7
UD
89512010-09-01 Ulrich Drepper <drepper@redhat.com>
8952
f2933da9
UD
8953 * nis/rpcsvc/nis.h: Update copyright notice.
8954 * nis/rpcsvc/nis.x: Likewise.
8955 * nis/rpcsvc/nis_callback.h: Likewise.
8956 * nis/rpcsvc/nis_callback.x: Likewise.
8957 * nis/rpcsvc/nis_object.x: Likewise.
8958 * nis/rpcsvc/nis_tags.h: Likewise.
8959 * nis/rpcsvc/yp.h: Likewise.
8960 * nis/rpcsvc/yp.x: Likewise.
8961 * nis/rpcsvc/ypupd.h: Likewise.
8962 * nis/yp_xdr.c: Likewise.
8963 * nis/ypupdate_xdr.c: Likewise.
8964
2f3e3dc7
UD
8965 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8966 mainly the body of pmap_getport. Add parameters to specify timeouts.
8967 (pmap_getport): Use __libc_rpc_getport.
8968 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8969 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8970 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8971
f3dcc2f9
AS
89722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8973
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8975 fanotify_mark.
8976
6d34eb5b
RM
89772010-08-27 Roland McGrath <roland@redhat.com>
8978
8979 * sysdeps/i386/i686/multiarch/Makefile
8980 (CFLAGS-varshift.c): New variable.
8981
9ea3de11
UD
89822010-08-27 Ulrich Drepper <drepper@redhat.com>
8983
c96d23fc
UD
8984 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8985 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8986
9ea3de11
UD
8987 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8988
8989 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8990
623aac7f
L
89912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8992
8993 * sysdeps/x86_64/strlen.S: Unroll the loop.
8994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8995 strlen-sse2 strlen-sse2-bsf.
8996 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8997 __strlen_no_bsf if bit_Slow_BSF is set.
8998 (__strlen_sse42): Removed.
8999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9000 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9001
8b2b7715
RM
90022010-08-25 Roland McGrath <roland@redhat.com>
9003
9004 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9005 * sysdeps/x86_64/multiarch/varshift.c: New file.
9006 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9007 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9008 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9009 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9010
e73015f2
L
90112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9012
9013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9014 strlen-sse2 strlen-sse2-bsf.
9015 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9016 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9017 (__strlen_sse2): Removed.
9018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9021 bit_Slow_BSF for Atom.
9022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9023 (index_Slow_BSF): Define.
9024 (HAS_SLOW_BSF): Define.
9025
df24a73e
UD
90262010-08-25 Ulrich Drepper <drepper@redhat.com>
9027
9028 [BZ #10851]
9029 * resolv/res_init.c (__res_vinit): When no server address at all
9030 is given default to loopback.
9031
f2ac4868
RM
90322010-08-24 Roland McGrath <roland@redhat.com>
9033
09055553
RM
9034 * configure.in: Remove config-name.h generation.
9035 * configure: Regenerated.
9036 * config-name.in: File removed.
9037 * scripts/config-uname.sh: New file.
9038 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9039 ($(objdir)config-name.h): New target.
9040
f2ac4868
RM
9041 * sunrpc/rpc_parse.h: Avoid nested comment.
9042
73f27d5e
RH
90432010-08-24 Richard Henderson <rth@redhat.com>
9044 Ulrich Drepper <drepper@redhat.com>
9045 H.J. Lu <hongjiu.lu@intel.com>
9046
9047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9049 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9050 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9051 _mm_alignr_epi8 with _mm_loadu_si128.
9052 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9053 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9054 (__m128i_shift_right): Removed.
9055 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9056 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9057 * sysdeps/x86_64/multiarch/varshift.h: New file.
9058 * sysdeps/x86_64/multiarch/varshift.S: New file.
9059
84b9230c
MF
90602010-08-21 Mike Frysinger <vapier@gentoo.org>
9061
9062 * configure.in: Move assembler checks to before sysdep dir checking.
9063
9bbd0ddc
PB
90642010-08-20 Petr Baudis <pasky@suse.cz>
9065
9066 * LICENSES: Sync the sunrpc license.
9067
9da4bb31
UD
90682010-08-19 Ulrich Drepper <drepper@redhat.com>
9069
a7ab6ec8
UD
9070 * sunrpc/auth_des.c: Update copyright notice once again.
9071 * sunrpc/auth_none.c: Likewise.
9072 * sunrpc/auth_unix.c: Likewise.
9073 * sunrpc/authdes_prot.c: Likewise.
9074 * sunrpc/authuxprot.c: Likewise.
9075 * sunrpc/bindrsvprt.c: Likewise.
9076 * sunrpc/clnt_gen.c: Likewise.
9077 * sunrpc/clnt_perr.c: Likewise.
9078 * sunrpc/clnt_raw.c: Likewise.
9079 * sunrpc/clnt_simp.c: Likewise.
9080 * sunrpc/clnt_tcp.c: Likewise.
9081 * sunrpc/clnt_udp.c: Likewise.
9082 * sunrpc/clnt_unix.c: Likewise.
9083 * sunrpc/des_crypt.c: Likewise.
9084 * sunrpc/des_soft.c: Likewise.
9085 * sunrpc/get_myaddr.c: Likewise.
9086 * sunrpc/getrpcport.c: Likewise.
9087 * sunrpc/key_call.c: Likewise.
9088 * sunrpc/key_prot.c: Likewise.
9089 * sunrpc/openchild.c: Likewise.
9090 * sunrpc/pm_getmaps.c: Likewise.
9091 * sunrpc/pm_getport.c: Likewise.
9092 * sunrpc/pmap_clnt.c: Likewise.
9093 * sunrpc/pmap_prot.c: Likewise.
9094 * sunrpc/pmap_prot2.c: Likewise.
9095 * sunrpc/pmap_rmt.c: Likewise.
9096 * sunrpc/rpc/auth.h: Likewise.
9097 * sunrpc/rpc/auth_unix.h: Likewise.
9098 * sunrpc/rpc/clnt.h: Likewise.
9099 * sunrpc/rpc/des_crypt.h: Likewise.
9100 * sunrpc/rpc/key_prot.h: Likewise.
9101 * sunrpc/rpc/netdb.h: Likewise.
9102 * sunrpc/rpc/pmap_clnt.h: Likewise.
9103 * sunrpc/rpc/pmap_prot.h: Likewise.
9104 * sunrpc/rpc/pmap_rmt.h: Likewise.
9105 * sunrpc/rpc/rpc.h: Likewise.
9106 * sunrpc/rpc/rpc_des.h: Likewise.
9107 * sunrpc/rpc/rpc_msg.h: Likewise.
9108 * sunrpc/rpc/svc.h: Likewise.
9109 * sunrpc/rpc/svc_auth.h: Likewise.
9110 * sunrpc/rpc/types.h: Likewise.
9111 * sunrpc/rpc/xdr.h: Likewise.
9112 * sunrpc/rpc_clntout.c: Likewise.
9113 * sunrpc/rpc_cmsg.c: Likewise.
9114 * sunrpc/rpc_common.c: Likewise.
9115 * sunrpc/rpc_cout.c: Likewise.
9116 * sunrpc/rpc_dtable.c: Likewise.
9117 * sunrpc/rpc_hout.c: Likewise.
9118 * sunrpc/rpc_main.c: Likewise.
9119 * sunrpc/rpc_parse.c: Likewise.
9120 * sunrpc/rpc_parse.h: Likewise.
9121 * sunrpc/rpc_prot.c: Likewise.
9122 * sunrpc/rpc_sample.c: Likewise.
9123 * sunrpc/rpc_scan.c: Likewise.
9124 * sunrpc/rpc_scan.h: Likewise.
9125 * sunrpc/rpc_svcout.c: Likewise.
9126 * sunrpc/rpc_tblout.c: Likewise.
9127 * sunrpc/rpc_util.c: Likewise.
9128 * sunrpc/rpc_util.h: Likewise.
9129 * sunrpc/rpcinfo.c: Likewise.
9130 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9131 * sunrpc/rpcsvc/key_prot.x: Likewise.
9132 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9133 * sunrpc/rpcsvc/mount.x: Likewise.
9134 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9135 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9136 * sunrpc/rpcsvc/rex.x: Likewise.
9137 * sunrpc/rpcsvc/rstat.x: Likewise.
9138 * sunrpc/rpcsvc/rusers.x: Likewise.
9139 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9140 * sunrpc/rpcsvc/spray.x: Likewise.
9141 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9142 * sunrpc/rtime.c: Likewise.
9143 * sunrpc/svc.c: Likewise.
9144 * sunrpc/svc_auth.c: Likewise.
9145 * sunrpc/svc_authux.c: Likewise.
9146 * sunrpc/svc_raw.c: Likewise.
9147 * sunrpc/svc_run.c: Likewise.
9148 * sunrpc/svc_simple.c: Likewise.
9149 * sunrpc/svc_tcp.c: Likewise.
9150 * sunrpc/svc_udp.c: Likewise.
9151 * sunrpc/svc_unix.c: Likewise.
9152 * sunrpc/svcauth_des.c: Likewise.
9153 * sunrpc/xcrypt.c: Likewise.
9154 * sunrpc/xdr.c: Likewise.
9155 * sunrpc/xdr_array.c: Likewise.
9156 * sunrpc/xdr_float.c: Likewise.
9157 * sunrpc/xdr_mem.c: Likewise.
9158 * sunrpc/xdr_rec.c: Likewise.
9159 * sunrpc/xdr_ref.c: Likewise.
9160 * sunrpc/xdr_sizeof.c: Likewise.
9161 * sunrpc/xdr_stdio.c: Likewise.
9162
9da4bb31
UD
9163 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9164 handling.
9165
bdaa77bc
AS
91662010-08-19 Andreas Schwab <schwab@redhat.com>
9167
9168 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9169
fe2f79db
LM
91702010-08-19 Luis Machado <luisgpm@br.ibm.com>
9171
9172 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9173 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9174 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9175 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9176 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9177 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9178 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9179 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9180 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9181 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9182 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9183 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9184 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9185 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9186
b9b42ee0
AB
91872010-07-26 Anton Blanchard <anton@samba.org>
9188
9189 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9190 * malloc/arena.c (heap_trim): Likewise.
9191
1c06ba31
UD
91922010-08-16 Ulrich Drepper <drepper@redhat.com>
9193
9194 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9195 here. Not...
9196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9197 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9198
f8392f40
L
91992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9200
9201 * sysdeps/i386/elf/Makefile: New file.
9202
3162f12e
AS
92032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9204
9205 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9206 from fanotify_init.
9207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9208 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9209
28c90b2c
UD
92102010-08-15 Ulrich Drepper <drepper@redhat.com>
9211
9212 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9213 of strncasecmp_l.
1feccb6c 9214 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9215
ca6bb004
UD
92162010-08-14 Ulrich Drepper <drepper@redhat.com>
9217
e9f82e0d
UD
9218 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9219 strncase_l-nonascii.
9220 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9221 Add strncase_l-ssse3.
9222 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9223 * sysdeps/x86_64/strcmp.S: Likewise.
9224 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9225 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9226 * sysdeps/x86_64/strncase.S: New file.
9227 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9228 * sysdeps/x86_64/strncase_l.S: New file.
9229 * string/Makefile (strop-tests): Add strncasecmp.
9230 * string/test-strncasecmp.c: New file.
9231
9232 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9233 warning.
9234
ca6bb004
UD
9235 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9236 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9237
052fa7b3
AS
92382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9239
9240 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9241
962dba78
UD
92422010-08-12 Ulrich Drepper <drepper@redhat.com>
9243
9244 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9245 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9246 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9247
bebff237
AM
92482010-05-01 Alan Modra <amodra@gmail.com>
9249
9250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9251 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9252 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9253 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9254 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9255 tidying. Don't tail-call __sigjmp_save for static lib.
9256 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9257 save location.
9258 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9259 (CALL_MCOUNT): Add eh info, and nop after bl.
9260 (TAIL_CALL_SYSCALL_ERROR): New macro.
9261 (PSEUDO_RET): Use it.
9262 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9263 Correct save location of integer regs and cr.
9264 (_dl_profile_resolve): Correct cr save location. Delete nops
9265 after bl when SHARED. Reduce cfi size a little by better
9266 placement of cfi directives.
9267 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9268 make a stack frame. Instead use parm save area as a temp.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9270 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9272 Don't make a stack frame for parent, use parm save area.
9273 Increase child stack frame to 112 bytes. Don't save unused reg,
9274 and adjust reg usage. Set up cfi on error recovery and
9275 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9277 (__makecontext): Add dummy nop after jump to exit.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9279 Use correct parm save area and cr save, reduce stack frame.
9280 Correct cfi for possible PSEUDO_RET frame setup.
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9282 Branch to local label emitted by PSEUDO_RET rather than
9283 __syscall_error.
9284
02637374
AS
92852010-08-12 Andreas Schwab <schwab@redhat.com>
9286
9287 [BZ #11904]
9288 * locale/programs/locale.c (print_assignment): New function.
9289 (show_locale_vars): Use it.
9290
c3e2f19b
UD
92912010-08-11 Ulrich Drepper <drepper@redhat.com>
9292
3cdaa6ad
UD
9293 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9294 field.
9295 (struct statfs64): Likewise.
9296 (_STATFS_F_FLAGS): Define.
9297 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9299 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9300 (ST_VALID): Define locally.
9301 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9302 __statvfs_getflags, use the provided value.
9303 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9304 __ASSUME_STATFS_F_FLAGS.
9305
754f7da3
UD
9306 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9307
10b3bedc
UD
9308 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9309 Add sys/fanotify.h.
9310 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9311 fanotify_mask for GLIBC_2.13.
9312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9313 fanotify_init and fanotify_mark.
9314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9315 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9316
c08fb0d7
UD
9317 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9318 Add prlimit.
9319 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9320 prlimit64 for GLIBC_2.13.
9321 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9322 prlimit64.
9323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9324 syscall.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9327 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9328 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9330 add prlimit alias.
9331 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9332
15bac72b
UD
9333 [BZ #11903]
9334 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9335 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9336
c3e2f19b
UD
9337 * nss/Makefile: Add rules to build and run tst-nss-test1.
9338 * shlib-versions: Add entry for libnss_test1.
9339 * nss/nss_test1.c: New file.
9340 * nss/tst-nss-test1.c: New file.
9341
9342 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9343 (__nss_configure_lookup): Set appropriate entry in
9344 __nss_configure_lookup to true.
9345 * nss/nsswitch.h: Define enum with indeces of databases in
9346 databases and __nss_database_custom arrays. Declare
9347 __nss_database_custom.
9348 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9349 to avoid using nscd when custom rules are installed.
9350 * nss/getXXbyYY_r.c: Likewise.
9351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9352
9353 * nss/nss_files/files-parse.c: Whitespace fixes.
9354
f15ce4d8
UD
93552010-08-09 Ulrich Drepper <drepper@redhat.com>
9356
9357 [BZ #11883]
9358 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9359 * posix/fnmatch_loop.c: Likewise.
9360
d22e4cc9
AK
93612010-07-17 Andi Kleen <ak@linux.intel.com>
9362
9363 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9364 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9365 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9366 * Versions.def [GLIBC_2.13]: Add.
9367
805bc17d
UD
93682010-08-06 Ulrich Drepper <drepper@redhat.com>
9369
9370 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9371 Also fail if tpwd after pwuid call is NULL.
9372
5a42321d
ST
93732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9374
9375 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9376 when converting to ms.
9377
fd3ebeda
ST
93782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9379
9380 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9381 EOPNOTSUPP errors with ENOTTY.
9382 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9383 EOPNOTSUPP errors with ENOTTY.
9384
73507d3a
UD
93852010-07-31 Ulrich Drepper <drepper@redhat.com>
9386
9387 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9388 Add strcasecmp_l-ssse3.
9389 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9390 strcasecmp.
9391 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9392 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9393 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9394
fe36dd02
UD
93952010-07-30 Ulrich Drepper <drepper@redhat.com>
9396
66f6765a
UD
9397 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9398
42e08a54
UD
9399 * string/Makefile (strop-tests): Add strcasecmp.
9400 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9401 strcasecmp_l-nonascii.
9402 (gen-as-const-headers): Add locale-defines.sym.
9403 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9404 * sysdeps/x86_64/strcasecmp.S: New file.
9405 * sysdeps/x86_64/strcasecmp_l.S: New file.
9406 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9407 * sysdeps/x86_64/locale-defines.sym: New file.
9408 * string/test-strcasecmp.c: New file.
9409
fe36dd02
UD
9410 * string/test-strcasestr.c: Test both ends of the range of characters.
9411 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9412
48cbc0d6
RM
94132010-07-29 Roland McGrath <roland@redhat.com>
9414
76e6d6bc 9415 [BZ #11856]
48cbc0d6
RM
9416 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9417
880113d9
UD
94182010-07-27 Ulrich Drepper <drepper@redhat.com>
9419
9420 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9421 for ld.so.
9422
deb9cabb
AS
94232010-07-27 Andreas Schwab <schwab@redhat.com>
9424
9425 * manual/memory.texi (Malloc Tunable Parameters): Document
9426 M_PERTURB.
9427
1c7570ff
RM
94282010-07-26 Roland McGrath <roland@redhat.com>
9429
9430 [BZ #11840]
9431 * configure.in (-fgnu89-inline check): Set and substitute
9432 gnu89_inline, not libc_cv_gnu89_inline.
9433 * configure: Regenerated.
9434 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9435
24fb0f88
UD
94362010-07-26 Ulrich Drepper <drepper@redhat.com>
9437
9438 * string/test-strnlen.c: New file.
9439 * string/Makefile (strop-tests): Add strnlen.
9440 * string/tester.c (test_strnlen): Add a few more test cases.
9441 * string/tst-strlen.c: Better error reporting.
9442
9443 * sysdeps/x86_64/strnlen.S: New file.
9444
8e96b93a
UD
94452010-07-24 Ulrich Drepper <drepper@redhat.com>
9446
9447 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9448 lower-latency instructions.
9449
dbc676d4
UD
94502010-07-23 Ulrich Drepper <drepper@redhat.com>
9451
9452 * string/test-strcasestr.c: New file.
9453 * string/test-strstr.c: New file.
9454 * string/Makefile (strop-tests): Add strstr and strcasestr.
9455 * string/str-two-way.h: Don't undefine MAX.
9456 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9457
f6a31e0e
AS
94582010-07-21 Andreas Schwab <schwab@redhat.com>
9459
9460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9461 strcasestr-nonascii.
9462 (CFLAGS-strcasestr-nonascii.c): Define.
9463 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9464 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9465 Remove unused attribute.
9466
5dbc3b6c
RM
94672010-07-20 Roland McGrath <roland@redhat.com>
9468
9469 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9470 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9471 ld.so.cache was broken. With it, there is no way to disable dsocaps
9472 like LD_HWCAP_MASK can disable hwcaps.
9473
23d101d8
EPM
94742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9475
9476 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9477
cc9f2e47
UD
94782010-07-16 Ulrich Drepper <drepper@redhat.com>
9479
9480 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9481 call in strcasestr.
9482 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9483 __strcasestr_sse42_nonascii.
9484 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9485 strcasestr-nonascii.c.
9486 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9487
77c1b069
LM
94882010-06-15 Luis Machado <luisgpm@br.ibm.com>
9489
9490 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9492 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9493 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9494
440566c3
UD
94952010-07-09 Ulrich Drepper <drepper@redhat.com>
9496
9497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9498 fcntl.
9499
5be9d05d
AS
95002010-07-06 Andreas Schwab <schwab@redhat.com>
9501
c30b7ee2 9502 [BZ #11577]
5be9d05d
AS
9503 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9504 dl_signal_cerror.
9505
8a492a67
UD
95062010-07-06 Ulrich Drepper <drepper@redhat.com>
9507
9508 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9509 _PC_PIPE_BUF using F_GETPIPE_SZ.
9510
713df3d5
RM
95112010-07-05 Roland McGrath <roland@redhat.com>
9512
9513 * manual/arith.texi (Rounding Functions): Fix rint description
9514 implicit in round description.
9515
702e8f14
UD
95162010-07-02 Ulrich Drepper <drepper@redhat.com>
9517
9518 * elf/Makefile: Fix linking for a few tests to make recent linker
9519 happy.
9520
52ed8be9
AS
95212010-06-30 Andreas Schwab <schwab@redhat.com>
9522
9523 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9524 $(common-objpfx)libc_nonshared.a.
9525
f47c9a11
LM
95262010-06-21 Luis Machado <luisgpm@br.ibm.com>
9527
9528 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9529 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9530 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9531 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9532 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9533 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9534 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9535 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9550 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9551 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9552 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9553 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9554 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9555 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9556 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9557 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9558 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9559 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9560 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9561 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9576
6fb8cbcb
L
95772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9578
9579 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9580 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9581 * string/memmove.c (memmove): Renamed to ...
9582 (MEMMOVE): ...this. Default to memmove.
9583 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9584 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9585 (END_CHK): Define.
9586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9587 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9588 mempcpy-ssse3-back memmove-ssse3-back.
9589 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9590 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9592 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9593 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9594 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9595 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9596 * sysdeps/x86_64/multiarch/memmove.c: New file.
9597 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9598 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9599 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9600 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9601 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9603 Define.
9604 (index_Fast_Copy_Backward): Define.
9605 (HAS_ARCH_FEATURE): Define.
9606 (HAS_FAST_REP_STRING): Define.
9607 (HAS_FAST_COPY_BACKWARD): Define.
9608
4e733bac 96092010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9610
9611 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9612 Restore proper fallback handling.
9613
63c4ed22
UD
96142010-06-19 Ulrich Drepper <drepper@redhat.com>
9615
ac2b484c
UD
9616 [BZ #11701]
9617 * posix/group_member.c (__group_member): Correct checking loop.
9618
63c4ed22
UD
9619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9620 OOM in getpwuid_r correctly. Return error number when the caller
9621 should return, otherwise -1.
9622 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9623 call returning > 0 value.
9624 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9625
765ade4b
AS
96262010-06-07 Andreas Schwab <schwab@redhat.com>
9627
9628 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9629 libc_nonshared.a from targets in modules-names.
9630
80da2e09
KS
96312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9632
9633 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9634 requires it.
9635
158db122
LM
96362010-06-10 Luis Machado <luisgpm@br.ibm.com>
9637
9638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9639 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9642
caa78cf8
AS
96432010-06-02 Andreas Schwab <schwab@redhat.com>
9644
9645 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9646
b2ef2c01
UD
96472010-06-14 Ulrich Drepper <drepper@redhat.com>
9648
9649 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9650 and F_GETPIPE_SZ.
9651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9656 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9657
fbd643b6
RM
96582010-06-14 Roland McGrath <roland@redhat.com>
9659
9660 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9661
f32f2869
JJ
96622010-06-07 Jakub Jelinek <jakub@redhat.com>
9663
9664 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9665 __REDIRECT followed by __THROW.
9666 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9667 * posix/getopt.h (getopt): Likewise.
9668
2a50c078
EPM
96692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9670
9671 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9672 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9673 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9674 in AT_FLAGS.
9675 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9676 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9677
eb5ad2eb
LM
96782010-05-28 Luis Machado <luisgpm@br.ibm.com>
9679
9680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9681
3c88fe1e
L
96822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9683
9684 [BZ #11640]
9685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9686 Properly check family and model.
9687
d2f73151
TY
96882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9689
9690 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9691
ebd2e13d
LM
96922010-05-24 Luis Machado <luisgpm@br.ibm.com>
9693
9694 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9695
b32b8b45
UD
96962010-05-21 Ulrich Drepper <drepper@redhat.com>
9697
9698 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9699 symbol reference.
9700
9acbe24d
AS
97012010-05-19 Andreas Schwab <schwab@redhat.com>
9702
9703 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9704 symbol reference.
9705
f0ccf6ea
AS
97062010-05-21 Andreas Schwab <schwab@redhat.com>
9707
3d04ff3a
AS
9708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9709 and internal_recvmmsg.
9710 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9711 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9712 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9713 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9714
f0ccf6ea
AS
9715 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9716 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9717 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9718
5b08ac57
AS
97192010-05-20 Andreas Schwab <schwab@redhat.com>
9720
9721 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9722
4828935d
LM
97232010-05-17 Luis Machado <luisgpm@br.ibm.com>
9724
9725 POWER7 optimizations.
9726 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9727 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9728
373d545e
UD
97292010-05-19 Ulrich Drepper <drepper@redhat.com>
9730
9731 * version.h: Update for 2.13 development version.
9732
21a2b1ae
AS
97332010-05-12 Andrew Stubbs <ams@codesourcery.com>
9734
9735 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9736 exceptions. Return 0.
9737
3f7dcb2b
RM
97382010-05-07 Roland McGrath <roland@redhat.com>
9739
9740 * elf/ldconfig.c (main): Add a const.
9741
5f24d53a 97422010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9743
a160f8d8
UD
9744 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9745 (args_options): Add no-idn option.
9746 (ahosts_keys_int): Add idn_flags to ai_flags.
9747 (parse_option): Handle 'i' option to clear idn_flags.
9748
5f24d53a
UD
9749 * malloc/malloc.c (_int_free): Possible race in the most recently
9750 added check. Only act on the data if no current modification
9751 happened.
265bb1ce
UD
9752
9753See ChangeLog.17 for earlier changes.