1 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5 rawmemchr-sse2 rawmemchr-sse2-bsf.
6 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16 * string/memrchr.c (MEMRCHR): New macro.
18 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20 Add integration with gcc's -ffinite-math-only and optimize wrapper
22 * Versions.def: Define GLIBC_2.15 version for libm.
23 * math/Makefile (headers): Add bits/math-finite.h.
24 * math/bits/math-finite.h: New file.
25 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27 * math/e_acoshl.c: Add __*_finite alias.
28 * math/e_acosl.c: Likewise.
29 * math/e_asinl.c: Likewise.
30 * math/e_atan2l.c: Likewise.
31 * math/e_atanhl.c: Likewise.
32 * math/e_coshl.c: Likewise.
33 * math/e_exp10.c: Likewise.
34 * math/e_exp10f.c: Likewise.
35 * math/e_exp10l.c: Likewise.
36 * math/e_exp2l.c: Likewise.
37 * math/e_fmodl.c: Likewise.
38 * math/e_gammal_r.c: Likewise.
39 * math/e_hypotl.c: Likewise.
40 * math/e_j0l.c: Likewise.
41 * math/e_j1l.c: Likewise.
42 * math/e_jnl.c: Likewise.
43 * math/e_lgammal_r.c: Likewise.
44 * math/e_log10l.c: Likewise.
45 * math/e_log2l.c: Likewise.
46 * math/e_logl.c: Likewise.
47 * math/e_powl.c: Likewise.
48 * math/e_sinhl.c: Likewise.
49 * math/e_sqrtl.c: Likewise.
50 * math/e_scalb.c: Completely rewritten and optimized.
51 * math/e_scalbf.c: Likewise.
52 * math/e_scalbl.c: Likewise.
53 * math/w_acos.c: Likewise.
54 * math/w_acosf.c: Likewise.
55 * math/w_acosl.c: Likewise.
56 * math/w_acosh.c: Likewise.
57 * math/w_acoshf.c: Likewise.
58 * math/w_acoshl.c: Likewise.
59 * math/w_asin.c: Likewise.
60 * math/w_asinf.c: Likewise.
61 * math/w_asinl.c: Likewise.
62 * math/w_atan2.c: Likewise.
63 * math/w_atan2f.c: Likewise.
64 * math/w_atan2l.c: Likewise.
65 * math/w_atanh.c: Likewise.
66 * math/w_atanhf.c: Likewise.
67 * math/w_atanhl.c: Likewise.
68 * math/w_exp10.c: Likewise.
69 * math/w_exp10f.c: Likewise.
70 * math/w_exp10l.c: Likewise.
71 * math/w_fmod.c: Likewise.
72 * math/w_fmodf.c: Likewise.
73 * math/w_fmodl.c: Likewise.
74 * math/w_j0.c: Likewise.
75 * math/w_j0f.c: Likewise.
76 * math/w_j0l.c: Likewise.
77 * math/w_j1.c: Likewise.
78 * math/w_j1f.c: Likewise.
79 * math/w_j1l.c: Likewise.
80 * math/w_jn.c: Likewise.
81 * math/w_jnf.c: Likewise.
82 * math/w_log.c: Likewise.
83 * math/w_logf.c: Likewise.
84 * math/w_logl.c: Likewise.
85 * math/w_log10.c: Likewise.
86 * math/w_log10f.c: Likewise.
87 * math/w_log10l.c: Likewise.
88 * math/w_log2.c: Likewise.
89 * math/w_log2f.c: Likewise.
90 * math/w_log2l.c: Likewise.
91 * math/w_pow.c: Likewise.
92 * math/w_powf.c: Likewise.
93 * math/w_powl.c: Likewise.
94 * math/w_remainder.c: Likewise.
95 * math/w_remainderf.c: Likewise.
96 * math/w_remainderl.c: Likewise.
97 * math/w_scalb.c: Likewise.
98 * math/w_scalbf.c: Likewise.
99 * math/w_scalbl.c: Likewise.
100 * math/w_sqrt.c: Likewise.
101 * math/w_sqrtf.c: Likewise.
102 * math/w_sqrtl.c: Likewise.
103 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
104 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
106 * math/math_private.h: Declare __kernel_standard_f.
107 * math/w_cosh.c: Remove cruft and optimize a bit.
108 * math/w_coshf.c: Likewise.
109 * math/w_coshl.c: Likewise.
110 * math/w_exp2.c: Likewise.
111 * math/w_exp2f.c: Likewise.
112 * math/w_exp2l.c: Likewise.
113 * math/w_hypot.c: Likewise.
114 * math/w_hypotf.c: Likewise.
115 * math/w_hypotl.c: Likewise.
116 * math/w_lgamma.c: Likewise.
117 * math/w_lgamma_r.c: Likewise.
118 * math/w_lgammaf.c: Likewise.
119 * math/w_lgammaf_r.c: Likewise.
120 * math/w_lgammal.c: Likewise.
121 * math/w_lgammal_r.c: Likewise.
122 * math/w_sinh.c: Likewise.
123 * math/w_sinhf.c: Likewise.
124 * math/w_sinhl.c: Likewise.
125 * math/w_tgamma.c: Likewise.
126 * math/w_tgammaf.c: Likewise.
127 * math/w_tgammal.c: Likewise.
128 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
130 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
131 Minor optimizations. Pretty printing. Remove cruft.
132 * sysdeps/i386/fpu/e_acosf.S: Likewise.
133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
134 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
136 * sysdeps/i386/fpu/e_acosl.c: Likewise.
137 * sysdeps/i386/fpu/e_asin.S: Likewise.
138 * sysdeps/i386/fpu/e_asinf.S: Likewise.
139 * sysdeps/i386/fpu/e_atan2.S: Likewise.
140 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
141 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
143 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
145 * sysdeps/i386/fpu/e_exp10.S: Likewise.
146 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
147 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
148 * sysdeps/i386/fpu/e_exp2.S: Likewise.
149 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
150 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
151 * sysdeps/i386/fpu/e_fmod.S: Likewise.
152 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
153 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
154 * sysdeps/i386/fpu/e_hypot.S: Likewise.
155 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
156 * sysdeps/i386/fpu/e_log.S: Likewise.
157 * sysdeps/i386/fpu/e_log10.S: Likewise.
158 * sysdeps/i386/fpu/e_log10f.S: Likewise.
159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
160 * sysdeps/i386/fpu/e_log2.S: Likewise.
161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
163 * sysdeps/i386/fpu/e_logf.S: Likewise.
164 * sysdeps/i386/fpu/e_logl.S: Likewise.
165 * sysdeps/i386/fpu/e_pow.S: Likewise.
166 * sysdeps/i386/fpu/e_powf.S: Likewise.
167 * sysdeps/i386/fpu/e_powl.S: Likewise.
168 * sysdeps/i386/fpu/e_remainder.S: Likewise.
169 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
170 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
174 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
175 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
176 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
177 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
181 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
183 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
184 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
190 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
191 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
197 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
202 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
203 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
254 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
256 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
258 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
260 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
261 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
262 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
264 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
265 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
266 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
270 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
274 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
275 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
276 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
277 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
278 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
279 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
280 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
285 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
287 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
288 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
289 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
290 (__isnanf): Likewise.
291 (__isinf_ns): Likewise.
292 (__isinf_nsf): Likewise.
293 (__finite): Likewise.
294 (__finitef): Likewise.
295 (__ieee754_sqrt): Define as macro.
296 (__ieee754_sqrtf): Define as macro.
297 (__ieee754_sqrtl): Define as macro.
298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
300 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
301 __FINITE_MATH_ONLY__ consistent.
302 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
304 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
306 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
311 2011-10-09 Ulrich Drepper <drepper@gmail.com>
313 * po/ja.po: Update from translation team.
315 2011-10-08 Roland McGrath <roland@hack.frob.com>
317 * locale/programs/locarchive.c (prepare_address_space): New function.
318 (create_archive, enlarge_archive, open_archive): Use it.
320 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
321 inside [SHARED], where it is used.
323 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
325 * nss/getent.c (netgroup_keys): Remove unused variable.
326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
328 2011-10-08 Ulrich Drepper <drepper@gmail.com>
330 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
331 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
336 * math/Makefile (libm-calls): Add s_isinf_ns.
337 * math/divtc3.c: Use __isinf_nsl instead of isinf.
338 * math/multc3.c: Likewise.
339 * math/s_casin.c: Likewise.
340 * math/s_casinf.c: Likewise.
341 * math/s_casinl.c: Likewise.
342 * math/s_ccos.c: Likewise.
343 * math/s_ccosf.c: Likewise.
344 * math/s_ccosl.c: Likewise.
345 * math/s_ctan.c: Likewise.
346 * math/s_ctanf.c: Likewise.
347 * math/s_ctanh.c: Likewise.
348 * math/s_ctanhf.c: Likewise.
349 * math/s_ctanhl.c: Likewise.
350 * math/s_ctanl.c: Likewise.
351 * math/w_fmod.c: Likewise.
352 * math/w_fmodf.c: Likewise.
353 * math/w_fmodl.c: Likewise.
354 * math/w_remainder.c: Likewise.
355 * math/w_remainderf.c: Likewise.
356 * math/w_remainderl.c: Likewise.
357 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
358 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
361 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
362 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
363 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
364 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
366 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
368 * stdio-common/printf_fphex.c: Likewise.
369 * stdio-common/printf_size.c: Likewise.
371 * math/e_exp10.c: Include math_private.h using <...> not "...".
372 * math/e_exp10f.c: Likewise.
373 * math/e_exp10l.c: Likewise.
374 * math/e_exp2l.c: Likewise.
375 * math/e_j0l.c: Likewise.
376 * math/e_j1l.c: Likewise.
377 * math/e_jnl.c: Likewise.
378 * math/e_lgammal_r.c: Likewise.
379 * math/e_rem_pio2l.c: Likewise.
380 * math/e_scalb.c: Likewise.
381 * math/e_scalbf.c: Likewise.
382 * math/e_scalbl.c: Likewise.
383 * math/k_cosl.c: Likewise.
384 * math/k_sinl.c: Likewise.
385 * math/k_tanl.c: Likewise.
386 * math/s_cacoshf.c: Likewise.
387 * math/s_catan.c: Likewise.
388 * math/s_catanf.c: Likewise.
389 * math/s_catanh.c: Likewise.
390 * math/s_catanhf.c: Likewise.
391 * math/s_catanhl.c: Likewise.
392 * math/s_catanl.c: Likewise.
393 * math/s_ccosh.c: Likewise.
394 * math/s_ccoshf.c: Likewise.
395 * math/s_ccoshl.c: Likewise.
396 * math/s_cexp.c: Likewise.
397 * math/s_cexpf.c: Likewise.
398 * math/s_cexpl.c: Likewise.
399 * math/s_clog.c: Likewise.
400 * math/s_clog10.c: Likewise.
401 * math/s_clog10f.c: Likewise.
402 * math/s_clog10l.c: Likewise.
403 * math/s_clogf.c: Likewise.
404 * math/s_clogl.c: Likewise.
405 * math/s_csin.c: Likewise.
406 * math/s_csinf.c: Likewise.
407 * math/s_csinh.c: Likewise.
408 * math/s_csinhf.c: Likewise.
409 * math/s_csinhl.c: Likewise.
410 * math/s_csinl.c: Likewise.
411 * math/s_csqrt.c: Likewise.
412 * math/s_csqrtf.c: Likewise.
413 * math/s_csqrtl.c: Likewise.
414 * math/s_ctan.c: Likewise.
415 * math/s_ctanf.c: Likewise.
416 * math/s_ctanh.c: Likewise.
417 * math/s_ctanhf.c: Likewise.
418 * math/s_ctanhl.c: Likewise.
419 * math/s_ctanl.c: Likewise.
420 * math/s_ldexp.c: Likewise.
421 * math/s_ldexpf.c: Likewise.
422 * math/s_ldexpl.c: Likewise.
423 * math/s_significand.c: Likewise.
424 * math/s_significandf.c: Likewise.
425 * math/s_significandl.c: Likewise.
426 * math/w_acos.c: Likewise.
427 * math/w_acosf.c: Likewise.
428 * math/w_acosh.c: Likewise.
429 * math/w_acoshf.c: Likewise.
430 * math/w_acoshl.c: Likewise.
431 * math/w_acosl.c: Likewise.
432 * math/w_asin.c: Likewise.
433 * math/w_asinf.c: Likewise.
434 * math/w_asinl.c: Likewise.
435 * math/w_atan2.c: Likewise.
436 * math/w_atan2f.c: Likewise.
437 * math/w_atan2l.c: Likewise.
438 * math/w_atanh.c: Likewise.
439 * math/w_atanhf.c: Likewise.
440 * math/w_atanhl.c: Likewise.
441 * math/w_cosh.c: Likewise.
442 * math/w_coshf.c: Likewise.
443 * math/w_coshl.c: Likewise.
444 * math/w_dremf.c: Likewise.
445 * math/w_exp10.c: Likewise.
446 * math/w_exp10f.c: Likewise.
447 * math/w_exp10l.c: Likewise.
448 * math/w_exp2.c: Likewise.
449 * math/w_exp2f.c: Likewise.
450 * math/w_fmod.c: Likewise.
451 * math/w_fmodf.c: Likewise.
452 * math/w_fmodl.c: Likewise.
453 * math/w_hypot.c: Likewise.
454 * math/w_hypotf.c: Likewise.
455 * math/w_hypotl.c: Likewise.
456 * math/w_j0.c: Likewise.
457 * math/w_j0f.c: Likewise.
458 * math/w_j0l.c: Likewise.
459 * math/w_j1.c: Likewise.
460 * math/w_j1f.c: Likewise.
461 * math/w_j1l.c: Likewise.
462 * math/w_jn.c: Likewise.
463 * math/w_jnf.c: Likewise.
464 * math/w_jnl.c: Likewise.
465 * math/w_lgamma.c: Likewise.
466 * math/w_lgamma_r.c: Likewise.
467 * math/w_lgammaf.c: Likewise.
468 * math/w_lgammaf_r.c: Likewise.
469 * math/w_lgammal.c: Likewise.
470 * math/w_lgammal_r.c: Likewise.
471 * math/w_log.c: Likewise.
472 * math/w_log10.c: Likewise.
473 * math/w_log10f.c: Likewise.
474 * math/w_log10l.c: Likewise.
475 * math/w_log2.c: Likewise.
476 * math/w_log2f.c: Likewise.
477 * math/w_log2l.c: Likewise.
478 * math/w_logf.c: Likewise.
479 * math/w_logl.c: Likewise.
480 * math/w_pow.c: Likewise.
481 * math/w_powf.c: Likewise.
482 * math/w_powl.c: Likewise.
483 * math/w_remainder.c: Likewise.
484 * math/w_remainderf.c: Likewise.
485 * math/w_remainderl.c: Likewise.
486 * math/w_scalb.c: Likewise.
487 * math/w_scalbf.c: Likewise.
488 * math/w_scalbl.c: Likewise.
489 * math/w_sinh.c: Likewise.
490 * math/w_sinhf.c: Likewise.
491 * math/w_sinhl.c: Likewise.
492 * math/w_sqrt.c: Likewise.
493 * math/w_sqrtf.c: Likewise.
494 * math/w_sqrtl.c: Likewise.
495 * math/w_tgamma.c: Likewise.
496 * math/w_tgammaf.c: Likewise.
497 * math/w_tgammal.c: Likewise.
499 * po/ja.po: Update from translation team.
501 2011-09-29 Andreas Jaeger <aj@suse.de>
504 * sunrpc/netname.c (netname2host): Fix logic.
508 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
510 * math/w_remainder.c (__remainder): Likewise.
511 * math/w_remainderf.c (__remainderf): Likewise.
512 * math/libm-test.inc (remainder_test): Add test cases.
514 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
516 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
519 2011-10-07 Ulrich Drepper <drepper@gmail.com>
521 * string/test-memcmp.c: Avoid unncessary #defines.
522 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
524 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
526 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
527 Use new sse2 version for core i3 - i7 as it's faster
529 (bit_Prefer_PMINUB_for_stringop): New.
530 * sysdeps/x86_64/rawmemchr.S: Update.
531 Replace with faster SSE2 version.
532 * sysdeps/x86_64/memrchr.S: New file.
533 * sysdeps/x86_64/memchr.S: Update.
534 Replace with faster SSE2 version.
536 2011-09-12 Marek Polacek <mpolacek@redhat.com>
538 * elf/dl-load.c (lose): Add cast to avoid warning.
540 2011-10-07 Ulrich Drepper <drepper@gmail.com>
542 * po/ca.po: Update from translation team.
544 * inet/getnetgrent_r.c: Hook up nscd.
545 * nscd/Makefile (routines): Add nscd_netgroup.
546 (nscd-modules): Add netgroupcache.
547 (CFLAGS-netgroupcache.c): Define.
548 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
549 (cache_search): Add const to second parameter.
550 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
552 (dbs): Add netgrdb entry.
553 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
554 (verify_persistent_db): Handle netgrdb.
555 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
556 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
558 (netgroup_response_header): Define.
559 (innetgroup_response_header): Define.
560 (datahead): Add netgroup_response_header and innetgroup_response_header
562 * nscd/nscd.conf: Add entries for netgroup cache.
563 * nscd/nscd.h (dbtype): Add netgrdb.
564 (_PATH_NSCD_NETGROUP_DB): Define.
565 (netgroup_iov_disabled): Declare.
566 (xmalloc, xcalloc, xrealloc): Move declarations here.
567 (cache_search): Adjust prototype.
568 Add netgroup-related prototypes.
569 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
570 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
571 (__nscd_innetgr): Declare.
572 * nscd/selinux.c (perms): Use access_vector_t as element type and
573 add netgroup-related initializers.
574 * nscd/netgroupcache.c: New file.
575 * nscd/nscd_netgroup.c: New file.
576 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
577 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
578 For four parameters use innetgr.
579 * nss/nss_files/files-init.c: Add definition and callback for netgr.
580 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
581 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
582 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
584 * nscd/connections.c (register_traced_file): Don't register file
585 for disabled databases.
587 2011-10-06 Ulrich Drepper <drepper@gmail.com>
589 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
591 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
592 from tree and freeing node.
594 2011-09-25 Jiri Olsa <jolsa@redhat.com>
596 * nss/nsswitch.c (__nss_database_lookup): Handle
597 nss_parse_service_list out of memory case.
599 2011-09-15 Jiri Olsa <jolsa@redhat.com>
601 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
604 2011-10-04 Andreas Schwab <schwab@redhat.com>
606 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
607 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
609 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
610 elf_machine_rela, elf_machine_lazy_rel.
611 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
612 (ELF_DYNAMIC_DO_REL): Likewise.
613 (ELF_DYNAMIC_DO_RELA): Likewise.
614 (ELF_DYNAMIC_RELOCATE): Likewise.
615 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
616 to ELF_DYNAMIC_DO_REL.
617 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
618 (dl_main): In trace mode always set __RTLD_NOIFUNC.
619 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
622 skip_ifunc, don't call ifunc function if non-zero.
623 (elf_machine_rela): Likewise.
624 (elf_machine_lazy_rel): Likewise.
625 (elf_machine_lazy_rela): Likewise.
626 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
627 (elf_machine_lazy_rel): Likewise.
628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
630 (elf_machine_lazy_rel): Likewise.
631 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
633 (elf_machine_lazy_rel): Likewise.
634 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
635 (elf_machine_lazy_rel): Likewise.
636 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
637 (elf_machine_lazy_rel): Likewise.
638 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
639 (elf_machine_lazy_rel): Likewise.
640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
641 (elf_machine_lazy_rel): Likewise.
642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
643 (elf_machine_lazy_rel): Likewise.
644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
645 (elf_machine_lazy_rel): Likewise.
647 2011-09-28 Ulrich Drepper <drepper@gmail.com>
649 * nss/nss_files/files-init.c (_nss_files_init): Use static
650 initialization for all the *_traced_file variables.
652 2011-09-28 Andreas Schwab <schwab@redhat.com>
654 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
656 2011-09-27 Roland McGrath <roland@hack.frob.com>
659 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
661 2011-09-27 Andreas Schwab <schwab@redhat.com>
663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
664 Reread the line before reparsing it.
666 2011-09-26 Andreas Schwab <schwab@redhat.com>
668 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
670 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
671 Maxim Kuvyrkov <maxim@codesourcery.com>
672 Joseph Myers <joseph@codesourcery.com>
674 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
675 if needed for __stack_chk_guard.
677 2011-09-19 Roland McGrath <roland@hack.frob.com>
679 * sysdeps/posix/spawni.c (script_execute): Always define it.
680 It will be optimized away if unused.
681 (maybe_script_execute): New function.
684 * Makerules: Don't include tls.make.
685 (config-tls): Always set to thread.
686 * tls.make.c: File removed.
688 2011-09-19 Mike Frysinger <vapier@gentoo.org>
690 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
691 * config.make.in (CPPFLAGS-config): New substituted variable.
693 2011-09-15 Ulrich Drepper <drepper@gmail.com>
695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
698 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
699 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
701 2011-09-15 Roland McGrath <roland@hack.frob.com>
703 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
704 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
706 (CALL_FAIL): Likewise.
707 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
708 (CALL_FAIL): Macro removed.
709 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
711 2011-09-15 Ulrich Drepper <drepper@gmail.com>
713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
714 for __FINITE_MATH_ONLY__ == 1.
716 2011-09-15 Andreas Schwab <schwab@redhat.com>
718 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
719 __ieee754_sqrt instead of sqrt.
720 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
721 __ieee754_sqrtf instead of sqrtf.
722 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
723 __floorf instead of floorf.
724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
725 __floorf, __truncf instead of floorf, truncf.
727 2011-09-14 Ulrich Drepper <drepper@gmail.com>
729 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
731 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
732 __extern_always_inline.
733 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
736 2011-09-14 Andreas Schwab <schwab@redhat.com>
738 * elf/rtld.c (dl_main): Also relocate in dependency order when
739 doing symbol dependency testing.
741 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
744 Always define `refsym'.
746 2011-09-13 Andreas Schwab <schwab@redhat.com>
748 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
749 (__FD_ELT): Renamed from __FDELT.
750 * misc/bits/select2.h (__FD_ELT): Likewise.
751 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
752 __FD_MASK instead of __FDELT, __FDMASK.
753 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
755 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
758 * elf/Makefile (gen-ldd): Fix pattern.
760 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
761 (init_tls): Likewise.
763 2011-09-12 Ulrich Drepper <drepper@gmail.com>
765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
767 2011-09-12 Andreas Schwab <schwab@redhat.com>
769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
770 `struct cmsghdr *' instead of `void *'.
771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
774 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
776 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
778 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
781 2011-09-11 Ulrich Drepper <drepper@gmail.com>
783 * configure.in: Remove --with-tls option.
784 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
785 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
786 out in case it is missing.
787 * sysdeps/ia64/elf/configure.in: Likewise.
788 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
789 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
790 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
791 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
792 * sysdeps/sh/elf/configure.in: Likewise.
793 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
794 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
795 * sysdeps/x86_64/elf/configure.in: Likewise.
796 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
797 * sysdeps/mach/hurd/tls.h: Likewise.
800 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
803 * configure.in: Fix use of AC_INIT.
805 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
807 2011-09-10 Ulrich Drepper <drepper@gmail.com>
809 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
811 * malloc/hooks.c: Likewise.
813 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
814 variables statically.
815 (narenas): Initialize.
816 (list_lock): Initialize.
817 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
818 initializtion of main_arena and list_lock. Small cleanups.
819 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
820 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
821 Add initializers to main_arena and mp_.
822 (malloc_state): Remove pagesize member. Change all users to use
825 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
826 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
827 is always initialized.
829 * malloc/malloc.c: Removed unused configurations and dead code.
830 * malloc/arena.c: Likewise.
831 * malloc/hooks.c: Likewise.
832 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
834 * include/tls.h: Removed. USE___THREAD must always be defined.
835 * bits/libc-tsd.h: Don't handle !USE___THREAD.
836 * elf/dl-libc.c: Likewise.
837 * elf/dl-tsd.c: Likewise.
838 * include/errno.h: Likewise.
839 * include/netdb.h: Likewise.
840 * include/resolv.h: Likewise.
841 * inet/herrno-loc.c: Likewise.
842 * inet/herrno.c: Likewise.
843 * malloc/arena.c: Likewise.
844 * malloc/hooks.c: Likewise.
845 * malloc/malloc.c: Likewise.
846 * resolv/res-state.c: Likewise.
847 * resolv/res_libc.c: Likewise.
848 * sysdeps/i386/dl-machine.h: Likewise.
849 * sysdeps/ia64/dl-machine.h: Likewise.
850 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
851 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
852 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
853 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
854 * sysdeps/sh/dl-machine.h: Likewise.
855 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
856 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
857 * sysdeps/unix/i386/sysdep.S: Likewise.
858 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
859 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
864 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
868 * sysdeps/unix/x86_64/sysdep.S: Likewise.
869 * sysdeps/x86_64/dl-machine.h: Likewise.
870 * tls.make.c: Likewise.
872 * configure.in: Remove --with-__thread option. Make tests for
873 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
874 tls_model attribute fail if no support is available. Remove
876 * Makeconfig: Adjust for dropped configure option. All features are
878 * Makerules: Likewise.
879 * Versions.def: Likewise.
880 * argp/argp-fmtstream.c: Likewise.
881 * argp/argp-fmtstream.h: Likewise.
882 * argp/argp-help.c: Likewise.
883 * assert/assert.c: Likewise.
884 * config.h.in: Likewise.
885 * config.make.in: Likewise.
886 * configure: Likewise.
887 * configure.in: Likewise.
888 * csu/Versions: Likewise.
889 * csu/init.c: Likewise.
890 * elf/tst-audit2.c: Likewise.
891 * elf/tst-tls10.c: Likewise.
892 * elf/tst-tls10.h: Likewise.
893 * elf/tst-tls11.c: Likewise.
894 * elf/tst-tls12.c: Likewise.
895 * elf/tst-tls14.c: Likewise.
896 * elf/tst-tlsmod11.c: Likewise.
897 * elf/tst-tlsmod12.c: Likewise.
898 * elf/tst-tlsmod13.c: Likewise.
899 * elf/tst-tlsmod13a.c: Likewise.
900 * elf/tst-tlsmod14a.c: Likewise.
901 * elf/tst-tlsmod15b.c: Likewise.
902 * elf/tst-tlsmod16a.c: Likewise.
903 * elf/tst-tlsmod16b.c: Likewise.
904 * elf/tst-tlsmod7.c: Likewise.
905 * elf/tst-tlsmod8.c: Likewise.
906 * elf/tst-tlsmod9.c: Likewise.
907 * gmon/gmon.c: Likewise.
908 * grp/fgetgrent_r.c: Likewise.
909 * grp/putgrent.c: Likewise.
910 * hurd/fopenport.c: Likewise.
911 * include/libc-symbols.h: Likewise.
912 * include/tls.h: Likewise.
913 * intl/gettextP.h: Likewise.
914 * intl/loadinfo.h: Likewise.
915 * locale/global-locale.c: Likewise.
916 * locale/localeinfo.h: Likewise.
917 * mach/devstream.c: Likewise.
918 * malloc/arena.c: Likewise.
919 * malloc/set-freeres.c: Likewise.
920 * misc/err.c: Likewise.
921 * misc/getttyent.c: Likewise.
922 * misc/mntent_r.c: Likewise.
923 * posix/getopt.c: Likewise.
924 * posix/wordexp.c: Likewise.
925 * pwd/fgetpwent_r.c: Likewise.
926 * resolv/Versions: Likewise.
927 * resolv/res_hconf.c: Likewise.
928 * shadow/fgetspent_r.c: Likewise.
929 * shadow/putspent.c: Likewise.
930 * stdio-common/printf_fphex.c: Likewise.
931 * stdio-common/tmpfile.c: Likewise.
932 * stdlib/abort.c: Likewise.
933 * stdlib/fmtmsg.c: Likewise.
934 * sunrpc/auth_unix.c: Likewise.
935 * sunrpc/clnt_perr.c: Likewise.
936 * sunrpc/clnt_tcp.c: Likewise.
937 * sunrpc/clnt_udp.c: Likewise.
938 * sunrpc/clnt_unix.c: Likewise.
939 * sunrpc/openchild.c: Likewise.
940 * sunrpc/svc_simple.c: Likewise.
941 * sunrpc/svc_tcp.c: Likewise.
942 * sunrpc/svc_udp.c: Likewise.
943 * sunrpc/svc_unix.c: Likewise.
944 * sunrpc/xdr.c: Likewise.
945 * sunrpc/xdr_array.c: Likewise.
946 * sunrpc/xdr_rec.c: Likewise.
947 * sunrpc/xdr_ref.c: Likewise.
948 * sunrpc/xdr_stdio.c: Likewise.
950 2011-09-09 Ulrich Drepper <drepper@gmail.com>
952 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
954 2011-07-03 Andreas Jaeger <aj@suse.de>
956 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
958 regenerate with gen-libm-tests.pl.
960 2010-05-12 Petr Baudis <pasky@suse.cz>
963 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
964 around j0() zero points by switching to j1().
965 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
968 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
970 2011-09-09 Ulrich Drepper <drepper@gmail.com>
972 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
974 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
977 Patch in part by Pavel Roskin <proski@gnu.org>.
980 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
982 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
983 Free memory block if necessary.
986 * libio/genops.c (INTDEF): For string streams the _lock pointer can
987 be NULL. Don't lock in this case.
989 2011-09-09 Roland McGrath <roland@hack.frob.com>
991 * elf/elf.h (ELFOSABI_GNU): New macro.
992 (ELFOSABI_LINUX): Define to that.
994 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
996 * string/strncat.c (strncat): Undef the symbol in case it has been
997 defined in bits/string.h.
999 2011-09-09 Ulrich Drepper <drepper@gmail.com>
1001 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
1003 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
1006 2011-08-17 Andreas Jaeger <aj@suse.de>
1008 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
1010 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1011 Ian Lance Taylor <iant@google.com>
1013 * math/libm-test.inc (lround_test): New testcase.
1014 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
1016 2011-09-08 Ulrich Drepper <drepper@gmail.com>
1018 * Makefile: Remove support for automatic cvs check-ins.
1019 * Makerules: Likewise.
1020 * config.make.in: Likewise.
1021 * configure.in: Likewise.
1022 * intl/Makefile: Likewise.
1023 * locale/Makefile: Likewise.
1024 * po/Makefile: Likewise.
1025 * posix/Makefile: Likewise.
1026 * sysdeps/gnu/Makefile: Likewise.
1027 * sysdeps/mach/hurd/Makefile: Likewise.
1028 * sysdeps/sparc/sparc32/Makefile: Likewise.
1031 * posix/Makefile (bug-regex32-ENV): Define.
1032 Patch by John Stanley <jpsinthemix@verizon.net>.
1034 * misc/Makefile (headers): Add bits/select2.h.
1035 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
1036 * misc/bits/select2.h: New file.
1037 * include/bits/select2.h: New file.
1038 * debug/Makefile (routines): Add fdelt_chk.
1039 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
1040 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
1042 * debug/fdelt_chk.c: New file.
1044 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
1045 * wcsmbs/test-wmemcmp.c: Likewise.
1046 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
1047 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
1049 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1051 * string/Makefile (strop-tests): Add memcmp.
1052 * string/test-wmemcmp.c: New file.
1053 * string/test-memcmp.c: Add wmemcmp support.
1055 2011-09-08 Roland McGrath <roland@hack.frob.com>
1058 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
1061 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
1062 garbage value in a __mach_port_mod_refs call in the cases of the
1063 task-self and thread-self ports.
1065 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1067 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
1069 2011-09-08 Andreas Schwab <schwab@redhat.com>
1071 * elf/dl-load.c (lose): Check for non-null L.
1073 2011-09-07 Ulrich Drepper <drepper@gmail.com>
1075 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
1077 * elf/dl-libc.c (dlerror_run): Pass back error code from
1081 * elf/dl-load.c (lose): Free l_origin if it is valid.
1083 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
1085 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1086 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1088 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1089 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1090 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
1092 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094 * sysdeps/powerpc/fpu/e_hypot.c: New file.
1095 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
1096 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
1097 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
1098 * sysdeps/powerpc/fpu/k_cosf.c: New file.
1099 * sysdeps/powerpc/fpu/k_sinf.c: New file.
1100 * sysdeps/powerpc/fpu/s_cosf.c: New file.
1101 * sysdeps/powerpc/fpu/s_sinf.c: New file.
1102 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
1103 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
1105 2011-08-15 Alan Modra <amodra@gmail.com>
1108 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
1109 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
1110 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
1111 ppc_mcount to static-only-routines.
1112 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
1114 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
1115 __mcount_internal with usual JUMPTARGET. Remove useless nop.
1117 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
1119 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
1120 for finite and infinity parameters.
1122 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
1125 and add nop instructions for throughput optimization.
1126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1128 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
1130 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
1131 aligned copy for power7 with vector-scalar instructions.
1132 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1134 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
1136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
1139 2011-09-07 Andreas Schwab <schwab@redhat.com>
1142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
1145 2011-09-07 Ulrich Drepper <drepper@gmail.com>
1147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1148 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
1149 syscall wrapper around clock_gettime in __vdso_clock_gettime.
1150 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
1153 2011-09-06 Ulrich Drepper <drepper@gmail.com>
1155 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
1156 Forgot to demangle the pointer.
1158 * sysdeps/i386/sysdep.h: Define atom_text_section.
1159 * sysdeps/x86_64/sysdep.h: Likewise.
1160 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
1161 section with atom_text_section.
1162 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1163 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1164 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1166 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
1168 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
1169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
1170 already be defined. Change to take two parameters and don't assign
1171 result to variable. Adjust all users.
1172 Define INTERNAL_GETTIME if not already defined.
1173 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
1175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
1176 HAVE_CLOCK_GETTIME_VSYSCALL.
1177 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
1179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
1180 gettimeofday vsyscall, just use time.
1182 2011-09-06 Andreas Schwab <schwab@redhat.com>
1184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
1187 2011-09-06 Ulrich Drepper <drepper@gmail.com>
1189 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
1191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
1193 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1194 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
1195 syscall if possible.
1197 2011-09-05 Ulrich Drepper <drepper@gmail.com>
1199 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
1200 e_ident. Don't pass to find_mapsXX.
1201 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
1203 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1206 strchr-sse2-no-bsf strrchr-sse2-no-bsf
1207 * sysdeps/x86_64/multiarch/strchr.S: Update.
1208 Check bit_slow_BSF bit.
1209 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1210 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
1211 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
1213 2011-09-05 Ulrich Drepper <drepper@gmail.com>
1216 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
1219 (__spawni): Change last parameter to be flag. Test
1220 SPAWN_XFLAGS_USE_PATH flag to use path or not.
1221 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
1222 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
1223 * posix/spawni.c: Likewise.
1224 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
1225 * posix/spawnp.c: Likewise. Change normal version to use
1226 SPAWN_XFLAGS_USE_PATH.
1227 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
1228 SPAWN_XFLAGS_TRY_SHELL.
1231 * posix/glob.h: Remove gcc 1.x support.
1234 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
1236 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1239 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
1241 * sysdeps/i386/i686/multiarch/strchr.S: New file.
1242 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
1243 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
1244 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
1245 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
1246 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
1248 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1250 * sysdeps/x86_64/wcscmp.S: New file.
1252 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
1253 wcscmp-c wcscmp-sse2
1254 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
1255 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
1256 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
1257 * wcsmbs/wcscmp.c: Allow renaming.
1259 2011-09-05 David S. Miller <davem@davemloft.net>
1261 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
1262 stack slot, rather than the struct return pointer slot.
1263 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
1264 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
1266 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
1268 2011-09-05 Ulrich Drepper <drepper@gmail.com>
1270 * po/ja.po: Update from translation team.
1273 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
1274 kernel in 64-bit binaries.
1276 2011-09-01 David S. Miller <davem@davemloft.net>
1278 * elf/elf.h (HWCAP_SPARC_*): Move to..
1279 * sysdeps/sparc/sysdep.h: this new file and add new values.
1280 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
1281 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
1282 _DL_HWCAP_COUNT to 24.
1283 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1285 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
1286 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
1287 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
1288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
1289 instead of magic constants.
1290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1292 2011-08-31 David S. Miller <davem@davemloft.net>
1294 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
1295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
1296 Reimplement to do errno handling inline.
1297 (SYSCALL_ERROR_HANDLER): New macro.
1298 (__SYSCALL_STRING): Do not do errno handling in asm.
1299 (__CLONE_SYSCALL_STRING): Delete.
1300 (__INTERNAL_SYSCALL_STRING): Delete.
1301 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
1302 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
1303 (PSEUDO): Reimplement to do errno handling inline.
1304 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
1305 (SYSCALL_ERROR_HANDLER): New macro.
1306 (__SYSCALL_STRING): Do not do errno handling in asm.
1307 (__CLONE_SYSCALL_STRING): Delete.
1308 (__INTERNAL_SYSCALL_STRING): Delete.
1309 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
1310 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
1312 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
1313 (inline_syscall*): Add 'err' argument.
1314 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
1315 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
1316 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
1317 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
1319 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
1320 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1322 2011-08-30 Andreas Schwab <schwab@redhat.com>
1324 * elf/rtld.c (dl_main): Relocate objects in dependency order.
1326 2011-08-29 Jiri Olsa <jolsa@redhat.com>
1328 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
1331 2011-08-24 David S. Miller <davem@davemloft.net>
1333 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
1335 2011-08-24 Andreas Schwab <schwab@redhat.com>
1337 * elf/Makefile: Add rules to build and run unload8 test.
1338 * elf/unload8.c: New file.
1339 * elf/unload8mod1.c: New file.
1340 * elf/unload8mod1x.c: New file.
1341 * elf/unload8mod2.c: New file.
1342 * elf/unload8mod3.c: New file.
1344 * elf/dl-close.c (_dl_close_worker): Reset private search list if
1347 2011-08-23 David S. Miller <davem@davemloft.net>
1349 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
1350 subtract stack bias.
1351 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
1352 %sp not %fp in calculations.
1353 (_JMPBUF_UNWINDS_ADJ): Likewise.
1355 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
1356 (aio_suspend): Call it to force an exception region around the
1357 AIO_MISC_WAIT() invocation.
1359 2011-08-23 Andreas Schwab <schwab@redhat.com>
1361 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
1364 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
1366 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
1368 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
1370 (Elf64_FuncDesc): Remove.
1372 2011-08-22 David S. Miller <davem@davemloft.net>
1374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
1375 sigaltstack check, add missing cfi directives.
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
1377 missing cfi directives, and sigaltstack handling.
1379 2011-08-16 Andreas Schwab <schwab@redhat.com>
1382 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
1383 object is seen twice.
1384 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1386 * elf/Makefile (distribute): Add tst-initorder2.c.
1387 (tests): Add tst-initorder2.
1388 (modules-names): Add tst-initorder2a tst-initorder2b
1389 tst-initorder2c tst-initorder2d. Add rules to build them.
1390 ($(objpfx)tst-initorder2.out): New rule.
1391 * elf/tst-initorder2.c: New file.
1392 * elf/tst-initorder2.exp: New file.
1394 2011-08-22 Andreas Schwab <schwab@redhat.com>
1396 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
1398 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
1399 dependencies back to end of function.
1401 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1404 2011-08-21 Ulrich Drepper <drepper@gmail.com>
1406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
1407 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
1408 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1409 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1410 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
1411 of __vdso_gettimeofday.
1412 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
1413 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
1415 (_libc_vdso_platform_setup): Remove initialization of
1416 __vdso_gettimeofday and __vdso_time.
1418 2011-08-20 Ulrich Drepper <drepper@gmail.com>
1420 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
1422 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
1425 * elf/dl-open.c (add_to_global): Report additions to the global scope
1426 for LD_DEBUG=scopes.
1427 (dl_open_worker): Also print scope of newly loaded dependencies.
1428 (_dl_show_scope): Indicate if there is no scope.
1431 * stdio-common/Makefile (tests): Add bug24.
1432 * stdio-common/bug24.c: New file.
1434 2011-08-19 Andreas Jaeger <aj@suse.de>
1437 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
1438 non-existant file when using close-on-exec mode.
1440 2011-08-20 Ulrich Drepper <drepper@gmail.com>
1442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
1443 the very first instruction.
1445 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
1446 the CFI state in the end.
1447 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
1448 inclusion of dl-trampoline.h.
1449 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
1451 2011-08-19 Andreas Schwab <schwab@redhat.com>
1453 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
1454 expectations for long double.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
1457 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
1459 2011-08-14 David S. Miller <davem@davemloft.net>
1461 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
1462 artificual limit depends upon the system page size.
1464 2011-08-17 Ulrich Drepper <drepper@gmail.com>
1466 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
1467 * resolv/Makefile: Define CFLAGS-libresolv.
1469 2011-08-17 Andreas Schwab <schwab@redhat.com>
1471 * nss/makedb.c (compute_tables): Make variables used in nested
1474 2011-08-17 Ulrich Drepper <drepper@gmail.com>
1476 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
1477 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
1478 if buffer was too small.
1480 * elf/pldd.c (main): Attach to all threads in the process.
1481 Rewrite /proc handling to use *at functions.
1483 2011-08-16 Ulrich Drepper <drepper@gmail.com>
1485 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
1486 specifies first scope to show.
1487 (dl_open_worker): Update callers. Move printing scope of new
1488 object to before the relocation.
1489 * elf/rtld.c (dl_main): Update _dl_show_scope call.
1490 * sysdeps/generic/ldsodefs.h: Update declaration.
1492 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
1493 string for the scope number.
1495 2011-08-14 Ulrich Drepper <drepper@gmail.com>
1497 * nscd/servicescache.c (cache_addserv): Make sure written is always
1500 2011-08-14 Roland McGrath <roland@hack.frob.com>
1502 * sysdeps/i386/i486/bits/atomic.h
1503 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
1504 statement expression, so as to suppress "set but not used" warning.
1505 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
1507 * string/strncat.c (STRNCAT): Use prototype definition.
1509 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
1510 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
1512 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
1513 (localedef-modules): Add localedef.
1514 (locale-modules): Add locale.
1516 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
1517 * elf/rtld.c (dl_main): Invert order of assignment in last change,
1520 2011-08-14 David S. Miller <davem@davemloft.net>
1522 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
1523 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
1525 2011-08-13 Ulrich Drepper <drepper@gmail.com>
1527 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
1528 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
1529 * elf/rtld.c (dl_main): Set l_name of vDSO.
1530 Call _dl_show_scope when DL_DEBUG_SCOPES.
1531 (process_dl_debug): Recognize scopes flag and also set it for all.
1532 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
1533 Declare _dl_show_scope.
1535 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
1536 (do_dlopen): Pass caller_dlopen to dl_open.
1537 (__libc_dlopen_mode): Initialize caller_dlopen.
1539 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
1540 of libc. Make tolower call locale-independent. Optimize a bit by
1541 using isdigit instead of isalnum.
1542 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
1544 2011-08-12 Ulrich Drepper <drepper@gmail.com>
1546 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
1547 was a dependency or dynamically loaded.
1549 2011-08-11 Ulrich Drepper <drepper@gmail.com>
1551 * intl/l10nflist.c: Allow architecture-specific pop function.
1552 * sysdeps/x86_64/l10nflist.c: New file.
1554 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
1557 2011-08-10 Andreas Schwab <schwab@redhat.com>
1559 * include/dirent.h: Add libc_hidden_proto for scandirat and
1560 scandirat64. Don't declare __scandirat64.
1561 * dirent/scandirat.c: Add libc_hidden_def.
1562 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
1563 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
1565 2011-08-10 David S. Miller <davem@davemloft.net>
1567 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
1569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1573 2011-08-09 Ulrich Drepper <drepper@gmail.com>
1575 * Versions.def [libc]: Add GLIBC_2.15.
1576 * dirent/Makefile (routines): Add scandirat and scandirat64.
1577 * dirent/Versions [libc]: Export scandirat and scandirat64 for
1579 * dirent/dirent.h: Declare scandirat and scandirat64.
1580 * dirent/scandirat.c: New file.
1581 * dirent/scandirat64.c: New file.
1582 * sysdeps/wordsize-64/scandirat.c: New file.
1583 * sysdeps/wordsize-64/scandirat64.c: New file.
1584 * dirent/opendir.c: Define opendirat.
1585 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
1587 * dirent/scandir64.c: Adjust for scandir.c change.
1588 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
1589 __scandirat64, and __scandir_cancel_handler.
1590 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
1591 additional parameter and use openat instead of open (outside of ld.so).
1592 Add new __opendir as wrapper around __opendirat.
1593 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
1594 here without requiring old scandirat implementation.
1596 2011-08-08 Ulrich Drepper <drepper@gmail.com>
1598 * dirent/scandir.c (cancel_handler): Renamed to
1599 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
1600 defined. Adjust users.
1601 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
1602 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
1604 2011-08-04 Ulrich Drepper <drepper@gmail.com>
1606 * string/test-string.h (IMPL): Use __STRING to expand name and then
1609 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
1612 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1614 * string/Makefile: Update.
1615 (strop-tests): Append strncat.
1616 * string/test-wcscmp.c: New file.
1617 New comprehensive test for wcscmp.
1618 * string/test-strcmp.c: Update.
1621 2011-07-22 Andreas Schwab <schwab@redhat.com>
1623 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
1626 2011-07-26 Andreas Schwab <schwab@redhat.com>
1628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1629 encoding to ACE if AI_IDN.
1631 2011-08-01 Jakub Jelinek <jakub@redhat.com>
1633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
1634 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
1636 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1638 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
1639 Fix overflow bug in strncat.
1640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1642 * string/test-strncat.c: Update.
1643 Add new tests for checking overflow bugs.
1645 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1648 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
1649 * sysdeps/i386/i686/multiarch/strcat.S: New file.
1650 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
1651 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
1652 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
1653 * sysdeps/i386/i686/multiarch/strncat.S: New file.
1654 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
1655 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
1657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
1658 (USE_AS_STRCAT): Define.
1659 Add strcat and strncat support.
1660 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1662 2011-07-25 Andreas Schwab <schwab@redhat.com>
1664 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
1665 __n bigger than INT_MAX+1.
1666 (__strncmp_g): Likewise.
1668 2011-07-23 Ulrich Drepper <drepper@gmail.com>
1670 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
1671 * libio/stido.h: Likewise.
1673 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
1675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
1678 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
1679 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1680 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1681 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1682 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1685 * scripts/test-installation.pl: Don't expect libnss_test1 to be
1688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
1690 (_dl_x86_64_save_sse): Likewise.
1692 2011-07-22 Ulrich Drepper <drepper@gmail.com>
1694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
1696 (_dl_x86_64_save_sse): Likewise.
1698 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
1700 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
1702 2011-07-21 Andreas Schwab <schwab@redhat.com>
1704 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
1706 (_dl_x86_64_save_sse): Use correct AVX check.
1708 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
1711 bug in strncpy/strncat.
1712 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1714 2011-07-21 Ulrich Drepper <drepper@gmail.com>
1716 * string/tester.c (test_strcat): Add tests for different alignments
1717 of source and destination.
1718 (test_strncat): Likewise.
1720 2011-07-20 Ulrich Drepper <drepper@gmail.com>
1723 * posix/glob.c (glob): Check passed in values before using them in
1724 expressions to avoid some overflows.
1725 (glob_in_dir): Likewise.
1728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
1729 check for AVX enablement so that we don't crash with old kernels and
1731 * elf/tst-audit4.c: Add same checks here.
1732 * elf/tst-audit6.c: Likewise.
1734 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
1736 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
1738 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
1740 2011-07-20 Ulrich Drepper <drepper@gmail.com>
1742 * po/cs.po: Update from translation team.
1743 * po/bg.po: Likewise.
1745 2011-07-12 Marek Polacek <mpolacek@redhat.com>
1747 * misc/sys/cdefs.h: Add support for const attribute.
1748 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
1749 to gnu_dev_{major,minor,makedev} functions.
1751 2011-07-20 Marek Polacek <mpolacek@redhat.com>
1753 * intl/dcigettext.c (get_output_charset): Add missing bracket.
1755 2011-07-20 Andreas Schwab <schwab@redhat.com>
1757 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
1760 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1763 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
1764 register in order to avoid conflicts with the soft frame pointer
1765 being held in r11 when necessary.
1766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1767 (INTERNAL_VSYSCALL_NCS): Likewise.
1769 2011-07-14 Marek Polacek <mpolacek@redhat.com>
1771 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
1772 * elf/dl-fini.c (_dl_fini): Adjust caller.
1773 * elf/dl-close.c (_dl_close_worker): Likewise.
1774 * sysdeps/generic/ldsodefs.h: Adjust declaration.
1776 2011-07-15 Marek Polacek <mpolacek@redhat.com>
1778 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
1779 "aux_cache->nlibs < 0".
1781 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
1782 in the reload-count case.
1784 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1787 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
1788 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
1789 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
1790 * sysdeps/x86_64/multiarch/strcat.S: New file.
1791 * sysdeps/x86_64/multiarch/strncat.S: New file.
1792 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
1793 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
1794 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
1795 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
1796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
1797 (USE_AS_STRCAT): Define.
1798 Add strcat and strncat support.
1799 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1801 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
1802 * string/strncat.c: Update.
1803 (USE_AS_STRNCAT): Define.
1804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1805 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
1807 * sysdeps/x86_64/multiarch/init-arch.h
1808 (bit_Prefer_PMINUB_for_stringop): New.
1809 (index_Prefer_PMINUB_for_stringop): Likewise.
1810 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
1811 bit_Prefer_PMINUB_for_stringop.
1813 2011-07-19 Ulrich Drepper <drepper@gmail.com>
1815 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
1817 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
1818 of casting of buffer.
1819 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
1820 buffer32 and buffer64.
1821 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
1822 writes instead of casting of buffer.
1823 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
1825 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
1828 2011-07-19 Andreas Schwab <schwab@redhat.com>
1830 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
1832 2011-07-19 Ulrich Drepper <drepper@gmail.com>
1834 * nscd/nscd.c (termination_handler): Don't do anything for a database
1835 if it has not yet been initialized.
1837 2011-07-18 Ulrich Drepper <drepper@gmail.com>
1839 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1841 2011-07-15 Marek Polacek <mpolacek@redhat.com>
1843 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1845 2011-07-18 Ulrich Drepper <drepper@gmail.com>
1847 * po/nl.po: Update from translation team.
1848 * po/sv.po: Likewise.
1850 2011-07-16 Roland McGrath <roland@hack.frob.com>
1852 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
1853 now disallowed by GCC.
1855 * configure.in (use-default-link): Default to yes if a test -shared
1856 link meets our qualifications.
1857 * configure: Regenerated.
1859 * config.make.in (output-format): New variable.
1860 * configure.in: Check for ld --print-output-format support.
1861 * configure: Regenerated.
1862 * Makerules ($(common-objpfx)format.lds)
1863 [$(output-format) != unknown]: Just use $(output-format),
1864 instead of the linker-script munging.
1866 2011-07-14 Roland McGrath <roland@hack.frob.com>
1868 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
1869 of $(common-objpfx)shlib.lds.
1870 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
1872 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
1873 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
1875 * configure.in (-z relro check): Adjust test code to add a large
1876 writable data section after it.
1877 * configure: Regenerated.
1879 2011-07-11 Roland McGrath <roland@hack.frob.com>
1881 * configure.in (-z relro check): Fix test code to make the variable
1883 * configure: Regenerated.
1885 2011-07-11 Ulrich Drepper <drepper@gmail.com>
1887 * nscd/nscd.h (struct traced_file): Define.
1888 (struct database_dyn): Remove inotify_descr, reset_res, and filename
1889 elements. Add traced_files.
1890 (inotify_fd): Declare.
1891 (register_traced_file): Declare.
1892 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
1893 (inotify_fd): Export.
1894 (resolv_conf_descr): Remove.
1895 (nscd_init): Move inotify descriptor creation to main.
1896 Don't register files for notification here.
1897 (register_traced_file): New function.
1898 (invalidate_cache): Don't use reset_res to determine whether to call
1899 res_init, go through the list of registered files.
1900 (main_loop_poll): The inotify descriptors are now stored in the
1901 structures for the traced files.
1902 (main_loop_epoll): Likewise
1903 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
1904 to __nss_disable_nscd.
1905 * nscd/cache.c (prune_cache): There is no single inotify descriptor
1906 for a database anymore. Check the records for all the registered
1908 * nss/Makefile (libnss_files-routines): Add files-init.
1909 (libnss_db-routines): Add db-init.
1910 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
1911 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
1912 * nss/nss_db/db-init.c: New file.
1913 * nss/nss_files/files-init.c: New file.
1914 * nss/nsswitch.c (nss_load_library): New function. Broken out of
1915 __nss_lookup_function.
1916 (__nss_lookup_function): Call nss_load_library.
1917 (nss_load_all_libraries): New function.
1918 (__nss_disable_nscd): Take parameter with callback function for files
1919 to register. Set is_nscd. Load all the DSOs for the NSS modules
1920 used for the cached services.
1921 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
1922 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
1923 options for features to all the files in nscd.
1925 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
1927 2011-07-10 Roland McGrath <roland@hack.frob.com>
1929 * csu/elf-init.c (__libc_csu_init): Comment typo.
1931 2011-07-09 Ulrich Drepper <drepper@gmail.com>
1933 * po/pl.po: Update from translation team.
1934 * po/ja.po: Likewise.
1935 * po/ru.po: Likewise.
1936 * po/ko.po: Likewise.
1937 * po/fr.po: Likewise.
1939 2011-07-09 Roland McGrath <roland@hack.frob.com>
1941 * configure.in (.ctors/.dtors header and trailer check):
1942 Use an empirical test on a built program.
1943 * configure: Regenerated.
1945 * configure.in (-z relro check): Use an empirical test on a built DSO.
1946 Detect, but do not require, on ia64.
1947 * configure: Regenerated.
1949 * configure.in (READELF): Find it with AC_CHECK_TOOL.
1950 Update tests that use readelf to use $READELF instead.
1951 * configure: Regenerated.
1953 2011-07-08 Ulrich Drepper <drepper@gmail.com>
1955 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
1956 if the result is not used.
1958 2011-07-05 Andreas Jaeger <aj@suse.de>
1961 * stdlib/tst-strtod.c: Add testcase.
1963 2011-07-07 Ulrich Drepper <drepper@gmail.com>
1965 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
1966 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
1967 The latter has a higher limit. Take additional parameter to pass to
1969 (__pathconf): Pass file to __statfs_link_max.
1970 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
1972 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
1976 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
1977 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1979 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
1980 (__statfs_filesize_max): Likewise.
1981 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
1983 2011-07-05 Andreas Jaeger <aj@suse.de>
1985 * resolv/res_comp.c (dn_skipname): Remove unused variable.
1987 2011-07-06 Marek Polacek <mpolacek@redhat.com>
1989 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
1991 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
1994 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
1996 * Makefile (strop-tests): Add strncat.
1997 * string/test-strncat.c: New file.
1999 2011-06-30 Marek Polacek <mpolacek@redhat.com>
2001 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
2003 2011-06-21 Andreas Jaeger <aj@suse.de>
2005 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
2006 Copy rule from iconvdata/Makefile.
2008 2011-07-06 Ulrich Drepper <drepper@gmail.com>
2011 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
2012 but no long options are defined, just return 'W'.
2014 2011-06-22 Marek Polacek <mpolacek@redhat.com>
2017 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
2019 2011-07-06 Ulrich Drepper <drepper@gmail.com>
2021 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
2023 (innetgr): Likewise.
2025 2011-07-05 Roland McGrath <roland@hack.frob.com>
2027 * config.make.in (install_root): Default to $(DESTDIR).
2029 2011-07-05 Ulrich Drepper <drepper@gmail.com>
2031 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2033 2011-07-02 Roland McGrath <roland@hack.frob.com>
2035 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
2037 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
2038 containing directory rather than embedding absolute directory names.
2040 * scripts/check-local-headers.sh: Rewritten using awk.
2041 Match by word, not by line. Print error messages for matches.
2042 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
2044 * Makerules [shlib-lds-flags empty]:
2045 ($(common-objpfx)libc_pic.opts): New target.
2046 ($(common-objpfx)libc_pic.os.clean): New target.
2047 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
2049 * config.make.in (OBJCOPY): New variable.
2050 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
2051 * configure: Regenerated.
2053 * config.make.in (use-default-link): New variable.
2054 * configure.in (use_default_link): Grok --with-default-link to set it.
2055 * configure: Regenerated.
2056 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
2057 (shlib-lds, shlib-lds-flags): Define to empty.
2059 * Makerules (shlib-lds): New variable.
2060 (shlib-lds-flags): New variable.
2061 (build-shlib, build-moduile, build-module-asneeded): Use it.
2062 ($(common-objpfx)libc.so): Use $(shlib-lds).
2063 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
2064 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
2066 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
2067 DT_FLAGS/DT_FLAGS_1 with zero flags.
2069 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
2070 linker script munging.
2072 2011-07-02 Ulrich Drepper <drepper@gmail.com>
2074 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
2076 * crypt/sha512.c (sha512_process_block): Perform total addition using
2077 128-bit if possible.
2078 (__sha512_finish_ctx): Likewise.
2079 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
2081 * crypt/sha256.c (SWAP64): Define.
2082 (sha256_process_block): Perform total addition using 64-bit if
2084 (__sha256_finish_ctx): Likewise.
2086 2011-07-01 Ulrich Drepper <drepper@gmail.com>
2088 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
2089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2090 * nscd/hstcache.c (cache_addhst): Likewise.
2091 * nscd/grpcache.c (cache_addgr): Likewise.
2092 * nscd/aicache.c (addhstaiX): Likewise
2093 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
2095 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
2097 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
2098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2099 * nscd/hstcache.c (cache_addhst): Likewise.
2100 * nscd/grpcache.c (cache_addgr): Likewise.
2101 * nscd/aicache.c (addhstaiX): Likewise
2103 2011-07-01 Andreas Schwab <schwab@redhat.com>
2105 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
2106 domain only when needed.
2108 2011-06-30 Andreas Schwab <schwab@redhat.com>
2110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
2113 2011-06-29 Ulrich Drepper <drepper@gmail.com>
2115 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
2116 are re-adding the entry.
2117 * nscd/servicescache.c (cache_addserv): Likewise.
2119 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
2121 * sysdeps/generic/dl-irel.h: fix protection against multiple
2123 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
2125 2011-06-28 Ulrich Drepper <drepper@gmail.com>
2128 * malloc/memusage.sh: Fix quoting in message.
2129 * debug/xtrace.sh: Likewise.
2131 * configure.in: Remove support for --experimental-malloc option, make
2133 * config.make.in: Likewise.
2134 * malloc/Makefile: Likewise.
2136 2011-06-27 Andreas Schwab <schwab@redhat.com>
2138 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
2139 two-byte characters.
2141 2011-06-27 Roland McGrath <roland@hack.frob.com>
2143 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
2144 AC_CACHE_CHECK invocation.
2145 * configure: Regenerated.
2147 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
2149 2011-06-27 Ulrich Drepper <drepper@gmail.com>
2152 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
2153 bit from old_res_options.
2155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
2157 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
2158 value type for setfct.
2160 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
2162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2163 __gettimeofday instead of gettimeofday.
2165 2011-06-26 Ulrich Drepper <drepper@gmail.com>
2167 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
2169 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
2171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
2173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
2176 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2179 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2180 strcpy-sse2-unaligned strncpy-sse2-unaligned
2181 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
2182 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
2183 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
2184 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
2185 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
2186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
2187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
2188 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
2189 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
2190 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
2191 (STRCPY): Support SSE2 and SSSE3 versions.
2193 2011-06-24 Ulrich Drepper <drepper@gmail.com>
2196 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
2197 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
2198 kernels which artificially limit size of requests.
2200 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2203 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2204 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
2205 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
2206 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
2207 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
2208 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
2209 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
2210 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
2211 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
2212 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
2213 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
2214 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
2215 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
2216 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
2217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2218 Enable unaligned load optimization for Intel Core i3, i5 and i7
2220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
2222 (index_Fast_Unaligned_Load): Define.
2223 (HAS_FAST_UNALIGNED_LOAD): Define.
2225 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2227 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
2229 2011-06-22 Ulrich Drepper <drepper@gmail.com>
2232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
2233 until it is clear that the information is realy needed.
2234 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
2236 2011-06-22 Andreas Schwab <schwab@redhat.com>
2238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
2240 2011-06-22 Ulrich Drepper <drepper@gmail.com>
2242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2243 /sys/devices/system/cpu/online if it is usable.
2245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
2246 reading the information from the /proc filesystem to once a second.
2248 2011-06-21 Andreas Jaeger <aj@suse.de>
2250 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
2251 NULL after inclusion of kernel headers.
2253 2011-06-21 Ulrich Drepper <drepper@gmail.com>
2255 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
2256 calls to internal_setent.
2259 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
2260 addresses using gethostbyname4_r ignore IPv4 addresses.
2262 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
2263 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
2265 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
2267 2011-06-20 David S. Miller <davem@davemloft.net>
2269 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
2271 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
2273 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
2275 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
2276 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
2277 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
2278 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
2279 * sysdeps/x86_64/dl-irel.h: Likewise.
2281 * elf/dl-runtime.c: Use elf_ifunc_invoke.
2282 * elf/dl-sym.c: Likewise.
2284 2011-06-15 Ulrich Drepper <drepper@gmail.com>
2286 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
2287 need to dereference resplen2.
2289 2011-06-14 Andreas Schwab <schwab@redhat.com>
2291 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
2293 2011-06-15 Ulrich Drepper <drepper@gmail.com>
2295 * Makeconfig: Define vardbdir and inst_vardbdir.
2296 * nss/Makefile: Add rules to install db-Makefile.
2298 * nss/nss_db/db-XXX.c: Cleanup.
2300 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
2301 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
2303 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
2304 * nss/makedb.c: Implement -g option to specify that value strings
2305 are generated and should not be added to table iterated over for
2307 * nss/nss_db/db-initgroups.c: New file.
2309 * nss/getent.c: Add support for initgroups lookups through getgrouplist
2312 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
2313 (internal_getgrouplist): Adjust to name change.
2314 Update use_initgroups_entry if this is not the first call.
2315 * nss/databases.def: Add initgroups entry.
2317 * nss/makedb.c (compute_tables): Check result of multiple hash table
2318 sizes to minimize maximum chain length.
2320 2011-06-14 Ulrich Drepper <drepper@gmail.com>
2322 * Versions.def: Add entry for libnss_db.
2323 * shlib-versions: Likewise.
2324 * nss/Makefile: Add rules to build libnss_db.
2325 * nss/Versions: Add libnss_db information. Organize libnss_files
2327 * nss/db-Makefile: Add gshadow support. Change rules for the new
2328 makedb progra. Some minor improvements to generate smaller files.
2329 * nss/nss_db/nss_db.h: Move NSS database header data structures to
2331 * nss/makedb.c: ...here.
2332 Improve database format to be smaller and require less memory at
2334 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
2336 * nss/nss_db/db-netgrp.c: Likewise.
2337 * nss/nss_db/db-open.c: Likewise.
2338 * nss/nss_files/flies-XXX.x: Adjust comments.
2339 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
2340 * nss/nss_files/files-grp.c: Likewise.
2341 * nss/nss_files/files-hosts.c: Likewise.
2342 * nss/nss_files/files-network.c: Likewise.
2343 * nss/nss_files/files-proto.c: Likewise.
2344 * nss/nss_files/files-pwd.c: Likewise.
2345 * nss/nss_files/files-rpc.c: Likewise.
2346 * nss/nss_files/files-service.c: Likewise.
2347 * nss/nss_files/files-sgrp.c: Likewise.
2348 * nss/nss_files/files-spwd.c: Likewise.
2349 * nss/nss_db/db-alias.c: Removed.
2350 * nss/nss_db/dummy-db.h: Removed.
2352 2011-06-02 Ulrich Drepper <drepper@gmail.com>
2354 * nss/makedb.c: Rewritten to not use database library.
2355 * nss/Makefile: Update to build new makedb program.
2357 2011-06-14 Andreas Jaeger <aj@suse.de>
2359 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
2362 2011-06-10 Andreas Schwab <schwab@redhat.com>
2364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
2367 2011-06-10 Roland McGrath <roland@hack.frob.com>
2369 * Makerules (shlib.lds): Fail if the linker script comes out empty.
2370 * elf/Makefile ($(objpfx)ld.so): Likewise.
2372 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
2373 Don't list ld.so twice in dependencies.
2375 * posix/bug-regex31.c: Include <stdlib.h>.
2377 * nscd/hstcache.c (cache_addhst): Remove unused variable.
2379 * nis/nss_compat/compat-spwd.c
2380 (getspent_next_nss_netgr): Remove unused variable.
2381 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2383 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
2384 nonmembers" output to use the right array.
2386 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
2388 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
2390 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
2391 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
2392 * catgets/gencat.c (read_input_file): Likewise.
2393 * locale/programs/locarchive.c (enlarge_archive): Likewise.
2395 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
2396 variable definition inside #if's controlling its use.
2398 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
2400 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
2402 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
2404 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
2407 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
2409 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
2410 * configure: Regenerated.
2412 * Makerules: Revert last change.
2413 * elf/Makefile: Likewise.
2415 2011-06-09 Roland McGrath <roland@hack.frob.com>
2417 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
2418 * elf/Makefile ($(objpfx)librtld.os): Likewise.
2419 (reloc-link): Likewise.
2421 2011-06-09 Ulrich Drepper <drepper@gmail.com>
2423 * elf/Makefile: Add rules to build pldd.
2424 * elf/pldd.c: New file.
2425 * elf/pldd-xx.c: New file.
2427 2011-06-07 Ulrich Drepper <drepper@gmail.com>
2429 * version.h: Update for 2.15 development version.
2431 2011-06-07 David S. Miller <davem@davemloft.net>
2433 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
2435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2436 elf_machine_lazy_rel): Likewise.
2437 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2438 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2439 elf_machine_lazy_rel): Likewise.
2440 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
2441 dl_hwcap via passed in argument.
2442 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
2445 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2447 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
2449 2011-06-06 Roland McGrath <roland@hack.frob.com>
2452 * manual/fdl-1.1.texi: New file, verbatim from:
2453 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
2454 * manual/lgpl-2.1.texi: New file, verbatim from:
2455 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
2456 * manual/Makefile (licenses): New variable, list those new file names.
2458 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
2460 * manual/fdl.texi: File removed.
2461 * manual/lesser.texi: File removed.
2462 * manual/libc.texinfo (Copying, Documentation License):
2463 Use new @include file names, put @appendix directive before @include.
2465 2011-06-04 Jakub Jelinek <jakub@redhat.com>
2468 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
2469 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
2470 (mq_open): Add __NTH.
2472 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
2474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2475 Assume Intel Core i3/i5/i7 processor if AVX is available.
2477 2011-05-31 Ulrich Drepper <drepper@gmail.com>
2479 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2482 2011-05-31 Andreas Schwab <schwab@redhat.com>
2484 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
2485 memory. Use alloca_account. Fix memory leak when retrying.
2487 2011-05-31 Ulrich Drepper <drepper@gmail.com>
2489 * version.h (RELEASE): Bump for 2.14 release.
2490 * include/features.h (__GLIBC_MINOR__): Bump to 14.
2492 * config.make.in (RANLIB): Remove entry.
2494 2011-05-30 Ulrich Drepper <drepper@gmail.com>
2496 * po/Makefile (po-sed-cmd): Add ksh to extensions.
2497 (libc.pot): Work around missing support for .ksh extension in xgettext.
2500 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
2501 if both request failed.
2502 (send_dg): In case of server errors clear resplen or *resplen2.
2505 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
2506 when there are multiple maps.
2507 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
2508 (_dl_fini): Remove test here.
2510 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
2512 2011-05-29 Ulrich Drepper <drepper@gmail.com>
2515 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
2516 bit from old_res_options.
2517 (gaih_inet): Likewise.
2520 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
2523 * resolv/res_init.c (res_setoptions): Make the code more compact.
2526 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
2530 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
2532 * malloc/malloc.h: Mark malloc hook variables as deprecated.
2535 * malloc/malloc.h: Declare malloc hook variables as volatile.
2537 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
2541 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
2542 raise in the comment.
2543 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2545 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2547 2011-05-28 Ulrich Drepper <drepper@gmail.com>
2550 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
2551 grow the buffers more if it already has to be sufficient.
2552 (build_wcs_upper_buffer): Likewise.
2553 * posix/regexec.c (check_matching): Likewise.
2554 (clean_state_log_if_needed): Likewise.
2555 (extend_buffers): Don't enlarge buffers beyond size of the input
2557 Patches mostly by Emil Wojak <emil@wojak.eu>.
2558 * posix/bug-regex32.c: New file.
2559 * posix/Makefile (tests): Add bug-regex32.
2561 * locale/findlocale.c (_nl_find_locale): Return right away if
2562 _nl_explode_name failed.
2563 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2565 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
2567 * debug/xtrace.sh: Unify messages.
2568 * malloc/memusage.sh: Likewise.
2571 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
2572 time symbol from vDSO. Substitute with vsyscall if not available.
2573 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
2576 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
2577 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
2578 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
2579 Add sendmmsg and internal_sendmmsg.
2580 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
2581 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
2582 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
2584 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
2585 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
2586 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
2588 2011-05-27 Ulrich Drepper <drepper@gmail.com>
2591 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
2592 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
2594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
2598 * iconvdata/Makefile (tests): Add bug-iconv9.
2599 * iconvdata/bug-iconv9.c: New file.
2601 2011-05-27 Andreas Schwab <schwab@redhat.com>
2604 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
2606 2011-05-25 Jakub Jelinek <jakub@redhat.com>
2608 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2609 (struct user_regs_struct): Change intcs field back to cs.
2611 2011-05-25 Ulrich Drepper <drepper@gmail.com>
2613 * po/ja.po: Update from translation team.
2615 2011-05-23 Ulrich Drepper <drepper@gmail.com>
2618 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
2619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2621 2011-05-20 Andreas Schwab <schwab@redhat.com>
2623 * stdlib/longlong.h: Update from GCC.
2625 2011-05-23 Andreas Schwab <schwab@redhat.com>
2627 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
2629 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
2631 (__sysconf): Pass it down.
2633 2011-05-22 Ulrich Drepper <drepper@gmail.com>
2636 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
2638 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2639 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
2640 add in in __libc_use_alloca calls. Adjust callers.
2641 (glob): Use malloc in some situations.
2643 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
2644 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
2647 2011-05-21 Ulrich Drepper <drepper@gmail.com>
2649 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
2650 and CLOCK_BOOTTIME_ALARM.
2653 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
2656 * string/_strerror.c (__strerror_r): Print negative errors as signed
2660 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
2661 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
2662 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
2664 * configure.in: Fix typo in redirection and correct removal of test
2668 * locale/setlocale.c (new_composite_name): Fix test to check for
2669 identical name of all categories.
2672 * libio/filedoalloc.c (local_isatty): New function.
2673 (_IO_file_doallocate): Use local_isatty.
2674 * stdio-common/perror.c (perror): In case a new stream is used
2675 forward the stream error.
2676 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
2679 2011-05-20 Ulrich Drepper <drepper@gmail.com>
2682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
2684 * include/alloca.h (extend_alloca_account): Define.
2687 * posix/regex.h: Fix comments with documentation of user-accessible
2688 fields after compilation and describe correct free'ing of pattern
2689 after re_compile_pattern.
2690 Patch by Reuben Thomas <rrt@sc3d.org>.
2692 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
2694 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
2695 and -mno-altivec to prevent the compiler from using Altivec and/or
2696 VSX instructions when the corresponding registers are not available.
2698 2011-05-19 Andreas Schwab <schwab@redhat.com>
2700 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
2702 2011-05-19 Ulrich Drepper <drepper@gmail.com>
2704 * libio/freopen.c (freopen): Use __dup2, not dup2.
2705 * libio/freopen64.c (freopen64): Likewise.
2707 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
2710 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
2711 * math/Makefile (tests): Add test-powl.
2712 (CFLAGS-test-powl.c): Define.
2713 * math/test-powl.c: New file.
2715 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
2717 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
2719 2011-05-17 Ulrich Drepper <drepper@gmail.com>
2722 * iconvdata/gb18030.c: Update to GB18020-2005.
2724 2011-05-16 Ulrich Drepper <drepper@gmail.com>
2726 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
2727 RE_SYNTAX_POSIX_AWK): Update to match recent development.
2728 Patch by Aharon Robbins <arnold@skeeve.com>.
2731 * stdlib/putenv.c (putenv): Don't always create copy of the variable
2735 * misc/pselect.c (__pselect): Handle timeout value errors hidden
2739 * misc/error.c (error_at_line): Ensure file_name and old_file_name
2740 point to strings before performing equality test for error_one_per_line
2744 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
2747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2748 (struct user_fpregs_struct): Avoid __uint*_t types.
2751 * malloc/mtrace.c (tr_where): Add additional parameter to point to
2752 symbol info. Use it instead of calling _dl_addr locally.
2753 (lock_and_info): New function.
2754 (tr_freehook): Call lock_and_info and pass symbol info as additional
2755 parameter to tr_where.
2756 (tr_mallochook): Likewise.
2757 (tr_reallochook): Likewise.
2758 (tr_memalignhook): Likewise.
2760 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
2761 used and couldn't be at all thread-safe.
2763 2011-05-15 Ulrich Drepper <drepper@gmail.com>
2765 * libio/freopen.c (freopen): Don't close old file descriptor
2766 before the new one is opened. Instead dup the new file descriptor
2767 to the old one after the new stream is created.
2768 * libio/freopen64.c (freopen64): Likewise.
2769 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
2770 * libio/fileops.c (_IO_new_file_close_it): Handle new
2771 _IO_FLAGS2_NOCLOSE flag.
2772 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
2773 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
2774 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
2775 _IO_FLAGS2_NOCLOSE flag.
2776 * include/unistd.h: Add hidden_proto for dup3.
2778 * io/dup3.c: Define hidden symbol.
2779 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
2782 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
2783 when an incomplete long option is used.
2784 * posix/tst-getopt_long1.c: New file.
2785 * posix/Makefile (tests): Add tst-getopt_long1.
2788 * scripts/config.guess: Update from autoconf-2.68.
2789 * scripts/config.sub: Likewise.
2792 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
2794 (has_cpuclock): ...this. New function.
2795 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
2796 macro here based on has_cpuclock code.
2799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2800 First byte (not low byte) is now always NUL.
2801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
2803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2804 Use non-cancelable interfaces.
2807 * locale/iso-639.def: Add entry for Sorani.
2810 * include/stdlib.h: Move include protection to the right place.
2811 Define abort_msg_s. Declare __abort_msg with it.
2812 * stdlib/abort.c (__abort_msg): Adjust type.
2813 * assert/assert.c (__assert_fail_base): New function. Majority
2814 of code from __assert_fail. Allocate memory for __abort_msg with
2816 (__assert_fail): Now call __assert_fail_base.
2817 * assert/assert-perr.c: Remove bulk of implementation. Use
2819 * include/assert.hL Declare __assert_fail_base.
2820 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
2822 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
2824 2011-05-14 Ulrich Drepper <drepper@gmail.com>
2828 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
2829 until all modules are registered in the DTV.
2830 * elf/Makefile: Add rules to build and run tst-tls19.
2831 * elf/tst-tls19.c: New file.
2832 * elf/tst-tls19mod1.c: New file.
2833 * elf/tst-tls19mod2.c: New file.
2834 * elf/tst-tls19mod3.c: New file.
2835 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
2838 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
2842 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
2843 two-byte sequence errors.
2844 * iconvdata/Makefile (tests): Add bug-iconv8.
2845 * iconvdata/bug-iconv8.c: New file.
2848 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
2851 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
2854 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
2855 (dummy_getcfa): New function.
2856 (init): Get _Unwind_GetCFA address, use dummy if not found.
2857 (backtrace_helper): In recursion check, also check whether CFA changes.
2858 (__backtrace): Completely initialize arg.
2860 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
2861 storing incomplete byte sequence in state object. Avoid testing for
2862 guaranteed too small input if we know there is enough data available.
2864 2011-05-11 Andreas Schwab <schwab@redhat.com>
2866 * Makeconfig (+link-pie): Indent.
2867 * Rules (binaries-pie): Define if $(have-fpie) and
2869 (binaries-shared): Also filter out $(binaries-pie).
2870 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
2871 * nscd/Makefile (others-pie): Add nscd.
2872 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
2873 ($(objpfx)nscd): Remove command override.
2874 * login/Makefile (others-pie): Add pt_chown.
2875 ($(objpfx)pt_chown): Remove command override.
2876 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
2877 remove command overrides.
2879 2011-05-13 Ulrich Drepper <drepper@gmail.com>
2881 * libio/tst_putwc.c: Fix error messages.
2884 * libio/fileops.c (_IO_new_file_close_it): Always flush when
2885 currently writing and seek to current position when not.
2886 * libio/Makefile (tests): Add bug-fclose1.
2887 * libio/bug-fclose1.c: New file.
2889 2011-05-12 Ulrich Drepper <drepper@gmail.com>
2892 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
2893 don't set DF_1_NODELETE here.
2894 (do_lookup_x): When entering new entry test for copy relocation
2895 and if necessary set DF_1_NODELETE flag.
2896 * elf/tst-unique4.cc: New file.
2897 * elf/tst-unique4.h: New file.
2898 * elf/tst-unique4lib.cc: New file.
2899 * elf/Makefile: Add rules to build and run tst-unique4.
2900 Patch by Piotr Bury <pbury@goahead.com>.
2902 2011-05-11 Ulrich Drepper <drepper@gmail.com>
2905 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
2908 * misc/mntent_r.c (addmntent): Flush the stream after the output
2911 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
2912 (is_trusted_path_normalize): Skip initial colon. Append slash
2913 to empty buffer. Duplicate is_trusted_path code but allow
2914 constructed patch to be prefix.
2915 (is_dst): Allow $ORIGIN followed by /.
2916 (_dl_dst_substitute): Correct clearing of check_for_trusted.
2917 Correct testing of result of is_trusted_path_normalize
2918 (decompose_rpath): Fix warning.
2920 2011-05-10 Ulrich Drepper <drepper@gmail.com>
2923 * grp/initgroups.c (internal_getgrouplist): When we found the service
2924 list through the initgroups entry in nsswitch.conf do not always
2925 continue on a successful lookup. Don't always use the
2926 __nss_group_database value if it is set.
2927 * nss/nsswitch.conf (initgroups): Change action for successful db
2928 lookup to continue for compatibility.
2930 2011-05-09 Ulrich Drepper <drepper@gmail.com>
2933 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
2935 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
2937 * iconvdata/tst-tables.sh: Likewise.
2938 * iconvdata/cp770.c: New file.
2939 * iconvdata/cp771.c: New file.
2940 * iconvdata/cp772.c: New file.
2941 * iconvdata/cp773.c: New file.
2942 * iconvdata/cp774.c: New file.
2943 * iconvdata/testdata/CP770: New file.
2944 * iconvdata/testdata/CP770..UTF8: New file.
2945 * iconvdata/testdata/CP771: New file.
2946 * iconvdata/testdata/CP771..UTF8: New file.
2947 * iconvdata/testdata/CP772: New file.
2948 * iconvdata/testdata/CP772..UTF8: New file.
2949 * iconvdata/testdata/CP773: New file.
2950 * iconvdata/testdata/CP773..UTF8: New file.
2951 * iconvdata/testdata/CP774: New file.
2952 * iconvdata/testdata/CP774..UTF8: New file.
2954 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
2956 * iconvdata/gen-8bit-gap.sh: Likewise.
2957 * iconvdata/gen-8bit.sh: Likewise.
2959 * locale/iso-639.def: Add ary entry.
2962 * locale/C-translit.h.in: Add U20A1 transliteration.
2965 * locale/iso-639.def: Add wae entry.
2966 Patch by Kevin Bortis <bortis@translate-wae.ch>.
2969 * locale/programs/localedef.c (construct_output_path): Use ssize_t
2973 * locale/C-translit.h.in: Add entry for U20B9.
2974 Patch by pravin.d.s@gmail.com.
2976 2011-05-08 Ulrich Drepper <drepper@gmail.com>
2979 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
2980 ENAMETOOLONG use generic getcwd.
2981 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
2982 in rtld. Use *stat64.
2983 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
2984 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
2985 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
2986 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
2987 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
2988 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
2989 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
2991 * include/dirent.h: Add libc_hidden_proto for rewinddir.
2992 * dirent/rewinddir.c: Add libc_hidden_def.
2993 * sysdeps/mach/hurd/rewinddir.c: Likewise.
2994 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
2996 * include/dirent.h (__alloc_dir): Add flags parameter.
2997 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
2998 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
3000 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
3001 from fdopendir if O_CLOEXEC is already set.
3003 2011-03-15 Alan Modra <amodra@gmail.com>
3005 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
3006 l_tls_firstbyte_offset non-zero. Save padding offset in
3007 l_tls_firstbyte_offset for later use.
3008 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
3009 freeing static tls block.
3011 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
3013 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
3014 where #ifdef was intended. The intent is to prevent ARG_MAX from
3015 being defined by the kernel headers.
3017 2011-05-07 Ulrich Drepper <drepper@gmail.com>
3020 * resolv/resolv.h: Define RES_NOTLDQUERY.
3021 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
3022 no-tld-query and set RES_NOTLDQUERY.
3023 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
3024 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
3025 modern BIND to search name as TLD unless forbidden.
3027 2011-05-07 Petr Baudis <pasky@suse.cz>
3028 Ulrich Drepper <drepper@gmail.com>
3031 * elf/dl-load.c (fillin_rpath): Move trusted path check...
3032 (is_trusted_path): ...to here.
3033 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
3034 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
3035 using is_trusted_path_normalize() in setuid scripts.
3037 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3039 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
3040 __BEGIN/__END_DECLS.
3042 2011-05-06 Ulrich Drepper <drepper@gmail.com>
3044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
3045 NSS_STATUS_NOTFOUND if no record was found.
3047 2011-05-05 Andreas Schwab <schwab@redhat.com>
3049 * sunrpc/Makefile (headers): Add rpc/netdb.h.
3050 (headers-not-in-tirpc): Remove rpc/netdb.h
3051 * resolv/netdb.h: Revert last change.
3053 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3055 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
3056 circular dependency between libgcc.a and libc.a.
3058 2011-05-05 Andreas Schwab <schwab@redhat.com>
3060 * resolv/netdb.h: Don't include <rpc/netdb.h>.
3061 * nis/Makefile: Don't install rpcsvc/*.
3062 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
3063 instead of <rpc/types.h>.
3064 (MAXHOSTNAMELEN): Define.
3066 2011-05-03 Andreas Schwab <schwab@redhat.com>
3068 * elf/ldconfig.c (add_dir): Don't crash on empty path.
3070 2011-04-28 Maciej Babinski <mbabinski@google.com>
3073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
3074 gethostbyname4_r when IPv6 results are possible.
3076 2011-05-02 Ulrich Drepper <drepper@gmail.com>
3079 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
3080 _PC_PIPE_BUF handling.
3082 2011-04-30 Bruno Haible <bruno@clisp.org>
3085 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
3086 * resolv/netdb.h (getnameinfo): Change type of flags parameter
3088 * inet/getnameinfo.c (getnameinfo): Likewise.
3090 2011-04-29 Ulrich Drepper <drepper@gmail.com>
3092 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
3093 to groups setting in database lookup.
3094 * nss/nsswitch.conf: Add initgroups entry.
3096 2011-04-22 Ulrich Drepper <drepper@gmail.com>
3099 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
3101 Patch by Eric Blake <eblake@redhat.com>.
3103 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
3105 * sunrpc/Makefile (need-export-routines): Add svc_run.
3106 (routines): Remove svc_run.
3107 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
3108 * sunrpc/clnt_perr.c (clnt_perrno): Export.
3109 * sunrpc/svc_run.c (svc_run): Likewise.
3110 * sunrpc/svc_udp.c (svcudp_create): Likewise.
3112 2011-04-21 Ulrich Drepper <drepper@gmail.com>
3114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
3115 problem in reallocation in last patch.
3117 2011-04-20 Ulrich Drepper <drepper@gmail.com>
3119 * sunrpc/Makefile: Move inclusion of Rules.
3121 2011-04-19 Ulrich Drepper <drepper@gmail.com>
3123 * nss/nss_files/files-initgroups.c: New file.
3124 * nss/Makefile (libnss_files-routines): Add files-initgroups.
3125 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
3126 _nss_files_initgroups_dyn.
3128 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
3130 * elf/elf.h (R_ARM_IRELATIVE): Define.
3132 2011-04-19 Ulrich Drepper <drepper@gmail.com>
3134 * po/ru.po: Update from translation team.
3136 2011-04-17 Ulrich Drepper <drepper@gmail.com>
3138 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
3141 2011-02-06 Mike Frysinger <vapier@gentoo.org>
3144 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
3145 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
3146 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3148 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3150 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
3152 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
3154 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3155 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3156 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3158 2011-04-17 Ulrich Drepper <drepper@gmail.com>
3161 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
3163 * stdlib/bug-getcontext.c: New file.
3164 * stdlib/Makefile: Add rules to build and run bug-getcontext.
3166 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3168 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
3169 instructions into .machine "z9-109".
3170 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3171 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3173 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3175 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
3176 between environment variables and auxiliary vector.
3178 2011-04-16 Ulrich Drepper <drepper@gmail.com>
3180 * Makefile: Add rules to build linkobj/libc.so.
3181 * include/libc-symbols.h: Define libc_hidden_nolink.
3182 * include/rpc/auth.h: Mark functions which are to be hidden.
3183 * include/rpc/auth_des.h: Likewise.
3184 * include/rpc/auth_unix.h: Likewise.
3185 * include/rpc/clnt.h: Likewise.
3186 * include/rpc/des_crypt.h: Likewise.
3187 * include/rpc/key_prot.h: Likewise.
3188 * include/rpc/pmap_clnt.h: Likewise.
3189 * include/rpc/pmap_prot.h: Likewise.
3190 * include/rpc/pmap_rmt.h: Likewise.
3191 * include/rpc/rpc_msg.h: Likewise.
3192 * include/rpc/svc.h: Likewise.
3193 * include/rpc/svc_auth.h: Likewise.
3194 * include/rpc/xdr.h: Likewise.
3195 * nis/Makefile: Link all DSOs against linkobj/libc.so.
3196 * nss/Makefile: Likewise.
3197 * sunrpc/Makefile: Don't install headers. Build library with normal
3198 entry points. Don't build rpcinfo. Link RPC tests appropriately.
3199 * sunrpc/auth_des.c: Hide exported symbols by default, export some
3200 for the compat linking library. Remove use of INTDEF/INTUSE.
3201 * sunrpc/auth_none.c: Likewise.
3202 * sunrpc/auth_unix.c: Likewise.
3203 * sunrpc/authdes_prot.c: Likewise.
3204 * sunrpc/authuxprot.c: Likewise.
3205 * sunrpc/clnt_gen.c: Likewise.
3206 * sunrpc/clnt_perr.c: Likewise.
3207 * sunrpc/clnt_raw.c: Likewise.
3208 * sunrpc/clnt_simp.c: Likewise.
3209 * sunrpc/clnt_tcp.c: Likewise.
3210 * sunrpc/clnt_udp.c: Likewise.
3211 * sunrpc/clnt_unix.c: Likewise.
3212 * sunrpc/des_crypt.c: Likewise.
3213 * sunrpc/des_soft.c: Likewise.
3214 * sunrpc/get_myaddr.c: Likewise.
3215 * sunrpc/key_call.c: Likewise.
3216 * sunrpc/key_prot.c: Likewise.
3217 * sunrpc/netname.c: Likewise.
3218 * sunrpc/pm_getmaps.c: Likewise.
3219 * sunrpc/pm_getport.c: Likewise.
3220 * sunrpc/pmap_clnt.c: Likewise.
3221 * sunrpc/pmap_prot.c: Likewise.
3222 * sunrpc/pmap_prot2.c: Likewise.
3223 * sunrpc/pmap_rmt.c: Likewise.
3224 * sunrpc/publickey.c: Likewise.
3225 * sunrpc/rpc_cmsg.c: Likewise.
3226 * sunrpc/rpc_common.c: Likewise.
3227 * sunrpc/rpc_dtable.c: Likewise.
3228 * sunrpc/rpc_prot.c: Likewise.
3229 * sunrpc/rpc_thread.c: Likewise.
3230 * sunrpc/rtime.c: Likewise.
3231 * sunrpc/svc.c: Likewise.
3232 * sunrpc/svc_auth.c: Likewise.
3233 * sunrpc/svc_authux.c: Likewise.
3234 * sunrpc/svc_raw.c: Likewise.
3235 * sunrpc/svc_run.c: Likewise.
3236 * sunrpc/svc_simple.c: Likewise.
3237 * sunrpc/svc_tcp.c: Likewise.
3238 * sunrpc/svc_udp.c: Likewise.
3239 * sunrpc/svc_unix.c: Likewise.
3240 * sunrpc/svcauth_des.c: Likewise.
3241 * sunrpc/xcrypt.c: Likewise.
3242 * sunrpc/xdr.c: Likewise.
3243 * sunrpc/xdr_array.c: Likewise.
3244 * sunrpc/xdr_float.c: Likewise.
3245 * sunrpc/xdr_intXX_t.c: Likewise.
3246 * sunrpc/xdr_mem.c: Likewise.
3247 * sunrpc/xdr_rec.c: Likewise.
3248 * sunrpc/xdr_ref.c: Likewise.
3249 * sunrpc/xdr_sizeof.c: Likewise.
3250 * sunrpc/xdr_stdio.c: Likewise.
3252 2011-04-10 Ulrich Drepper <drepper@gmail.com>
3255 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
3256 * sysdeps/ia64/dl-tls.h: Likewise.
3257 * sysdeps/powerpc/dl-tls.h: Likewise.
3258 * sysdeps/s390/dl-tls.h: Likewise.
3259 * sysdeps/sh/dl-tls.h: Likewise.
3260 * sysdeps/sparc/dl-tls.h: Likewise.
3261 * sysdeps/x86_64/dl-tls.h: Likewise.
3262 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
3264 2011-03-14 Andreas Schwab <schwab@redhat.com>
3266 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
3267 rpath element also skip the following colon.
3268 (expand_dynamic_string_token): Add is_path parameter and pass
3269 down to DL_DST_REQUIRED and _dl_dst_substitute.
3270 (decompose_rpath): Call expand_dynamic_string_token with
3271 non-zero is_path. Ignore empty rpaths.
3272 (_dl_map_object_from_fd): Call expand_dynamic_string_token
3275 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3280 2011-04-09 Ulrich Drepper <drepper@gmail.com>
3283 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
3284 Patch by Filipe David Manana <fdmanana@apache.org>.
3286 2011-04-07 Andreas Schwab <schwab@redhat.com>
3288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
3289 Maintain aligned stack.
3290 (CHECK_RSP): Remove unused macro.
3292 2011-04-03 Ulrich Drepper <drepper@gmail.com>
3294 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
3295 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
3297 2011-04-02 Ulrich Drepper <drepper@gmail.com>
3299 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
3301 * include/features.h: Mention __USE_XOPEN2K8 in comment.
3303 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
3306 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
3307 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
3308 * sysdeps/x86_64/memmove.c: New file.
3309 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
3310 (memcpy): Renamed to ...
3311 (__new_memcpy): This.
3312 (memcpy): Provide GLIBC_2_14 memcpy.
3313 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
3314 (memcpy): Provide GLIBC_2_2_5 memcpy.
3316 2011-04-01 Ulrich Drepper <drepper@gmail.com>
3319 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
3321 2011-03-30 Andreas Schwab <schwab@redhat.com>
3323 * misc/syncfs.c: New file.
3324 * misc/Makefile (routines): Add syncfs.
3325 * posix/unistd.h: Declare syncfs.
3326 * sysdeps/unix/syscalls.list: Add syncfs.
3328 2011-04-01 Andreas Schwab <schwab@redhat.com>
3330 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
3332 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3333 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3335 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3337 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3338 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3340 2011-04-01 Ulrich Drepper <drepper@gmail.com>
3342 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
3343 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3344 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
3345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3350 * io/Makefile: Compile fallocate.c, fallocate64.c, and
3351 sync_file_range.c with -fexceptions.
3352 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
3353 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3355 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3356 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3357 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3359 sync_file_range as cancellation point
3360 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
3361 now a wrapper around __call_sync_file_range with cancellation handling.
3362 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
3363 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
3364 function name to __call_sync_file_range.
3365 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
3366 Add call_sync_file_range.
3368 2011-04-01 Andreas Schwab <schwab@redhat.com>
3370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3373 2011-04-01 Ulrich Drepper <drepper@gmail.com>
3375 * iconv/iconv.h: Fix typo in comment.
3376 * io/fcntl.h: Likewise.
3377 * libio/stdio.h: Likewise.
3378 * posix/spawn.h: Likewise.
3379 * posix/unistd.h: Likewise.
3380 * stdlib/stdlib.h: Likewise.
3381 * time/time.h: Likewise.
3382 * wcsmbs/wchar.h: Likewise.
3384 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
3385 open_by_handle): Add.
3386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
3387 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
3388 Augment a few comments.
3389 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3391 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3394 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
3397 * io/fcntl.h (AT_EMPTY_PATH): Define.
3399 2011-03-30 Ulrich Drepper <drepper@gmail.com>
3401 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
3402 * sysdeps/unix/sysv/linux/bits/time.h: New file.
3403 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
3405 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
3406 * Versions.def: Add GLIBC_2.14.
3407 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
3410 2011-03-22 Ulrich Drepper <drepper@gmail.com>
3412 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
3414 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3416 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
3419 * string/test-strncmp.c (do_page_test): New function.
3421 (test_main): Call check2.
3422 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
3424 2011-03-20 Ulrich Drepper <drepper@gmail.com>
3427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
3428 Handle cache information in CPU leaf 4.
3429 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3431 2011-03-18 Ulrich Drepper <drepper@gmail.com>
3434 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
3435 character representation.
3436 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
3438 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
3440 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
3441 END(__isnan) to END(__isnanf) to match function entry point/label
3442 EALIGN(__isnanf,...).
3444 2011-03-10 Jakub Jelinek <jakub@redhat.com>
3446 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
3448 2011-03-10 Ulrich Drepper <drepper@gmail.com>
3451 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
3452 copy from the symbol referenced in the relocation to initialize the
3454 Patch by Piotr Bury <pbury@goahead.com>.
3455 * elf/Makefile: Add rules to build and tst-unique3.
3456 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
3457 * elf/tst-unique3.cc: New file.
3458 * elf/tst-unique3.h: New file.
3459 * elf/tst-unique3lib.cc: New file.
3460 * elf/tst-unique3lib2.cc: New file.
3462 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
3464 2011-03-10 Mike Frysinger <vapier@gentoo.org>
3466 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
3467 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
3470 2011-03-06 Ulrich Drepper <drepper@gmail.com>
3472 * elf/dl-load.c (_dl_map_object): If we are looking for the first
3473 to-be-loaded object along a path to loader is ld.so.
3475 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3476 Ulrich Drepper <drepper@gmail.com>
3478 * sysdeps/x86_64/memset.S: After aligning destination, code
3479 branches to different locations depending on the value of
3480 misalignment, when multiarch is enabled. Fix this.
3482 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3484 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
3485 Set _x86_64_preferred_memory_instruction for AMD processsors.
3486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3487 Set bit_Prefer_SSE_for_memop for AMD processors.
3489 2011-03-04 Ulrich Drepper <drepper@gmail.com>
3491 * libio/fmemopen.c (fmemopen): Optimize a bit.
3493 2011-03-03 Andreas Schwab <schwab@redhat.com>
3495 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
3497 2011-03-03 Roland McGrath <roland@redhat.com>
3499 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
3501 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
3503 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
3504 __bzero_ultra1 instead of __memset_ultra1.
3506 2011-02-23 Andreas Schwab <schwab@redhat.com>
3507 Ulrich Drepper <drepper@gmail.com>
3510 * include/link.h (struct link_map): Add l_orig_initfini.
3511 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
3512 returning unsuccessfully.
3513 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
3514 close of a file loaded at startup, restore the original l_initfini
3516 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
3517 list, store the pointer.
3518 * elf/Makefile ($(objpfx)noload-mem): New rule.
3519 (noload-ENV): Define.
3520 (tests): Add $(objpfx)noload-mem.
3521 * elf/noload.c: Include <memcheck.h>.
3522 (main): Call mtrace. Close all opened handles.
3524 2011-02-17 Andreas Schwab <schwab@redhat.com>
3527 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
3528 dependencies are missing.
3530 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3532 Fix __if_freereq crash: Unlike the generic version which uses free,
3534 * sysdeps/mach/hurd/ifreq.h: New file.
3536 2011-01-27 Petr Baudis <pasky@suse.cz>
3537 Ulrich Drepper <drepper@gmail.com>
3540 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
3542 * stdio-common/bug23.c: New file.
3543 * stdio-common/Makefile (tests): Add bug23.
3545 2010-09-28 Andreas Schwab <schwab@redhat.com>
3546 Ulrich Drepper <drepper@gmail.com>
3549 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
3550 before performing relro protection. At old place add assertion
3551 to make sure nothing changed.
3553 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
3554 Glauber de Oliveira Costa <glommer@gmail.com>
3556 * elf/elf.h: Add new ARM TLS relocs.
3558 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3561 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
3563 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
3565 * sysdeps/wordsize-64/tst-writev.c: New file.
3567 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
3569 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
3570 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
3571 insns in _dl_start to prevent a TOC reference before relocs are
3574 2011-02-15 Ulrich Drepper <drepper@gmail.com>
3577 * Makeconfig: Remove RANLIB definition.
3578 * Makerules: Don't use RANLIB.
3579 * aclocal.m4: Remove ranlib test.
3580 * configure.in: No need to check for ranlib.
3581 * elf/rtld-Rules: Don't use RANLIB.
3583 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3585 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
3587 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
3588 inclusion protection macro.
3590 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
3591 SIGRTMIN and SIGRTMAX and print information in that case only when
3592 SIGRTMIN is defined.
3594 2011-02-11 Jakub Jelinek <jakub@redhat.com>
3596 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
3597 arginfo fn returning -1.
3599 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
3600 and thousands string is zero terminated.
3602 2011-02-03 Andreas Schwab <schwab@redhat.com>
3604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
3605 sysdeps/unix/sysv/linux/bits/socket.h.
3607 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3609 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
3610 (__CPU_COUNT): Remove old macros.
3611 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
3612 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
3613 (__CPU_ALLOC, __CPU_FREE): Add macros.
3614 (__sched_cpualloc, __sched_cpufree): Add declarations.
3616 2011-02-05 Ulrich Drepper <drepper@gmail.com>
3618 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
3619 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
3620 * nscd/aicache.c (addhstaiX): Return timeout of added value.
3621 (readdhstai): Return value of addhstaiX call.
3622 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
3623 (addgrbyX): Return value returned by cache_addgr.
3624 (readdgrbyname): Return value returned by addgrbyX.
3625 (readdgrbygid): Likewise.
3626 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
3627 (addpwbyX): Return value returned by cache_addpw.
3628 (readdpwbyname): Return value returned by addhstbyX.
3629 (readdpwbyuid): Likewise.
3630 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
3631 (addservbyX): Return value returned by cache_addserv.
3632 (readdservbyname): Return value returned by addservbyX:
3633 (readdservbyport): Likewise.
3634 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
3635 (addhstbyX): Return value returned by cache_addhst.
3636 (readdhstbyname): Return value returned by addhstbyX.
3637 (readdhstbyaddr): Likewise.
3638 (readdhstbynamev6): Likewise.
3639 (readdhstbyaddrv6): Likewise.
3640 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
3641 (readdinitgroups): Return value returned by addinitgroupsX.
3642 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
3643 (prune_cache): Keep track of timeout value of re-added entries.
3644 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
3645 * nscd/nscd.h: Adjust prototypes of readd* functions.
3647 2011-02-04 Roland McGrath <roland@redhat.com>
3649 * nis/nis_server.c (nis_servstate): Use the right name for 0.
3650 (nis_stats): Likewise.
3651 * nis/nis_modify.c (nis_modify): Likewise.
3652 * nis/nis_remove.c (nis_remove): Likewise.
3653 * nis/nis_add.c (nis_add): Likewise.
3655 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
3657 * posix/fnmatch_loop.c: Add some consts.
3659 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
3661 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
3664 * config.make.in (config-cflags-novzeroupper): Define.
3665 * configure.in: Substitute libc_cv_cc_novzeroupper.
3666 * elf/Makefile (AVX-CFLAGS): Define.
3667 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
3668 (CFLAGS-tst-auditmod4a.c): Likewise.
3669 (CFLAGS-tst-auditmod4b.c): Likewise.
3670 (CFLAGS-tst-auditmod6b.c): Likewise.
3671 (CFLAGS-tst-auditmod6c.c): Likewise.
3672 (CFLAGS-tst-auditmod7b.c): Likewise.
3673 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
3675 2011-02-02 Ulrich Drepper <drepper@gmail.com>
3677 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
3678 function to the callback.
3679 Patch partly by Jiri Olsa <jolsa@redhat.com>.
3681 2011-02-02 Andreas Schwab <schwab@redhat.com>
3683 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
3686 2011-01-19 Ulrich Drepper <drepper@gmail.com>
3689 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
3691 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
3693 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
3696 * elf/Makefile: Add rules to build and run new test.
3697 * elf/tst-initorder.c: New file.
3698 * elf/tst-initorder.exp: New file.
3699 * elf/tst-initordera1.c: New file.
3700 * elf/tst-initordera2.c: New file.
3701 * elf/tst-initordera3.c: New file.
3702 * elf/tst-initordera4.c: New file.
3703 * elf/tst-initorderb1.c: New file.
3704 * elf/tst-initorderb2.c: New file.
3705 * elf/tst-order-a1.c: New file.
3706 * elf/tst-order-a2.c: New file.
3707 * elf/tst-order-a3.c: New file.
3708 * elf/tst-order-a4.c: New file.
3709 * elf/tst-order-b1.c: New file.
3710 * elf/tst-order-b2.c: New file.
3711 * elf/tst-order-main.c: New file.
3712 New test case by George Gensure <werkt0@gmail.com>.
3714 2010-10-01 Andreas Schwab <schwab@redhat.com>
3716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3717 decoding ACE if AI_CANONIDN.
3719 2011-01-18 Ulrich Drepper <drepper@gmail.com>
3721 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
3723 2011-01-17 Ulrich Drepper <drepper@gmail.com>
3725 * version.h (RELEASE): Bump for 2.13 release.
3726 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
3728 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
3730 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
3732 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
3733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3734 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3735 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3736 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3739 * posix/getconf.c: Update copyright year.
3740 * catgets/gencat.c: Likewise.
3741 * csu/version.c: Likewise.
3742 * debug/catchsegv.sh: Likewise.
3743 * debug/xtrace.sh: Likewise.
3744 * elf/ldconfig.c: Likewise.
3745 * elf/ldd.bash.in: Likewise.
3746 * elf/sprof.c (print_version): Likewise.
3747 * iconv/iconv_prog.c: Likewise.
3748 * iconv/iconvconfig.c: Likewise.
3749 * locale/programs/locale.c: Likewise.
3750 * locale/programs/localedef.c: Likewise.
3751 * malloc/memusage.sh: Likewise.
3752 * malloc/mtrace.pl: Likewise.
3753 * nscd/nscd.c (print_version): Likewise.
3754 * nss/getent.c: Likewise.
3756 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
3757 PF_CAIF, and PF_ALG.
3758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3760 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
3762 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
3763 (modules-names): Use them.
3764 (ifunc-test-modules, ifunc-pie-tests): Define.
3765 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
3766 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
3767 (test-extras): Likewise.
3768 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
3769 $(compile-command.c).
3770 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
3771 (all-built-dso): Define.
3772 (check-textrel.out, check-execstack.out): Depend on it.
3774 * configure.in: Don't override --enable-multi-arch.
3776 2011-01-15 Ulrich Drepper <drepper@gmail.com>
3779 * nscd/hstcache.c (tryagain): Define.
3780 (cache_addhst): Return tryagain not notfound for temporary errors.
3781 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
3784 2011-01-14 Ulrich Drepper <drepper@gmail.com>
3787 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
3788 to make the syscall.
3789 * sysdeps/unix/sysv/linux/setgroups.c: New file.
3792 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
3793 and fall back to matching as normal character if the string ends before
3794 the matching ']' is found. This is what POSIX requires.
3795 * posix/testfnm.c: Adjust test result.
3796 * posix/globtest.sh: Adjust test result. Add new test.
3797 * posix/tst-fnmatch.input: Likewise.
3798 * posix/tst-fnmatch2.c: Add new test.
3800 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
3802 * elf/Makefile (check-execstack): Revert last change. Depend on
3804 (check-execstack.h): New target.
3805 (generated): Add check-execstack.h.
3806 * elf/check-execstack.c: Include "check-execstack.h".
3807 (main): Revert last change.
3808 (handle_file): Return zero if GNU_STACK is absent and
3809 DEFAULT_STACK_PERMS doesn't include PF_X.
3811 2011-01-13 Ulrich Drepper <drepper@gmail.com>
3813 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
3814 in child fails because the descriptor is already closed.
3815 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
3816 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
3817 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3820 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
3824 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
3825 temporary buffer used to handle multi lookups locally.
3826 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
3828 2011-01-12 Ulrich Drepper <drepper@gmail.com>
3830 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
3833 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
3835 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
3838 2011-01-12 Ulrich Drepper <drepper@gmail.com>
3841 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
3842 characters. When rounding increased number of integer digits recompute
3844 * stdio-common/tst-grouping.c: New file.
3845 * stdio-common/Makefile: Add rules to build and run tst-grouping.
3847 2011-01-09 Ulrich Drepper <drepper@gmail.com>
3849 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
3850 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
3852 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
3854 * bits/select.h: Likewise.
3856 2011-01-08 Ulrich Drepper <drepper@gmail.com>
3858 * po/ja.po: Update from translation team.
3860 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
3864 implementation just like for lxstat, fxstatat, et al.
3866 2010-12-27 Jim Meyering <meyering@redhat.com>
3869 * posix/regexec.c (build_trtable): Return failure indication upon
3870 calloc failure. Otherwise, re_search_internal could infloop on OOM.
3872 2010-12-25 Ulrich Drepper <drepper@gmail.com>
3875 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3876 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3877 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
3878 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
3881 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
3884 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
3885 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
3887 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
3889 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
3890 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
3891 script has SORT_BY_INIT_PRIORITY.
3892 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
3893 NO_CTORS_DTORS_SECTIONS is defined.
3894 * elf/soinit.c: Likewise.
3895 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
3896 NO_CTORS_DTORS_SECTIONS is defined.
3897 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3898 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
3899 * sysdeps/sh/init-first.c: Likewise.
3900 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3902 2010-12-24 Ulrich Drepper <drepper@gmail.com>
3904 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
3905 always use the slow path.
3907 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
3909 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
3910 similar rule which adds the sysdep directories to the header search in
3911 order to pick up the correct platform stackinfo.h.
3912 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
3913 perform test if it is, otherwise return successfully without testing.
3914 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
3915 DEFAULT_STACK_PERMS define in stackinfo.h.
3916 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
3917 defined in stackinfo.h.
3918 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
3919 DEFAULT_STACK_PERMS defined in stackinfo.h.
3920 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
3921 * sysdeps/ia64/stackinfo.h: Likewise.
3922 * sysdeps/s390/stackinfo.h: Likewise.
3923 * sysdeps/sh/stackinfo.h: Likewise.
3924 * sysdeps/sparc/stackinfo.h: Likewise.
3925 * sysdeps/x86_64/stackinfo.h: Likewise.
3926 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
3927 PF_X for powerpc64. Retain PF_X for powerpc32.
3929 2010-12-19 Ulrich Drepper <drepper@gmail.com>
3931 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
3933 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
3934 GETDENTS_64BIT_ALIGNED.
3936 2010-12-14 Ulrich Drepper <dreper@gmail.com>
3938 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
3940 2010-12-10 Andreas Schwab <schwab@redhat.com>
3942 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
3945 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
3946 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
3948 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
3949 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
3951 2010-12-09 Ulrich Drepper <drepper@gmail.com>
3954 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
3957 2010-12-09 Jakub Jelinek <jakub@redhat.com>
3959 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
3961 2010-12-03 Ulrich Drepper <drepper@gmail.com>
3963 * po/it.po: Update from translation team.
3965 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
3967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
3970 2010-11-30 Ulrich Drepper <drepper@gmail.com>
3972 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
3974 2010-11-24 Andreas Schwab <schwab@redhat.com>
3976 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
3978 (gaih_getanswer_slice): Likewise.
3980 2010-10-20 Jakub Jelinek <jakub@redhat.com>
3982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
3984 2010-05-31 Petr Baudis <pasky@suse.cz>
3987 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
3988 silently even in the chroot mode.
3990 2010-11-22 Ulrich Drepper <drepper@gmail.com>
3992 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
3993 last patch a bit. Pretty printing
3995 2010-05-31 Petr Baudis <pasky@suse.cz>
3998 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
3999 initialization of skip_initgroups_dyn.
4001 2010-11-19 Ulrich Drepper <drepper@gmail.com>
4003 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
4004 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4006 2010-11-16 Ulrich Drepper <drepper@gmail.com>
4008 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
4010 2010-11-11 Andreas Schwab <schwab@redhat.com>
4012 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
4013 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
4014 (tst-fnmatch-ENV): Set MALLOC_TRACE.
4015 ($(objpfx)tst-fnmatch-mem): New rule.
4016 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
4017 * posix/tst-fnmatch.c (main): Call mtrace.
4019 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
4021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4022 Support Intel processor model 6 and model 0x2c.
4024 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
4026 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
4029 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
4032 * string/test-strncasecmp.c (check_result): New function.
4033 (do_one_test): Use it.
4034 (check1): New function.
4035 (test_main): Use it.
4036 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
4037 Support strcasecmp and strncasecmp.
4039 2010-11-08 Ulrich Drepper <drepper@gmail.com>
4042 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
4043 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4045 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
4047 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
4049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4051 * sysdeps/x86_64/multiarch/bzero.S: New file.
4052 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
4053 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
4054 * sysdeps/x86_64/multiarch/memset.S: New file.
4055 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
4056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4057 Set bit_Prefer_SSE_for_memop for Intel processors.
4058 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
4060 (index_Prefer_SSE_for_memop): Define.
4061 (HAS_PREFER_SSE_FOR_MEMOP): Define.
4063 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
4065 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
4066 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
4068 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
4071 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4072 (__x86_64_raw_data_cache_size_half): Likewise.
4073 (__x86_64_raw_shared_cache_size): Likewise.
4074 (__x86_64_raw_shared_cache_size_half): Likewise.
4076 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4077 (__x86_64_raw_data_cache_size_half): Likewise.
4078 (__x86_64_raw_shared_cache_size): Likewise.
4079 (__x86_64_raw_shared_cache_size_half): Likewise.
4080 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
4081 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
4082 and __x86_64_raw_shared_cache_size_half. Round
4083 __x86_64_data_cache_size_half, __x86_64_data_cache_size
4084 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
4085 to multiple of 256 bytes.
4087 2010-11-03 Ulrich Drepper <drepper@gmail.com>
4090 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
4091 of inacessible symlinks. Verify result of symlink before returning it.
4092 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4093 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
4095 2010-10-28 Erich Ritz <erichritz@gmail.com>
4097 * math/math.h (isinf): Fix typo in comment.
4099 2010-11-01 Ulrich Drepper <drepper@gmail.com>
4101 * po/da.po: Update from translation team.
4103 2010-10-26 Ulrich Drepper <drepper@gmail.com>
4105 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
4106 is added to the list.
4108 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4109 Ulrich Drepper <drepper@gmail.com>
4111 * elf/dl-object.c (_dl_new_object): Don't append the new object to
4112 the global list here. Move code to...
4113 (_dl_add_to_namespace_list): ...here. New function.
4114 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
4115 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
4116 * elf/dl-load.c (lose): Don't remove the element from the list.
4117 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
4118 (_dl_map_object): Likewise.
4120 2010-10-25 Ulrich Drepper <drepper@gmail.com>
4123 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
4124 into all bytes of SSE register.
4125 Patch by Richard Li <richardpku@gmail.com>.
4127 2010-10-24 Ulrich Drepper <drepper@gmail.com>
4130 * malloc/malloc.c (_int_free): Fill correct number of bytes when
4133 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
4135 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4136 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
4137 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
4138 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
4143 2010-10-22 Andreas Schwab <schwab@redhat.com>
4145 * include/dlfcn.h (__RTLD_SECURE): Define.
4146 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
4147 mode & __RTLD_SECURE instead.
4148 (open_path): Rename preloaded parameter to secure.
4149 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
4150 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
4151 * elf/dl-deps.c (openaux): Likewise.
4152 * elf/rtld.c (struct map_args): Remove is_preloaded.
4153 (map_doit): Don't use it.
4154 (dl_main): Likewise.
4155 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
4156 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
4158 2010-09-09 Andreas Schwab <schwab@redhat.com>
4160 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4161 (sysd-rules-targets): Remove duplicates.
4162 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
4163 rtld-%.$o dependency.
4165 2010-10-18 Andreas Schwab <schwab@redhat.com>
4167 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
4168 _dl_map_object do it.
4170 2010-10-19 Ulrich Drepper <drepper@gmail.com>
4172 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
4173 fast fma builtins, define the macros in the C99 standard.
4174 (FP_FAST_FMAF): Likewise.
4175 (FP_FAST_FMAL): Likewise.
4176 * sysdeps/x86_64/bits/mathdef.h: Likewise.
4178 * bits/mathdef.h: Update copyright year.
4179 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4181 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
4183 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
4184 builtins, define the macros in the C99 standard.
4185 (FP_FAST_FMAF): Likewise.
4186 (FP_FAST_FMAL): Likewise.
4187 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
4189 (FP_FAST_FMAF): Likewise.
4191 2010-10-15 Jakub Jelinek <jakub@redhat.com>
4194 * math/libm-test.inc (fma_test): Some new testcases.
4195 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
4196 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
4197 y and infinite z. Do multiplication by C already in long double.
4198 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
4199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
4200 y and infinite z. Do bitwise or of inexact bit into u.d.
4201 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
4202 * sysdeps/i386/fpu/s_fmaf.S: Removed.
4203 * sysdeps/i386/fpu/s_fma.S: Removed.
4204 * sysdeps/i386/fpu/s_fmal.S: Removed.
4206 2010-10-16 Jakub Jelinek <jakub@redhat.com>
4209 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
4210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
4211 computation is not scheduled after fetestexcept. Fix value
4212 of minimum denormal long double.
4214 2010-10-14 Jakub Jelinek <jakub@redhat.com>
4217 * math/libm-test.inc (fma_test): Add some more tests.
4218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
4221 2010-10-15 Andreas Schwab <schwab@redhat.com>
4223 * scripts/data/localplt-s390-linux-gnu.data: New file.
4224 * scripts/data/localplt-s390x-linux-gnu.data: New file.
4226 2010-10-13 Jakub Jelinek <jakub@redhat.com>
4229 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
4230 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
4232 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
4234 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
4235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
4236 if one of x and y is very large and the other is subnormal.
4237 * sysdeps/s390/fpu/s_fmaf.c: New file.
4238 * sysdeps/s390/fpu/s_fma.c: New file.
4239 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
4240 * sysdeps/powerpc/fpu/s_fma.S: New file.
4241 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
4242 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
4243 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
4245 2010-10-12 Jakub Jelinek <jakub@redhat.com>
4248 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
4250 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
4251 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
4252 * sysdeps/i386/i686/multiarch/s_fma.c: Include
4253 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
4254 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
4255 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
4258 2010-10-12 Ulrich Drepper <drepper@redhat.com>
4261 * posix/regcomp.c (parse_branch): One more memory leak plugged.
4262 * posix/bug-regex31.input: Add test case.
4264 2010-10-11 Ulrich Drepper <drepper@gmail.com>
4266 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
4267 * posix/bug-regex31.input: New file.
4270 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
4271 (parse_sub_exp): Fix last change, use postorder.
4273 * posix/bug-regex31.c: New file.
4274 * posix/Makefile: Add rules to build and run bug-regex31.
4276 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
4279 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
4282 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
4283 to have entries in sys_siglist.
4286 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
4289 2010-10-07 Jakub Jelinek <jakub@redhat.com>
4292 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
4293 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
4294 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4295 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
4296 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4297 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
4298 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
4299 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
4300 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
4301 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
4302 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
4303 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
4304 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4305 * math/ftestexcept.c (fetestexcept): Likewise.
4306 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
4307 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4308 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4309 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
4310 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
4311 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
4312 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4314 2010-10-11 Ulrich Drepper <drepper@gmail.com>
4317 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
4320 2010-10-06 Ulrich Drepper <drepper@gmail.com>
4322 * string/bug-strstr1.c: New file.
4323 * string/Makefile: Add rules to build and run bug-strstr1.
4325 2010-10-05 Eric Blake <eblake@redhat.com>
4328 * string/str-two-way.h (two_way_long_needle): Always clear memory
4329 when skipping input due to the shift table.
4331 2010-10-03 Ulrich Drepper <drepper@gmail.com>
4334 * malloc/mcheck.c: Handle large requests.
4337 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
4338 for strncmp and strncasecmp.
4339 * string/stratcliff.c: Add tests for strcmp and strncmp.
4340 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
4342 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4344 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
4347 2010-09-30 Andreas Jaeger <aj@suse.de>
4349 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
4350 (CGROUP_SUPER_MAGIC): Define.
4351 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4352 Handle btrfs and cgroup file systems.
4353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4356 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
4358 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
4359 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
4361 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4364 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
4365 trying to locate the ELF header.
4367 2010-09-27 Andreas Schwab <schwab@redhat.com>
4370 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
4371 Mask out sign-bit copies when constructing f_fsid.
4373 2010-09-24 Petr Baudis <pasky@suse.cz>
4375 * debug/stack_chk_fail_local.c: Add missing licence exception.
4376 * debug/warning-nop.c: Likewise.
4378 2010-09-15 Joseph Myers <joseph@codesourcery.com>
4380 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
4381 implementing getdents64 using getdents syscall, set d_type if
4382 __ASSUME_GETDENTS32_D_TYPE.
4384 2010-09-16 Andreas Schwab <schwab@redhat.com>
4386 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
4387 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
4389 2010-09-21 Ulrich Drepper <drepper@redhat.com>
4392 * posix/unistd.h: Undo change of feature selection for ftruncate from
4395 2010-09-20 Ulrich Drepper <drepper@redhat.com>
4397 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
4400 2010-09-20 Andreas Schwab <schwab@redhat.com>
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
4404 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4406 2010-09-14 Andreas Schwab <schwab@redhat.com>
4408 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
4409 variables after CHECK_SP call.
4410 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4412 2010-09-13 Andreas Schwab <schwab@redhat.com>
4413 Ulrich Drepper <drepper@redhat.com>
4415 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
4416 re-relocationg ld.so.
4417 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
4418 _dl_init_paths call.
4419 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
4422 2010-09-14 Ulrich Drepper <drepper@redhat.com>
4424 * resolv/res_init.c (__res_vinit): Count the default server we added.
4426 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
4427 Ulrich Drepper <drepper@redhat.com>
4430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4431 (____longjmp_chk): Use %ebx for saving value across system call.
4434 2010-09-06 Andreas Schwab <schwab@redhat.com>
4436 * manual/Makefile: Don't mix pattern rules with normal rules.
4438 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
4440 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
4442 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4443 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4444 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4445 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4446 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4449 2010-09-04 Ulrich Drepper <drepper@redhat.com>
4452 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
4453 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
4455 2010-09-02 Ulrich Drepper <drepper@redhat.com>
4457 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
4458 * sysdeps/x86_64/addmul_1.S: Likewise.
4459 * sysdeps/x86_64/lshift.S: Likewise.
4460 * sysdeps/x86_64/mul_1.S: Likewise.
4461 * sysdeps/x86_64/rshift.S: Likewise.
4462 * sysdeps/x86_64/sub_n.S: Likewise.
4463 * sysdeps/x86_64/submul_1.S: Likewise.
4465 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4467 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
4468 Define __sched_param instead of SCHED_* and sched_param when
4469 <bits/sched.h> is included with __need_schedparam defined.
4470 * bits/sched.h [__need_schedparam]
4471 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
4472 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
4473 (__defined_schedparam): Define to 1.
4474 (__sched_param): New structure, identical to sched_param.
4475 (__need_schedparam): Undefine.
4477 2010-08-31 Mike Frysinger <vapier@gentoo.org>
4479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
4480 (epoll_create1): Declare.
4482 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
4484 2010-08-31 Andreas Schwab <schwab@redhat.com>
4487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
4488 shifting retval into place.
4490 2010-09-01 Ulrich Drepper <drepper@redhat.com>
4492 * nis/rpcsvc/nis.h: Update copyright notice.
4493 * nis/rpcsvc/nis.x: Likewise.
4494 * nis/rpcsvc/nis_callback.h: Likewise.
4495 * nis/rpcsvc/nis_callback.x: Likewise.
4496 * nis/rpcsvc/nis_object.x: Likewise.
4497 * nis/rpcsvc/nis_tags.h: Likewise.
4498 * nis/rpcsvc/yp.h: Likewise.
4499 * nis/rpcsvc/yp.x: Likewise.
4500 * nis/rpcsvc/ypupd.h: Likewise.
4501 * nis/yp_xdr.c: Likewise.
4502 * nis/ypupdate_xdr.c: Likewise.
4504 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
4505 mainly the body of pmap_getport. Add parameters to specify timeouts.
4506 (pmap_getport): Use __libc_rpc_getport.
4507 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
4508 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
4509 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
4511 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
4516 2010-08-27 Roland McGrath <roland@redhat.com>
4518 * sysdeps/i386/i686/multiarch/Makefile
4519 (CFLAGS-varshift.c): New variable.
4521 2010-08-27 Ulrich Drepper <drepper@redhat.com>
4523 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
4524 * sysdeps/i386/i686/multiarch/varshift.c: New file.
4526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
4528 * sysdeps/x86_64/strlen.S: Minimal code improvement.
4530 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
4532 * sysdeps/x86_64/strlen.S: Unroll the loop.
4533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4534 strlen-sse2 strlen-sse2-bsf.
4535 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
4536 __strlen_no_bsf if bit_Slow_BSF is set.
4537 (__strlen_sse42): Removed.
4538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
4539 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
4541 2010-08-25 Roland McGrath <roland@redhat.com>
4543 * sysdeps/x86_64/multiarch/varshift.S: File removed.
4544 * sysdeps/x86_64/multiarch/varshift.c: New file.
4545 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
4546 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
4547 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
4548 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4550 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
4552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4553 strlen-sse2 strlen-sse2-bsf.
4554 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
4555 __strlen_sse2_bsf if bit_Slow_BSF is unset.
4556 (__strlen_sse2): Removed.
4557 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
4558 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
4559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4560 bit_Slow_BSF for Atom.
4561 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
4562 (index_Slow_BSF): Define.
4563 (HAS_SLOW_BSF): Define.
4565 2010-08-25 Ulrich Drepper <drepper@redhat.com>
4568 * resolv/res_init.c (__res_vinit): When no server address at all
4569 is given default to loopback.
4571 2010-08-24 Roland McGrath <roland@redhat.com>
4573 * configure.in: Remove config-name.h generation.
4574 * configure: Regenerated.
4575 * config-name.in: File removed.
4576 * scripts/config-uname.sh: New file.
4577 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
4578 ($(objdir)config-name.h): New target.
4580 * sunrpc/rpc_parse.h: Avoid nested comment.
4582 2010-08-24 Richard Henderson <rth@redhat.com>
4583 Ulrich Drepper <drepper@redhat.com>
4584 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
4587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
4588 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
4589 Replace _mm_srli_si128 with __m128i_shift_right. Replace
4590 _mm_alignr_epi8 with _mm_loadu_si128.
4591 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
4592 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
4593 (__m128i_shift_right): Removed.
4594 * sysdeps/i386/i686/multiarch/varshift.h: New file.
4595 * sysdeps/i386/i686/multiarch/varshift.S: New file.
4596 * sysdeps/x86_64/multiarch/varshift.h: New file.
4597 * sysdeps/x86_64/multiarch/varshift.S: New file.
4599 2010-08-21 Mike Frysinger <vapier@gentoo.org>
4601 * configure.in: Move assembler checks to before sysdep dir checking.
4603 2010-08-20 Petr Baudis <pasky@suse.cz>
4605 * LICENSES: Sync the sunrpc license.
4607 2010-08-19 Ulrich Drepper <drepper@redhat.com>
4609 * sunrpc/auth_des.c: Update copyright notice once again.
4610 * sunrpc/auth_none.c: Likewise.
4611 * sunrpc/auth_unix.c: Likewise.
4612 * sunrpc/authdes_prot.c: Likewise.
4613 * sunrpc/authuxprot.c: Likewise.
4614 * sunrpc/bindrsvprt.c: Likewise.
4615 * sunrpc/clnt_gen.c: Likewise.
4616 * sunrpc/clnt_perr.c: Likewise.
4617 * sunrpc/clnt_raw.c: Likewise.
4618 * sunrpc/clnt_simp.c: Likewise.
4619 * sunrpc/clnt_tcp.c: Likewise.
4620 * sunrpc/clnt_udp.c: Likewise.
4621 * sunrpc/clnt_unix.c: Likewise.
4622 * sunrpc/des_crypt.c: Likewise.
4623 * sunrpc/des_soft.c: Likewise.
4624 * sunrpc/get_myaddr.c: Likewise.
4625 * sunrpc/getrpcport.c: Likewise.
4626 * sunrpc/key_call.c: Likewise.
4627 * sunrpc/key_prot.c: Likewise.
4628 * sunrpc/openchild.c: Likewise.
4629 * sunrpc/pm_getmaps.c: Likewise.
4630 * sunrpc/pm_getport.c: Likewise.
4631 * sunrpc/pmap_clnt.c: Likewise.
4632 * sunrpc/pmap_prot.c: Likewise.
4633 * sunrpc/pmap_prot2.c: Likewise.
4634 * sunrpc/pmap_rmt.c: Likewise.
4635 * sunrpc/rpc/auth.h: Likewise.
4636 * sunrpc/rpc/auth_unix.h: Likewise.
4637 * sunrpc/rpc/clnt.h: Likewise.
4638 * sunrpc/rpc/des_crypt.h: Likewise.
4639 * sunrpc/rpc/key_prot.h: Likewise.
4640 * sunrpc/rpc/netdb.h: Likewise.
4641 * sunrpc/rpc/pmap_clnt.h: Likewise.
4642 * sunrpc/rpc/pmap_prot.h: Likewise.
4643 * sunrpc/rpc/pmap_rmt.h: Likewise.
4644 * sunrpc/rpc/rpc.h: Likewise.
4645 * sunrpc/rpc/rpc_des.h: Likewise.
4646 * sunrpc/rpc/rpc_msg.h: Likewise.
4647 * sunrpc/rpc/svc.h: Likewise.
4648 * sunrpc/rpc/svc_auth.h: Likewise.
4649 * sunrpc/rpc/types.h: Likewise.
4650 * sunrpc/rpc/xdr.h: Likewise.
4651 * sunrpc/rpc_clntout.c: Likewise.
4652 * sunrpc/rpc_cmsg.c: Likewise.
4653 * sunrpc/rpc_common.c: Likewise.
4654 * sunrpc/rpc_cout.c: Likewise.
4655 * sunrpc/rpc_dtable.c: Likewise.
4656 * sunrpc/rpc_hout.c: Likewise.
4657 * sunrpc/rpc_main.c: Likewise.
4658 * sunrpc/rpc_parse.c: Likewise.
4659 * sunrpc/rpc_parse.h: Likewise.
4660 * sunrpc/rpc_prot.c: Likewise.
4661 * sunrpc/rpc_sample.c: Likewise.
4662 * sunrpc/rpc_scan.c: Likewise.
4663 * sunrpc/rpc_scan.h: Likewise.
4664 * sunrpc/rpc_svcout.c: Likewise.
4665 * sunrpc/rpc_tblout.c: Likewise.
4666 * sunrpc/rpc_util.c: Likewise.
4667 * sunrpc/rpc_util.h: Likewise.
4668 * sunrpc/rpcinfo.c: Likewise.
4669 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
4670 * sunrpc/rpcsvc/key_prot.x: Likewise.
4671 * sunrpc/rpcsvc/klm_prot.x: Likewise.
4672 * sunrpc/rpcsvc/mount.x: Likewise.
4673 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
4674 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
4675 * sunrpc/rpcsvc/rex.x: Likewise.
4676 * sunrpc/rpcsvc/rstat.x: Likewise.
4677 * sunrpc/rpcsvc/rusers.x: Likewise.
4678 * sunrpc/rpcsvc/sm_inter.x: Likewise.
4679 * sunrpc/rpcsvc/spray.x: Likewise.
4680 * sunrpc/rpcsvc/yppasswd.x: Likewise.
4681 * sunrpc/rtime.c: Likewise.
4682 * sunrpc/svc.c: Likewise.
4683 * sunrpc/svc_auth.c: Likewise.
4684 * sunrpc/svc_authux.c: Likewise.
4685 * sunrpc/svc_raw.c: Likewise.
4686 * sunrpc/svc_run.c: Likewise.
4687 * sunrpc/svc_simple.c: Likewise.
4688 * sunrpc/svc_tcp.c: Likewise.
4689 * sunrpc/svc_udp.c: Likewise.
4690 * sunrpc/svc_unix.c: Likewise.
4691 * sunrpc/svcauth_des.c: Likewise.
4692 * sunrpc/xcrypt.c: Likewise.
4693 * sunrpc/xdr.c: Likewise.
4694 * sunrpc/xdr_array.c: Likewise.
4695 * sunrpc/xdr_float.c: Likewise.
4696 * sunrpc/xdr_mem.c: Likewise.
4697 * sunrpc/xdr_rec.c: Likewise.
4698 * sunrpc/xdr_ref.c: Likewise.
4699 * sunrpc/xdr_sizeof.c: Likewise.
4700 * sunrpc/xdr_stdio.c: Likewise.
4702 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
4705 2010-08-19 Andreas Schwab <schwab@redhat.com>
4707 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
4709 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
4711 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
4712 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
4713 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
4714 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
4715 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
4716 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
4717 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
4718 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
4719 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
4720 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
4721 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
4722 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
4723 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
4724 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
4726 2010-07-26 Anton Blanchard <anton@samba.org>
4728 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
4729 * malloc/arena.c (heap_trim): Likewise.
4731 2010-08-16 Ulrich Drepper <drepper@redhat.com>
4733 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
4735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
4736 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
4738 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
4740 * sysdeps/i386/elf/Makefile: New file.
4742 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4744 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
4746 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4749 2010-08-15 Ulrich Drepper <drepper@redhat.com>
4751 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
4753 * sysdeps/multiarch/strcmp.S: Likewise.
4755 2010-08-14 Ulrich Drepper <drepper@redhat.com>
4757 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4758 strncase_l-nonascii.
4759 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4760 Add strncase_l-ssse3.
4761 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
4762 * sysdeps/x86_64/strcmp.S: Likewise.
4763 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
4764 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
4765 * sysdeps/x86_64/strncase.S: New file.
4766 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
4767 * sysdeps/x86_64/strncase_l.S: New file.
4768 * string/Makefile (strop-tests): Add strncasecmp.
4769 * string/test-strncasecmp.c: New file.
4771 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
4774 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
4775 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
4777 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4779 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
4781 2010-08-12 Ulrich Drepper <drepper@redhat.com>
4783 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
4784 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4785 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4787 2010-05-01 Alan Modra <amodra@gmail.com>
4789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
4790 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
4791 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
4792 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
4793 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
4794 tidying. Don't tail-call __sigjmp_save for static lib.
4795 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
4797 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
4798 (CALL_MCOUNT): Add eh info, and nop after bl.
4799 (TAIL_CALL_SYSCALL_ERROR): New macro.
4800 (PSEUDO_RET): Use it.
4801 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4802 Correct save location of integer regs and cr.
4803 (_dl_profile_resolve): Correct cr save location. Delete nops
4804 after bl when SHARED. Reduce cfi size a little by better
4805 placement of cfi directives.
4806 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
4807 make a stack frame. Instead use parm save area as a temp.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
4809 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4811 Don't make a stack frame for parent, use parm save area.
4812 Increase child stack frame to 112 bytes. Don't save unused reg,
4813 and adjust reg usage. Set up cfi on error recovery and
4814 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4816 (__makecontext): Add dummy nop after jump to exit.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
4818 Use correct parm save area and cr save, reduce stack frame.
4819 Correct cfi for possible PSEUDO_RET frame setup.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
4821 Branch to local label emitted by PSEUDO_RET rather than
4824 2010-08-12 Andreas Schwab <schwab@redhat.com>
4827 * locale/programs/locale.c (print_assignment): New function.
4828 (show_locale_vars): Use it.
4830 2010-08-11 Ulrich Drepper <drepper@redhat.com>
4832 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
4834 (struct statfs64): Likewise.
4835 (_STATFS_F_FLAGS): Define.
4836 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
4837 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4838 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
4839 (ST_VALID): Define locally.
4840 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
4841 __statvfs_getflags, use the provided value.
4842 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4843 __ASSUME_STATFS_F_FLAGS.
4845 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
4847 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
4849 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
4850 fanotify_mask for GLIBC_2.13.
4851 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
4852 fanotify_init and fanotify_mark.
4853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4854 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
4856 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
4858 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
4859 prlimit64 for GLIBC_2.13.
4860 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
4862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4865 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4866 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
4868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
4870 * sysdeps/unix/sysv/linux/prlimit.c: New file.
4873 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
4874 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
4876 * nss/Makefile: Add rules to build and run tst-nss-test1.
4877 * shlib-versions: Add entry for libnss_test1.
4878 * nss/nss_test1.c: New file.
4879 * nss/tst-nss-test1.c: New file.
4881 * nss/nsswitch.c (__nss_database_custom): Define new variable.
4882 (__nss_configure_lookup): Set appropriate entry in
4883 __nss_configure_lookup to true.
4884 * nss/nsswitch.h: Define enum with indeces of databases in
4885 databases and __nss_database_custom arrays. Declare
4886 __nss_database_custom.
4887 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
4888 to avoid using nscd when custom rules are installed.
4889 * nss/getXXbyYY_r.c: Likewise.
4890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4892 * nss/nss_files/files-parse.c: Whitespace fixes.
4894 2010-08-09 Ulrich Drepper <drepper@redhat.com>
4897 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
4898 * posix/fnmatch_loop.c: Likewise.
4900 2010-07-17 Andi Kleen <ak@linux.intel.com>
4902 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
4903 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
4904 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
4905 * Versions.def [GLIBC_2.13]: Add.
4907 2010-08-06 Ulrich Drepper <drepper@redhat.com>
4909 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4910 Also fail if tpwd after pwuid call is NULL.
4912 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4914 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
4915 when converting to ms.
4917 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4919 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
4920 EOPNOTSUPP errors with ENOTTY.
4921 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
4922 EOPNOTSUPP errors with ENOTTY.
4924 2010-07-31 Ulrich Drepper <drepper@redhat.com>
4926 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4927 Add strcasecmp_l-ssse3.
4928 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
4930 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
4931 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
4932 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
4934 2010-07-30 Ulrich Drepper <drepper@redhat.com>
4936 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
4938 * string/Makefile (strop-tests): Add strcasecmp.
4939 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4940 strcasecmp_l-nonascii.
4941 (gen-as-const-headers): Add locale-defines.sym.
4942 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
4943 * sysdeps/x86_64/strcasecmp.S: New file.
4944 * sysdeps/x86_64/strcasecmp_l.S: New file.
4945 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
4946 * sysdeps/x86_64/locale-defines.sym: New file.
4947 * string/test-strcasecmp.c: New file.
4949 * string/test-strcasestr.c: Test both ends of the range of characters.
4950 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
4952 2010-07-29 Roland McGrath <roland@redhat.com>
4955 * manual/locale.texi (Yes-or-No Questions): Fix example code.
4957 2010-07-27 Ulrich Drepper <drepper@redhat.com>
4959 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
4962 2010-07-27 Andreas Schwab <schwab@redhat.com>
4964 * manual/memory.texi (Malloc Tunable Parameters): Document
4967 2010-07-26 Roland McGrath <roland@redhat.com>
4970 * configure.in (-fgnu89-inline check): Set and substitute
4971 gnu89_inline, not libc_cv_gnu89_inline.
4972 * configure: Regenerated.
4973 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
4975 2010-07-26 Ulrich Drepper <drepper@redhat.com>
4977 * string/test-strnlen.c: New file.
4978 * string/Makefile (strop-tests): Add strnlen.
4979 * string/tester.c (test_strnlen): Add a few more test cases.
4980 * string/tst-strlen.c: Better error reporting.
4982 * sysdeps/x86_64/strnlen.S: New file.
4984 2010-07-24 Ulrich Drepper <drepper@redhat.com>
4986 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
4987 lower-latency instructions.
4989 2010-07-23 Ulrich Drepper <drepper@redhat.com>
4991 * string/test-strcasestr.c: New file.
4992 * string/test-strstr.c: New file.
4993 * string/Makefile (strop-tests): Add strstr and strcasestr.
4994 * string/str-two-way.h: Don't undefine MAX.
4995 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
4997 2010-07-21 Andreas Schwab <schwab@redhat.com>
4999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5000 strcasestr-nonascii.
5001 (CFLAGS-strcasestr-nonascii.c): Define.
5002 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
5003 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
5004 Remove unused attribute.
5006 2010-07-20 Roland McGrath <roland@redhat.com>
5008 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
5009 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
5010 ld.so.cache was broken. With it, there is no way to disable dsocaps
5011 like LD_HWCAP_MASK can disable hwcaps.
5013 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5015 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
5017 2010-07-16 Ulrich Drepper <drepper@redhat.com>
5019 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
5021 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
5022 __strcasestr_sse42_nonascii.
5023 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
5024 strcasestr-nonascii.c.
5025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
5027 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
5029 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
5030 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
5031 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
5032 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
5034 2010-07-09 Ulrich Drepper <drepper@redhat.com>
5036 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
5039 2010-07-06 Andreas Schwab <schwab@redhat.com>
5042 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
5045 2010-07-06 Ulrich Drepper <drepper@redhat.com>
5047 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
5048 _PC_PIPE_BUF using F_GETPIPE_SZ.
5050 2010-07-05 Roland McGrath <roland@redhat.com>
5052 * manual/arith.texi (Rounding Functions): Fix rint description
5053 implicit in round description.
5055 2010-07-02 Ulrich Drepper <drepper@redhat.com>
5057 * elf/Makefile: Fix linking for a few tests to make recent linker
5060 2010-06-30 Andreas Schwab <schwab@redhat.com>
5062 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5063 $(common-objpfx)libc_nonshared.a.
5065 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
5067 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
5068 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
5069 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5070 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5071 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
5072 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
5073 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5074 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
5089 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
5090 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
5091 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
5092 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
5093 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
5094 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
5095 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
5096 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
5097 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
5098 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
5099 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
5100 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
5116 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
5118 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
5119 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
5120 * string/memmove.c (memmove): Renamed to ...
5121 (MEMMOVE): ...this. Default to memmove.
5122 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
5123 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
5125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5126 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
5127 mempcpy-ssse3-back memmove-ssse3-back.
5128 * sysdeps/x86_64/multiarch/bcopy.S: New file .
5129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
5130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
5131 * sysdeps/x86_64/multiarch/memcpy.S: New file.
5132 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
5133 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
5134 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
5135 * sysdeps/x86_64/multiarch/memmove.c: New file.
5136 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
5137 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
5138 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
5139 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
5140 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
5141 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
5143 (index_Fast_Copy_Backward): Define.
5144 (HAS_ARCH_FEATURE): Define.
5145 (HAS_FAST_REP_STRING): Define.
5146 (HAS_FAST_COPY_BACKWARD): Define.
5148 2010-06-21 Andreas Schwab <schwab@redhat.com>
5150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5151 Restore proper fallback handling.
5153 2010-06-19 Ulrich Drepper <drepper@redhat.com>
5156 * posix/group_member.c (__group_member): Correct checking loop.
5158 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
5159 OOM in getpwuid_r correctly. Return error number when the caller
5160 should return, otherwise -1.
5161 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
5162 call returning > 0 value.
5163 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
5165 2010-06-07 Andreas Schwab <schwab@redhat.com>
5167 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
5168 libc_nonshared.a from targets in modules-names.
5170 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
5172 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
5175 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
5177 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
5178 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
5179 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
5180 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
5182 2010-06-02 Andreas Schwab <schwab@redhat.com>
5184 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
5186 2010-06-14 Ulrich Drepper <drepper@redhat.com>
5188 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
5190 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5194 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
5197 2010-06-14 Roland McGrath <roland@redhat.com>
5199 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
5201 2010-06-07 Jakub Jelinek <jakub@redhat.com>
5203 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
5204 __REDIRECT followed by __THROW.
5205 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
5206 * posix/getopt.h (getopt): Likewise.
5208 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5210 * hurd/lookup-at.c (__file_name_lookup_at): Accept
5211 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
5212 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
5214 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
5215 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
5217 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
5219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
5221 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
5224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5225 Properly check family and model.
5227 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
5229 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
5231 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
5233 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
5235 2010-05-21 Ulrich Drepper <drepper@redhat.com>
5237 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
5240 2010-05-19 Andreas Schwab <schwab@redhat.com>
5242 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
5245 2010-05-21 Andreas Schwab <schwab@redhat.com>
5247 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
5248 and internal_recvmmsg.
5249 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
5250 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
5251 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
5252 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
5254 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
5255 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5256 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5258 2010-05-20 Andreas Schwab <schwab@redhat.com>
5260 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
5262 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
5264 POWER7 optimizations.
5265 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
5266 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
5268 2010-05-19 Ulrich Drepper <drepper@redhat.com>
5270 * version.h: Update for 2.13 development version.
5272 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
5274 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
5275 exceptions. Return 0.
5277 2010-05-07 Roland McGrath <roland@redhat.com>
5279 * elf/ldconfig.c (main): Add a const.
5281 2010-05-06 Ulrich Drepper <drepper@redhat.com>
5283 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
5284 (args_options): Add no-idn option.
5285 (ahosts_keys_int): Add idn_flags to ai_flags.
5286 (parse_option): Handle 'i' option to clear idn_flags.
5288 * malloc/malloc.c (_int_free): Possible race in the most recently
5289 added check. Only act on the data if no current modification
5292 See ChangeLog.17 for earlier changes.