]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Add memrchr tests
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12011-10-13 Andreas Schwab <schwab@redhat.com>
2
3 * string/stratcliff.c: Add memrchr tests.
4
52011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6
7 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9 rawmemchr-sse2 rawmemchr-sse2-bsf.
10 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20 * string/memrchr.c (MEMRCHR): New macro.
21
222011-10-12 Ulrich Drepper <drepper@gmail.com>
23
24 Add integration with gcc's -ffinite-math-only and optimize wrapper
25 functions in libm.
26 * Versions.def: Define GLIBC_2.15 version for libm.
27 * math/Makefile (headers): Add bits/math-finite.h.
28 * math/bits/math-finite.h: New file.
29 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31 * math/e_acoshl.c: Add __*_finite alias.
32 * math/e_acosl.c: Likewise.
33 * math/e_asinl.c: Likewise.
34 * math/e_atan2l.c: Likewise.
35 * math/e_atanhl.c: Likewise.
36 * math/e_coshl.c: Likewise.
37 * math/e_exp10.c: Likewise.
38 * math/e_exp10f.c: Likewise.
39 * math/e_exp10l.c: Likewise.
40 * math/e_exp2l.c: Likewise.
41 * math/e_fmodl.c: Likewise.
42 * math/e_gammal_r.c: Likewise.
43 * math/e_hypotl.c: Likewise.
44 * math/e_j0l.c: Likewise.
45 * math/e_j1l.c: Likewise.
46 * math/e_jnl.c: Likewise.
47 * math/e_lgammal_r.c: Likewise.
48 * math/e_log10l.c: Likewise.
49 * math/e_log2l.c: Likewise.
50 * math/e_logl.c: Likewise.
51 * math/e_powl.c: Likewise.
52 * math/e_sinhl.c: Likewise.
53 * math/e_sqrtl.c: Likewise.
54 * math/e_scalb.c: Completely rewritten and optimized.
55 * math/e_scalbf.c: Likewise.
56 * math/e_scalbl.c: Likewise.
57 * math/w_acos.c: Likewise.
58 * math/w_acosf.c: Likewise.
59 * math/w_acosl.c: Likewise.
60 * math/w_acosh.c: Likewise.
61 * math/w_acoshf.c: Likewise.
62 * math/w_acoshl.c: Likewise.
63 * math/w_asin.c: Likewise.
64 * math/w_asinf.c: Likewise.
65 * math/w_asinl.c: Likewise.
66 * math/w_atan2.c: Likewise.
67 * math/w_atan2f.c: Likewise.
68 * math/w_atan2l.c: Likewise.
69 * math/w_atanh.c: Likewise.
70 * math/w_atanhf.c: Likewise.
71 * math/w_atanhl.c: Likewise.
72 * math/w_exp10.c: Likewise.
73 * math/w_exp10f.c: Likewise.
74 * math/w_exp10l.c: Likewise.
75 * math/w_fmod.c: Likewise.
76 * math/w_fmodf.c: Likewise.
77 * math/w_fmodl.c: Likewise.
78 * math/w_j0.c: Likewise.
79 * math/w_j0f.c: Likewise.
80 * math/w_j0l.c: Likewise.
81 * math/w_j1.c: Likewise.
82 * math/w_j1f.c: Likewise.
83 * math/w_j1l.c: Likewise.
84 * math/w_jn.c: Likewise.
85 * math/w_jnf.c: Likewise.
86 * math/w_log.c: Likewise.
87 * math/w_logf.c: Likewise.
88 * math/w_logl.c: Likewise.
89 * math/w_log10.c: Likewise.
90 * math/w_log10f.c: Likewise.
91 * math/w_log10l.c: Likewise.
92 * math/w_log2.c: Likewise.
93 * math/w_log2f.c: Likewise.
94 * math/w_log2l.c: Likewise.
95 * math/w_pow.c: Likewise.
96 * math/w_powf.c: Likewise.
97 * math/w_powl.c: Likewise.
98 * math/w_remainder.c: Likewise.
99 * math/w_remainderf.c: Likewise.
100 * math/w_remainderl.c: Likewise.
101 * math/w_scalb.c: Likewise.
102 * math/w_scalbf.c: Likewise.
103 * math/w_scalbl.c: Likewise.
104 * math/w_sqrt.c: Likewise.
105 * math/w_sqrtf.c: Likewise.
106 * math/w_sqrtl.c: Likewise.
107 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
108 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
109 used.
110 * math/math_private.h: Declare __kernel_standard_f.
111 * math/w_cosh.c: Remove cruft and optimize a bit.
112 * math/w_coshf.c: Likewise.
113 * math/w_coshl.c: Likewise.
114 * math/w_exp2.c: Likewise.
115 * math/w_exp2f.c: Likewise.
116 * math/w_exp2l.c: Likewise.
117 * math/w_hypot.c: Likewise.
118 * math/w_hypotf.c: Likewise.
119 * math/w_hypotl.c: Likewise.
120 * math/w_lgamma.c: Likewise.
121 * math/w_lgamma_r.c: Likewise.
122 * math/w_lgammaf.c: Likewise.
123 * math/w_lgammaf_r.c: Likewise.
124 * math/w_lgammal.c: Likewise.
125 * math/w_lgammal_r.c: Likewise.
126 * math/w_sinh.c: Likewise.
127 * math/w_sinhf.c: Likewise.
128 * math/w_sinhl.c: Likewise.
129 * math/w_tgamma.c: Likewise.
130 * math/w_tgammaf.c: Likewise.
131 * math/w_tgammal.c: Likewise.
132 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
134 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
135 Minor optimizations. Pretty printing. Remove cruft.
136 * sysdeps/i386/fpu/e_acosf.S: Likewise.
137 * sysdeps/i386/fpu/e_acosh.S: Likewise.
138 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
139 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
140 * sysdeps/i386/fpu/e_acosl.c: Likewise.
141 * sysdeps/i386/fpu/e_asin.S: Likewise.
142 * sysdeps/i386/fpu/e_asinf.S: Likewise.
143 * sysdeps/i386/fpu/e_atan2.S: Likewise.
144 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
145 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
146 * sysdeps/i386/fpu/e_atanh.S: Likewise.
147 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
148 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
149 * sysdeps/i386/fpu/e_exp10.S: Likewise.
150 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
151 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
152 * sysdeps/i386/fpu/e_exp2.S: Likewise.
153 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
154 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
155 * sysdeps/i386/fpu/e_fmod.S: Likewise.
156 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
157 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
158 * sysdeps/i386/fpu/e_hypot.S: Likewise.
159 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
160 * sysdeps/i386/fpu/e_log.S: Likewise.
161 * sysdeps/i386/fpu/e_log10.S: Likewise.
162 * sysdeps/i386/fpu/e_log10f.S: Likewise.
163 * sysdeps/i386/fpu/e_log10l.S: Likewise.
164 * sysdeps/i386/fpu/e_log2.S: Likewise.
165 * sysdeps/i386/fpu/e_log2f.S: Likewise.
166 * sysdeps/i386/fpu/e_log2l.S: Likewise.
167 * sysdeps/i386/fpu/e_logf.S: Likewise.
168 * sysdeps/i386/fpu/e_logl.S: Likewise.
169 * sysdeps/i386/fpu/e_pow.S: Likewise.
170 * sysdeps/i386/fpu/e_powf.S: Likewise.
171 * sysdeps/i386/fpu/e_powl.S: Likewise.
172 * sysdeps/i386/fpu/e_remainder.S: Likewise.
173 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
174 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
176 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
177 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
178 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
179 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
180 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
181 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
184 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
186 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
187 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
188 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
189 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
192 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
198 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
201 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
202 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
203 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
204 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
205 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
206 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
207 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
208 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
209 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
219 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
220 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
221 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
222 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
223 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
224 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
225 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
226 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
227 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
228 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
229 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
230 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
231 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
232 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
233 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
236 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
237 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
238 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
239 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
240 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
241 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
242 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
246 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
249 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
255 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
258 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
259 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
260 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
261 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
262 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
263 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
265 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
266 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
267 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
268 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
269 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
270 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
271 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
272 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
273 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
274 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
276 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
277 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
278 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
279 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
280 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
281 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
282 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
283 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
284 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
285 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
287 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
288 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
289 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
290 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
291 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
292 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
293 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
294 (__isnanf): Likewise.
295 (__isinf_ns): Likewise.
296 (__isinf_nsf): Likewise.
297 (__finite): Likewise.
298 (__finitef): Likewise.
299 (__ieee754_sqrt): Define as macro.
300 (__ieee754_sqrtf): Define as macro.
301 (__ieee754_sqrtl): Define as macro.
302 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
303 inlined copy.
304 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
305 __FINITE_MATH_ONLY__ consistent.
306 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
307
3082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
309
310 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
311 of rawmemchr.
312
313 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
314
3152011-10-09 Ulrich Drepper <drepper@gmail.com>
316
317 * po/ja.po: Update from translation team.
318
3192011-10-08 Roland McGrath <roland@hack.frob.com>
320
321 * locale/programs/locarchive.c (prepare_address_space): New function.
322 (create_archive, enlarge_archive, open_archive): Use it.
323
324 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
325 inside [SHARED], where it is used.
326
327 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
328
329 * nss/getent.c (netgroup_keys): Remove unused variable.
330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
331
3322011-10-08 Ulrich Drepper <drepper@gmail.com>
333
334 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
335 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
337 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
338 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
339 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
340 * math/Makefile (libm-calls): Add s_isinf_ns.
341 * math/divtc3.c: Use __isinf_nsl instead of isinf.
342 * math/multc3.c: Likewise.
343 * math/s_casin.c: Likewise.
344 * math/s_casinf.c: Likewise.
345 * math/s_casinl.c: Likewise.
346 * math/s_ccos.c: Likewise.
347 * math/s_ccosf.c: Likewise.
348 * math/s_ccosl.c: Likewise.
349 * math/s_ctan.c: Likewise.
350 * math/s_ctanf.c: Likewise.
351 * math/s_ctanh.c: Likewise.
352 * math/s_ctanhf.c: Likewise.
353 * math/s_ctanhl.c: Likewise.
354 * math/s_ctanl.c: Likewise.
355 * math/w_fmod.c: Likewise.
356 * math/w_fmodf.c: Likewise.
357 * math/w_fmodl.c: Likewise.
358 * math/w_remainder.c: Likewise.
359 * math/w_remainderf.c: Likewise.
360 * math/w_remainderl.c: Likewise.
361 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
362 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
363 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
365 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
366 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
367 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
368 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
369
370 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
371 of the number.
372 * stdio-common/printf_fphex.c: Likewise.
373 * stdio-common/printf_size.c: Likewise.
374
375 * math/e_exp10.c: Include math_private.h using <...> not "...".
376 * math/e_exp10f.c: Likewise.
377 * math/e_exp10l.c: Likewise.
378 * math/e_exp2l.c: Likewise.
379 * math/e_j0l.c: Likewise.
380 * math/e_j1l.c: Likewise.
381 * math/e_jnl.c: Likewise.
382 * math/e_lgammal_r.c: Likewise.
383 * math/e_rem_pio2l.c: Likewise.
384 * math/e_scalb.c: Likewise.
385 * math/e_scalbf.c: Likewise.
386 * math/e_scalbl.c: Likewise.
387 * math/k_cosl.c: Likewise.
388 * math/k_sinl.c: Likewise.
389 * math/k_tanl.c: Likewise.
390 * math/s_cacoshf.c: Likewise.
391 * math/s_catan.c: Likewise.
392 * math/s_catanf.c: Likewise.
393 * math/s_catanh.c: Likewise.
394 * math/s_catanhf.c: Likewise.
395 * math/s_catanhl.c: Likewise.
396 * math/s_catanl.c: Likewise.
397 * math/s_ccosh.c: Likewise.
398 * math/s_ccoshf.c: Likewise.
399 * math/s_ccoshl.c: Likewise.
400 * math/s_cexp.c: Likewise.
401 * math/s_cexpf.c: Likewise.
402 * math/s_cexpl.c: Likewise.
403 * math/s_clog.c: Likewise.
404 * math/s_clog10.c: Likewise.
405 * math/s_clog10f.c: Likewise.
406 * math/s_clog10l.c: Likewise.
407 * math/s_clogf.c: Likewise.
408 * math/s_clogl.c: Likewise.
409 * math/s_csin.c: Likewise.
410 * math/s_csinf.c: Likewise.
411 * math/s_csinh.c: Likewise.
412 * math/s_csinhf.c: Likewise.
413 * math/s_csinhl.c: Likewise.
414 * math/s_csinl.c: Likewise.
415 * math/s_csqrt.c: Likewise.
416 * math/s_csqrtf.c: Likewise.
417 * math/s_csqrtl.c: Likewise.
418 * math/s_ctan.c: Likewise.
419 * math/s_ctanf.c: Likewise.
420 * math/s_ctanh.c: Likewise.
421 * math/s_ctanhf.c: Likewise.
422 * math/s_ctanhl.c: Likewise.
423 * math/s_ctanl.c: Likewise.
424 * math/s_ldexp.c: Likewise.
425 * math/s_ldexpf.c: Likewise.
426 * math/s_ldexpl.c: Likewise.
427 * math/s_significand.c: Likewise.
428 * math/s_significandf.c: Likewise.
429 * math/s_significandl.c: Likewise.
430 * math/w_acos.c: Likewise.
431 * math/w_acosf.c: Likewise.
432 * math/w_acosh.c: Likewise.
433 * math/w_acoshf.c: Likewise.
434 * math/w_acoshl.c: Likewise.
435 * math/w_acosl.c: Likewise.
436 * math/w_asin.c: Likewise.
437 * math/w_asinf.c: Likewise.
438 * math/w_asinl.c: Likewise.
439 * math/w_atan2.c: Likewise.
440 * math/w_atan2f.c: Likewise.
441 * math/w_atan2l.c: Likewise.
442 * math/w_atanh.c: Likewise.
443 * math/w_atanhf.c: Likewise.
444 * math/w_atanhl.c: Likewise.
445 * math/w_cosh.c: Likewise.
446 * math/w_coshf.c: Likewise.
447 * math/w_coshl.c: Likewise.
448 * math/w_dremf.c: Likewise.
449 * math/w_exp10.c: Likewise.
450 * math/w_exp10f.c: Likewise.
451 * math/w_exp10l.c: Likewise.
452 * math/w_exp2.c: Likewise.
453 * math/w_exp2f.c: Likewise.
454 * math/w_fmod.c: Likewise.
455 * math/w_fmodf.c: Likewise.
456 * math/w_fmodl.c: Likewise.
457 * math/w_hypot.c: Likewise.
458 * math/w_hypotf.c: Likewise.
459 * math/w_hypotl.c: Likewise.
460 * math/w_j0.c: Likewise.
461 * math/w_j0f.c: Likewise.
462 * math/w_j0l.c: Likewise.
463 * math/w_j1.c: Likewise.
464 * math/w_j1f.c: Likewise.
465 * math/w_j1l.c: Likewise.
466 * math/w_jn.c: Likewise.
467 * math/w_jnf.c: Likewise.
468 * math/w_jnl.c: Likewise.
469 * math/w_lgamma.c: Likewise.
470 * math/w_lgamma_r.c: Likewise.
471 * math/w_lgammaf.c: Likewise.
472 * math/w_lgammaf_r.c: Likewise.
473 * math/w_lgammal.c: Likewise.
474 * math/w_lgammal_r.c: Likewise.
475 * math/w_log.c: Likewise.
476 * math/w_log10.c: Likewise.
477 * math/w_log10f.c: Likewise.
478 * math/w_log10l.c: Likewise.
479 * math/w_log2.c: Likewise.
480 * math/w_log2f.c: Likewise.
481 * math/w_log2l.c: Likewise.
482 * math/w_logf.c: Likewise.
483 * math/w_logl.c: Likewise.
484 * math/w_pow.c: Likewise.
485 * math/w_powf.c: Likewise.
486 * math/w_powl.c: Likewise.
487 * math/w_remainder.c: Likewise.
488 * math/w_remainderf.c: Likewise.
489 * math/w_remainderl.c: Likewise.
490 * math/w_scalb.c: Likewise.
491 * math/w_scalbf.c: Likewise.
492 * math/w_scalbl.c: Likewise.
493 * math/w_sinh.c: Likewise.
494 * math/w_sinhf.c: Likewise.
495 * math/w_sinhl.c: Likewise.
496 * math/w_sqrt.c: Likewise.
497 * math/w_sqrtf.c: Likewise.
498 * math/w_sqrtl.c: Likewise.
499 * math/w_tgamma.c: Likewise.
500 * math/w_tgammaf.c: Likewise.
501 * math/w_tgammal.c: Likewise.
502
503 * po/ja.po: Update from translation team.
504
5052011-09-29 Andreas Jaeger <aj@suse.de>
506
507 [BZ #13179]
508 * sunrpc/netname.c (netname2host): Fix logic.
509
510 [BZ #6779]
511 [BZ #6783]
512 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
513 correctly.
514 * math/w_remainder.c (__remainder): Likewise.
515 * math/w_remainderf.c (__remainderf): Likewise.
516 * math/libm-test.inc (remainder_test): Add test cases.
517
5182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
519
520 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
521 sdiv_qrnnd.
522
5232011-10-07 Ulrich Drepper <drepper@gmail.com>
524
525 * string/test-memcmp.c: Avoid unncessary #defines.
526 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
527
5282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
529
530 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
531 Use new sse2 version for core i3 - i7 as it's faster
532 than sse42 version.
533 (bit_Prefer_PMINUB_for_stringop): New.
534 * sysdeps/x86_64/rawmemchr.S: Update.
535 Replace with faster SSE2 version.
536 * sysdeps/x86_64/memrchr.S: New file.
537 * sysdeps/x86_64/memchr.S: Update.
538 Replace with faster SSE2 version.
539
5402011-09-12 Marek Polacek <mpolacek@redhat.com>
541
542 * elf/dl-load.c (lose): Add cast to avoid warning.
543
5442011-10-07 Ulrich Drepper <drepper@gmail.com>
545
546 * po/ca.po: Update from translation team.
547
548 * inet/getnetgrent_r.c: Hook up nscd.
549 * nscd/Makefile (routines): Add nscd_netgroup.
550 (nscd-modules): Add netgroupcache.
551 (CFLAGS-netgroupcache.c): Define.
552 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
553 (cache_search): Add const to second parameter.
554 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
555 INNETGR.
556 (dbs): Add netgrdb entry.
557 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
558 (verify_persistent_db): Handle netgrdb.
559 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
560 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
561 GETFDNETGR.
562 (netgroup_response_header): Define.
563 (innetgroup_response_header): Define.
564 (datahead): Add netgroup_response_header and innetgroup_response_header
565 elements.
566 * nscd/nscd.conf: Add entries for netgroup cache.
567 * nscd/nscd.h (dbtype): Add netgrdb.
568 (_PATH_NSCD_NETGROUP_DB): Define.
569 (netgroup_iov_disabled): Declare.
570 (xmalloc, xcalloc, xrealloc): Move declarations here.
571 (cache_search): Adjust prototype.
572 Add netgroup-related prototypes.
573 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
574 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
575 (__nscd_innetgr): Declare.
576 * nscd/selinux.c (perms): Use access_vector_t as element type and
577 add netgroup-related initializers.
578 * nscd/netgroupcache.c: New file.
579 * nscd/nscd_netgroup.c: New file.
580 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
581 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
582 For four parameters use innetgr.
583 * nss/nss_files/files-init.c: Add definition and callback for netgr.
584 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
585 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
586 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
587
588 * nscd/connections.c (register_traced_file): Don't register file
589 for disabled databases.
590
5912011-10-06 Ulrich Drepper <drepper@gmail.com>
592
593 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
594
595 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
596 from tree and freeing node.
597
5982011-09-25 Jiri Olsa <jolsa@redhat.com>
599
600 * nss/nsswitch.c (__nss_database_lookup): Handle
601 nss_parse_service_list out of memory case.
602
6032011-09-15 Jiri Olsa <jolsa@redhat.com>
604
605 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
606 out of memory case.
607
6082011-10-04 Andreas Schwab <schwab@redhat.com>
609
610 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
611 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
612 pass it down.
613 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
614 elf_machine_rela, elf_machine_lazy_rel.
615 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
616 (ELF_DYNAMIC_DO_REL): Likewise.
617 (ELF_DYNAMIC_DO_RELA): Likewise.
618 (ELF_DYNAMIC_RELOCATE): Likewise.
619 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
620 to ELF_DYNAMIC_DO_REL.
621 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
622 (dl_main): In trace mode always set __RTLD_NOIFUNC.
623 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
624 elf_machine_rela.
625 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
626 skip_ifunc, don't call ifunc function if non-zero.
627 (elf_machine_rela): Likewise.
628 (elf_machine_lazy_rel): Likewise.
629 (elf_machine_lazy_rela): Likewise.
630 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
631 (elf_machine_lazy_rel): Likewise.
632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
633 Likewise.
634 (elf_machine_lazy_rel): Likewise.
635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
636 Likewise.
637 (elf_machine_lazy_rel): Likewise.
638 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
639 (elf_machine_lazy_rel): Likewise.
640 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
641 (elf_machine_lazy_rel): Likewise.
642 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
643 (elf_machine_lazy_rel): Likewise.
644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
645 (elf_machine_lazy_rel): Likewise.
646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
647 (elf_machine_lazy_rel): Likewise.
648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
649 (elf_machine_lazy_rel): Likewise.
650
6512011-09-28 Ulrich Drepper <drepper@gmail.com>
652
653 * nss/nss_files/files-init.c (_nss_files_init): Use static
654 initialization for all the *_traced_file variables.
655
6562011-09-28 Andreas Schwab <schwab@redhat.com>
657
658 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
659
6602011-09-27 Roland McGrath <roland@hack.frob.com>
661
662 [BZ #13226]
663 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
664
6652011-09-27 Andreas Schwab <schwab@redhat.com>
666
667 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
668 Reread the line before reparsing it.
669
6702011-09-26 Andreas Schwab <schwab@redhat.com>
671
672 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
673
6742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
675 Maxim Kuvyrkov <maxim@codesourcery.com>
676 Joseph Myers <joseph@codesourcery.com>
677
678 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
679 if needed for __stack_chk_guard.
680
6812011-09-19 Roland McGrath <roland@hack.frob.com>
682
683 * sysdeps/posix/spawni.c (script_execute): Always define it.
684 It will be optimized away if unused.
685 (maybe_script_execute): New function.
686 (__spawni): Call it.
687
688 * Makerules: Don't include tls.make.
689 (config-tls): Always set to thread.
690 * tls.make.c: File removed.
691
6922011-09-19 Mike Frysinger <vapier@gentoo.org>
693
694 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
695 * config.make.in (CPPFLAGS-config): New substituted variable.
696
6972011-09-15 Ulrich Drepper <drepper@gmail.com>
698
699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
700
701 [BZ #13192]
702 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
703 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
704
7052011-09-15 Roland McGrath <roland@hack.frob.com>
706
707 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
708 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
710 (CALL_FAIL): Likewise.
711 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
712 (CALL_FAIL): Macro removed.
713 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
714
7152011-09-15 Ulrich Drepper <drepper@gmail.com>
716
717 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
718 for __FINITE_MATH_ONLY__ == 1.
719
7202011-09-15 Andreas Schwab <schwab@redhat.com>
721
722 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
723 __ieee754_sqrt instead of sqrt.
724 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
725 __ieee754_sqrtf instead of sqrtf.
726 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
727 __floorf instead of floorf.
728 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
729 __floorf, __truncf instead of floorf, truncf.
730
7312011-09-14 Ulrich Drepper <drepper@gmail.com>
732
733 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
734
735 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
736 __extern_always_inline.
737 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
738 32-bit.
739
7402011-09-14 Andreas Schwab <schwab@redhat.com>
741
742 * elf/rtld.c (dl_main): Also relocate in dependency order when
743 doing symbol dependency testing.
744
7452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
746
747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
748 Always define `refsym'.
749
7502011-09-13 Andreas Schwab <schwab@redhat.com>
751
752 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
753 (__FD_ELT): Renamed from __FDELT.
754 * misc/bits/select2.h (__FD_ELT): Likewise.
755 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
756 __FD_MASK instead of __FDELT, __FDMASK.
757 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
758 Likewise.
759 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
760 Likewise.
761
762 * elf/Makefile (gen-ldd): Fix pattern.
763
764 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
765 (init_tls): Likewise.
766
7672011-09-12 Ulrich Drepper <drepper@gmail.com>
768
769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
770
7712011-09-12 Andreas Schwab <schwab@redhat.com>
772
773 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
774 `struct cmsghdr *' instead of `void *'.
775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
776 Likewise.
777
7782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
779
780 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
781 if non-absolute.
782 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
783 ldd_rewrite_script.
784
7852011-09-11 Ulrich Drepper <drepper@gmail.com>
786
787 * configure.in: Remove --with-tls option.
788 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
789 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
790 out in case it is missing.
791 * sysdeps/ia64/elf/configure.in: Likewise.
792 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
793 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
794 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
795 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
796 * sysdeps/sh/elf/configure.in: Likewise.
797 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
798 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
799 * sysdeps/x86_64/elf/configure.in: Likewise.
800 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
801 * sysdeps/mach/hurd/tls.h: Likewise.
802
803 [BZ #13067]
804 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
805
806 [BZ #13090]
807 * configure.in: Fix use of AC_INIT.
808
809 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
810
8112011-09-10 Ulrich Drepper <drepper@gmail.com>
812
813 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
814 __set_errno.
815 * malloc/hooks.c: Likewise.
816
817 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
818 variables statically.
819 (narenas): Initialize.
820 (list_lock): Initialize.
821 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
822 initializtion of main_arena and list_lock. Small cleanups.
823 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
824 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
825 Add initializers to main_arena and mp_.
826 (malloc_state): Remove pagesize member. Change all users to use
827 GLRO(dl_pagesize).
828
829 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
830 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
831 is always initialized.
832
833 * malloc/malloc.c: Removed unused configurations and dead code.
834 * malloc/arena.c: Likewise.
835 * malloc/hooks.c: Likewise.
836 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
837
838 * include/tls.h: Removed. USE___THREAD must always be defined.
839 * bits/libc-tsd.h: Don't handle !USE___THREAD.
840 * elf/dl-libc.c: Likewise.
841 * elf/dl-tsd.c: Likewise.
842 * include/errno.h: Likewise.
843 * include/netdb.h: Likewise.
844 * include/resolv.h: Likewise.
845 * inet/herrno-loc.c: Likewise.
846 * inet/herrno.c: Likewise.
847 * malloc/arena.c: Likewise.
848 * malloc/hooks.c: Likewise.
849 * malloc/malloc.c: Likewise.
850 * resolv/res-state.c: Likewise.
851 * resolv/res_libc.c: Likewise.
852 * sysdeps/i386/dl-machine.h: Likewise.
853 * sysdeps/ia64/dl-machine.h: Likewise.
854 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
855 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
856 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
857 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
858 * sysdeps/sh/dl-machine.h: Likewise.
859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
861 * sysdeps/unix/i386/sysdep.S: Likewise.
862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
863 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
865 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
868 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
872 * sysdeps/unix/x86_64/sysdep.S: Likewise.
873 * sysdeps/x86_64/dl-machine.h: Likewise.
874 * tls.make.c: Likewise.
875
876 * configure.in: Remove --with-__thread option. Make tests for
877 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
878 tls_model attribute fail if no support is available. Remove
879 USE_IN_LIBIO.
880 * Makeconfig: Adjust for dropped configure option. All features are
881 now mandatory.
882 * Makerules: Likewise.
883 * Versions.def: Likewise.
884 * argp/argp-fmtstream.c: Likewise.
885 * argp/argp-fmtstream.h: Likewise.
886 * argp/argp-help.c: Likewise.
887 * assert/assert.c: Likewise.
888 * config.h.in: Likewise.
889 * config.make.in: Likewise.
890 * configure: Likewise.
891 * configure.in: Likewise.
892 * csu/Versions: Likewise.
893 * csu/init.c: Likewise.
894 * elf/tst-audit2.c: Likewise.
895 * elf/tst-tls10.c: Likewise.
896 * elf/tst-tls10.h: Likewise.
897 * elf/tst-tls11.c: Likewise.
898 * elf/tst-tls12.c: Likewise.
899 * elf/tst-tls14.c: Likewise.
900 * elf/tst-tlsmod11.c: Likewise.
901 * elf/tst-tlsmod12.c: Likewise.
902 * elf/tst-tlsmod13.c: Likewise.
903 * elf/tst-tlsmod13a.c: Likewise.
904 * elf/tst-tlsmod14a.c: Likewise.
905 * elf/tst-tlsmod15b.c: Likewise.
906 * elf/tst-tlsmod16a.c: Likewise.
907 * elf/tst-tlsmod16b.c: Likewise.
908 * elf/tst-tlsmod7.c: Likewise.
909 * elf/tst-tlsmod8.c: Likewise.
910 * elf/tst-tlsmod9.c: Likewise.
911 * gmon/gmon.c: Likewise.
912 * grp/fgetgrent_r.c: Likewise.
913 * grp/putgrent.c: Likewise.
914 * hurd/fopenport.c: Likewise.
915 * include/libc-symbols.h: Likewise.
916 * include/tls.h: Likewise.
917 * intl/gettextP.h: Likewise.
918 * intl/loadinfo.h: Likewise.
919 * locale/global-locale.c: Likewise.
920 * locale/localeinfo.h: Likewise.
921 * mach/devstream.c: Likewise.
922 * malloc/arena.c: Likewise.
923 * malloc/set-freeres.c: Likewise.
924 * misc/err.c: Likewise.
925 * misc/getttyent.c: Likewise.
926 * misc/mntent_r.c: Likewise.
927 * posix/getopt.c: Likewise.
928 * posix/wordexp.c: Likewise.
929 * pwd/fgetpwent_r.c: Likewise.
930 * resolv/Versions: Likewise.
931 * resolv/res_hconf.c: Likewise.
932 * shadow/fgetspent_r.c: Likewise.
933 * shadow/putspent.c: Likewise.
934 * stdio-common/printf_fphex.c: Likewise.
935 * stdio-common/tmpfile.c: Likewise.
936 * stdlib/abort.c: Likewise.
937 * stdlib/fmtmsg.c: Likewise.
938 * sunrpc/auth_unix.c: Likewise.
939 * sunrpc/clnt_perr.c: Likewise.
940 * sunrpc/clnt_tcp.c: Likewise.
941 * sunrpc/clnt_udp.c: Likewise.
942 * sunrpc/clnt_unix.c: Likewise.
943 * sunrpc/openchild.c: Likewise.
944 * sunrpc/svc_simple.c: Likewise.
945 * sunrpc/svc_tcp.c: Likewise.
946 * sunrpc/svc_udp.c: Likewise.
947 * sunrpc/svc_unix.c: Likewise.
948 * sunrpc/xdr.c: Likewise.
949 * sunrpc/xdr_array.c: Likewise.
950 * sunrpc/xdr_rec.c: Likewise.
951 * sunrpc/xdr_ref.c: Likewise.
952 * sunrpc/xdr_stdio.c: Likewise.
953
9542011-09-09 Ulrich Drepper <drepper@gmail.com>
955
956 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
957
9582011-07-03 Andreas Jaeger <aj@suse.de>
959
960 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
961 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
962 regenerate with gen-libm-tests.pl.
963
9642010-05-12 Petr Baudis <pasky@suse.cz>
965
966 [BZ #11589]
967 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
968 around j0() zero points by switching to j1().
969 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
970 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
972 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
973
9742011-09-09 Ulrich Drepper <drepper@gmail.com>
975
976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
977 instead of 0.
978 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
979 instead of 0. .
980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
981 Patch in part by Pavel Roskin <proski@gnu.org>.
982
983 [BZ #13138]
984 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
985 realloc.
986 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
987 Free memory block if necessary.
988
989 [BZ #12847]
990 * libio/genops.c (INTDEF): For string streams the _lock pointer can
991 be NULL. Don't lock in this case.
992
9932011-09-09 Roland McGrath <roland@hack.frob.com>
994
995 * elf/elf.h (ELFOSABI_GNU): New macro.
996 (ELFOSABI_LINUX): Define to that.
997
9982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
999
1000 * string/strncat.c (strncat): Undef the symbol in case it has been
1001 defined in bits/string.h.
1002
10032011-09-09 Ulrich Drepper <drepper@gmail.com>
1004
1005 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
1006
1007 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
1008 link map.
1009
10102011-08-17 Andreas Jaeger <aj@suse.de>
1011
1012 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
1013
10142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1015 Ian Lance Taylor <iant@google.com>
1016
1017 * math/libm-test.inc (lround_test): New testcase.
1018 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
1019
10202011-09-08 Ulrich Drepper <drepper@gmail.com>
1021
1022 * Makefile: Remove support for automatic cvs check-ins.
1023 * Makerules: Likewise.
1024 * config.make.in: Likewise.
1025 * configure.in: Likewise.
1026 * intl/Makefile: Likewise.
1027 * locale/Makefile: Likewise.
1028 * po/Makefile: Likewise.
1029 * posix/Makefile: Likewise.
1030 * sysdeps/gnu/Makefile: Likewise.
1031 * sysdeps/mach/hurd/Makefile: Likewise.
1032 * sysdeps/sparc/sparc32/Makefile: Likewise.
1033
1034 [BZ #13118]
1035 * posix/Makefile (bug-regex32-ENV): Define.
1036 Patch by John Stanley <jpsinthemix@verizon.net>.
1037
1038 * misc/Makefile (headers): Add bits/select2.h.
1039 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
1040 * misc/bits/select2.h: New file.
1041 * include/bits/select2.h: New file.
1042 * debug/Makefile (routines): Add fdelt_chk.
1043 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
1044 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
1045 FD_ISSET.
1046 * debug/fdelt_chk.c: New file.
1047
1048 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
1049 * wcsmbs/test-wmemcmp.c: Likewise.
1050 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
1051 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
1052
10532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1054
1055 * string/Makefile (strop-tests): Add memcmp.
1056 * string/test-wmemcmp.c: New file.
1057 * string/test-memcmp.c: Add wmemcmp support.
1058
10592011-09-08 Roland McGrath <roland@hack.frob.com>
1060
1061 [BZ #13153]
1062 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
1063 2011-07-19 change.
1064
1065 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
1066 garbage value in a __mach_port_mod_refs call in the cases of the
1067 task-self and thread-self ports.
1068
10692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1070
1071 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
1072
10732011-09-08 Andreas Schwab <schwab@redhat.com>
1074
1075 * elf/dl-load.c (lose): Check for non-null L.
1076
10772011-09-07 Ulrich Drepper <drepper@gmail.com>
1078
1079 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
1080
1081 * elf/dl-libc.c (dlerror_run): Pass back error code from
1082 dl_catch_error.
1083
1084 [BZ #13123]
1085 * elf/dl-load.c (lose): Free l_origin if it is valid.
1086
1087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
1088 names.
1089 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1093 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1094 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
1095
10962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/powerpc/fpu/e_hypot.c: New file.
1099 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
1100 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
1101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
1102 * sysdeps/powerpc/fpu/k_cosf.c: New file.
1103 * sysdeps/powerpc/fpu/k_sinf.c: New file.
1104 * sysdeps/powerpc/fpu/s_cosf.c: New file.
1105 * sysdeps/powerpc/fpu/s_sinf.c: New file.
1106 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
1107 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
1108
11092011-08-15 Alan Modra <amodra@gmail.com>
1110
1111 [BZ #13092]
1112 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
1113 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
1114 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
1115 ppc_mcount to static-only-routines.
1116 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
1117 __mcount_internal.
1118 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
1119 __mcount_internal with usual JUMPTARGET. Remove useless nop.
1120
11212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
1122
1123 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
1124 for finite and infinity parameters.
1125
11262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1127
1128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
1129 and add nop instructions for throughput optimization.
1130 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1131
11322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
1133
1134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
1135 aligned copy for power7 with vector-scalar instructions.
1136 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1137
11382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
1139
1140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
1141 AVX check.
1142
11432011-09-07 Andreas Schwab <schwab@redhat.com>
1144
1145 [BZ #13144]
1146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
1147 last change.
1148
11492011-09-07 Ulrich Drepper <drepper@gmail.com>
1150
1151 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1152 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
1153 syscall wrapper around clock_gettime in __vdso_clock_gettime.
1154 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
1155 clock_gettime.
1156
11572011-09-06 Ulrich Drepper <drepper@gmail.com>
1158
1159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
1160 Forgot to demangle the pointer.
1161
1162 * sysdeps/i386/sysdep.h: Define atom_text_section.
1163 * sysdeps/x86_64/sysdep.h: Likewise.
1164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
1165 section with atom_text_section.
1166 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1168 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
1171
1172 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
1173 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
1174 already be defined. Change to take two parameters and don't assign
1175 result to variable. Adjust all users.
1176 Define INTERNAL_GETTIME if not already defined.
1177 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
1178 call.
1179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
1180 HAVE_CLOCK_GETTIME_VSYSCALL.
1181 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
1182
1183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
1184 gettimeofday vsyscall, just use time.
1185
11862011-09-06 Andreas Schwab <schwab@redhat.com>
1187
1188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
1189 <errno.h>.
1190
11912011-09-06 Ulrich Drepper <drepper@gmail.com>
1192
1193 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
1194 syscall on x86-64.
1195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
1196 syscall.
1197 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
1199 syscall if possible.
1200
12012011-09-05 Ulrich Drepper <drepper@gmail.com>
1202
1203 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
1204 e_ident. Don't pass to find_mapsXX.
1205 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
1206
12072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1208
1209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1210 strchr-sse2-no-bsf strrchr-sse2-no-bsf
1211 * sysdeps/x86_64/multiarch/strchr.S: Update.
1212 Check bit_slow_BSF bit.
1213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1214 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
1215 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
1216
12172011-09-05 Ulrich Drepper <drepper@gmail.com>
1218
1219 [BZ #13134]
1220 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
1221 before glibc 2.15.
1222 (tryshell): Define.
1223 (__spawni): Change last parameter to be flag. Test
1224 SPAWN_XFLAGS_USE_PATH flag to use path or not.
1225 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
1226 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
1227 * posix/spawni.c: Likewise.
1228 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
1229 * posix/spawnp.c: Likewise. Change normal version to use
1230 SPAWN_XFLAGS_USE_PATH.
1231 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
1232 SPAWN_XFLAGS_TRY_SHELL.
1233
1234 [BZ #13150]
1235 * posix/glob.h: Remove gcc 1.x support.
1236
1237 [BZ #13068]
1238 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
1239
12402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1241
1242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1243 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
1244 strrchr-sse2-bsf
1245 * sysdeps/i386/i686/multiarch/strchr.S: New file.
1246 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
1247 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
1248 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
1249 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
1250 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
1251
12522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1253
1254 * sysdeps/x86_64/wcscmp.S: New file.
1255
1256 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
1257 wcscmp-c wcscmp-sse2
1258 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
1259 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
1260 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
1261 * wcsmbs/wcscmp.c: Allow renaming.
1262
12632011-09-05 David S. Miller <davem@davemloft.net>
1264
1265 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
1266 stack slot, rather than the struct return pointer slot.
1267 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
1268 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
1270 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
1271
12722011-09-05 Ulrich Drepper <drepper@gmail.com>
1273
1274 * po/ja.po: Update from translation team.
1275
1276 [BZ #13144]
1277 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
1278 kernel in 64-bit binaries.
1279
12802011-09-01 David S. Miller <davem@davemloft.net>
1281
1282 * elf/elf.h (HWCAP_SPARC_*): Move to..
1283 * sysdeps/sparc/sysdep.h: this new file and add new values.
1284 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
1285 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
1286 _DL_HWCAP_COUNT to 24.
1287 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1288 entries.
1289 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
1290 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
1291 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
1292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
1293 instead of magic constants.
1294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1295
12962011-08-31 David S. Miller <davem@davemloft.net>
1297
1298 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
1300 Reimplement to do errno handling inline.
1301 (SYSCALL_ERROR_HANDLER): New macro.
1302 (__SYSCALL_STRING): Do not do errno handling in asm.
1303 (__CLONE_SYSCALL_STRING): Delete.
1304 (__INTERNAL_SYSCALL_STRING): Delete.
1305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
1306 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
1307 (PSEUDO): Reimplement to do errno handling inline.
1308 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
1309 (SYSCALL_ERROR_HANDLER): New macro.
1310 (__SYSCALL_STRING): Do not do errno handling in asm.
1311 (__CLONE_SYSCALL_STRING): Delete.
1312 (__INTERNAL_SYSCALL_STRING): Delete.
1313 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
1314 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
1315 i386.
1316 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
1317 (inline_syscall*): Add 'err' argument.
1318 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
1319 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
1320 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
1321 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
1322
1323 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
1324 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1325
13262011-08-30 Andreas Schwab <schwab@redhat.com>
1327
1328 * elf/rtld.c (dl_main): Relocate objects in dependency order.
1329
13302011-08-29 Jiri Olsa <jolsa@redhat.com>
1331
1332 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
1333 directive.
1334
13352011-08-24 David S. Miller <davem@davemloft.net>
1336
1337 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
1338
13392011-08-24 Andreas Schwab <schwab@redhat.com>
1340
1341 * elf/Makefile: Add rules to build and run unload8 test.
1342 * elf/unload8.c: New file.
1343 * elf/unload8mod1.c: New file.
1344 * elf/unload8mod1x.c: New file.
1345 * elf/unload8mod2.c: New file.
1346 * elf/unload8mod3.c: New file.
1347
1348 * elf/dl-close.c (_dl_close_worker): Reset private search list if
1349 it wasn't used.
1350
13512011-08-23 David S. Miller <davem@davemloft.net>
1352
1353 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
1354 subtract stack bias.
1355 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
1356 %sp not %fp in calculations.
1357 (_JMPBUF_UNWINDS_ADJ): Likewise.
1358
1359 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
1360 (aio_suspend): Call it to force an exception region around the
1361 AIO_MISC_WAIT() invocation.
1362
13632011-08-23 Andreas Schwab <schwab@redhat.com>
1364
1365 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
1366 backslash.
1367
13682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
1369
1370 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
1371 protection macro.
1372 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
1373 and <dl-machine.h>.
1374 (Elf64_FuncDesc): Remove.
1375
13762011-08-22 David S. Miller <davem@davemloft.net>
1377
1378 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
1379 sigaltstack check, add missing cfi directives.
1380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
1381 missing cfi directives, and sigaltstack handling.
1382
13832011-08-16 Andreas Schwab <schwab@redhat.com>
1384
1385 [BZ #11724]
1386 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
1387 object is seen twice.
1388 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1389
1390 * elf/Makefile (distribute): Add tst-initorder2.c.
1391 (tests): Add tst-initorder2.
1392 (modules-names): Add tst-initorder2a tst-initorder2b
1393 tst-initorder2c tst-initorder2d. Add rules to build them.
1394 ($(objpfx)tst-initorder2.out): New rule.
1395 * elf/tst-initorder2.c: New file.
1396 * elf/tst-initorder2.exp: New file.
1397
13982011-08-22 Andreas Schwab <schwab@redhat.com>
1399
1400 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
1401
1402 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
1403 dependencies back to end of function.
1404
1405 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1406 $(elfobjdir)/ld.so.
1407
14082011-08-21 Ulrich Drepper <drepper@gmail.com>
1409
1410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
1411 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
1412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1413 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1414 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
1415 of __vdso_gettimeofday.
1416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
1417 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
1418 attribute_hidden.
1419 (_libc_vdso_platform_setup): Remove initialization of
1420 __vdso_gettimeofday and __vdso_time.
1421
14222011-08-20 Ulrich Drepper <drepper@gmail.com>
1423
1424 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
1425 and fgetc_unlocked.
1426 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
1427 getc_unlocked.
1428
1429 * elf/dl-open.c (add_to_global): Report additions to the global scope
1430 for LD_DEBUG=scopes.
1431 (dl_open_worker): Also print scope of newly loaded dependencies.
1432 (_dl_show_scope): Indicate if there is no scope.
1433
1434 [BZ #13114]
1435 * stdio-common/Makefile (tests): Add bug24.
1436 * stdio-common/bug24.c: New file.
1437
14382011-08-19 Andreas Jaeger <aj@suse.de>
1439
1440 [BZ #13114]
1441 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
1442 non-existant file when using close-on-exec mode.
1443
14442011-08-20 Ulrich Drepper <drepper@gmail.com>
1445
1446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
1447 the very first instruction.
1448
1449 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
1450 the CFI state in the end.
1451 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
1452 inclusion of dl-trampoline.h.
1453 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
1454
14552011-08-19 Andreas Schwab <schwab@redhat.com>
1456
1457 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
1458 expectations for long double.
1459
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
1461 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
1462
14632011-08-14 David S. Miller <davem@davemloft.net>
1464
1465 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
1466 artificual limit depends upon the system page size.
1467
14682011-08-17 Ulrich Drepper <drepper@gmail.com>
1469
1470 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
1471 * resolv/Makefile: Define CFLAGS-libresolv.
1472
14732011-08-17 Andreas Schwab <schwab@redhat.com>
1474
1475 * nss/makedb.c (compute_tables): Make variables used in nested
1476 function static.
1477
14782011-08-17 Ulrich Drepper <drepper@gmail.com>
1479
1480 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
1481 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
1482 if buffer was too small.
1483
1484 * elf/pldd.c (main): Attach to all threads in the process.
1485 Rewrite /proc handling to use *at functions.
1486
14872011-08-16 Ulrich Drepper <drepper@gmail.com>
1488
1489 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
1490 specifies first scope to show.
1491 (dl_open_worker): Update callers. Move printing scope of new
1492 object to before the relocation.
1493 * elf/rtld.c (dl_main): Update _dl_show_scope call.
1494 * sysdeps/generic/ldsodefs.h: Update declaration.
1495
1496 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
1497 string for the scope number.
1498
14992011-08-14 Ulrich Drepper <drepper@gmail.com>
1500
1501 * nscd/servicescache.c (cache_addserv): Make sure written is always
1502 initialized.
1503
15042011-08-14 Roland McGrath <roland@hack.frob.com>
1505
1506 * sysdeps/i386/i486/bits/atomic.h
1507 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
1508 statement expression, so as to suppress "set but not used" warning.
1509 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
1510
1511 * string/strncat.c (STRNCAT): Use prototype definition.
1512
1513 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
1514 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
1515 -Iprograms here.
1516 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
1517 (localedef-modules): Add localedef.
1518 (locale-modules): Add locale.
1519
1520 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
1521 * elf/rtld.c (dl_main): Invert order of assignment in last change,
1522 to avoid a warning.
1523
15242011-08-14 David S. Miller <davem@davemloft.net>
1525
1526 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
1527 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
1528
15292011-08-13 Ulrich Drepper <drepper@gmail.com>
1530
1531 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
1532 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
1533 * elf/rtld.c (dl_main): Set l_name of vDSO.
1534 Call _dl_show_scope when DL_DEBUG_SCOPES.
1535 (process_dl_debug): Recognize scopes flag and also set it for all.
1536 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
1537 Declare _dl_show_scope.
1538
1539 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
1540 (do_dlopen): Pass caller_dlopen to dl_open.
1541 (__libc_dlopen_mode): Initialize caller_dlopen.
1542
1543 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
1544 of libc. Make tolower call locale-independent. Optimize a bit by
1545 using isdigit instead of isalnum.
1546 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
1547
15482011-08-12 Ulrich Drepper <drepper@gmail.com>
1549
1550 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
1551 was a dependency or dynamically loaded.
1552
15532011-08-11 Ulrich Drepper <drepper@gmail.com>
1554
1555 * intl/l10nflist.c: Allow architecture-specific pop function.
1556 * sysdeps/x86_64/l10nflist.c: New file.
1557
1558 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
1559 classification.
1560
15612011-08-10 Andreas Schwab <schwab@redhat.com>
1562
1563 * include/dirent.h: Add libc_hidden_proto for scandirat and
1564 scandirat64. Don't declare __scandirat64.
1565 * dirent/scandirat.c: Add libc_hidden_def.
1566 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
1567 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
1568
15692011-08-10 David S. Miller <davem@davemloft.net>
1570
1571 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
1572 enum.
1573 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1576
15772011-08-09 Ulrich Drepper <drepper@gmail.com>
1578
1579 * Versions.def [libc]: Add GLIBC_2.15.
1580 * dirent/Makefile (routines): Add scandirat and scandirat64.
1581 * dirent/Versions [libc]: Export scandirat and scandirat64 for
1582 GLIBC_2.15.
1583 * dirent/dirent.h: Declare scandirat and scandirat64.
1584 * dirent/scandirat.c: New file.
1585 * dirent/scandirat64.c: New file.
1586 * sysdeps/wordsize-64/scandirat.c: New file.
1587 * sysdeps/wordsize-64/scandirat64.c: New file.
1588 * dirent/opendir.c: Define opendirat.
1589 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
1590 using scandirat.
1591 * dirent/scandir64.c: Adjust for scandir.c change.
1592 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
1593 __scandirat64, and __scandir_cancel_handler.
1594 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
1595 additional parameter and use openat instead of open (outside of ld.so).
1596 Add new __opendir as wrapper around __opendirat.
1597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
1598 here without requiring old scandirat implementation.
1599
16002011-08-08 Ulrich Drepper <drepper@gmail.com>
1601
1602 * dirent/scandir.c (cancel_handler): Renamed to
1603 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
1604 defined. Adjust users.
1605 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
1606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
1607
16082011-08-04 Ulrich Drepper <drepper@gmail.com>
1609
1610 * string/test-string.h (IMPL): Use __STRING to expand name and then
1611 stringify it.
1612
1613 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
1614 of cleanups.
1615
16162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1617
1618 * string/Makefile: Update.
1619 (strop-tests): Append strncat.
1620 * string/test-wcscmp.c: New file.
1621 New comprehensive test for wcscmp.
1622 * string/test-strcmp.c: Update.
1623 (WIDE): New define.
1624
16252011-07-22 Andreas Schwab <schwab@redhat.com>
1626
1627 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
1628 line.
1629
16302011-07-26 Andreas Schwab <schwab@redhat.com>
1631
1632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1633 encoding to ACE if AI_IDN.
1634
16352011-08-01 Jakub Jelinek <jakub@redhat.com>
1636
1637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
1638 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
1639
16402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1641
1642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
1643 Fix overflow bug in strncat.
1644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1645
1646 * string/test-strncat.c: Update.
1647 Add new tests for checking overflow bugs.
1648
16492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1650
1651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1652 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
1653 * sysdeps/i386/i686/multiarch/strcat.S: New file.
1654 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
1655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
1656 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
1657 * sysdeps/i386/i686/multiarch/strncat.S: New file.
1658 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
1659 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
1660
1661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
1662 (USE_AS_STRCAT): Define.
1663 Add strcat and strncat support.
1664 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1665
16662011-07-25 Andreas Schwab <schwab@redhat.com>
1667
1668 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
1669 __n bigger than INT_MAX+1.
1670 (__strncmp_g): Likewise.
1671
16722011-07-23 Ulrich Drepper <drepper@gmail.com>
1673
1674 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
1675 * libio/stido.h: Likewise.
1676
1677 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
1678 (AF_NFC): Define.
1679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
1680 (AF_NFC): Define.
1681
1682 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
1683 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1687
1688 [BZ #13021]
1689 * scripts/test-installation.pl: Don't expect libnss_test1 to be
1690 installed.
1691
1692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
1693 typo.
1694 (_dl_x86_64_save_sse): Likewise.
1695
16962011-07-22 Ulrich Drepper <drepper@gmail.com>
1697
1698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
1699 OSXSAVE.
1700 (_dl_x86_64_save_sse): Likewise.
1701
1702 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
1703
1704 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
1705
17062011-07-21 Andreas Schwab <schwab@redhat.com>
1707
1708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
1709 change.
1710 (_dl_x86_64_save_sse): Use correct AVX check.
1711
17122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1713
1714 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
1715 bug in strncpy/strncat.
1716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1717
17182011-07-21 Ulrich Drepper <drepper@gmail.com>
1719
1720 * string/tester.c (test_strcat): Add tests for different alignments
1721 of source and destination.
1722 (test_strncat): Likewise.
1723
17242011-07-20 Ulrich Drepper <drepper@gmail.com>
1725
1726 [BZ #12852]
1727 * posix/glob.c (glob): Check passed in values before using them in
1728 expressions to avoid some overflows.
1729 (glob_in_dir): Likewise.
1730
1731 [BZ #13007]
1732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
1733 check for AVX enablement so that we don't crash with old kernels and
1734 new hardware.
1735 * elf/tst-audit4.c: Add same checks here.
1736 * elf/tst-audit6.c: Likewise.
1737
1738 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
1739
17402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
1741
1742 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
1743
17442011-07-20 Ulrich Drepper <drepper@gmail.com>
1745
1746 * po/cs.po: Update from translation team.
1747 * po/bg.po: Likewise.
1748
17492011-07-12 Marek Polacek <mpolacek@redhat.com>
1750
1751 * misc/sys/cdefs.h: Add support for const attribute.
1752 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
1753 to gnu_dev_{major,minor,makedev} functions.
1754
17552011-07-20 Marek Polacek <mpolacek@redhat.com>
1756
1757 * intl/dcigettext.c (get_output_charset): Add missing bracket.
1758
17592011-07-20 Andreas Schwab <schwab@redhat.com>
1760
1761 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
1762 strlen results.
1763
17642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1765
1766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1767 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
1768 register in order to avoid conflicts with the soft frame pointer
1769 being held in r11 when necessary.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1771 (INTERNAL_VSYSCALL_NCS): Likewise.
1772
17732011-07-14 Marek Polacek <mpolacek@redhat.com>
1774
1775 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
1776 * elf/dl-fini.c (_dl_fini): Adjust caller.
1777 * elf/dl-close.c (_dl_close_worker): Likewise.
1778 * sysdeps/generic/ldsodefs.h: Adjust declaration.
1779
17802011-07-15 Marek Polacek <mpolacek@redhat.com>
1781
1782 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
1783 "aux_cache->nlibs < 0".
1784
1785 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
1786 in the reload-count case.
1787
17882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1789
1790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1791 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
1792 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
1793 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
1794 * sysdeps/x86_64/multiarch/strcat.S: New file.
1795 * sysdeps/x86_64/multiarch/strncat.S: New file.
1796 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
1797 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
1798 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
1799 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
1800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
1801 (USE_AS_STRCAT): Define.
1802 Add strcat and strncat support.
1803 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1805 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
1806 * string/strncat.c: Update.
1807 (USE_AS_STRNCAT): Define.
1808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1809 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
1810 and i7.
1811 * sysdeps/x86_64/multiarch/init-arch.h
1812 (bit_Prefer_PMINUB_for_stringop): New.
1813 (index_Prefer_PMINUB_for_stringop): Likewise.
1814 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
1815 bit_Prefer_PMINUB_for_stringop.
1816
18172011-07-19 Ulrich Drepper <drepper@gmail.com>
1818
1819 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
1820 buffer64.
1821 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
1822 of casting of buffer.
1823 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
1824 buffer32 and buffer64.
1825 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
1826 writes instead of casting of buffer.
1827 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
1828 buffer32.
1829 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
1830 casting of buffer.
1831
18322011-07-19 Andreas Schwab <schwab@redhat.com>
1833
1834 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
1835
18362011-07-19 Ulrich Drepper <drepper@gmail.com>
1837
1838 * nscd/nscd.c (termination_handler): Don't do anything for a database
1839 if it has not yet been initialized.
1840
18412011-07-18 Ulrich Drepper <drepper@gmail.com>
1842
1843 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1844
18452011-07-15 Marek Polacek <mpolacek@redhat.com>
1846
1847 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1848
18492011-07-18 Ulrich Drepper <drepper@gmail.com>
1850
1851 * po/nl.po: Update from translation team.
1852 * po/sv.po: Likewise.
1853
18542011-07-16 Roland McGrath <roland@hack.frob.com>
1855
1856 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
1857 now disallowed by GCC.
1858
1859 * configure.in (use-default-link): Default to yes if a test -shared
1860 link meets our qualifications.
1861 * configure: Regenerated.
1862
1863 * config.make.in (output-format): New variable.
1864 * configure.in: Check for ld --print-output-format support.
1865 * configure: Regenerated.
1866 * Makerules ($(common-objpfx)format.lds)
1867 [$(output-format) != unknown]: Just use $(output-format),
1868 instead of the linker-script munging.
1869
18702011-07-14 Roland McGrath <roland@hack.frob.com>
1871
1872 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
1873 of $(common-objpfx)shlib.lds.
1874 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
1875
1876 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
1877 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
1878
1879 * configure.in (-z relro check): Adjust test code to add a large
1880 writable data section after it.
1881 * configure: Regenerated.
1882
18832011-07-11 Roland McGrath <roland@hack.frob.com>
1884
1885 * configure.in (-z relro check): Fix test code to make the variable
1886 truly const.
1887 * configure: Regenerated.
1888
18892011-07-11 Ulrich Drepper <drepper@gmail.com>
1890
1891 * nscd/nscd.h (struct traced_file): Define.
1892 (struct database_dyn): Remove inotify_descr, reset_res, and filename
1893 elements. Add traced_files.
1894 (inotify_fd): Declare.
1895 (register_traced_file): Declare.
1896 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
1897 (inotify_fd): Export.
1898 (resolv_conf_descr): Remove.
1899 (nscd_init): Move inotify descriptor creation to main.
1900 Don't register files for notification here.
1901 (register_traced_file): New function.
1902 (invalidate_cache): Don't use reset_res to determine whether to call
1903 res_init, go through the list of registered files.
1904 (main_loop_poll): The inotify descriptors are now stored in the
1905 structures for the traced files.
1906 (main_loop_epoll): Likewise
1907 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
1908 to __nss_disable_nscd.
1909 * nscd/cache.c (prune_cache): There is no single inotify descriptor
1910 for a database anymore. Check the records for all the registered
1911 files instead.
1912 * nss/Makefile (libnss_files-routines): Add files-init.
1913 (libnss_db-routines): Add db-init.
1914 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
1915 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
1916 * nss/nss_db/db-init.c: New file.
1917 * nss/nss_files/files-init.c: New file.
1918 * nss/nsswitch.c (nss_load_library): New function. Broken out of
1919 __nss_lookup_function.
1920 (__nss_lookup_function): Call nss_load_library.
1921 (nss_load_all_libraries): New function.
1922 (__nss_disable_nscd): Take parameter with callback function for files
1923 to register. Set is_nscd. Load all the DSOs for the NSS modules
1924 used for the cached services.
1925 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
1926 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
1927 options for features to all the files in nscd.
1928
1929 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
1930
19312011-07-10 Roland McGrath <roland@hack.frob.com>
1932
1933 * csu/elf-init.c (__libc_csu_init): Comment typo.
1934
19352011-07-09 Ulrich Drepper <drepper@gmail.com>
1936
1937 * po/pl.po: Update from translation team.
1938 * po/ja.po: Likewise.
1939 * po/ru.po: Likewise.
1940 * po/ko.po: Likewise.
1941 * po/fr.po: Likewise.
1942
19432011-07-09 Roland McGrath <roland@hack.frob.com>
1944
1945 * configure.in (.ctors/.dtors header and trailer check):
1946 Use an empirical test on a built program.
1947 * configure: Regenerated.
1948
1949 * configure.in (-z relro check): Use an empirical test on a built DSO.
1950 Detect, but do not require, on ia64.
1951 * configure: Regenerated.
1952
1953 * configure.in (READELF): Find it with AC_CHECK_TOOL.
1954 Update tests that use readelf to use $READELF instead.
1955 * configure: Regenerated.
1956
19572011-07-08 Ulrich Drepper <drepper@gmail.com>
1958
1959 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
1960 if the result is not used.
1961
19622011-07-05 Andreas Jaeger <aj@suse.de>
1963
1964 [BZ#9696]
1965 * stdlib/tst-strtod.c: Add testcase.
1966
19672011-07-07 Ulrich Drepper <drepper@gmail.com>
1968
1969 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
1970 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
1971 The latter has a higher limit. Take additional parameter to pass to
1972 the new function.
1973 (__pathconf): Pass file to __statfs_link_max.
1974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
1975 __statfs_link_max.
1976 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
1977 __statfs_link_max.
1978
1979 [BZ #12868]
1980 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
1981 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1982 Handle Lustre.
1983 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
1984 (__statfs_filesize_max): Likewise.
1985 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
1986
19872011-07-05 Andreas Jaeger <aj@suse.de>
1988
1989 * resolv/res_comp.c (dn_skipname): Remove unused variable.
1990
19912011-07-06 Marek Polacek <mpolacek@redhat.com>
1992
1993 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
1994 `status' variable.
1995 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
1996 Likewise.
1997
19982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * Makefile (strop-tests): Add strncat.
2001 * string/test-strncat.c: New file.
2002
20032011-06-30 Marek Polacek <mpolacek@redhat.com>
2004
2005 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
2006
20072011-06-21 Andreas Jaeger <aj@suse.de>
2008
2009 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
2010 Copy rule from iconvdata/Makefile.
2011
20122011-07-06 Ulrich Drepper <drepper@gmail.com>
2013
2014 [BZ #12922]
2015 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
2016 but no long options are defined, just return 'W'.
2017
20182011-06-22 Marek Polacek <mpolacek@redhat.com>
2019
2020 [BZ #9696]
2021 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
2022
20232011-07-06 Ulrich Drepper <drepper@gmail.com>
2024
2025 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
2026 netgroups to read.
2027 (innetgr): Likewise.
2028
20292011-07-05 Roland McGrath <roland@hack.frob.com>
2030
2031 * config.make.in (install_root): Default to $(DESTDIR).
2032
20332011-07-05 Ulrich Drepper <drepper@gmail.com>
2034
2035 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2036
20372011-07-02 Roland McGrath <roland@hack.frob.com>
2038
2039 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
2040
2041 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
2042 containing directory rather than embedding absolute directory names.
2043
2044 * scripts/check-local-headers.sh: Rewritten using awk.
2045 Match by word, not by line. Print error messages for matches.
2046 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
2047
2048 * Makerules [shlib-lds-flags empty]:
2049 ($(common-objpfx)libc_pic.opts): New target.
2050 ($(common-objpfx)libc_pic.os.clean): New target.
2051 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
2052
2053 * config.make.in (OBJCOPY): New variable.
2054 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
2055 * configure: Regenerated.
2056
2057 * config.make.in (use-default-link): New variable.
2058 * configure.in (use_default_link): Grok --with-default-link to set it.
2059 * configure: Regenerated.
2060 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
2061 (shlib-lds, shlib-lds-flags): Define to empty.
2062
2063 * Makerules (shlib-lds): New variable.
2064 (shlib-lds-flags): New variable.
2065 (build-shlib, build-moduile, build-module-asneeded): Use it.
2066 ($(common-objpfx)libc.so): Use $(shlib-lds).
2067 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
2068 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
2069
2070 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
2071 DT_FLAGS/DT_FLAGS_1 with zero flags.
2072
2073 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
2074 linker script munging.
2075
20762011-07-02 Ulrich Drepper <drepper@gmail.com>
2077
2078 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
2079 as 128-bit value.
2080 * crypt/sha512.c (sha512_process_block): Perform total addition using
2081 128-bit if possible.
2082 (__sha512_finish_ctx): Likewise.
2083 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
2084 as 64-bit value.
2085 * crypt/sha256.c (SWAP64): Define.
2086 (sha256_process_block): Perform total addition using 64-bit if
2087 possible.
2088 (__sha256_finish_ctx): Likewise.
2089
20902011-07-01 Ulrich Drepper <drepper@gmail.com>
2091
2092 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
2093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2094 * nscd/hstcache.c (cache_addhst): Likewise.
2095 * nscd/grpcache.c (cache_addgr): Likewise.
2096 * nscd/aicache.c (addhstaiX): Likewise
2097 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
2098
20992011-07-01 Thorsten Kukuk <kukuk@suse.de>
2100
2101 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
2102 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2103 * nscd/hstcache.c (cache_addhst): Likewise.
2104 * nscd/grpcache.c (cache_addgr): Likewise.
2105 * nscd/aicache.c (addhstaiX): Likewise
2106
21072011-07-01 Andreas Schwab <schwab@redhat.com>
2108
2109 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
2110 domain only when needed.
2111
21122011-06-30 Andreas Schwab <schwab@redhat.com>
2113
2114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
2115 is always restored.
2116
21172011-06-29 Ulrich Drepper <drepper@gmail.com>
2118
2119 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
2120 are re-adding the entry.
2121 * nscd/servicescache.c (cache_addserv): Likewise.
2122
21232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
2124
2125 * sysdeps/generic/dl-irel.h: fix protection against multiple
2126 inclusions.
2127 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
2128
21292011-06-28 Ulrich Drepper <drepper@gmail.com>
2130
2131 [BZ #12935]
2132 * malloc/memusage.sh: Fix quoting in message.
2133 * debug/xtrace.sh: Likewise.
2134
2135 * configure.in: Remove support for --experimental-malloc option, make
2136 it the default.
2137 * config.make.in: Likewise.
2138 * malloc/Makefile: Likewise.
2139
21402011-06-27 Andreas Schwab <schwab@redhat.com>
2141
2142 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
2143 two-byte characters.
2144
21452011-06-27 Roland McGrath <roland@hack.frob.com>
2146
2147 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
2148 AC_CACHE_CHECK invocation.
2149 * configure: Regenerated.
2150
2151 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
2152
21532011-06-27 Ulrich Drepper <drepper@gmail.com>
2154
2155 [BZ #12350]
2156 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
2157 bit from old_res_options.
2158
2159 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
2160
2161 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
2162 value type for setfct.
2163
21642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2167 __gettimeofday instead of gettimeofday.
2168
21692011-06-26 Ulrich Drepper <drepper@gmail.com>
2170
2171 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
2172
21732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
2176
2177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
2178 info.
2179
21802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2183 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2184 strcpy-sse2-unaligned strncpy-sse2-unaligned
2185 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
2186 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
2187 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
2188 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
2189 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
2190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
2191 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
2192 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
2193 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
2194 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
2195 (STRCPY): Support SSE2 and SSSE3 versions.
2196
21972011-06-24 Ulrich Drepper <drepper@gmail.com>
2198
2199 [BZ #12874]
2200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
2201 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
2202 kernels which artificially limit size of requests.
2203
22042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2207 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2208 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
2209 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
2210 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
2211 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
2212 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
2213 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
2214 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
2215 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
2216 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
2217 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
2218 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
2219 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
2220 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
2221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2222 Enable unaligned load optimization for Intel Core i3, i5 and i7
2223 processors.
2224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
2225 Define.
2226 (index_Fast_Unaligned_Load): Define.
2227 (HAS_FAST_UNALIGNED_LOAD): Define.
2228
22292011-06-23 Marek Polacek <mpolacek@redhat.com>
2230
2231 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
2232
22332011-06-22 Ulrich Drepper <drepper@gmail.com>
2234
2235 [BZ #12907]
2236 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
2237 until it is clear that the information is realy needed.
2238 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
2239
22402011-06-22 Andreas Schwab <schwab@redhat.com>
2241
2242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
2243
22442011-06-22 Ulrich Drepper <drepper@gmail.com>
2245
2246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2247 /sys/devices/system/cpu/online if it is usable.
2248
2249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
2250 reading the information from the /proc filesystem to once a second.
2251
22522011-06-21 Andreas Jaeger <aj@suse.de>
2253
2254 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
2255 NULL after inclusion of kernel headers.
2256
22572011-06-21 Ulrich Drepper <drepper@gmail.com>
2258
2259 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
2260 calls to internal_setent.
2261
2262 [BZ #12885]
2263 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
2264 addresses using gethostbyname4_r ignore IPv4 addresses.
2265
2266 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
2267 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
2268
2269 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
2270
22712011-06-20 David S. Miller <davem@davemloft.net>
2272
2273 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
2274 inclusions.
2275 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
2276
2277 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
2278 (elf_irel): Use it.
2279 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
2280 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
2281 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
2282 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
2283 * sysdeps/x86_64/dl-irel.h: Likewise.
2284
2285 * elf/dl-runtime.c: Use elf_ifunc_invoke.
2286 * elf/dl-sym.c: Likewise.
2287
22882011-06-15 Ulrich Drepper <drepper@gmail.com>
2289
2290 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
2291 need to dereference resplen2.
2292
22932011-06-14 Andreas Schwab <schwab@redhat.com>
2294
2295 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
2296
22972011-06-15 Ulrich Drepper <drepper@gmail.com>
2298
2299 * Makeconfig: Define vardbdir and inst_vardbdir.
2300 * nss/Makefile: Add rules to install db-Makefile.
2301
2302 * nss/nss_db/db-XXX.c: Cleanup.
2303
2304 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
2305 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
2306 GLIBC_PRIVATE.
2307 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
2308 * nss/makedb.c: Implement -g option to specify that value strings
2309 are generated and should not be added to table iterated over for
2310 get*ent calls.
2311 * nss/nss_db/db-initgroups.c: New file.
2312
2313 * nss/getent.c: Add support for initgroups lookups through getgrouplist
2314 interface.
2315
2316 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
2317 (internal_getgrouplist): Adjust to name change.
2318 Update use_initgroups_entry if this is not the first call.
2319 * nss/databases.def: Add initgroups entry.
2320
2321 * nss/makedb.c (compute_tables): Check result of multiple hash table
2322 sizes to minimize maximum chain length.
2323
23242011-06-14 Ulrich Drepper <drepper@gmail.com>
2325
2326 * Versions.def: Add entry for libnss_db.
2327 * shlib-versions: Likewise.
2328 * nss/Makefile: Add rules to build libnss_db.
2329 * nss/Versions: Add libnss_db information. Organize libnss_files
2330 entries better.
2331 * nss/db-Makefile: Add gshadow support. Change rules for the new
2332 makedb progra. Some minor improvements to generate smaller files.
2333 * nss/nss_db/nss_db.h: Move NSS database header data structures to
2334 here from...
2335 * nss/makedb.c: ...here.
2336 Improve database format to be smaller and require less memory at
2337 runtime.
2338 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
2339 db anymore.
2340 * nss/nss_db/db-netgrp.c: Likewise.
2341 * nss/nss_db/db-open.c: Likewise.
2342 * nss/nss_files/flies-XXX.x: Adjust comments.
2343 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
2344 * nss/nss_files/files-grp.c: Likewise.
2345 * nss/nss_files/files-hosts.c: Likewise.
2346 * nss/nss_files/files-network.c: Likewise.
2347 * nss/nss_files/files-proto.c: Likewise.
2348 * nss/nss_files/files-pwd.c: Likewise.
2349 * nss/nss_files/files-rpc.c: Likewise.
2350 * nss/nss_files/files-service.c: Likewise.
2351 * nss/nss_files/files-sgrp.c: Likewise.
2352 * nss/nss_files/files-spwd.c: Likewise.
2353 * nss/nss_db/db-alias.c: Removed.
2354 * nss/nss_db/dummy-db.h: Removed.
2355
23562011-06-02 Ulrich Drepper <drepper@gmail.com>
2357
2358 * nss/makedb.c: Rewritten to not use database library.
2359 * nss/Makefile: Update to build new makedb program.
2360
23612011-06-14 Andreas Jaeger <aj@suse.de>
2362
2363 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
2364 memset declaration.
2365
23662011-06-10 Andreas Schwab <schwab@redhat.com>
2367
2368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
2369 tmpbuf.
2370
23712011-06-10 Roland McGrath <roland@hack.frob.com>
2372
2373 * Makerules (shlib.lds): Fail if the linker script comes out empty.
2374 * elf/Makefile ($(objpfx)ld.so): Likewise.
2375
2376 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
2377 Don't list ld.so twice in dependencies.
2378
2379 * posix/bug-regex31.c: Include <stdlib.h>.
2380
2381 * nscd/hstcache.c (cache_addhst): Remove unused variable.
2382
2383 * nis/nss_compat/compat-spwd.c
2384 (getspent_next_nss_netgr): Remove unused variable.
2385 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2386
2387 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
2388 nonmembers" output to use the right array.
2389
2390 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
2391
2392 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
2393
2394 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
2395 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
2396 * catgets/gencat.c (read_input_file): Likewise.
2397 * locale/programs/locarchive.c (enlarge_archive): Likewise.
2398
2399 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
2400 variable definition inside #if's controlling its use.
2401
2402 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
2403
2404 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
2405
2406 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
2407
2408 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
2409 unreachable code.
2410
2411 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
2412
2413 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
2414 * configure: Regenerated.
2415
2416 * Makerules: Revert last change.
2417 * elf/Makefile: Likewise.
2418
24192011-06-09 Roland McGrath <roland@hack.frob.com>
2420
2421 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
2422 * elf/Makefile ($(objpfx)librtld.os): Likewise.
2423 (reloc-link): Likewise.
2424
24252011-06-09 Ulrich Drepper <drepper@gmail.com>
2426
2427 * elf/Makefile: Add rules to build pldd.
2428 * elf/pldd.c: New file.
2429 * elf/pldd-xx.c: New file.
2430
24312011-06-07 Ulrich Drepper <drepper@gmail.com>
2432
2433 * version.h: Update for 2.15 development version.
2434
24352011-06-07 David S. Miller <davem@davemloft.net>
2436
2437 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
2438 ifuncs.
2439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2440 elf_machine_lazy_rel): Likewise.
2441 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2443 elf_machine_lazy_rel): Likewise.
2444 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
2445 dl_hwcap via passed in argument.
2446 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
2447 Likewise.
2448
24492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2450
2451 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
2452
24532011-06-06 Roland McGrath <roland@hack.frob.com>
2454
2455 [BZ #12849]
2456 * manual/fdl-1.1.texi: New file, verbatim from:
2457 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
2458 * manual/lgpl-2.1.texi: New file, verbatim from:
2459 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
2460 * manual/Makefile (licenses): New variable, list those new file names.
2461 (texis): Use it.
2462 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
2463
2464 * manual/fdl.texi: File removed.
2465 * manual/lesser.texi: File removed.
2466 * manual/libc.texinfo (Copying, Documentation License):
2467 Use new @include file names, put @appendix directive before @include.
2468
24692011-06-04 Jakub Jelinek <jakub@redhat.com>
2470
2471 [BZ #12841]
2472 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
2473 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
2474 (mq_open): Add __NTH.
2475
24762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
2477
2478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2479 Assume Intel Core i3/i5/i7 processor if AVX is available.
2480
24812011-05-31 Ulrich Drepper <drepper@gmail.com>
2482
2483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2484 typo.
2485
24862011-05-31 Andreas Schwab <schwab@redhat.com>
2487
2488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
2489 memory. Use alloca_account. Fix memory leak when retrying.
2490
24912011-05-31 Ulrich Drepper <drepper@gmail.com>
2492
2493 * version.h (RELEASE): Bump for 2.14 release.
2494 * include/features.h (__GLIBC_MINOR__): Bump to 14.
2495
2496 * config.make.in (RANLIB): Remove entry.
2497
24982011-05-30 Ulrich Drepper <drepper@gmail.com>
2499
2500 * po/Makefile (po-sed-cmd): Add ksh to extensions.
2501 (libc.pot): Work around missing support for .ksh extension in xgettext.
2502
2503 [BZ #12684]
2504 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
2505 if both request failed.
2506 (send_dg): In case of server errors clear resplen or *resplen2.
2507
2508 [BZ #12454]
2509 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
2510 when there are multiple maps.
2511 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
2512 (_dl_fini): Remove test here.
2513
2514 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
2515
25162011-05-29 Ulrich Drepper <drepper@gmail.com>
2517
2518 [BZ #12350]
2519 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
2520 bit from old_res_options.
2521 (gaih_inet): Likewise.
2522
2523 [BZ #11099]
2524 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
2525 as signed.
2526
2527 * resolv/res_init.c (res_setoptions): Make the code more compact.
2528
2529 [BZ #11558]
2530 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
2531 set RES_USEVC.
2532
2533 [BZ #11634]
2534 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
2535
2536 * malloc/malloc.h: Mark malloc hook variables as deprecated.
2537
2538 [BZ #11781]
2539 * malloc/malloc.h: Declare malloc hook variables as volatile.
2540
2541 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
2542 in last patch.
2543
2544 [BZ #11799]
2545 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
2546 raise in the comment.
2547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2549 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2550
25512011-05-28 Ulrich Drepper <drepper@gmail.com>
2552
2553 [BZ #12811]
2554 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
2555 grow the buffers more if it already has to be sufficient.
2556 (build_wcs_upper_buffer): Likewise.
2557 * posix/regexec.c (check_matching): Likewise.
2558 (clean_state_log_if_needed): Likewise.
2559 (extend_buffers): Don't enlarge buffers beyond size of the input
2560 buffer.
2561 Patches mostly by Emil Wojak <emil@wojak.eu>.
2562 * posix/bug-regex32.c: New file.
2563 * posix/Makefile (tests): Add bug-regex32.
2564
2565 * locale/findlocale.c (_nl_find_locale): Return right away if
2566 _nl_explode_name failed.
2567 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2568
2569 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
2570
2571 * debug/xtrace.sh: Unify messages.
2572 * malloc/memusage.sh: Likewise.
2573
2574 [BZ #12813]
2575 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
2576 time symbol from vDSO. Substitute with vsyscall if not available.
2577 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
2578 __vdso_time.
2579
2580 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
2581 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
2582 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
2583 Add sendmmsg and internal_sendmmsg.
2584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
2585 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
2586 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
2587
2588 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
2589 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
2590 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
2591
25922011-05-27 Ulrich Drepper <drepper@gmail.com>
2593
2594 [BZ #12813]
2595 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
2596 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
2597 available.
2598 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
2599 __vdso_getcpu.
2600
2601 [BZ #12814]
2602 * iconvdata/Makefile (tests): Add bug-iconv9.
2603 * iconvdata/bug-iconv9.c: New file.
2604
26052011-05-27 Andreas Schwab <schwab@redhat.com>
2606
2607 [BZ #12814]
2608 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
2609
26102011-05-25 Jakub Jelinek <jakub@redhat.com>
2611
2612 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2613 (struct user_regs_struct): Change intcs field back to cs.
2614
26152011-05-25 Ulrich Drepper <drepper@gmail.com>
2616
2617 * po/ja.po: Update from translation team.
2618
26192011-05-23 Ulrich Drepper <drepper@gmail.com>
2620
2621 [BZ #12795]
2622 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
2623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2624
26252011-05-20 Andreas Schwab <schwab@redhat.com>
2626
2627 * stdlib/longlong.h: Update from GCC.
2628
26292011-05-23 Andreas Schwab <schwab@redhat.com>
2630
2631 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
2632 parameter name.
2633 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
2634 Add parameter name.
2635 (__sysconf): Pass it down.
2636
26372011-05-22 Ulrich Drepper <drepper@gmail.com>
2638
2639 [BZ #12671]
2640 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
2641 some situations.
2642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2643 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
2644 add in in __libc_use_alloca calls. Adjust callers.
2645 (glob): Use malloc in some situations.
2646
2647 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
2648 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
2649 pltexit.
2650
26512011-05-21 Ulrich Drepper <drepper@gmail.com>
2652
2653 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
2654 and CLOCK_BOOTTIME_ALARM.
2655
2656 [BZ #12782]
2657 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
2658 is returned.
2659
2660 * string/_strerror.c (__strerror_r): Print negative errors as signed
2661 numbers.
2662
2663 [BZ #12777]
2664 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
2665 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
2666 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
2667
2668 * configure.in: Fix typo in redirection and correct removal of test
2669 files in two cases.
2670
2671 [BZ #12788]
2672 * locale/setlocale.c (new_composite_name): Fix test to check for
2673 identical name of all categories.
2674
2675 [BZ #12792]
2676 * libio/filedoalloc.c (local_isatty): New function.
2677 (_IO_file_doallocate): Use local_isatty.
2678 * stdio-common/perror.c (perror): In case a new stream is used
2679 forward the stream error.
2680 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
2681 error flag.
2682
26832011-05-20 Ulrich Drepper <drepper@gmail.com>
2684
2685 [BZ #11869]
2686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
2687 alloca.
2688 * include/alloca.h (extend_alloca_account): Define.
2689
2690 [BZ #11857]
2691 * posix/regex.h: Fix comments with documentation of user-accessible
2692 fields after compilation and describe correct free'ing of pattern
2693 after re_compile_pattern.
2694 Patch by Reuben Thomas <rrt@sc3d.org>.
2695
26962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
2697
2698 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
2699 and -mno-altivec to prevent the compiler from using Altivec and/or
2700 VSX instructions when the corresponding registers are not available.
2701
27022011-05-19 Andreas Schwab <schwab@redhat.com>
2703
2704 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
2705
27062011-05-19 Ulrich Drepper <drepper@gmail.com>
2707
2708 * libio/freopen.c (freopen): Use __dup2, not dup2.
2709 * libio/freopen64.c (freopen64): Likewise.
2710
27112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 [BZ #12775]
2714 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
2715 * math/Makefile (tests): Add test-powl.
2716 (CFLAGS-test-powl.c): Define.
2717 * math/test-powl.c: New file.
2718
27192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
2720
2721 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
2722
27232011-05-17 Ulrich Drepper <drepper@gmail.com>
2724
2725 [BZ #11837]
2726 * iconvdata/gb18030.c: Update to GB18020-2005.
2727
27282011-05-16 Ulrich Drepper <drepper@gmail.com>
2729
2730 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
2731 RE_SYNTAX_POSIX_AWK): Update to match recent development.
2732 Patch by Aharon Robbins <arnold@skeeve.com>.
2733
2734 [BZ #11892]
2735 * stdlib/putenv.c (putenv): Don't always create copy of the variable
2736 on the stack.
2737
2738 [BZ #11895]
2739 * misc/pselect.c (__pselect): Handle timeout value errors hidden
2740 through underflows.
2741
2742 [BZ #12766]
2743 * misc/error.c (error_at_line): Ensure file_name and old_file_name
2744 point to strings before performing equality test for error_one_per_line
2745 mode.
2746
2747 [BZ #11697]
2748 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
2749
2750 [BZ #11820]
2751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2752 (struct user_fpregs_struct): Avoid __uint*_t types.
2753
2754 [BZ #6420]
2755 * malloc/mtrace.c (tr_where): Add additional parameter to point to
2756 symbol info. Use it instead of calling _dl_addr locally.
2757 (lock_and_info): New function.
2758 (tr_freehook): Call lock_and_info and pass symbol info as additional
2759 parameter to tr_where.
2760 (tr_mallochook): Likewise.
2761 (tr_reallochook): Likewise.
2762 (tr_memalignhook): Likewise.
2763
2764 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
2765 used and couldn't be at all thread-safe.
2766
27672011-05-15 Ulrich Drepper <drepper@gmail.com>
2768
2769 * libio/freopen.c (freopen): Don't close old file descriptor
2770 before the new one is opened. Instead dup the new file descriptor
2771 to the old one after the new stream is created.
2772 * libio/freopen64.c (freopen64): Likewise.
2773 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
2774 * libio/fileops.c (_IO_new_file_close_it): Handle new
2775 _IO_FLAGS2_NOCLOSE flag.
2776 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
2777 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
2778 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
2779 _IO_FLAGS2_NOCLOSE flag.
2780 * include/unistd.h: Add hidden_proto for dup3.
2781 Define __have_dup3.
2782 * io/dup3.c: Define hidden symbol.
2783 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
2784
2785 [BZ #7101]
2786 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
2787 when an incomplete long option is used.
2788 * posix/tst-getopt_long1.c: New file.
2789 * posix/Makefile (tests): Add tst-getopt_long1.
2790
2791 [BZ #10138]
2792 * scripts/config.guess: Update from autoconf-2.68.
2793 * scripts/config.sub: Likewise.
2794
2795 [BZ #10157]
2796 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
2797 tests into ...
2798 (has_cpuclock): ...this. New function.
2799 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
2800 macro here based on has_cpuclock code.
2801
2802 [BZ #10149]
2803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2804 First byte (not low byte) is now always NUL.
2805 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
2806
2807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2808 Use non-cancelable interfaces.
2809
2810 [BZ #9809]
2811 * locale/iso-639.def: Add entry for Sorani.
2812
2813 [BZ #11901]
2814 * include/stdlib.h: Move include protection to the right place.
2815 Define abort_msg_s. Declare __abort_msg with it.
2816 * stdlib/abort.c (__abort_msg): Adjust type.
2817 * assert/assert.c (__assert_fail_base): New function. Majority
2818 of code from __assert_fail. Allocate memory for __abort_msg with
2819 mmap.
2820 (__assert_fail): Now call __assert_fail_base.
2821 * assert/assert-perr.c: Remove bulk of implementation. Use
2822 __assert_fail_base.
2823 * include/assert.hL Declare __assert_fail_base.
2824 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
2825 mmap.
2826 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
2827
28282011-05-14 Ulrich Drepper <drepper@gmail.com>
2829
2830 [BZ #11952]
2831 [BZ #12453]
2832 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
2833 until all modules are registered in the DTV.
2834 * elf/Makefile: Add rules to build and run tst-tls19.
2835 * elf/tst-tls19.c: New file.
2836 * elf/tst-tls19mod1.c: New file.
2837 * elf/tst-tls19mod2.c: New file.
2838 * elf/tst-tls19mod3.c: New file.
2839 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
2840
2841 [BZ #12083]
2842 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
2843 correctly.
2844
2845 [BZ #12601]
2846 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
2847 two-byte sequence errors.
2848 * iconvdata/Makefile (tests): Add bug-iconv8.
2849 * iconvdata/bug-iconv8.c: New file.
2850
2851 [BZ #12626]
2852 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
2853 buf2 definition.
2854
2855 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
2856
2857 [BZ #12432]
2858 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
2859 (dummy_getcfa): New function.
2860 (init): Get _Unwind_GetCFA address, use dummy if not found.
2861 (backtrace_helper): In recursion check, also check whether CFA changes.
2862 (__backtrace): Completely initialize arg.
2863
2864 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
2865 storing incomplete byte sequence in state object. Avoid testing for
2866 guaranteed too small input if we know there is enough data available.
2867
28682011-05-11 Andreas Schwab <schwab@redhat.com>
2869
2870 * Makeconfig (+link-pie): Indent.
2871 * Rules (binaries-pie): Define if $(have-fpie) and
2872 $(build-shared).
2873 (binaries-shared): Also filter out $(binaries-pie).
2874 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
2875 * nscd/Makefile (others-pie): Add nscd.
2876 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
2877 ($(objpfx)nscd): Remove command override.
2878 * login/Makefile (others-pie): Add pt_chown.
2879 ($(objpfx)pt_chown): Remove command override.
2880 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
2881 remove command overrides.
2882
28832011-05-13 Ulrich Drepper <drepper@gmail.com>
2884
2885 * libio/tst_putwc.c: Fix error messages.
2886
2887 [BZ #12724]
2888 * libio/fileops.c (_IO_new_file_close_it): Always flush when
2889 currently writing and seek to current position when not.
2890 * libio/Makefile (tests): Add bug-fclose1.
2891 * libio/bug-fclose1.c: New file.
2892
28932011-05-12 Ulrich Drepper <drepper@gmail.com>
2894
2895 [BZ #12511]
2896 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
2897 don't set DF_1_NODELETE here.
2898 (do_lookup_x): When entering new entry test for copy relocation
2899 and if necessary set DF_1_NODELETE flag.
2900 * elf/tst-unique4.cc: New file.
2901 * elf/tst-unique4.h: New file.
2902 * elf/tst-unique4lib.cc: New file.
2903 * elf/Makefile: Add rules to build and run tst-unique4.
2904 Patch by Piotr Bury <pbury@goahead.com>.
2905
29062011-05-11 Ulrich Drepper <drepper@gmail.com>
2907
2908 [BZ #12052]
2909 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
2910
2911 [BZ #12625]
2912 * misc/mntent_r.c (addmntent): Flush the stream after the output
2913
2914 [BZ #12393]
2915 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
2916 (is_trusted_path_normalize): Skip initial colon. Append slash
2917 to empty buffer. Duplicate is_trusted_path code but allow
2918 constructed patch to be prefix.
2919 (is_dst): Allow $ORIGIN followed by /.
2920 (_dl_dst_substitute): Correct clearing of check_for_trusted.
2921 Correct testing of result of is_trusted_path_normalize
2922 (decompose_rpath): Fix warning.
2923
29242011-05-10 Ulrich Drepper <drepper@gmail.com>
2925
2926 [BZ #11257]
2927 * grp/initgroups.c (internal_getgrouplist): When we found the service
2928 list through the initgroups entry in nsswitch.conf do not always
2929 continue on a successful lookup. Don't always use the
2930 __nss_group_database value if it is set.
2931 * nss/nsswitch.conf (initgroups): Change action for successful db
2932 lookup to continue for compatibility.
2933
29342011-05-09 Ulrich Drepper <drepper@gmail.com>
2935
2936 [BZ #11532]
2937 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
2938 and CP774 modules.
2939 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
2940 and CP774 modules.
2941 * iconvdata/tst-tables.sh: Likewise.
2942 * iconvdata/cp770.c: New file.
2943 * iconvdata/cp771.c: New file.
2944 * iconvdata/cp772.c: New file.
2945 * iconvdata/cp773.c: New file.
2946 * iconvdata/cp774.c: New file.
2947 * iconvdata/testdata/CP770: New file.
2948 * iconvdata/testdata/CP770..UTF8: New file.
2949 * iconvdata/testdata/CP771: New file.
2950 * iconvdata/testdata/CP771..UTF8: New file.
2951 * iconvdata/testdata/CP772: New file.
2952 * iconvdata/testdata/CP772..UTF8: New file.
2953 * iconvdata/testdata/CP773: New file.
2954 * iconvdata/testdata/CP773..UTF8: New file.
2955 * iconvdata/testdata/CP774: New file.
2956 * iconvdata/testdata/CP774..UTF8: New file.
2957
2958 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
2959 END CHARMAP line.
2960 * iconvdata/gen-8bit-gap.sh: Likewise.
2961 * iconvdata/gen-8bit.sh: Likewise.
2962
2963 * locale/iso-639.def: Add ary entry.
2964
2965 [BZ #11258]
2966 * locale/C-translit.h.in: Add U20A1 transliteration.
2967
2968 [BZ #12178]
2969 * locale/iso-639.def: Add wae entry.
2970 Patch by Kevin Bortis <bortis@translate-wae.ch>.
2971
2972 [BZ #12545]
2973 * locale/programs/localedef.c (construct_output_path): Use ssize_t
2974 for n.
2975
2976 [BZ #12711]
2977 * locale/C-translit.h.in: Add entry for U20B9.
2978 Patch by pravin.d.s@gmail.com.
2979
29802011-05-08 Ulrich Drepper <drepper@gmail.com>
2981
2982 [BZ #12713]
2983 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
2984 ENAMETOOLONG use generic getcwd.
2985 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
2986 in rtld. Use *stat64.
2987 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
2988 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
2989 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
2990 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
2991 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
2992 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
2993 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
2994 __fstatat64 macros.
2995 * include/dirent.h: Add libc_hidden_proto for rewinddir.
2996 * dirent/rewinddir.c: Add libc_hidden_def.
2997 * sysdeps/mach/hurd/rewinddir.c: Likewise.
2998 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
2999
3000 * include/dirent.h (__alloc_dir): Add flags parameter.
3001 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
3002 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
3003 __alloc_dir.
3004 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
3005 from fdopendir if O_CLOEXEC is already set.
3006
30072011-03-15 Alan Modra <amodra@gmail.com>
3008
3009 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
3010 l_tls_firstbyte_offset non-zero. Save padding offset in
3011 l_tls_firstbyte_offset for later use.
3012 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
3013 freeing static tls block.
3014
30152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
3016
3017 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
3018 where #ifdef was intended. The intent is to prevent ARG_MAX from
3019 being defined by the kernel headers.
3020
30212011-05-07 Ulrich Drepper <drepper@gmail.com>
3022
3023 [BZ #12734]
3024 * resolv/resolv.h: Define RES_NOTLDQUERY.
3025 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
3026 no-tld-query and set RES_NOTLDQUERY.
3027 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
3028 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
3029 modern BIND to search name as TLD unless forbidden.
3030
30312011-05-07 Petr Baudis <pasky@suse.cz>
3032 Ulrich Drepper <drepper@gmail.com>
3033
3034 [BZ #12393]
3035 * elf/dl-load.c (fillin_rpath): Move trusted path check...
3036 (is_trusted_path): ...to here.
3037 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
3038 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
3039 using is_trusted_path_normalize() in setuid scripts.
3040
30412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3042
3043 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
3044 __BEGIN/__END_DECLS.
3045
30462011-05-06 Ulrich Drepper <drepper@gmail.com>
3047
3048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
3049 NSS_STATUS_NOTFOUND if no record was found.
3050
30512011-05-05 Andreas Schwab <schwab@redhat.com>
3052
3053 * sunrpc/Makefile (headers): Add rpc/netdb.h.
3054 (headers-not-in-tirpc): Remove rpc/netdb.h
3055 * resolv/netdb.h: Revert last change.
3056
30572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3058
3059 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
3060 circular dependency between libgcc.a and libc.a.
3061
30622011-05-05 Andreas Schwab <schwab@redhat.com>
3063
3064 * resolv/netdb.h: Don't include <rpc/netdb.h>.
3065 * nis/Makefile: Don't install rpcsvc/*.
3066 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
3067 instead of <rpc/types.h>.
3068 (MAXHOSTNAMELEN): Define.
3069
30702011-05-03 Andreas Schwab <schwab@redhat.com>
3071
3072 * elf/ldconfig.c (add_dir): Don't crash on empty path.
3073
30742011-04-28 Maciej Babinski <mbabinski@google.com>
3075
3076 [BZ #12714]
3077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
3078 gethostbyname4_r when IPv6 results are possible.
3079
30802011-05-02 Ulrich Drepper <drepper@gmail.com>
3081
3082 [BZ #12723]
3083 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
3084 _PC_PIPE_BUF handling.
3085
30862011-04-30 Bruno Haible <bruno@clisp.org>
3087
3088 [BZ #12717]
3089 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
3090 * resolv/netdb.h (getnameinfo): Change type of flags parameter
3091 to 'int'.
3092 * inet/getnameinfo.c (getnameinfo): Likewise.
3093
30942011-04-29 Ulrich Drepper <drepper@gmail.com>
3095
3096 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
3097 to groups setting in database lookup.
3098 * nss/nsswitch.conf: Add initgroups entry.
3099
31002011-04-22 Ulrich Drepper <drepper@gmail.com>
3101
3102 [BZ #12685]
3103 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
3104 mode string.
3105 Patch by Eric Blake <eblake@redhat.com>.
3106
31072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * sunrpc/Makefile (need-export-routines): Add svc_run.
3110 (routines): Remove svc_run.
3111 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
3112 * sunrpc/clnt_perr.c (clnt_perrno): Export.
3113 * sunrpc/svc_run.c (svc_run): Likewise.
3114 * sunrpc/svc_udp.c (svcudp_create): Likewise.
3115
31162011-04-21 Ulrich Drepper <drepper@gmail.com>
3117
3118 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
3119 problem in reallocation in last patch.
3120
31212011-04-20 Ulrich Drepper <drepper@gmail.com>
3122
3123 * sunrpc/Makefile: Move inclusion of Rules.
3124
31252011-04-19 Ulrich Drepper <drepper@gmail.com>
3126
3127 * nss/nss_files/files-initgroups.c: New file.
3128 * nss/Makefile (libnss_files-routines): Add files-initgroups.
3129 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
3130 _nss_files_initgroups_dyn.
3131
31322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
3133
3134 * elf/elf.h (R_ARM_IRELATIVE): Define.
3135
31362011-04-19 Ulrich Drepper <drepper@gmail.com>
3137
3138 * po/ru.po: Update from translation team.
3139
31402011-04-17 Ulrich Drepper <drepper@gmail.com>
3141
3142 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
3143 dependencies.
3144
31452011-02-06 Mike Frysinger <vapier@gentoo.org>
3146
3147 [BZ #12653]
3148 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
3149 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
3150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3153
31542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
3155
3156 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
3157 differing bytes.
3158 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3161
31622011-04-17 Ulrich Drepper <drepper@gmail.com>
3163
3164 [BZ #12420]
3165 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
3166 storing it.
3167 * stdlib/bug-getcontext.c: New file.
3168 * stdlib/Makefile: Add rules to build and run bug-getcontext.
3169
31702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3171
3172 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
3173 instructions into .machine "z9-109".
3174 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3175 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3176
31772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3178
3179 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
3180 between environment variables and auxiliary vector.
3181
31822011-04-16 Ulrich Drepper <drepper@gmail.com>
3183
3184 * Makefile: Add rules to build linkobj/libc.so.
3185 * include/libc-symbols.h: Define libc_hidden_nolink.
3186 * include/rpc/auth.h: Mark functions which are to be hidden.
3187 * include/rpc/auth_des.h: Likewise.
3188 * include/rpc/auth_unix.h: Likewise.
3189 * include/rpc/clnt.h: Likewise.
3190 * include/rpc/des_crypt.h: Likewise.
3191 * include/rpc/key_prot.h: Likewise.
3192 * include/rpc/pmap_clnt.h: Likewise.
3193 * include/rpc/pmap_prot.h: Likewise.
3194 * include/rpc/pmap_rmt.h: Likewise.
3195 * include/rpc/rpc_msg.h: Likewise.
3196 * include/rpc/svc.h: Likewise.
3197 * include/rpc/svc_auth.h: Likewise.
3198 * include/rpc/xdr.h: Likewise.
3199 * nis/Makefile: Link all DSOs against linkobj/libc.so.
3200 * nss/Makefile: Likewise.
3201 * sunrpc/Makefile: Don't install headers. Build library with normal
3202 entry points. Don't build rpcinfo. Link RPC tests appropriately.
3203 * sunrpc/auth_des.c: Hide exported symbols by default, export some
3204 for the compat linking library. Remove use of INTDEF/INTUSE.
3205 * sunrpc/auth_none.c: Likewise.
3206 * sunrpc/auth_unix.c: Likewise.
3207 * sunrpc/authdes_prot.c: Likewise.
3208 * sunrpc/authuxprot.c: Likewise.
3209 * sunrpc/clnt_gen.c: Likewise.
3210 * sunrpc/clnt_perr.c: Likewise.
3211 * sunrpc/clnt_raw.c: Likewise.
3212 * sunrpc/clnt_simp.c: Likewise.
3213 * sunrpc/clnt_tcp.c: Likewise.
3214 * sunrpc/clnt_udp.c: Likewise.
3215 * sunrpc/clnt_unix.c: Likewise.
3216 * sunrpc/des_crypt.c: Likewise.
3217 * sunrpc/des_soft.c: Likewise.
3218 * sunrpc/get_myaddr.c: Likewise.
3219 * sunrpc/key_call.c: Likewise.
3220 * sunrpc/key_prot.c: Likewise.
3221 * sunrpc/netname.c: Likewise.
3222 * sunrpc/pm_getmaps.c: Likewise.
3223 * sunrpc/pm_getport.c: Likewise.
3224 * sunrpc/pmap_clnt.c: Likewise.
3225 * sunrpc/pmap_prot.c: Likewise.
3226 * sunrpc/pmap_prot2.c: Likewise.
3227 * sunrpc/pmap_rmt.c: Likewise.
3228 * sunrpc/publickey.c: Likewise.
3229 * sunrpc/rpc_cmsg.c: Likewise.
3230 * sunrpc/rpc_common.c: Likewise.
3231 * sunrpc/rpc_dtable.c: Likewise.
3232 * sunrpc/rpc_prot.c: Likewise.
3233 * sunrpc/rpc_thread.c: Likewise.
3234 * sunrpc/rtime.c: Likewise.
3235 * sunrpc/svc.c: Likewise.
3236 * sunrpc/svc_auth.c: Likewise.
3237 * sunrpc/svc_authux.c: Likewise.
3238 * sunrpc/svc_raw.c: Likewise.
3239 * sunrpc/svc_run.c: Likewise.
3240 * sunrpc/svc_simple.c: Likewise.
3241 * sunrpc/svc_tcp.c: Likewise.
3242 * sunrpc/svc_udp.c: Likewise.
3243 * sunrpc/svc_unix.c: Likewise.
3244 * sunrpc/svcauth_des.c: Likewise.
3245 * sunrpc/xcrypt.c: Likewise.
3246 * sunrpc/xdr.c: Likewise.
3247 * sunrpc/xdr_array.c: Likewise.
3248 * sunrpc/xdr_float.c: Likewise.
3249 * sunrpc/xdr_intXX_t.c: Likewise.
3250 * sunrpc/xdr_mem.c: Likewise.
3251 * sunrpc/xdr_rec.c: Likewise.
3252 * sunrpc/xdr_ref.c: Likewise.
3253 * sunrpc/xdr_sizeof.c: Likewise.
3254 * sunrpc/xdr_stdio.c: Likewise.
3255
32562011-04-10 Ulrich Drepper <drepper@gmail.com>
3257
3258 [BZ #12650]
3259 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
3260 * sysdeps/ia64/dl-tls.h: Likewise.
3261 * sysdeps/powerpc/dl-tls.h: Likewise.
3262 * sysdeps/s390/dl-tls.h: Likewise.
3263 * sysdeps/sh/dl-tls.h: Likewise.
3264 * sysdeps/sparc/dl-tls.h: Likewise.
3265 * sysdeps/x86_64/dl-tls.h: Likewise.
3266 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
3267
32682011-03-14 Andreas Schwab <schwab@redhat.com>
3269
3270 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
3271 rpath element also skip the following colon.
3272 (expand_dynamic_string_token): Add is_path parameter and pass
3273 down to DL_DST_REQUIRED and _dl_dst_substitute.
3274 (decompose_rpath): Call expand_dynamic_string_token with
3275 non-zero is_path. Ignore empty rpaths.
3276 (_dl_map_object_from_fd): Call expand_dynamic_string_token
3277 with zero is_path.
3278
32792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
3280
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3282 Make cancelable.
3283
32842011-04-09 Ulrich Drepper <drepper@gmail.com>
3285
3286 [BZ #12655]
3287 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
3288 Patch by Filipe David Manana <fdmanana@apache.org>.
3289
32902011-04-07 Andreas Schwab <schwab@redhat.com>
3291
3292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
3293 Maintain aligned stack.
3294 (CHECK_RSP): Remove unused macro.
3295
32962011-04-03 Ulrich Drepper <drepper@gmail.com>
3297
3298 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
3299 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
3300
33012011-04-02 Ulrich Drepper <drepper@gmail.com>
3302
3303 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
3304
3305 * include/features.h: Mention __USE_XOPEN2K8 in comment.
3306
33072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 [BZ #12518]
3310 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
3311 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
3312 * sysdeps/x86_64/memmove.c: New file.
3313 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
3314 (memcpy): Renamed to ...
3315 (__new_memcpy): This.
3316 (memcpy): Provide GLIBC_2_14 memcpy.
3317 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
3318 (memcpy): Provide GLIBC_2_2_5 memcpy.
3319
33202011-04-01 Ulrich Drepper <drepper@gmail.com>
3321
3322 [BZ #12631]
3323 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
3324
33252011-03-30 Andreas Schwab <schwab@redhat.com>
3326
3327 * misc/syncfs.c: New file.
3328 * misc/Makefile (routines): Add syncfs.
3329 * posix/unistd.h: Declare syncfs.
3330 * sysdeps/unix/syscalls.list: Add syncfs.
3331
33322011-04-01 Andreas Schwab <schwab@redhat.com>
3333
3334 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
3335 open_by_handle_at.
3336 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3337 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3341 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3343
33442011-04-01 Ulrich Drepper <drepper@gmail.com>
3345
3346 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
3347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
3349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3353
3354 * io/Makefile: Compile fallocate.c, fallocate64.c, and
3355 sync_file_range.c with -fexceptions.
3356 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
3357 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
3358 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3359 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3360 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3361 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3363 sync_file_range as cancellation point
3364 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
3365 now a wrapper around __call_sync_file_range with cancellation handling.
3366 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
3367 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
3368 function name to __call_sync_file_range.
3369 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
3370 Add call_sync_file_range.
3371
33722011-04-01 Andreas Schwab <schwab@redhat.com>
3373
3374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3375 bits/timex.h.
3376
33772011-04-01 Ulrich Drepper <drepper@gmail.com>
3378
3379 * iconv/iconv.h: Fix typo in comment.
3380 * io/fcntl.h: Likewise.
3381 * libio/stdio.h: Likewise.
3382 * posix/spawn.h: Likewise.
3383 * posix/unistd.h: Likewise.
3384 * stdlib/stdlib.h: Likewise.
3385 * time/time.h: Likewise.
3386 * wcsmbs/wchar.h: Likewise.
3387
3388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
3389 open_by_handle): Add.
3390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
3391 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
3392 Augment a few comments.
3393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3398 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
3399 open_by_handle.
3400
3401 * io/fcntl.h (AT_EMPTY_PATH): Define.
3402
34032011-03-30 Ulrich Drepper <drepper@gmail.com>
3404
3405 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
3406 * sysdeps/unix/sysv/linux/bits/time.h: New file.
3407 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
3408 to...
3409 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
3410 * Versions.def: Add GLIBC_2.14.
3411 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
3412 Export.
3413
34142011-03-22 Ulrich Drepper <drepper@gmail.com>
3415
3416 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
3417 round counter.
3418 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3419
34202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 [BZ #12597]
3423 * string/test-strncmp.c (do_page_test): New function.
3424 (check2): Likewise.
3425 (test_main): Call check2.
3426 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
3427
34282011-03-20 Ulrich Drepper <drepper@gmail.com>
3429
3430 [BZ #12587]
3431 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
3432 Handle cache information in CPU leaf 4.
3433 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3434
34352011-03-18 Ulrich Drepper <drepper@gmail.com>
3436
3437 [BZ #12583]
3438 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
3439 character representation.
3440 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
3441
34422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
3443
3444 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
3445 END(__isnan) to END(__isnanf) to match function entry point/label
3446 EALIGN(__isnanf,...).
3447
34482011-03-10 Jakub Jelinek <jakub@redhat.com>
3449
3450 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
3451
34522011-03-10 Ulrich Drepper <drepper@gmail.com>
3453
3454 [BZ #12510]
3455 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
3456 copy from the symbol referenced in the relocation to initialize the
3457 used variable.
3458 Patch by Piotr Bury <pbury@goahead.com>.
3459 * elf/Makefile: Add rules to build and tst-unique3.
3460 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
3461 * elf/tst-unique3.cc: New file.
3462 * elf/tst-unique3.h: New file.
3463 * elf/tst-unique3lib.cc: New file.
3464 * elf/tst-unique3lib2.cc: New file.
3465
3466 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
3467
34682011-03-10 Mike Frysinger <vapier@gentoo.org>
3469
3470 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
3471 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
3472 to _start.
3473
34742011-03-06 Ulrich Drepper <drepper@gmail.com>
3475
3476 * elf/dl-load.c (_dl_map_object): If we are looking for the first
3477 to-be-loaded object along a path to loader is ld.so.
3478
34792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3480 Ulrich Drepper <drepper@gmail.com>
3481
3482 * sysdeps/x86_64/memset.S: After aligning destination, code
3483 branches to different locations depending on the value of
3484 misalignment, when multiarch is enabled. Fix this.
3485
34862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3487
3488 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
3489 Set _x86_64_preferred_memory_instruction for AMD processsors.
3490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3491 Set bit_Prefer_SSE_for_memop for AMD processors.
3492
34932011-03-04 Ulrich Drepper <drepper@gmail.com>
3494
3495 * libio/fmemopen.c (fmemopen): Optimize a bit.
3496
34972011-03-03 Andreas Schwab <schwab@redhat.com>
3498
3499 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
3500
35012011-03-03 Roland McGrath <roland@redhat.com>
3502
3503 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
3504
35052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
3506
3507 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
3508 __bzero_ultra1 instead of __memset_ultra1.
3509
35102011-02-23 Andreas Schwab <schwab@redhat.com>
3511 Ulrich Drepper <drepper@gmail.com>
3512
3513 [BZ #12509]
3514 * include/link.h (struct link_map): Add l_orig_initfini.
3515 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
3516 returning unsuccessfully.
3517 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
3518 close of a file loaded at startup, restore the original l_initfini
3519 list.
3520 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
3521 list, store the pointer.
3522 * elf/Makefile ($(objpfx)noload-mem): New rule.
3523 (noload-ENV): Define.
3524 (tests): Add $(objpfx)noload-mem.
3525 * elf/noload.c: Include <memcheck.h>.
3526 (main): Call mtrace. Close all opened handles.
3527
35282011-02-17 Andreas Schwab <schwab@redhat.com>
3529
3530 [BZ #12454]
3531 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
3532 dependencies are missing.
3533
35342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3535
3536 Fix __if_freereq crash: Unlike the generic version which uses free,
3537 Hurd needs munmap.
3538 * sysdeps/mach/hurd/ifreq.h: New file.
3539
35402011-01-27 Petr Baudis <pasky@suse.cz>
3541 Ulrich Drepper <drepper@gmail.com>
3542
3543 [BZ 12445]#
3544 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
3545 to extend_alloca().
3546 * stdio-common/bug23.c: New file.
3547 * stdio-common/Makefile (tests): Add bug23.
3548
35492010-09-28 Andreas Schwab <schwab@redhat.com>
3550 Ulrich Drepper <drepper@gmail.com>
3551
3552 [BZ #12489]
3553 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
3554 before performing relro protection. At old place add assertion
3555 to make sure nothing changed.
3556
35572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
3558 Glauber de Oliveira Costa <glommer@gmail.com>
3559
3560 * elf/elf.h: Add new ARM TLS relocs.
3561
35622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
3563
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3565 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
3566 cast from r3.
3567 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
3568 'tests' variable.
3569 * sysdeps/wordsize-64/tst-writev.c: New file.
3570
35712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
3572
3573 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
3574 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
3575 insns in _dl_start to prevent a TOC reference before relocs are
3576 resolved.
3577
35782011-02-15 Ulrich Drepper <drepper@gmail.com>
3579
3580 [BZ #12469]
3581 * Makeconfig: Remove RANLIB definition.
3582 * Makerules: Don't use RANLIB.
3583 * aclocal.m4: Remove ranlib test.
3584 * configure.in: No need to check for ranlib.
3585 * elf/rtld-Rules: Don't use RANLIB.
3586
35872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3588
3589 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
3590 protection macro.
3591 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
3592 inclusion protection macro.
3593
3594 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
3595 SIGRTMIN and SIGRTMAX and print information in that case only when
3596 SIGRTMIN is defined.
3597
35982011-02-11 Jakub Jelinek <jakub@redhat.com>
3599
3600 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
3601 arginfo fn returning -1.
3602
3603 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
3604 and thousands string is zero terminated.
3605
36062011-02-03 Andreas Schwab <schwab@redhat.com>
3607
3608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
3609 sysdeps/unix/sysv/linux/bits/socket.h.
3610
36112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3612
3613 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
3614 (__CPU_COUNT): Remove old macros.
3615 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
3616 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
3617 (__CPU_ALLOC, __CPU_FREE): Add macros.
3618 (__sched_cpualloc, __sched_cpufree): Add declarations.
3619
36202011-02-05 Ulrich Drepper <drepper@gmail.com>
3621
3622 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
3623 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
3624 * nscd/aicache.c (addhstaiX): Return timeout of added value.
3625 (readdhstai): Return value of addhstaiX call.
3626 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
3627 (addgrbyX): Return value returned by cache_addgr.
3628 (readdgrbyname): Return value returned by addgrbyX.
3629 (readdgrbygid): Likewise.
3630 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
3631 (addpwbyX): Return value returned by cache_addpw.
3632 (readdpwbyname): Return value returned by addhstbyX.
3633 (readdpwbyuid): Likewise.
3634 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
3635 (addservbyX): Return value returned by cache_addserv.
3636 (readdservbyname): Return value returned by addservbyX:
3637 (readdservbyport): Likewise.
3638 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
3639 (addhstbyX): Return value returned by cache_addhst.
3640 (readdhstbyname): Return value returned by addhstbyX.
3641 (readdhstbyaddr): Likewise.
3642 (readdhstbynamev6): Likewise.
3643 (readdhstbyaddrv6): Likewise.
3644 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
3645 (readdinitgroups): Return value returned by addinitgroupsX.
3646 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
3647 (prune_cache): Keep track of timeout value of re-added entries.
3648 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
3649 * nscd/nscd.h: Adjust prototypes of readd* functions.
3650
36512011-02-04 Roland McGrath <roland@redhat.com>
3652
3653 * nis/nis_server.c (nis_servstate): Use the right name for 0.
3654 (nis_stats): Likewise.
3655 * nis/nis_modify.c (nis_modify): Likewise.
3656 * nis/nis_remove.c (nis_remove): Likewise.
3657 * nis/nis_add.c (nis_add): Likewise.
3658
3659 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
3660
3661 * posix/fnmatch_loop.c: Add some consts.
3662
3663 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
3664
36652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 [BZ #12460]
3668 * config.make.in (config-cflags-novzeroupper): Define.
3669 * configure.in: Substitute libc_cv_cc_novzeroupper.
3670 * elf/Makefile (AVX-CFLAGS): Define.
3671 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
3672 (CFLAGS-tst-auditmod4a.c): Likewise.
3673 (CFLAGS-tst-auditmod4b.c): Likewise.
3674 (CFLAGS-tst-auditmod6b.c): Likewise.
3675 (CFLAGS-tst-auditmod6c.c): Likewise.
3676 (CFLAGS-tst-auditmod7b.c): Likewise.
3677 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
3678
36792011-02-02 Ulrich Drepper <drepper@gmail.com>
3680
3681 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
3682 function to the callback.
3683 Patch partly by Jiri Olsa <jolsa@redhat.com>.
3684
36852011-02-02 Andreas Schwab <schwab@redhat.com>
3686
3687 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
3688 of errno.
3689
36902011-01-19 Ulrich Drepper <drepper@gmail.com>
3691
3692 [BZ #11724]
3693 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
3694 of constructors.
3695 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
3696 of destructors.
3697 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
3698
3699 [BZ #11724]
3700 * elf/Makefile: Add rules to build and run new test.
3701 * elf/tst-initorder.c: New file.
3702 * elf/tst-initorder.exp: New file.
3703 * elf/tst-initordera1.c: New file.
3704 * elf/tst-initordera2.c: New file.
3705 * elf/tst-initordera3.c: New file.
3706 * elf/tst-initordera4.c: New file.
3707 * elf/tst-initorderb1.c: New file.
3708 * elf/tst-initorderb2.c: New file.
3709 * elf/tst-order-a1.c: New file.
3710 * elf/tst-order-a2.c: New file.
3711 * elf/tst-order-a3.c: New file.
3712 * elf/tst-order-a4.c: New file.
3713 * elf/tst-order-b1.c: New file.
3714 * elf/tst-order-b2.c: New file.
3715 * elf/tst-order-main.c: New file.
3716 New test case by George Gensure <werkt0@gmail.com>.
3717
37182010-10-01 Andreas Schwab <schwab@redhat.com>
3719
3720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3721 decoding ACE if AI_CANONIDN.
3722
37232011-01-18 Ulrich Drepper <drepper@gmail.com>
3724
3725 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
3726
37272011-01-17 Ulrich Drepper <drepper@gmail.com>
3728
3729 * version.h (RELEASE): Bump for 2.13 release.
3730 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
3731
3732 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
3733
3734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
3735 MADV_NOHUGEPAGE.
3736 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
3737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3741 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3742
3743 * posix/getconf.c: Update copyright year.
3744 * catgets/gencat.c: Likewise.
3745 * csu/version.c: Likewise.
3746 * debug/catchsegv.sh: Likewise.
3747 * debug/xtrace.sh: Likewise.
3748 * elf/ldconfig.c: Likewise.
3749 * elf/ldd.bash.in: Likewise.
3750 * elf/sprof.c (print_version): Likewise.
3751 * iconv/iconv_prog.c: Likewise.
3752 * iconv/iconvconfig.c: Likewise.
3753 * locale/programs/locale.c: Likewise.
3754 * locale/programs/localedef.c: Likewise.
3755 * malloc/memusage.sh: Likewise.
3756 * malloc/mtrace.pl: Likewise.
3757 * nscd/nscd.c (print_version): Likewise.
3758 * nss/getent.c: Likewise.
3759
3760 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
3761 PF_CAIF, and PF_ALG.
3762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3763
37642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
3765
3766 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
3767 (modules-names): Use them.
3768 (ifunc-test-modules, ifunc-pie-tests): Define.
3769 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
3770 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
3771 (test-extras): Likewise.
3772 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
3773 $(compile-command.c).
3774 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
3775 (all-built-dso): Define.
3776 (check-textrel.out, check-execstack.out): Depend on it.
3777
3778 * configure.in: Don't override --enable-multi-arch.
3779
37802011-01-15 Ulrich Drepper <drepper@gmail.com>
3781
3782 [BZ #6812]
3783 * nscd/hstcache.c (tryagain): Define.
3784 (cache_addhst): Return tryagain not notfound for temporary errors.
3785 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
3786 failed.
3787
37882011-01-14 Ulrich Drepper <drepper@gmail.com>
3789
3790 [BZ #10563]
3791 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
3792 to make the syscall.
3793 * sysdeps/unix/sysv/linux/setgroups.c: New file.
3794
3795 [BZ #12378]
3796 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
3797 and fall back to matching as normal character if the string ends before
3798 the matching ']' is found. This is what POSIX requires.
3799 * posix/testfnm.c: Adjust test result.
3800 * posix/globtest.sh: Adjust test result. Add new test.
3801 * posix/tst-fnmatch.input: Likewise.
3802 * posix/tst-fnmatch2.c: Add new test.
3803
38042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
3805
3806 * elf/Makefile (check-execstack): Revert last change. Depend on
3807 check-execstack.h.
3808 (check-execstack.h): New target.
3809 (generated): Add check-execstack.h.
3810 * elf/check-execstack.c: Include "check-execstack.h".
3811 (main): Revert last change.
3812 (handle_file): Return zero if GNU_STACK is absent and
3813 DEFAULT_STACK_PERMS doesn't include PF_X.
3814
38152011-01-13 Ulrich Drepper <drepper@gmail.com>
3816
3817 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
3818 in child fails because the descriptor is already closed.
3819 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
3820 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
3821 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3822
3823 [BZ #12397]
3824 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
3825 syscall.
3826
3827 [BZ #10484]
3828 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
3829 temporary buffer used to handle multi lookups locally.
3830 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
3831
38322011-01-12 Ulrich Drepper <drepper@gmail.com>
3833
3834 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
3835 loader is ld.so.
3836
38372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
3838
3839 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
3840 alignment for SSE2.
3841
38422011-01-12 Ulrich Drepper <drepper@gmail.com>
3843
3844 [BZ #12394]
3845 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
3846 characters. When rounding increased number of integer digits recompute
3847 number of groups.
3848 * stdio-common/tst-grouping.c: New file.
3849 * stdio-common/Makefile: Add rules to build and run tst-grouping.
3850
38512011-01-09 Ulrich Drepper <drepper@gmail.com>
3852
3853 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
3854 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
3855
3856 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
3857 void.
3858 * bits/select.h: Likewise.
3859
38602011-01-08 Ulrich Drepper <drepper@gmail.com>
3861
3862 * po/ja.po: Update from translation team.
3863
38642011-01-04 David S. Miller <davem@sunset.davemloft.net>
3865
3866 [BZ #11155]
3867 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
3868 implementation just like for lxstat, fxstatat, et al.
3869
38702010-12-27 Jim Meyering <meyering@redhat.com>
3871
3872 [BZ #12348]
3873 * posix/regexec.c (build_trtable): Return failure indication upon
3874 calloc failure. Otherwise, re_search_internal could infloop on OOM.
3875
38762010-12-25 Ulrich Drepper <drepper@gmail.com>
3877
3878 [BZ #12201]
3879 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3880 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3881 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
3882 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
3883
3884 [BZ #12207]
3885 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
3886
3887 [BZ #12204]
3888 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
3889 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
3890
38912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
3892
3893 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
3894 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
3895 script has SORT_BY_INIT_PRIORITY.
3896 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
3897 NO_CTORS_DTORS_SECTIONS is defined.
3898 * elf/soinit.c: Likewise.
3899 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
3900 NO_CTORS_DTORS_SECTIONS is defined.
3901 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3902 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
3903 * sysdeps/sh/init-first.c: Likewise.
3904 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3905
39062010-12-24 Ulrich Drepper <drepper@gmail.com>
3907
3908 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
3909 always use the slow path.
3910
39112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
3912
3913 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
3914 similar rule which adds the sysdep directories to the header search in
3915 order to pick up the correct platform stackinfo.h.
3916 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
3917 perform test if it is, otherwise return successfully without testing.
3918 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
3919 DEFAULT_STACK_PERMS define in stackinfo.h.
3920 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
3921 defined in stackinfo.h.
3922 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
3923 DEFAULT_STACK_PERMS defined in stackinfo.h.
3924 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
3925 * sysdeps/ia64/stackinfo.h: Likewise.
3926 * sysdeps/s390/stackinfo.h: Likewise.
3927 * sysdeps/sh/stackinfo.h: Likewise.
3928 * sysdeps/sparc/stackinfo.h: Likewise.
3929 * sysdeps/x86_64/stackinfo.h: Likewise.
3930 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
3931 PF_X for powerpc64. Retain PF_X for powerpc32.
3932
39332010-12-19 Ulrich Drepper <drepper@gmail.com>
3934
3935 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
3936 accurately.
3937 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
3938 GETDENTS_64BIT_ALIGNED.
3939
39402010-12-14 Ulrich Drepper <dreper@gmail.com>
3941
3942 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
3943
39442010-12-10 Andreas Schwab <schwab@redhat.com>
3945
3946 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
3947 _GNU_SOURCE.
3948
3949 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
3950 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
3951 Remove __restrict.
3952 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
3953 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
3954
39552010-12-09 Ulrich Drepper <drepper@gmail.com>
3956
3957 [BZ #11655]
3958 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
3959 are initialized.
3960
39612010-12-09 Jakub Jelinek <jakub@redhat.com>
3962
3963 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
3964
39652010-12-03 Ulrich Drepper <drepper@gmail.com>
3966
3967 * po/it.po: Update from translation team.
3968
39692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
3970
3971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
3972 unused codes.
3973
39742010-11-30 Ulrich Drepper <drepper@gmail.com>
3975
3976 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
3977
39782010-11-24 Andreas Schwab <schwab@redhat.com>
3979
3980 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
3981 specially.
3982 (gaih_getanswer_slice): Likewise.
3983
39842010-10-20 Jakub Jelinek <jakub@redhat.com>
3985
3986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
3987
39882010-05-31 Petr Baudis <pasky@suse.cz>
3989
3990 [BZ #11149]
3991 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
3992 silently even in the chroot mode.
3993
39942010-11-22 Ulrich Drepper <drepper@gmail.com>
3995
3996 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
3997 last patch a bit. Pretty printing
3998
39992010-05-31 Petr Baudis <pasky@suse.cz>
4000
4001 [BZ #10085]
4002 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
4003 initialization of skip_initgroups_dyn.
4004
40052010-11-19 Ulrich Drepper <drepper@gmail.com>
4006
4007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
4008 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4009
40102010-11-16 Ulrich Drepper <drepper@gmail.com>
4011
4012 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
4013
40142010-11-11 Andreas Schwab <schwab@redhat.com>
4015
4016 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
4017 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
4018 (tst-fnmatch-ENV): Set MALLOC_TRACE.
4019 ($(objpfx)tst-fnmatch-mem): New rule.
4020 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
4021 * posix/tst-fnmatch.c (main): Call mtrace.
4022
40232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4026 Support Intel processor model 6 and model 0x2c.
4027
40282010-11-10 Luis Machado <luisgpm@br.ibm.com>
4029
4030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
4031 signed comparison.
4032
40332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 [BZ #12205]
4036 * string/test-strncasecmp.c (check_result): New function.
4037 (do_one_test): Use it.
4038 (check1): New function.
4039 (test_main): Use it.
4040 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
4041 Support strcasecmp and strncasecmp.
4042
40432010-11-08 Ulrich Drepper <drepper@gmail.com>
4044
4045 [BZ #12194]
4046 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
4047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4048
40492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
4052 IFUNC support.
4053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4054 memset-x86-64.
4055 * sysdeps/x86_64/multiarch/bzero.S: New file.
4056 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
4057 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
4058 * sysdeps/x86_64/multiarch/memset.S: New file.
4059 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
4060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4061 Set bit_Prefer_SSE_for_memop for Intel processors.
4062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
4063 Define.
4064 (index_Prefer_SSE_for_memop): Define.
4065 (HAS_PREFER_SSE_FOR_MEMOP): Define.
4066
40672010-11-04 Luis Machado <luisgpm@br.ibm.com>
4068
4069 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
4070 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
4071
40722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
4073
4074 [BZ #12191]
4075 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4076 (__x86_64_raw_data_cache_size_half): Likewise.
4077 (__x86_64_raw_shared_cache_size): Likewise.
4078 (__x86_64_raw_shared_cache_size_half): Likewise.
4079
4080 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4081 (__x86_64_raw_data_cache_size_half): Likewise.
4082 (__x86_64_raw_shared_cache_size): Likewise.
4083 (__x86_64_raw_shared_cache_size_half): Likewise.
4084 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
4085 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
4086 and __x86_64_raw_shared_cache_size_half. Round
4087 __x86_64_data_cache_size_half, __x86_64_data_cache_size
4088 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
4089 to multiple of 256 bytes.
4090
40912010-11-03 Ulrich Drepper <drepper@gmail.com>
4092
4093 [BZ #12167]
4094 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
4095 of inacessible symlinks. Verify result of symlink before returning it.
4096 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4097 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
4098
40992010-10-28 Erich Ritz <erichritz@gmail.com>
4100
4101 * math/math.h (isinf): Fix typo in comment.
4102
41032010-11-01 Ulrich Drepper <drepper@gmail.com>
4104
4105 * po/da.po: Update from translation team.
4106
41072010-10-26 Ulrich Drepper <drepper@gmail.com>
4108
4109 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
4110 is added to the list.
4111
41122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4113 Ulrich Drepper <drepper@gmail.com>
4114
4115 * elf/dl-object.c (_dl_new_object): Don't append the new object to
4116 the global list here. Move code to...
4117 (_dl_add_to_namespace_list): ...here. New function.
4118 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
4119 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
4120 * elf/dl-load.c (lose): Don't remove the element from the list.
4121 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
4122 (_dl_map_object): Likewise.
4123
41242010-10-25 Ulrich Drepper <drepper@gmail.com>
4125
4126 [BZ #12159]
4127 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
4128 into all bytes of SSE register.
4129 Patch by Richard Li <richardpku@gmail.com>.
4130
41312010-10-24 Ulrich Drepper <drepper@gmail.com>
4132
4133 [BZ #12140]
4134 * malloc/malloc.c (_int_free): Fill correct number of bytes when
4135 perturbing.
4136
41372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
4138
4139 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4140 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
4141 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
4142 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
4144 submachine.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
4146
41472010-10-22 Andreas Schwab <schwab@redhat.com>
4148
4149 * include/dlfcn.h (__RTLD_SECURE): Define.
4150 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
4151 mode & __RTLD_SECURE instead.
4152 (open_path): Rename preloaded parameter to secure.
4153 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
4154 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
4155 * elf/dl-deps.c (openaux): Likewise.
4156 * elf/rtld.c (struct map_args): Remove is_preloaded.
4157 (map_doit): Don't use it.
4158 (dl_main): Likewise.
4159 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
4160 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
4161
41622010-09-09 Andreas Schwab <schwab@redhat.com>
4163
4164 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4165 (sysd-rules-targets): Remove duplicates.
4166 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
4167 rtld-%.$o dependency.
4168
41692010-10-18 Andreas Schwab <schwab@redhat.com>
4170
4171 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
4172 _dl_map_object do it.
4173
41742010-10-19 Ulrich Drepper <drepper@gmail.com>
4175
4176 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
4177 fast fma builtins, define the macros in the C99 standard.
4178 (FP_FAST_FMAF): Likewise.
4179 (FP_FAST_FMAL): Likewise.
4180 * sysdeps/x86_64/bits/mathdef.h: Likewise.
4181
4182 * bits/mathdef.h: Update copyright year.
4183 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4184
41852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
4186
4187 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
4188 builtins, define the macros in the C99 standard.
4189 (FP_FAST_FMAF): Likewise.
4190 (FP_FAST_FMAL): Likewise.
4191 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
4192 multiply/add.
4193 (FP_FAST_FMAF): Likewise.
4194
41952010-10-15 Jakub Jelinek <jakub@redhat.com>
4196
4197 [BZ #3268]
4198 * math/libm-test.inc (fma_test): Some new testcases.
4199 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
4200 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
4201 y and infinite z. Do multiplication by C already in long double.
4202 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
4203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
4204 y and infinite z. Do bitwise or of inexact bit into u.d.
4205 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
4206 * sysdeps/i386/fpu/s_fmaf.S: Removed.
4207 * sysdeps/i386/fpu/s_fma.S: Removed.
4208 * sysdeps/i386/fpu/s_fmal.S: Removed.
4209
42102010-10-16 Jakub Jelinek <jakub@redhat.com>
4211
4212 [BZ #3268]
4213 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
4214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
4215 computation is not scheduled after fetestexcept. Fix value
4216 of minimum denormal long double.
4217
42182010-10-14 Jakub Jelinek <jakub@redhat.com>
4219
4220 [BZ #3268]
4221 * math/libm-test.inc (fma_test): Add some more tests.
4222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
4223 correctly.
4224
42252010-10-15 Andreas Schwab <schwab@redhat.com>
4226
4227 * scripts/data/localplt-s390-linux-gnu.data: New file.
4228 * scripts/data/localplt-s390x-linux-gnu.data: New file.
4229
42302010-10-13 Jakub Jelinek <jakub@redhat.com>
4231
4232 [BZ #3268]
4233 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
4234 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
4235 instead of dbl-64.
4236 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
4237 inlines.
4238 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
4239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
4240 if one of x and y is very large and the other is subnormal.
4241 * sysdeps/s390/fpu/s_fmaf.c: New file.
4242 * sysdeps/s390/fpu/s_fma.c: New file.
4243 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
4244 * sysdeps/powerpc/fpu/s_fma.S: New file.
4245 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
4246 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
4247 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
4248
42492010-10-12 Jakub Jelinek <jakub@redhat.com>
4250
4251 [BZ #3268]
4252 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
4253 fma tests.
4254 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
4255 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
4256 * sysdeps/i386/i686/multiarch/s_fma.c: Include
4257 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
4258 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
4259 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
4261
42622010-10-12 Ulrich Drepper <drepper@redhat.com>
4263
4264 [BZ #12078]
4265 * posix/regcomp.c (parse_branch): One more memory leak plugged.
4266 * posix/bug-regex31.input: Add test case.
4267
42682010-10-11 Ulrich Drepper <drepper@gmail.com>
4269
4270 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
4271 * posix/bug-regex31.input: New file.
4272
4273 [BZ #12078]
4274 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
4275 (parse_sub_exp): Fix last change, use postorder.
4276
4277 * posix/bug-regex31.c: New file.
4278 * posix/Makefile: Add rules to build and run bug-regex31.
4279
4280 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
4281
4282 [BZ #12078]
4283 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
4284
4285 [BZ #12108]
4286 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
4287 to have entries in sys_siglist.
4288
4289 [BZ #12093]
4290 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
4291 be NULL.
4292
42932010-10-07 Jakub Jelinek <jakub@redhat.com>
4294
4295 [BZ #3268]
4296 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
4297 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
4298 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4299 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
4300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4301 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
4302 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
4303 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
4304 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
4305 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
4306 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
4307 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
4308 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4309 * math/ftestexcept.c (fetestexcept): Likewise.
4310 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
4311 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4312 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4313 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
4314 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
4315 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
4316 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4317
43182010-10-11 Ulrich Drepper <drepper@gmail.com>
4319
4320 [BZ #12107]
4321 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
4322 newline.
4323
43242010-10-06 Ulrich Drepper <drepper@gmail.com>
4325
4326 * string/bug-strstr1.c: New file.
4327 * string/Makefile: Add rules to build and run bug-strstr1.
4328
43292010-10-05 Eric Blake <eblake@redhat.com>
4330
4331 [BZ #12092]
4332 * string/str-two-way.h (two_way_long_needle): Always clear memory
4333 when skipping input due to the shift table.
4334
43352010-10-03 Ulrich Drepper <drepper@gmail.com>
4336
4337 [BZ #12005]
4338 * malloc/mcheck.c: Handle large requests.
4339
4340 [BZ #12077]
4341 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
4342 for strncmp and strncasecmp.
4343 * string/stratcliff.c: Add tests for strcmp and strncmp.
4344 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
4345
43462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4347
4348 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
4349 __set_fpscr.
4350
43512010-09-30 Andreas Jaeger <aj@suse.de>
4352
4353 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
4354 (CGROUP_SUPER_MAGIC): Define.
4355 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4356 Handle btrfs and cgroup file systems.
4357 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4358 Likewise.
4359
43602010-09-27 Luis Machado <luisgpm@br.ibm.com>
4361
4362 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
4363 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
4364
43652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4366
4367 [BZ #12067]
4368 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
4369 trying to locate the ELF header.
4370
43712010-09-27 Andreas Schwab <schwab@redhat.com>
4372
4373 [BZ #11611]
4374 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
4375 Mask out sign-bit copies when constructing f_fsid.
4376
43772010-09-24 Petr Baudis <pasky@suse.cz>
4378
4379 * debug/stack_chk_fail_local.c: Add missing licence exception.
4380 * debug/warning-nop.c: Likewise.
4381
43822010-09-15 Joseph Myers <joseph@codesourcery.com>
4383
4384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
4385 implementing getdents64 using getdents syscall, set d_type if
4386 __ASSUME_GETDENTS32_D_TYPE.
4387
43882010-09-16 Andreas Schwab <schwab@redhat.com>
4389
4390 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
4391 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
4392
43932010-09-21 Ulrich Drepper <drepper@redhat.com>
4394
4395 [BZ #12037]
4396 * posix/unistd.h: Undo change of feature selection for ftruncate from
4397 2010-01-11.
4398
43992010-09-20 Ulrich Drepper <drepper@redhat.com>
4400
4401 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
4402 detection.
4403
44042010-09-20 Andreas Schwab <schwab@redhat.com>
4405
4406 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
4407 fanotify_mark.
4408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4409
44102010-09-14 Andreas Schwab <schwab@redhat.com>
4411
4412 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
4413 variables after CHECK_SP call.
4414 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4415
44162010-09-13 Andreas Schwab <schwab@redhat.com>
4417 Ulrich Drepper <drepper@redhat.com>
4418
4419 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
4420 re-relocationg ld.so.
4421 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
4422 _dl_init_paths call.
4423 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
4424 here anymore.
4425
44262010-09-14 Ulrich Drepper <drepper@redhat.com>
4427
4428 * resolv/res_init.c (__res_vinit): Count the default server we added.
4429
44302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
4431 Ulrich Drepper <drepper@redhat.com>
4432
4433 [BZ #11968]
4434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4435 (____longjmp_chk): Use %ebx for saving value across system call.
4436 Add unwind info.
4437
44382010-09-06 Andreas Schwab <schwab@redhat.com>
4439
4440 * manual/Makefile: Don't mix pattern rules with normal rules.
4441
44422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
4443
4444 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
4445 operation.
4446 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4447 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4448 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4449 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4451 Likewise.
4452
44532010-09-04 Ulrich Drepper <drepper@redhat.com>
4454
4455 [BZ #11979]
4456 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
4457 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
4458
44592010-09-02 Ulrich Drepper <drepper@redhat.com>
4460
4461 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
4462 * sysdeps/x86_64/addmul_1.S: Likewise.
4463 * sysdeps/x86_64/lshift.S: Likewise.
4464 * sysdeps/x86_64/mul_1.S: Likewise.
4465 * sysdeps/x86_64/rshift.S: Likewise.
4466 * sysdeps/x86_64/sub_n.S: Likewise.
4467 * sysdeps/x86_64/submul_1.S: Likewise.
4468
44692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4470
4471 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
4472 Define __sched_param instead of SCHED_* and sched_param when
4473 <bits/sched.h> is included with __need_schedparam defined.
4474 * bits/sched.h [__need_schedparam]
4475 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
4476 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
4477 (__defined_schedparam): Define to 1.
4478 (__sched_param): New structure, identical to sched_param.
4479 (__need_schedparam): Undefine.
4480
44812010-08-31 Mike Frysinger <vapier@gentoo.org>
4482
4483 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
4484 (epoll_create1): Declare.
4485
4486 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
4487
44882010-08-31 Andreas Schwab <schwab@redhat.com>
4489
4490 [BZ #7066]
4491 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
4492 shifting retval into place.
4493
44942010-09-01 Ulrich Drepper <drepper@redhat.com>
4495
4496 * nis/rpcsvc/nis.h: Update copyright notice.
4497 * nis/rpcsvc/nis.x: Likewise.
4498 * nis/rpcsvc/nis_callback.h: Likewise.
4499 * nis/rpcsvc/nis_callback.x: Likewise.
4500 * nis/rpcsvc/nis_object.x: Likewise.
4501 * nis/rpcsvc/nis_tags.h: Likewise.
4502 * nis/rpcsvc/yp.h: Likewise.
4503 * nis/rpcsvc/yp.x: Likewise.
4504 * nis/rpcsvc/ypupd.h: Likewise.
4505 * nis/yp_xdr.c: Likewise.
4506 * nis/ypupdate_xdr.c: Likewise.
4507
4508 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
4509 mainly the body of pmap_getport. Add parameters to specify timeouts.
4510 (pmap_getport): Use __libc_rpc_getport.
4511 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
4512 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
4513 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
4514
45152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
4516
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
4518 fanotify_mark.
4519
45202010-08-27 Roland McGrath <roland@redhat.com>
4521
4522 * sysdeps/i386/i686/multiarch/Makefile
4523 (CFLAGS-varshift.c): New variable.
4524
45252010-08-27 Ulrich Drepper <drepper@redhat.com>
4526
4527 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
4528 * sysdeps/i386/i686/multiarch/varshift.c: New file.
4529
4530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
4531
4532 * sysdeps/x86_64/strlen.S: Minimal code improvement.
4533
45342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
4535
4536 * sysdeps/x86_64/strlen.S: Unroll the loop.
4537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4538 strlen-sse2 strlen-sse2-bsf.
4539 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
4540 __strlen_no_bsf if bit_Slow_BSF is set.
4541 (__strlen_sse42): Removed.
4542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
4543 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
4544
45452010-08-25 Roland McGrath <roland@redhat.com>
4546
4547 * sysdeps/x86_64/multiarch/varshift.S: File removed.
4548 * sysdeps/x86_64/multiarch/varshift.c: New file.
4549 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
4550 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
4551 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
4552 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4553
45542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4557 strlen-sse2 strlen-sse2-bsf.
4558 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
4559 __strlen_sse2_bsf if bit_Slow_BSF is unset.
4560 (__strlen_sse2): Removed.
4561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
4562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
4563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4564 bit_Slow_BSF for Atom.
4565 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
4566 (index_Slow_BSF): Define.
4567 (HAS_SLOW_BSF): Define.
4568
45692010-08-25 Ulrich Drepper <drepper@redhat.com>
4570
4571 [BZ #10851]
4572 * resolv/res_init.c (__res_vinit): When no server address at all
4573 is given default to loopback.
4574
45752010-08-24 Roland McGrath <roland@redhat.com>
4576
4577 * configure.in: Remove config-name.h generation.
4578 * configure: Regenerated.
4579 * config-name.in: File removed.
4580 * scripts/config-uname.sh: New file.
4581 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
4582 ($(objdir)config-name.h): New target.
4583
4584 * sunrpc/rpc_parse.h: Avoid nested comment.
4585
45862010-08-24 Richard Henderson <rth@redhat.com>
4587 Ulrich Drepper <drepper@redhat.com>
4588 H.J. Lu <hongjiu.lu@intel.com>
4589
4590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
4591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
4592 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
4593 Replace _mm_srli_si128 with __m128i_shift_right. Replace
4594 _mm_alignr_epi8 with _mm_loadu_si128.
4595 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
4596 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
4597 (__m128i_shift_right): Removed.
4598 * sysdeps/i386/i686/multiarch/varshift.h: New file.
4599 * sysdeps/i386/i686/multiarch/varshift.S: New file.
4600 * sysdeps/x86_64/multiarch/varshift.h: New file.
4601 * sysdeps/x86_64/multiarch/varshift.S: New file.
4602
46032010-08-21 Mike Frysinger <vapier@gentoo.org>
4604
4605 * configure.in: Move assembler checks to before sysdep dir checking.
4606
46072010-08-20 Petr Baudis <pasky@suse.cz>
4608
4609 * LICENSES: Sync the sunrpc license.
4610
46112010-08-19 Ulrich Drepper <drepper@redhat.com>
4612
4613 * sunrpc/auth_des.c: Update copyright notice once again.
4614 * sunrpc/auth_none.c: Likewise.
4615 * sunrpc/auth_unix.c: Likewise.
4616 * sunrpc/authdes_prot.c: Likewise.
4617 * sunrpc/authuxprot.c: Likewise.
4618 * sunrpc/bindrsvprt.c: Likewise.
4619 * sunrpc/clnt_gen.c: Likewise.
4620 * sunrpc/clnt_perr.c: Likewise.
4621 * sunrpc/clnt_raw.c: Likewise.
4622 * sunrpc/clnt_simp.c: Likewise.
4623 * sunrpc/clnt_tcp.c: Likewise.
4624 * sunrpc/clnt_udp.c: Likewise.
4625 * sunrpc/clnt_unix.c: Likewise.
4626 * sunrpc/des_crypt.c: Likewise.
4627 * sunrpc/des_soft.c: Likewise.
4628 * sunrpc/get_myaddr.c: Likewise.
4629 * sunrpc/getrpcport.c: Likewise.
4630 * sunrpc/key_call.c: Likewise.
4631 * sunrpc/key_prot.c: Likewise.
4632 * sunrpc/openchild.c: Likewise.
4633 * sunrpc/pm_getmaps.c: Likewise.
4634 * sunrpc/pm_getport.c: Likewise.
4635 * sunrpc/pmap_clnt.c: Likewise.
4636 * sunrpc/pmap_prot.c: Likewise.
4637 * sunrpc/pmap_prot2.c: Likewise.
4638 * sunrpc/pmap_rmt.c: Likewise.
4639 * sunrpc/rpc/auth.h: Likewise.
4640 * sunrpc/rpc/auth_unix.h: Likewise.
4641 * sunrpc/rpc/clnt.h: Likewise.
4642 * sunrpc/rpc/des_crypt.h: Likewise.
4643 * sunrpc/rpc/key_prot.h: Likewise.
4644 * sunrpc/rpc/netdb.h: Likewise.
4645 * sunrpc/rpc/pmap_clnt.h: Likewise.
4646 * sunrpc/rpc/pmap_prot.h: Likewise.
4647 * sunrpc/rpc/pmap_rmt.h: Likewise.
4648 * sunrpc/rpc/rpc.h: Likewise.
4649 * sunrpc/rpc/rpc_des.h: Likewise.
4650 * sunrpc/rpc/rpc_msg.h: Likewise.
4651 * sunrpc/rpc/svc.h: Likewise.
4652 * sunrpc/rpc/svc_auth.h: Likewise.
4653 * sunrpc/rpc/types.h: Likewise.
4654 * sunrpc/rpc/xdr.h: Likewise.
4655 * sunrpc/rpc_clntout.c: Likewise.
4656 * sunrpc/rpc_cmsg.c: Likewise.
4657 * sunrpc/rpc_common.c: Likewise.
4658 * sunrpc/rpc_cout.c: Likewise.
4659 * sunrpc/rpc_dtable.c: Likewise.
4660 * sunrpc/rpc_hout.c: Likewise.
4661 * sunrpc/rpc_main.c: Likewise.
4662 * sunrpc/rpc_parse.c: Likewise.
4663 * sunrpc/rpc_parse.h: Likewise.
4664 * sunrpc/rpc_prot.c: Likewise.
4665 * sunrpc/rpc_sample.c: Likewise.
4666 * sunrpc/rpc_scan.c: Likewise.
4667 * sunrpc/rpc_scan.h: Likewise.
4668 * sunrpc/rpc_svcout.c: Likewise.
4669 * sunrpc/rpc_tblout.c: Likewise.
4670 * sunrpc/rpc_util.c: Likewise.
4671 * sunrpc/rpc_util.h: Likewise.
4672 * sunrpc/rpcinfo.c: Likewise.
4673 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
4674 * sunrpc/rpcsvc/key_prot.x: Likewise.
4675 * sunrpc/rpcsvc/klm_prot.x: Likewise.
4676 * sunrpc/rpcsvc/mount.x: Likewise.
4677 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
4678 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
4679 * sunrpc/rpcsvc/rex.x: Likewise.
4680 * sunrpc/rpcsvc/rstat.x: Likewise.
4681 * sunrpc/rpcsvc/rusers.x: Likewise.
4682 * sunrpc/rpcsvc/sm_inter.x: Likewise.
4683 * sunrpc/rpcsvc/spray.x: Likewise.
4684 * sunrpc/rpcsvc/yppasswd.x: Likewise.
4685 * sunrpc/rtime.c: Likewise.
4686 * sunrpc/svc.c: Likewise.
4687 * sunrpc/svc_auth.c: Likewise.
4688 * sunrpc/svc_authux.c: Likewise.
4689 * sunrpc/svc_raw.c: Likewise.
4690 * sunrpc/svc_run.c: Likewise.
4691 * sunrpc/svc_simple.c: Likewise.
4692 * sunrpc/svc_tcp.c: Likewise.
4693 * sunrpc/svc_udp.c: Likewise.
4694 * sunrpc/svc_unix.c: Likewise.
4695 * sunrpc/svcauth_des.c: Likewise.
4696 * sunrpc/xcrypt.c: Likewise.
4697 * sunrpc/xdr.c: Likewise.
4698 * sunrpc/xdr_array.c: Likewise.
4699 * sunrpc/xdr_float.c: Likewise.
4700 * sunrpc/xdr_mem.c: Likewise.
4701 * sunrpc/xdr_rec.c: Likewise.
4702 * sunrpc/xdr_ref.c: Likewise.
4703 * sunrpc/xdr_sizeof.c: Likewise.
4704 * sunrpc/xdr_stdio.c: Likewise.
4705
4706 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
4707 handling.
4708
47092010-08-19 Andreas Schwab <schwab@redhat.com>
4710
4711 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
4712
47132010-08-19 Luis Machado <luisgpm@br.ibm.com>
4714
4715 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
4716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
4717 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
4718 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
4719 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
4720 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
4721 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
4722 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
4723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
4724 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
4725 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
4726 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
4727 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
4728 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
4729
47302010-07-26 Anton Blanchard <anton@samba.org>
4731
4732 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
4733 * malloc/arena.c (heap_trim): Likewise.
4734
47352010-08-16 Ulrich Drepper <drepper@redhat.com>
4736
4737 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
4738 here. Not...
4739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
4740 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
4741
47422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
4743
4744 * sysdeps/i386/elf/Makefile: New file.
4745
47462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4747
4748 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
4749 from fanotify_init.
4750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4751 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4752
47532010-08-15 Ulrich Drepper <drepper@redhat.com>
4754
4755 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
4756 of strncasecmp_l.
4757 * sysdeps/multiarch/strcmp.S: Likewise.
4758
47592010-08-14 Ulrich Drepper <drepper@redhat.com>
4760
4761 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4762 strncase_l-nonascii.
4763 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4764 Add strncase_l-ssse3.
4765 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
4766 * sysdeps/x86_64/strcmp.S: Likewise.
4767 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
4768 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
4769 * sysdeps/x86_64/strncase.S: New file.
4770 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
4771 * sysdeps/x86_64/strncase_l.S: New file.
4772 * string/Makefile (strop-tests): Add strncasecmp.
4773 * string/test-strncasecmp.c: New file.
4774
4775 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
4776 warning.
4777
4778 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
4779 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
4780
47812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4782
4783 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
4784
47852010-08-12 Ulrich Drepper <drepper@redhat.com>
4786
4787 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
4788 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4790
47912010-05-01 Alan Modra <amodra@gmail.com>
4792
4793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
4794 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
4795 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
4796 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
4797 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
4798 tidying. Don't tail-call __sigjmp_save for static lib.
4799 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
4800 save location.
4801 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
4802 (CALL_MCOUNT): Add eh info, and nop after bl.
4803 (TAIL_CALL_SYSCALL_ERROR): New macro.
4804 (PSEUDO_RET): Use it.
4805 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4806 Correct save location of integer regs and cr.
4807 (_dl_profile_resolve): Correct cr save location. Delete nops
4808 after bl when SHARED. Reduce cfi size a little by better
4809 placement of cfi directives.
4810 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
4811 make a stack frame. Instead use parm save area as a temp.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
4813 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4815 Don't make a stack frame for parent, use parm save area.
4816 Increase child stack frame to 112 bytes. Don't save unused reg,
4817 and adjust reg usage. Set up cfi on error recovery and
4818 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4820 (__makecontext): Add dummy nop after jump to exit.
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
4822 Use correct parm save area and cr save, reduce stack frame.
4823 Correct cfi for possible PSEUDO_RET frame setup.
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
4825 Branch to local label emitted by PSEUDO_RET rather than
4826 __syscall_error.
4827
48282010-08-12 Andreas Schwab <schwab@redhat.com>
4829
4830 [BZ #11904]
4831 * locale/programs/locale.c (print_assignment): New function.
4832 (show_locale_vars): Use it.
4833
48342010-08-11 Ulrich Drepper <drepper@redhat.com>
4835
4836 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
4837 field.
4838 (struct statfs64): Likewise.
4839 (_STATFS_F_FLAGS): Define.
4840 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
4841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4842 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
4843 (ST_VALID): Define locally.
4844 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
4845 __statvfs_getflags, use the provided value.
4846 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4847 __ASSUME_STATFS_F_FLAGS.
4848
4849 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
4850
4851 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
4852 Add sys/fanotify.h.
4853 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
4854 fanotify_mask for GLIBC_2.13.
4855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
4856 fanotify_init and fanotify_mark.
4857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4858 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
4859
4860 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
4861 Add prlimit.
4862 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
4863 prlimit64 for GLIBC_2.13.
4864 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
4865 prlimit64.
4866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
4867 syscall.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4870 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
4871 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
4872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
4873 add prlimit alias.
4874 * sysdeps/unix/sysv/linux/prlimit.c: New file.
4875
4876 [BZ #11903]
4877 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
4878 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
4879
4880 * nss/Makefile: Add rules to build and run tst-nss-test1.
4881 * shlib-versions: Add entry for libnss_test1.
4882 * nss/nss_test1.c: New file.
4883 * nss/tst-nss-test1.c: New file.
4884
4885 * nss/nsswitch.c (__nss_database_custom): Define new variable.
4886 (__nss_configure_lookup): Set appropriate entry in
4887 __nss_configure_lookup to true.
4888 * nss/nsswitch.h: Define enum with indeces of databases in
4889 databases and __nss_database_custom arrays. Declare
4890 __nss_database_custom.
4891 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
4892 to avoid using nscd when custom rules are installed.
4893 * nss/getXXbyYY_r.c: Likewise.
4894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4895
4896 * nss/nss_files/files-parse.c: Whitespace fixes.
4897
48982010-08-09 Ulrich Drepper <drepper@redhat.com>
4899
4900 [BZ #11883]
4901 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
4902 * posix/fnmatch_loop.c: Likewise.
4903
49042010-07-17 Andi Kleen <ak@linux.intel.com>
4905
4906 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
4907 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
4908 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
4909 * Versions.def [GLIBC_2.13]: Add.
4910
49112010-08-06 Ulrich Drepper <drepper@redhat.com>
4912
4913 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4914 Also fail if tpwd after pwuid call is NULL.
4915
49162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4917
4918 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
4919 when converting to ms.
4920
49212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4922
4923 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
4924 EOPNOTSUPP errors with ENOTTY.
4925 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
4926 EOPNOTSUPP errors with ENOTTY.
4927
49282010-07-31 Ulrich Drepper <drepper@redhat.com>
4929
4930 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4931 Add strcasecmp_l-ssse3.
4932 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
4933 strcasecmp.
4934 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
4935 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
4936 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
4937
49382010-07-30 Ulrich Drepper <drepper@redhat.com>
4939
4940 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
4941
4942 * string/Makefile (strop-tests): Add strcasecmp.
4943 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4944 strcasecmp_l-nonascii.
4945 (gen-as-const-headers): Add locale-defines.sym.
4946 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
4947 * sysdeps/x86_64/strcasecmp.S: New file.
4948 * sysdeps/x86_64/strcasecmp_l.S: New file.
4949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
4950 * sysdeps/x86_64/locale-defines.sym: New file.
4951 * string/test-strcasecmp.c: New file.
4952
4953 * string/test-strcasestr.c: Test both ends of the range of characters.
4954 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
4955
49562010-07-29 Roland McGrath <roland@redhat.com>
4957
4958 [BZ #11856]
4959 * manual/locale.texi (Yes-or-No Questions): Fix example code.
4960
49612010-07-27 Ulrich Drepper <drepper@redhat.com>
4962
4963 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
4964 for ld.so.
4965
49662010-07-27 Andreas Schwab <schwab@redhat.com>
4967
4968 * manual/memory.texi (Malloc Tunable Parameters): Document
4969 M_PERTURB.
4970
49712010-07-26 Roland McGrath <roland@redhat.com>
4972
4973 [BZ #11840]
4974 * configure.in (-fgnu89-inline check): Set and substitute
4975 gnu89_inline, not libc_cv_gnu89_inline.
4976 * configure: Regenerated.
4977 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
4978
49792010-07-26 Ulrich Drepper <drepper@redhat.com>
4980
4981 * string/test-strnlen.c: New file.
4982 * string/Makefile (strop-tests): Add strnlen.
4983 * string/tester.c (test_strnlen): Add a few more test cases.
4984 * string/tst-strlen.c: Better error reporting.
4985
4986 * sysdeps/x86_64/strnlen.S: New file.
4987
49882010-07-24 Ulrich Drepper <drepper@redhat.com>
4989
4990 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
4991 lower-latency instructions.
4992
49932010-07-23 Ulrich Drepper <drepper@redhat.com>
4994
4995 * string/test-strcasestr.c: New file.
4996 * string/test-strstr.c: New file.
4997 * string/Makefile (strop-tests): Add strstr and strcasestr.
4998 * string/str-two-way.h: Don't undefine MAX.
4999 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
5000
50012010-07-21 Andreas Schwab <schwab@redhat.com>
5002
5003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5004 strcasestr-nonascii.
5005 (CFLAGS-strcasestr-nonascii.c): Define.
5006 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
5007 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
5008 Remove unused attribute.
5009
50102010-07-20 Roland McGrath <roland@redhat.com>
5011
5012 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
5013 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
5014 ld.so.cache was broken. With it, there is no way to disable dsocaps
5015 like LD_HWCAP_MASK can disable hwcaps.
5016
50172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5018
5019 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
5020
50212010-07-16 Ulrich Drepper <drepper@redhat.com>
5022
5023 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
5024 call in strcasestr.
5025 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
5026 __strcasestr_sse42_nonascii.
5027 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
5028 strcasestr-nonascii.c.
5029 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
5030
50312010-06-15 Luis Machado <luisgpm@br.ibm.com>
5032
5033 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
5034 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
5035 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
5036 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
5037
50382010-07-09 Ulrich Drepper <drepper@redhat.com>
5039
5040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
5041 fcntl.
5042
50432010-07-06 Andreas Schwab <schwab@redhat.com>
5044
5045 [BZ #11577]
5046 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
5047 dl_signal_cerror.
5048
50492010-07-06 Ulrich Drepper <drepper@redhat.com>
5050
5051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
5052 _PC_PIPE_BUF using F_GETPIPE_SZ.
5053
50542010-07-05 Roland McGrath <roland@redhat.com>
5055
5056 * manual/arith.texi (Rounding Functions): Fix rint description
5057 implicit in round description.
5058
50592010-07-02 Ulrich Drepper <drepper@redhat.com>
5060
5061 * elf/Makefile: Fix linking for a few tests to make recent linker
5062 happy.
5063
50642010-06-30 Andreas Schwab <schwab@redhat.com>
5065
5066 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5067 $(common-objpfx)libc_nonshared.a.
5068
50692010-06-21 Luis Machado <luisgpm@br.ibm.com>
5070
5071 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
5072 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
5073 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5074 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5075 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
5076 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
5077 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5078 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
5093 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
5094 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
5095 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
5096 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
5097 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
5098 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
5099 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
5100 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
5101 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
5102 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
5103 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
5104 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
5119
51202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
5121
5122 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
5123 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
5124 * string/memmove.c (memmove): Renamed to ...
5125 (MEMMOVE): ...this. Default to memmove.
5126 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
5127 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
5128 (END_CHK): Define.
5129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5130 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
5131 mempcpy-ssse3-back memmove-ssse3-back.
5132 * sysdeps/x86_64/multiarch/bcopy.S: New file .
5133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
5134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
5135 * sysdeps/x86_64/multiarch/memcpy.S: New file.
5136 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
5137 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
5138 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
5139 * sysdeps/x86_64/multiarch/memmove.c: New file.
5140 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
5141 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
5142 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
5143 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
5144 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
5145 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
5146 Define.
5147 (index_Fast_Copy_Backward): Define.
5148 (HAS_ARCH_FEATURE): Define.
5149 (HAS_FAST_REP_STRING): Define.
5150 (HAS_FAST_COPY_BACKWARD): Define.
5151
51522010-06-21 Andreas Schwab <schwab@redhat.com>
5153
5154 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5155 Restore proper fallback handling.
5156
51572010-06-19 Ulrich Drepper <drepper@redhat.com>
5158
5159 [BZ #11701]
5160 * posix/group_member.c (__group_member): Correct checking loop.
5161
5162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
5163 OOM in getpwuid_r correctly. Return error number when the caller
5164 should return, otherwise -1.
5165 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
5166 call returning > 0 value.
5167 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
5168
51692010-06-07 Andreas Schwab <schwab@redhat.com>
5170
5171 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
5172 libc_nonshared.a from targets in modules-names.
5173
51742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
5175
5176 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
5177 requires it.
5178
51792010-06-10 Luis Machado <luisgpm@br.ibm.com>
5180
5181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
5182 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
5183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
5184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
5185
51862010-06-02 Andreas Schwab <schwab@redhat.com>
5187
5188 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
5189
51902010-06-14 Ulrich Drepper <drepper@redhat.com>
5191
5192 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
5193 and F_GETPIPE_SZ.
5194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
5200
52012010-06-14 Roland McGrath <roland@redhat.com>
5202
5203 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
5204
52052010-06-07 Jakub Jelinek <jakub@redhat.com>
5206
5207 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
5208 __REDIRECT followed by __THROW.
5209 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
5210 * posix/getopt.h (getopt): Likewise.
5211
52122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5213
5214 * hurd/lookup-at.c (__file_name_lookup_at): Accept
5215 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
5216 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
5217 in AT_FLAGS.
5218 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
5219 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
5220
52212010-05-28 Luis Machado <luisgpm@br.ibm.com>
5222
5223 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
5224
52252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 [BZ #11640]
5228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5229 Properly check family and model.
5230
52312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
5232
5233 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
5234
52352010-05-24 Luis Machado <luisgpm@br.ibm.com>
5236
5237 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
5238
52392010-05-21 Ulrich Drepper <drepper@redhat.com>
5240
5241 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
5242 symbol reference.
5243
52442010-05-19 Andreas Schwab <schwab@redhat.com>
5245
5246 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
5247 symbol reference.
5248
52492010-05-21 Andreas Schwab <schwab@redhat.com>
5250
5251 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
5252 and internal_recvmmsg.
5253 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
5254 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
5255 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
5256 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
5257
5258 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
5259 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5260 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5261
52622010-05-20 Andreas Schwab <schwab@redhat.com>
5263
5264 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
5265
52662010-05-17 Luis Machado <luisgpm@br.ibm.com>
5267
5268 POWER7 optimizations.
5269 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
5270 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
5271
52722010-05-19 Ulrich Drepper <drepper@redhat.com>
5273
5274 * version.h: Update for 2.13 development version.
5275
52762010-05-12 Andrew Stubbs <ams@codesourcery.com>
5277
5278 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
5279 exceptions. Return 0.
5280
52812010-05-07 Roland McGrath <roland@redhat.com>
5282
5283 * elf/ldconfig.c (main): Add a const.
5284
52852010-05-06 Ulrich Drepper <drepper@redhat.com>
5286
5287 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
5288 (args_options): Add no-idn option.
5289 (ahosts_keys_int): Add idn_flags to ai_flags.
5290 (parse_option): Handle 'i' option to clear idn_flags.
5291
5292 * malloc/malloc.c (_int_free): Possible race in the most recently
5293 added check. Only act on the data if no current modification
5294 happened.
5295
5296See ChangeLog.17 for earlier changes.