]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Support optimized isXXX functions in C++ code
[thirdparty/glibc.git] / ChangeLog
CommitLineData
396a21b1
UD
12011-10-14 Ulrich Drepper <drepper@gmail.com>
2
3 * ctype/ctype.h: Add support for inlined isXXX functions when
4 compiling C++ code.
5
6b1f68c9
AS
62011-10-14 Andreas Schwab <schwab@redhat.com>
7
349290c0
AS
8 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9
6b1f68c9
AS
10 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11
f2282d42
RM
122011-10-13 Roland McGrath <roland@hack.frob.com>
13
14 [BZ #13291]
15 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16
5298ffa8
AS
172011-10-13 Andreas Schwab <schwab@redhat.com>
18
714fad23
AS
19 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21 feraiseexcept.
22
81dcc7fb
AS
23 * sysdeps/x86_64/memrchr.S: Check for zero size.
24
5298ffa8
AS
25 * string/stratcliff.c: Add memrchr tests.
26
951fbcec
LD
272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28
29 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31 rawmemchr-sse2 rawmemchr-sse2-bsf.
32 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42 * string/memrchr.c (MEMRCHR): New macro.
43
0ac5ae23
UD
442011-10-12 Ulrich Drepper <drepper@gmail.com>
45
46 Add integration with gcc's -ffinite-math-only and optimize wrapper
47 functions in libm.
48 * Versions.def: Define GLIBC_2.15 version for libm.
49 * math/Makefile (headers): Add bits/math-finite.h.
50 * math/bits/math-finite.h: New file.
51 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53 * math/e_acoshl.c: Add __*_finite alias.
54 * math/e_acosl.c: Likewise.
55 * math/e_asinl.c: Likewise.
56 * math/e_atan2l.c: Likewise.
57 * math/e_atanhl.c: Likewise.
58 * math/e_coshl.c: Likewise.
59 * math/e_exp10.c: Likewise.
60 * math/e_exp10f.c: Likewise.
61 * math/e_exp10l.c: Likewise.
62 * math/e_exp2l.c: Likewise.
63 * math/e_fmodl.c: Likewise.
64 * math/e_gammal_r.c: Likewise.
65 * math/e_hypotl.c: Likewise.
66 * math/e_j0l.c: Likewise.
67 * math/e_j1l.c: Likewise.
68 * math/e_jnl.c: Likewise.
69 * math/e_lgammal_r.c: Likewise.
70 * math/e_log10l.c: Likewise.
71 * math/e_log2l.c: Likewise.
72 * math/e_logl.c: Likewise.
73 * math/e_powl.c: Likewise.
74 * math/e_sinhl.c: Likewise.
75 * math/e_sqrtl.c: Likewise.
76 * math/e_scalb.c: Completely rewritten and optimized.
77 * math/e_scalbf.c: Likewise.
78 * math/e_scalbl.c: Likewise.
79 * math/w_acos.c: Likewise.
80 * math/w_acosf.c: Likewise.
81 * math/w_acosl.c: Likewise.
82 * math/w_acosh.c: Likewise.
83 * math/w_acoshf.c: Likewise.
84 * math/w_acoshl.c: Likewise.
85 * math/w_asin.c: Likewise.
86 * math/w_asinf.c: Likewise.
87 * math/w_asinl.c: Likewise.
88 * math/w_atan2.c: Likewise.
89 * math/w_atan2f.c: Likewise.
90 * math/w_atan2l.c: Likewise.
91 * math/w_atanh.c: Likewise.
92 * math/w_atanhf.c: Likewise.
93 * math/w_atanhl.c: Likewise.
94 * math/w_exp10.c: Likewise.
95 * math/w_exp10f.c: Likewise.
96 * math/w_exp10l.c: Likewise.
97 * math/w_fmod.c: Likewise.
98 * math/w_fmodf.c: Likewise.
99 * math/w_fmodl.c: Likewise.
100 * math/w_j0.c: Likewise.
101 * math/w_j0f.c: Likewise.
102 * math/w_j0l.c: Likewise.
103 * math/w_j1.c: Likewise.
104 * math/w_j1f.c: Likewise.
105 * math/w_j1l.c: Likewise.
106 * math/w_jn.c: Likewise.
107 * math/w_jnf.c: Likewise.
108 * math/w_log.c: Likewise.
109 * math/w_logf.c: Likewise.
110 * math/w_logl.c: Likewise.
111 * math/w_log10.c: Likewise.
112 * math/w_log10f.c: Likewise.
113 * math/w_log10l.c: Likewise.
114 * math/w_log2.c: Likewise.
115 * math/w_log2f.c: Likewise.
116 * math/w_log2l.c: Likewise.
117 * math/w_pow.c: Likewise.
118 * math/w_powf.c: Likewise.
119 * math/w_powl.c: Likewise.
120 * math/w_remainder.c: Likewise.
121 * math/w_remainderf.c: Likewise.
122 * math/w_remainderl.c: Likewise.
123 * math/w_scalb.c: Likewise.
124 * math/w_scalbf.c: Likewise.
125 * math/w_scalbl.c: Likewise.
126 * math/w_sqrt.c: Likewise.
127 * math/w_sqrtf.c: Likewise.
128 * math/w_sqrtl.c: Likewise.
129 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
130 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
131 used.
132 * math/math_private.h: Declare __kernel_standard_f.
133 * math/w_cosh.c: Remove cruft and optimize a bit.
134 * math/w_coshf.c: Likewise.
135 * math/w_coshl.c: Likewise.
136 * math/w_exp2.c: Likewise.
137 * math/w_exp2f.c: Likewise.
138 * math/w_exp2l.c: Likewise.
139 * math/w_hypot.c: Likewise.
140 * math/w_hypotf.c: Likewise.
141 * math/w_hypotl.c: Likewise.
142 * math/w_lgamma.c: Likewise.
143 * math/w_lgamma_r.c: Likewise.
144 * math/w_lgammaf.c: Likewise.
145 * math/w_lgammaf_r.c: Likewise.
146 * math/w_lgammal.c: Likewise.
147 * math/w_lgammal_r.c: Likewise.
148 * math/w_sinh.c: Likewise.
149 * math/w_sinhf.c: Likewise.
150 * math/w_sinhl.c: Likewise.
151 * math/w_tgamma.c: Likewise.
152 * math/w_tgammaf.c: Likewise.
153 * math/w_tgammal.c: Likewise.
154 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
155 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
156 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
157 Minor optimizations. Pretty printing. Remove cruft.
158 * sysdeps/i386/fpu/e_acosf.S: Likewise.
159 * sysdeps/i386/fpu/e_acosh.S: Likewise.
160 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
161 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
162 * sysdeps/i386/fpu/e_acosl.c: Likewise.
163 * sysdeps/i386/fpu/e_asin.S: Likewise.
164 * sysdeps/i386/fpu/e_asinf.S: Likewise.
165 * sysdeps/i386/fpu/e_atan2.S: Likewise.
166 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
167 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
168 * sysdeps/i386/fpu/e_atanh.S: Likewise.
169 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
170 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
171 * sysdeps/i386/fpu/e_exp10.S: Likewise.
172 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
173 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
174 * sysdeps/i386/fpu/e_exp2.S: Likewise.
175 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
176 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
177 * sysdeps/i386/fpu/e_fmod.S: Likewise.
178 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
179 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
180 * sysdeps/i386/fpu/e_hypot.S: Likewise.
181 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
182 * sysdeps/i386/fpu/e_log.S: Likewise.
183 * sysdeps/i386/fpu/e_log10.S: Likewise.
184 * sysdeps/i386/fpu/e_log10f.S: Likewise.
185 * sysdeps/i386/fpu/e_log10l.S: Likewise.
186 * sysdeps/i386/fpu/e_log2.S: Likewise.
187 * sysdeps/i386/fpu/e_log2f.S: Likewise.
188 * sysdeps/i386/fpu/e_log2l.S: Likewise.
189 * sysdeps/i386/fpu/e_logf.S: Likewise.
190 * sysdeps/i386/fpu/e_logl.S: Likewise.
191 * sysdeps/i386/fpu/e_pow.S: Likewise.
192 * sysdeps/i386/fpu/e_powf.S: Likewise.
193 * sysdeps/i386/fpu/e_powl.S: Likewise.
194 * sysdeps/i386/fpu/e_remainder.S: Likewise.
195 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
196 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
197 * sysdeps/i386/fpu/e_scalb.S: Likewise.
198 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
199 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
200 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
201 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
202 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
203 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
206 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
208 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
209 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
212 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
213 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
214 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
217 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
219 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
220 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
223 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
224 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
225 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
226 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
227 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
228 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
229 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
230 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
231 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
232 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
233 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
234 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
235 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
236 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
237 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
238 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
239 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
240 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
241 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
242 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
243 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
244 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
245 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
246 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
247 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
248 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
249 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
250 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
251 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
252 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
262 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
263 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
266 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
280 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
281 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
282 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
283 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
284 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
285 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
286 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
287 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
288 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
290 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
291 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
292 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
293 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
294 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
295 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
296 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
298 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
299 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
300 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
301 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
302 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
303 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
304 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
305 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
306 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
307 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
308 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
309 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
310 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
311 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
312 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
313 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
314 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
315 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
316 (__isnanf): Likewise.
317 (__isinf_ns): Likewise.
318 (__isinf_nsf): Likewise.
319 (__finite): Likewise.
320 (__finitef): Likewise.
321 (__ieee754_sqrt): Define as macro.
322 (__ieee754_sqrtf): Define as macro.
323 (__ieee754_sqrtl): Define as macro.
324 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
325 inlined copy.
326 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
327 __FINITE_MATH_ONLY__ consistent.
328 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
329
12cc2fcd
AS
3302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
331
a843a204
AS
332 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
333 of rawmemchr.
334
12cc2fcd
AS
335 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
336
c853acd5
UD
3372011-10-09 Ulrich Drepper <drepper@gmail.com>
338
339 * po/ja.po: Update from translation team.
340
c658d255
RM
3412011-10-08 Roland McGrath <roland@hack.frob.com>
342
110946e4
RM
343 * locale/programs/locarchive.c (prepare_address_space): New function.
344 (create_archive, enlarge_archive, open_archive): Use it.
345
50604220
RM
346 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
347 inside [SHARED], where it is used.
348
c658d255
RM
349 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
350
351 * nss/getent.c (netgroup_keys): Remove unused variable.
352 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
353
6a621eb7
UD
3542011-10-08 Ulrich Drepper <drepper@gmail.com>
355
7edb55ce
UD
356 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
359 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
360 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
361 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
362 * math/Makefile (libm-calls): Add s_isinf_ns.
363 * math/divtc3.c: Use __isinf_nsl instead of isinf.
364 * math/multc3.c: Likewise.
365 * math/s_casin.c: Likewise.
366 * math/s_casinf.c: Likewise.
367 * math/s_casinl.c: Likewise.
368 * math/s_ccos.c: Likewise.
369 * math/s_ccosf.c: Likewise.
370 * math/s_ccosl.c: Likewise.
371 * math/s_ctan.c: Likewise.
372 * math/s_ctanf.c: Likewise.
373 * math/s_ctanh.c: Likewise.
374 * math/s_ctanhf.c: Likewise.
375 * math/s_ctanhl.c: Likewise.
376 * math/s_ctanl.c: Likewise.
377 * math/w_fmod.c: Likewise.
378 * math/w_fmodf.c: Likewise.
379 * math/w_fmodl.c: Likewise.
380 * math/w_remainder.c: Likewise.
381 * math/w_remainderf.c: Likewise.
382 * math/w_remainderl.c: Likewise.
383 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
384 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
387 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
388 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
389 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
390 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
391
187da0ae
UD
392 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
393 of the number.
394 * stdio-common/printf_fphex.c: Likewise.
395 * stdio-common/printf_size.c: Likewise.
396
9277c064
UD
397 * math/e_exp10.c: Include math_private.h using <...> not "...".
398 * math/e_exp10f.c: Likewise.
399 * math/e_exp10l.c: Likewise.
400 * math/e_exp2l.c: Likewise.
401 * math/e_j0l.c: Likewise.
402 * math/e_j1l.c: Likewise.
403 * math/e_jnl.c: Likewise.
404 * math/e_lgammal_r.c: Likewise.
405 * math/e_rem_pio2l.c: Likewise.
406 * math/e_scalb.c: Likewise.
407 * math/e_scalbf.c: Likewise.
408 * math/e_scalbl.c: Likewise.
409 * math/k_cosl.c: Likewise.
410 * math/k_sinl.c: Likewise.
411 * math/k_tanl.c: Likewise.
412 * math/s_cacoshf.c: Likewise.
413 * math/s_catan.c: Likewise.
414 * math/s_catanf.c: Likewise.
415 * math/s_catanh.c: Likewise.
416 * math/s_catanhf.c: Likewise.
417 * math/s_catanhl.c: Likewise.
418 * math/s_catanl.c: Likewise.
419 * math/s_ccosh.c: Likewise.
420 * math/s_ccoshf.c: Likewise.
421 * math/s_ccoshl.c: Likewise.
422 * math/s_cexp.c: Likewise.
423 * math/s_cexpf.c: Likewise.
424 * math/s_cexpl.c: Likewise.
425 * math/s_clog.c: Likewise.
426 * math/s_clog10.c: Likewise.
427 * math/s_clog10f.c: Likewise.
428 * math/s_clog10l.c: Likewise.
429 * math/s_clogf.c: Likewise.
430 * math/s_clogl.c: Likewise.
431 * math/s_csin.c: Likewise.
432 * math/s_csinf.c: Likewise.
433 * math/s_csinh.c: Likewise.
434 * math/s_csinhf.c: Likewise.
435 * math/s_csinhl.c: Likewise.
436 * math/s_csinl.c: Likewise.
437 * math/s_csqrt.c: Likewise.
438 * math/s_csqrtf.c: Likewise.
439 * math/s_csqrtl.c: Likewise.
440 * math/s_ctan.c: Likewise.
441 * math/s_ctanf.c: Likewise.
442 * math/s_ctanh.c: Likewise.
443 * math/s_ctanhf.c: Likewise.
444 * math/s_ctanhl.c: Likewise.
445 * math/s_ctanl.c: Likewise.
446 * math/s_ldexp.c: Likewise.
447 * math/s_ldexpf.c: Likewise.
448 * math/s_ldexpl.c: Likewise.
449 * math/s_significand.c: Likewise.
450 * math/s_significandf.c: Likewise.
451 * math/s_significandl.c: Likewise.
452 * math/w_acos.c: Likewise.
453 * math/w_acosf.c: Likewise.
454 * math/w_acosh.c: Likewise.
455 * math/w_acoshf.c: Likewise.
456 * math/w_acoshl.c: Likewise.
457 * math/w_acosl.c: Likewise.
458 * math/w_asin.c: Likewise.
459 * math/w_asinf.c: Likewise.
460 * math/w_asinl.c: Likewise.
461 * math/w_atan2.c: Likewise.
462 * math/w_atan2f.c: Likewise.
463 * math/w_atan2l.c: Likewise.
464 * math/w_atanh.c: Likewise.
465 * math/w_atanhf.c: Likewise.
466 * math/w_atanhl.c: Likewise.
467 * math/w_cosh.c: Likewise.
468 * math/w_coshf.c: Likewise.
469 * math/w_coshl.c: Likewise.
470 * math/w_dremf.c: Likewise.
471 * math/w_exp10.c: Likewise.
472 * math/w_exp10f.c: Likewise.
473 * math/w_exp10l.c: Likewise.
474 * math/w_exp2.c: Likewise.
475 * math/w_exp2f.c: Likewise.
476 * math/w_fmod.c: Likewise.
477 * math/w_fmodf.c: Likewise.
478 * math/w_fmodl.c: Likewise.
479 * math/w_hypot.c: Likewise.
480 * math/w_hypotf.c: Likewise.
481 * math/w_hypotl.c: Likewise.
482 * math/w_j0.c: Likewise.
483 * math/w_j0f.c: Likewise.
484 * math/w_j0l.c: Likewise.
485 * math/w_j1.c: Likewise.
486 * math/w_j1f.c: Likewise.
487 * math/w_j1l.c: Likewise.
488 * math/w_jn.c: Likewise.
489 * math/w_jnf.c: Likewise.
490 * math/w_jnl.c: Likewise.
491 * math/w_lgamma.c: Likewise.
492 * math/w_lgamma_r.c: Likewise.
493 * math/w_lgammaf.c: Likewise.
494 * math/w_lgammaf_r.c: Likewise.
495 * math/w_lgammal.c: Likewise.
496 * math/w_lgammal_r.c: Likewise.
497 * math/w_log.c: Likewise.
498 * math/w_log10.c: Likewise.
499 * math/w_log10f.c: Likewise.
500 * math/w_log10l.c: Likewise.
501 * math/w_log2.c: Likewise.
502 * math/w_log2f.c: Likewise.
503 * math/w_log2l.c: Likewise.
504 * math/w_logf.c: Likewise.
505 * math/w_logl.c: Likewise.
506 * math/w_pow.c: Likewise.
507 * math/w_powf.c: Likewise.
508 * math/w_powl.c: Likewise.
509 * math/w_remainder.c: Likewise.
510 * math/w_remainderf.c: Likewise.
511 * math/w_remainderl.c: Likewise.
512 * math/w_scalb.c: Likewise.
513 * math/w_scalbf.c: Likewise.
514 * math/w_scalbl.c: Likewise.
515 * math/w_sinh.c: Likewise.
516 * math/w_sinhf.c: Likewise.
517 * math/w_sinhl.c: Likewise.
518 * math/w_sqrt.c: Likewise.
519 * math/w_sqrtf.c: Likewise.
520 * math/w_sqrtl.c: Likewise.
521 * math/w_tgamma.c: Likewise.
522 * math/w_tgammaf.c: Likewise.
523 * math/w_tgammal.c: Likewise.
524
6a621eb7
UD
525 * po/ja.po: Update from translation team.
526
bf582445
AJ
5272011-09-29 Andreas Jaeger <aj@suse.de>
528
f9efbf3a
AJ
529 [BZ #13179]
530 * sunrpc/netname.c (netname2host): Fix logic.
531
bf582445
AJ
532 [BZ #6779]
533 [BZ #6783]
534 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
535 correctly.
536 * math/w_remainder.c (__remainder): Likewise.
537 * math/w_remainderf.c (__remainderf): Likewise.
538 * math/libm-test.inc (remainder_test): Add test cases.
539
48693bea
AK
5402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
541
542 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
543 sdiv_qrnnd.
544
42622229
LD
5452011-10-07 Ulrich Drepper <drepper@gmail.com>
546
547 * string/test-memcmp.c: Avoid unncessary #defines.
548 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
549
093ecf92
LD
5502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
551
552 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
553 Use new sse2 version for core i3 - i7 as it's faster
554 than sse42 version.
555 (bit_Prefer_PMINUB_for_stringop): New.
556 * sysdeps/x86_64/rawmemchr.S: Update.
557 Replace with faster SSE2 version.
558 * sysdeps/x86_64/memrchr.S: New file.
559 * sysdeps/x86_64/memchr.S: Update.
560 Replace with faster SSE2 version.
561
fde56e5c
MP
5622011-09-12 Marek Polacek <mpolacek@redhat.com>
563
564 * elf/dl-load.c (lose): Add cast to avoid warning.
565
21fd49a9
UD
5662011-10-07 Ulrich Drepper <drepper@gmail.com>
567
5a06e643
UD
568 * po/ca.po: Update from translation team.
569
684ae515
UD
570 * inet/getnetgrent_r.c: Hook up nscd.
571 * nscd/Makefile (routines): Add nscd_netgroup.
572 (nscd-modules): Add netgroupcache.
573 (CFLAGS-netgroupcache.c): Define.
574 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
575 (cache_search): Add const to second parameter.
576 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
577 INNETGR.
578 (dbs): Add netgrdb entry.
579 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
580 (verify_persistent_db): Handle netgrdb.
581 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
582 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
583 GETFDNETGR.
584 (netgroup_response_header): Define.
585 (innetgroup_response_header): Define.
586 (datahead): Add netgroup_response_header and innetgroup_response_header
587 elements.
588 * nscd/nscd.conf: Add entries for netgroup cache.
589 * nscd/nscd.h (dbtype): Add netgrdb.
590 (_PATH_NSCD_NETGROUP_DB): Define.
591 (netgroup_iov_disabled): Declare.
592 (xmalloc, xcalloc, xrealloc): Move declarations here.
593 (cache_search): Adjust prototype.
594 Add netgroup-related prototypes.
595 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
596 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
597 (__nscd_innetgr): Declare.
598 * nscd/selinux.c (perms): Use access_vector_t as element type and
599 add netgroup-related initializers.
600 * nscd/netgroupcache.c: New file.
601 * nscd/nscd_netgroup.c: New file.
602 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
603 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
604 For four parameters use innetgr.
605 * nss/nss_files/files-init.c: Add definition and callback for netgr.
606 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
607 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
608 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
609
21fd49a9
UD
610 * nscd/connections.c (register_traced_file): Don't register file
611 for disabled databases.
612
054c0457
UD
6132011-10-06 Ulrich Drepper <drepper@gmail.com>
614
32b63198
UD
615 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
616
054c0457
UD
617 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
618 from tree and freeing node.
619
64031225
JO
6202011-09-25 Jiri Olsa <jolsa@redhat.com>
621
622 * nss/nsswitch.c (__nss_database_lookup): Handle
623 nss_parse_service_list out of memory case.
624
0490345c
JO
6252011-09-15 Jiri Olsa <jolsa@redhat.com>
626
627 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
628 out of memory case.
629
3a62d00d
AS
6302011-10-04 Andreas Schwab <schwab@redhat.com>
631
632 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
633 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
634 pass it down.
635 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
636 elf_machine_rela, elf_machine_lazy_rel.
637 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
638 (ELF_DYNAMIC_DO_REL): Likewise.
639 (ELF_DYNAMIC_DO_RELA): Likewise.
640 (ELF_DYNAMIC_RELOCATE): Likewise.
641 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
642 to ELF_DYNAMIC_DO_REL.
643 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
644 (dl_main): In trace mode always set __RTLD_NOIFUNC.
645 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
646 elf_machine_rela.
647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
648 skip_ifunc, don't call ifunc function if non-zero.
649 (elf_machine_rela): Likewise.
650 (elf_machine_lazy_rel): Likewise.
651 (elf_machine_lazy_rela): Likewise.
652 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
653 (elf_machine_lazy_rel): Likewise.
654 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
655 Likewise.
656 (elf_machine_lazy_rel): Likewise.
657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
658 Likewise.
659 (elf_machine_lazy_rel): Likewise.
660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
661 (elf_machine_lazy_rel): Likewise.
662 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
663 (elf_machine_lazy_rel): Likewise.
664 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
665 (elf_machine_lazy_rel): Likewise.
666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
667 (elf_machine_lazy_rel): Likewise.
668 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
669 (elf_machine_lazy_rel): Likewise.
670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
671 (elf_machine_lazy_rel): Likewise.
672
68577918
UD
6732011-09-28 Ulrich Drepper <drepper@gmail.com>
674
675 * nss/nss_files/files-init.c (_nss_files_init): Use static
676 initialization for all the *_traced_file variables.
677
68822d74
AS
6782011-09-28 Andreas Schwab <schwab@redhat.com>
679
680 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
681
2056100b
RM
6822011-09-27 Roland McGrath <roland@hack.frob.com>
683
684 [BZ #13226]
685 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
686
32c76b63
AS
6872011-09-27 Andreas Schwab <schwab@redhat.com>
688
689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
690 Reread the line before reparsing it.
691
bf972c9d
AS
6922011-09-26 Andreas Schwab <schwab@redhat.com>
693
694 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
695
e057a1b5
JM
6962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
697 Maxim Kuvyrkov <maxim@codesourcery.com>
698 Joseph Myers <joseph@codesourcery.com>
699
700 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
701 if needed for __stack_chk_guard.
702
bc7e1c36
RM
7032011-09-19 Roland McGrath <roland@hack.frob.com>
704
ecb1482f
RM
705 * sysdeps/posix/spawni.c (script_execute): Always define it.
706 It will be optimized away if unused.
707 (maybe_script_execute): New function.
708 (__spawni): Call it.
709
bc7e1c36
RM
710 * Makerules: Don't include tls.make.
711 (config-tls): Always set to thread.
712 * tls.make.c: File removed.
713
1c3b002b
MF
7142011-09-19 Mike Frysinger <vapier@gentoo.org>
715
716 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
717 * config.make.in (CPPFLAGS-config): New substituted variable.
718
2840865d
UD
7192011-09-15 Ulrich Drepper <drepper@gmail.com>
720
88738eb6
UD
721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
722
cbf645a6 723 [BZ #13192]
2840865d
UD
724 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
725 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
726
b402e91a
RM
7272011-09-15 Roland McGrath <roland@hack.frob.com>
728
729 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
730 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
732 (CALL_FAIL): Likewise.
733 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
734 (CALL_FAIL): Macro removed.
735 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
736
4c1a1f71
UD
7372011-09-15 Ulrich Drepper <drepper@gmail.com>
738
739 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
740 for __FINITE_MATH_ONLY__ == 1.
741
edc121be
AS
7422011-09-15 Andreas Schwab <schwab@redhat.com>
743
744 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
745 __ieee754_sqrt instead of sqrt.
746 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
747 __ieee754_sqrtf instead of sqrtf.
748 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
749 __floorf instead of floorf.
750 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
751 __floorf, __truncf instead of floorf, truncf.
752
cd205654
UD
7532011-09-14 Ulrich Drepper <drepper@gmail.com>
754
ee4d0315
UD
755 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
756
cd205654
UD
757 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
758 __extern_always_inline.
759 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
760 32-bit.
761
48b67d71
AS
7622011-09-14 Andreas Schwab <schwab@redhat.com>
763
764 * elf/rtld.c (dl_main): Also relocate in dependency order when
765 doing symbol dependency testing.
766
1ae12c75
AS
7672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
768
769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
770 Always define `refsym'.
771
995a80df
AS
7722011-09-13 Andreas Schwab <schwab@redhat.com>
773
e529793b
AS
774 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
775 (__FD_ELT): Renamed from __FDELT.
776 * misc/bits/select2.h (__FD_ELT): Likewise.
777 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
778 __FD_MASK instead of __FDELT, __FDMASK.
779 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
780 Likewise.
781 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
782 Likewise.
783
52d4fef8
AS
784 * elf/Makefile (gen-ldd): Fix pattern.
785
995a80df
AS
786 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
787 (init_tls): Likewise.
788
8682f8b0
UD
7892011-09-12 Ulrich Drepper <drepper@gmail.com>
790
791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
792
de82006d
AS
7932011-09-12 Andreas Schwab <schwab@redhat.com>
794
a7c8e6a1
AS
795 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
796 `struct cmsghdr *' instead of `void *'.
797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
798 Likewise.
799
0f31fe77
AS
8002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
801
802 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
803 if non-absolute.
804 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
805 ldd_rewrite_script.
0f31fe77 806
32b4c839
UD
8072011-09-11 Ulrich Drepper <drepper@gmail.com>
808
83cd1420
UD
809 * configure.in: Remove --with-tls option.
810 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
811 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
812 out in case it is missing.
813 * sysdeps/ia64/elf/configure.in: Likewise.
814 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
815 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
816 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
817 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
818 * sysdeps/sh/elf/configure.in: Likewise.
819 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
820 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
821 * sysdeps/x86_64/elf/configure.in: Likewise.
822 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
823 * sysdeps/mach/hurd/tls.h: Likewise.
824
633f745d
UD
825 [BZ #13067]
826 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
827
f318beb8
UD
828 [BZ #13090]
829 * configure.in: Fix use of AC_INIT.
830
32b4c839
UD
831 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
832
3ce1f295
UD
8332011-09-10 Ulrich Drepper <drepper@gmail.com>
834
bb016596
UD
835 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
836 __set_errno.
8e58439c
UD
837 * malloc/hooks.c: Likewise.
838
02d46fc4
UD
839 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
840 variables statically.
841 (narenas): Initialize.
842 (list_lock): Initialize.
bb016596
UD
843 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
844 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
845 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
846 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
847 Add initializers to main_arena and mp_.
848 (malloc_state): Remove pagesize member. Change all users to use
849 GLRO(dl_pagesize).
850
851 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
852 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
853 is always initialized.
854
22a89187
UD
855 * malloc/malloc.c: Removed unused configurations and dead code.
856 * malloc/arena.c: Likewise.
857 * malloc/hooks.c: Likewise.
02d46fc4 858 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 859
d063d164
UD
860 * include/tls.h: Removed. USE___THREAD must always be defined.
861 * bits/libc-tsd.h: Don't handle !USE___THREAD.
862 * elf/dl-libc.c: Likewise.
863 * elf/dl-tsd.c: Likewise.
864 * include/errno.h: Likewise.
865 * include/netdb.h: Likewise.
866 * include/resolv.h: Likewise.
867 * inet/herrno-loc.c: Likewise.
868 * inet/herrno.c: Likewise.
869 * malloc/arena.c: Likewise.
870 * malloc/hooks.c: Likewise.
871 * malloc/malloc.c: Likewise.
872 * resolv/res-state.c: Likewise.
873 * resolv/res_libc.c: Likewise.
874 * sysdeps/i386/dl-machine.h: Likewise.
875 * sysdeps/ia64/dl-machine.h: Likewise.
876 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
877 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
878 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
879 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
880 * sysdeps/sh/dl-machine.h: Likewise.
881 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
882 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
883 * sysdeps/unix/i386/sysdep.S: Likewise.
884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
885 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
887 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
889 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
890 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
894 * sysdeps/unix/x86_64/sysdep.S: Likewise.
895 * sysdeps/x86_64/dl-machine.h: Likewise.
896 * tls.make.c: Likewise.
897
3ce1f295
UD
898 * configure.in: Remove --with-__thread option. Make tests for
899 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
900 tls_model attribute fail if no support is available. Remove
901 USE_IN_LIBIO.
902 * Makeconfig: Adjust for dropped configure option. All features are
903 now mandatory.
904 * Makerules: Likewise.
905 * Versions.def: Likewise.
906 * argp/argp-fmtstream.c: Likewise.
907 * argp/argp-fmtstream.h: Likewise.
908 * argp/argp-help.c: Likewise.
909 * assert/assert.c: Likewise.
910 * config.h.in: Likewise.
911 * config.make.in: Likewise.
912 * configure: Likewise.
913 * configure.in: Likewise.
914 * csu/Versions: Likewise.
915 * csu/init.c: Likewise.
916 * elf/tst-audit2.c: Likewise.
917 * elf/tst-tls10.c: Likewise.
918 * elf/tst-tls10.h: Likewise.
919 * elf/tst-tls11.c: Likewise.
920 * elf/tst-tls12.c: Likewise.
921 * elf/tst-tls14.c: Likewise.
922 * elf/tst-tlsmod11.c: Likewise.
923 * elf/tst-tlsmod12.c: Likewise.
924 * elf/tst-tlsmod13.c: Likewise.
925 * elf/tst-tlsmod13a.c: Likewise.
926 * elf/tst-tlsmod14a.c: Likewise.
927 * elf/tst-tlsmod15b.c: Likewise.
928 * elf/tst-tlsmod16a.c: Likewise.
929 * elf/tst-tlsmod16b.c: Likewise.
930 * elf/tst-tlsmod7.c: Likewise.
931 * elf/tst-tlsmod8.c: Likewise.
932 * elf/tst-tlsmod9.c: Likewise.
933 * gmon/gmon.c: Likewise.
934 * grp/fgetgrent_r.c: Likewise.
935 * grp/putgrent.c: Likewise.
936 * hurd/fopenport.c: Likewise.
937 * include/libc-symbols.h: Likewise.
938 * include/tls.h: Likewise.
939 * intl/gettextP.h: Likewise.
940 * intl/loadinfo.h: Likewise.
941 * locale/global-locale.c: Likewise.
942 * locale/localeinfo.h: Likewise.
943 * mach/devstream.c: Likewise.
944 * malloc/arena.c: Likewise.
945 * malloc/set-freeres.c: Likewise.
946 * misc/err.c: Likewise.
947 * misc/getttyent.c: Likewise.
948 * misc/mntent_r.c: Likewise.
949 * posix/getopt.c: Likewise.
950 * posix/wordexp.c: Likewise.
951 * pwd/fgetpwent_r.c: Likewise.
952 * resolv/Versions: Likewise.
953 * resolv/res_hconf.c: Likewise.
954 * shadow/fgetspent_r.c: Likewise.
955 * shadow/putspent.c: Likewise.
956 * stdio-common/printf_fphex.c: Likewise.
957 * stdio-common/tmpfile.c: Likewise.
958 * stdlib/abort.c: Likewise.
959 * stdlib/fmtmsg.c: Likewise.
960 * sunrpc/auth_unix.c: Likewise.
961 * sunrpc/clnt_perr.c: Likewise.
962 * sunrpc/clnt_tcp.c: Likewise.
963 * sunrpc/clnt_udp.c: Likewise.
964 * sunrpc/clnt_unix.c: Likewise.
965 * sunrpc/openchild.c: Likewise.
966 * sunrpc/svc_simple.c: Likewise.
967 * sunrpc/svc_tcp.c: Likewise.
968 * sunrpc/svc_udp.c: Likewise.
969 * sunrpc/svc_unix.c: Likewise.
970 * sunrpc/xdr.c: Likewise.
971 * sunrpc/xdr_array.c: Likewise.
972 * sunrpc/xdr_rec.c: Likewise.
973 * sunrpc/xdr_ref.c: Likewise.
974 * sunrpc/xdr_stdio.c: Likewise.
975
1248c1c4
PB
9762011-09-09 Ulrich Drepper <drepper@gmail.com>
977
978 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
979
9802011-07-03 Andreas Jaeger <aj@suse.de>
981
982 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
983 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
984 regenerate with gen-libm-tests.pl.
985
9862010-05-12 Petr Baudis <pasky@suse.cz>
987
988 [BZ #11589]
989 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
990 around j0() zero points by switching to j1().
991 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
992 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
994 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
995
f22e1074
UD
9962011-09-09 Ulrich Drepper <drepper@gmail.com>
997
f19009c1
UD
998 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
999 instead of 0.
1000 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
1001 instead of 0. .
1002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1003 Patch in part by Pavel Roskin <proski@gnu.org>.
1004
3f8cc204
UD
1005 [BZ #13138]
1006 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
1007 realloc.
1008 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
1009 Free memory block if necessary.
1010
f22e1074
UD
1011 [BZ #12847]
1012 * libio/genops.c (INTDEF): For string streams the _lock pointer can
1013 be NULL. Don't lock in this case.
1014
0a2349f9
RM
10152011-09-09 Roland McGrath <roland@hack.frob.com>
1016
1017 * elf/elf.h (ELFOSABI_GNU): New macro.
1018 (ELFOSABI_LINUX): Define to that.
1019
f3cdd467
DZ
10202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
1021
1022 * string/strncat.c (strncat): Undef the symbol in case it has been
1023 defined in bits/string.h.
1024
74718d13
UD
10252011-09-09 Ulrich Drepper <drepper@gmail.com>
1026
633e9e0f
UD
1027 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
1028
0a2349f9 1029 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
1030 link map.
1031
f9924780
AJ
10322011-08-17 Andreas Jaeger <aj@suse.de>
1033
1034 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
1035
7f5517aa
PP
10362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1037 Ian Lance Taylor <iant@google.com>
1038
1039 * math/libm-test.inc (lround_test): New testcase.
1040 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
1041
762011fe
UD
10422011-09-08 Ulrich Drepper <drepper@gmail.com>
1043
92963737
UD
1044 * Makefile: Remove support for automatic cvs check-ins.
1045 * Makerules: Likewise.
1046 * config.make.in: Likewise.
1047 * configure.in: Likewise.
1048 * intl/Makefile: Likewise.
1049 * locale/Makefile: Likewise.
1050 * po/Makefile: Likewise.
1051 * posix/Makefile: Likewise.
1052 * sysdeps/gnu/Makefile: Likewise.
1053 * sysdeps/mach/hurd/Makefile: Likewise.
1054 * sysdeps/sparc/sparc32/Makefile: Likewise.
1055
b0727fd8
JS
1056 [BZ #13118]
1057 * posix/Makefile (bug-regex32-ENV): Define.
1058 Patch by John Stanley <jpsinthemix@verizon.net>.
1059
a0f33f99
UD
1060 * misc/Makefile (headers): Add bits/select2.h.
1061 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
1062 * misc/bits/select2.h: New file.
1063 * include/bits/select2.h: New file.
1064 * debug/Makefile (routines): Add fdelt_chk.
1065 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
1066 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
1067 FD_ISSET.
1068 * debug/fdelt_chk.c: New file.
1069
762011fe
UD
1070 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
1071 * wcsmbs/test-wmemcmp.c: Likewise.
1072 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 1073 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
1074
10752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1076
1077 * string/Makefile (strop-tests): Add memcmp.
1078 * string/test-wmemcmp.c: New file.
1079 * string/test-memcmp.c: Add wmemcmp support.
1080
7f513ec8
RM
10812011-09-08 Roland McGrath <roland@hack.frob.com>
1082
0442afb4
RM
1083 [BZ #13153]
1084 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
1085 2011-07-19 change.
1086
7f513ec8
RM
1087 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
1088 garbage value in a __mach_port_mod_refs call in the cases of the
1089 task-self and thread-self ports.
1090
a12b2239
ST
10912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1092
1093 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
1094
610f9ab4
AS
10952011-09-08 Andreas Schwab <schwab@redhat.com>
1096
7f513ec8 1097 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 1098
48882a1a
LD
10992011-09-07 Ulrich Drepper <drepper@gmail.com>
1100
b49865be
UD
1101 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
1102
fdc86bc9
UD
1103 * elf/dl-libc.c (dlerror_run): Pass back error code from
1104 dl_catch_error.
1105
c966526a
UD
1106 [BZ #13123]
1107 * elf/dl-load.c (lose): Free l_origin if it is valid.
1108
48882a1a
LD
1109 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
1110 names.
1111 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1114 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1115 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1116 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
1117
77a2a8b4
AZ
11182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * sysdeps/powerpc/fpu/e_hypot.c: New file.
1121 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
1122 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
1123 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
1124 * sysdeps/powerpc/fpu/k_cosf.c: New file.
1125 * sysdeps/powerpc/fpu/k_sinf.c: New file.
1126 * sysdeps/powerpc/fpu/s_cosf.c: New file.
1127 * sysdeps/powerpc/fpu/s_sinf.c: New file.
1128 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
1129 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
1130
24f579d8
AM
11312011-08-15 Alan Modra <amodra@gmail.com>
1132
1133 [BZ #13092]
1134 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
1135 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
1136 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
1137 ppc_mcount to static-only-routines.
1138 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
1139 __mcount_internal.
1140 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
1141 __mcount_internal with usual JUMPTARGET. Remove useless nop.
1142
3d4837df
UD
11432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
1144
1145 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
1146 for finite and infinity parameters.
1147
22700377
WS
11482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1149
1150 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
1151 and add nop instructions for throughput optimization.
1152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1153
5025581e
WS
11542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
1155
1156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
1157 aligned copy for power7 with vector-scalar instructions.
1158 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1159
08a300c9
L
11602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
1161
1162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
1163 AVX check.
1164
59178ef9
AS
11652011-09-07 Andreas Schwab <schwab@redhat.com>
1166
1167 [BZ #13144]
1168 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
1169 last change.
1170
e38ba7ab
UD
11712011-09-07 Ulrich Drepper <drepper@gmail.com>
1172
1173 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1174 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
1175 syscall wrapper around clock_gettime in __vdso_clock_gettime.
1176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
1177 clock_gettime.
1178
d53a73ac
UD
11792011-09-06 Ulrich Drepper <drepper@gmail.com>
1180
fc8bffcc
UD
1181 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
1182 Forgot to demangle the pointer.
1183
ceaa0c5d
UD
1184 * sysdeps/i386/sysdep.h: Define atom_text_section.
1185 * sysdeps/x86_64/sysdep.h: Likewise.
1186 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
1187 section with atom_text_section.
1188 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
1193
a77d3c17
UD
1194 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
1195 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
1196 already be defined. Change to take two parameters and don't assign
1197 result to variable. Adjust all users.
1198 Define INTERNAL_GETTIME if not already defined.
1199 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
1200 call.
1201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
1202 HAVE_CLOCK_GETTIME_VSYSCALL.
1203 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
1204
d53a73ac
UD
1205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
1206 gettimeofday vsyscall, just use time.
1207
a8f84144
AS
12082011-09-06 Andreas Schwab <schwab@redhat.com>
1209
1210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
1211 <errno.h>.
1212
ef606249
UD
12132011-09-06 Ulrich Drepper <drepper@gmail.com>
1214
1215 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
1216 syscall on x86-64.
1217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
1218 syscall.
1219 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1220 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
1221 syscall if possible.
1222
6585cb60
UD
12232011-09-05 Ulrich Drepper <drepper@gmail.com>
1224
1225 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
1226 e_ident. Don't pass to find_mapsXX.
1227 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
1228
a5f524e4
LD
12292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1230
1231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1232 strchr-sse2-no-bsf strrchr-sse2-no-bsf
1233 * sysdeps/x86_64/multiarch/strchr.S: Update.
1234 Check bit_slow_BSF bit.
1235 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1236 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
1237 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
1238
554881ef
UD
12392011-09-05 Ulrich Drepper <drepper@gmail.com>
1240
d96de963
UD
1241 [BZ #13134]
1242 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
1243 before glibc 2.15.
1244 (tryshell): Define.
1245 (__spawni): Change last parameter to be flag. Test
1246 SPAWN_XFLAGS_USE_PATH flag to use path or not.
1247 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
1248 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
1249 * posix/spawni.c: Likewise.
1250 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
1251 * posix/spawnp.c: Likewise. Change normal version to use
1252 SPAWN_XFLAGS_USE_PATH.
1253 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
1254 SPAWN_XFLAGS_TRY_SHELL.
1255
d48e5868
UD
1256 [BZ #13150]
1257 * posix/glob.h: Remove gcc 1.x support.
1258
554881ef
UD
1259 [BZ #13068]
1260 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
1261
693fb948
LD
12622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1263
1264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1265 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
1266 strrchr-sse2-bsf
1267 * sysdeps/i386/i686/multiarch/strchr.S: New file.
1268 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
1269 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
1270 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
1271 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
1272 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
1273
1b48c537
UD
12742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1275
49d42c37
UD
1276 * sysdeps/x86_64/wcscmp.S: New file.
1277
1b48c537
UD
1278 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
1279 wcscmp-c wcscmp-sse2
1280 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
1281 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
1282 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
1283 * wcsmbs/wcscmp.c: Allow renaming.
1284
15c95c5d
DM
12852011-09-05 David S. Miller <davem@davemloft.net>
1286
1287 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
1288 stack slot, rather than the struct return pointer slot.
1289 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
1290 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
1292 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
1293
2f0ad8f3
UD
12942011-09-05 Ulrich Drepper <drepper@gmail.com>
1295
d88ae418
UD
1296 * po/ja.po: Update from translation team.
1297
2f0ad8f3
UD
1298 [BZ #13144]
1299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
1300 kernel in 64-bit binaries.
1301
5f4318d1
DM
13022011-09-01 David S. Miller <davem@davemloft.net>
1303
1304 * elf/elf.h (HWCAP_SPARC_*): Move to..
1305 * sysdeps/sparc/sysdep.h: this new file and add new values.
1306 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
1307 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
1308 _DL_HWCAP_COUNT to 24.
1309 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1310 entries.
1311 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
1312 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
1313 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
1314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
1315 instead of magic constants.
1316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1317
3ba57516
DM
13182011-08-31 David S. Miller <davem@davemloft.net>
1319
1320 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
1321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
1322 Reimplement to do errno handling inline.
1323 (SYSCALL_ERROR_HANDLER): New macro.
1324 (__SYSCALL_STRING): Do not do errno handling in asm.
1325 (__CLONE_SYSCALL_STRING): Delete.
1326 (__INTERNAL_SYSCALL_STRING): Delete.
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
1328 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
1329 (PSEUDO): Reimplement to do errno handling inline.
1330 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
1331 (SYSCALL_ERROR_HANDLER): New macro.
1332 (__SYSCALL_STRING): Do not do errno handling in asm.
1333 (__CLONE_SYSCALL_STRING): Delete.
1334 (__INTERNAL_SYSCALL_STRING): Delete.
1335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
1336 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
1337 i386.
1338 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
1339 (inline_syscall*): Add 'err' argument.
1340 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
1341 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
1342 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
1343 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
1344
1345 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
1346 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1347
2bc17433
AS
13482011-08-30 Andreas Schwab <schwab@redhat.com>
1349
1350 * elf/rtld.c (dl_main): Relocate objects in dependency order.
1351
fbeb5f4d
JO
13522011-08-29 Jiri Olsa <jolsa@redhat.com>
1353
1354 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
1355 directive.
1356
ad69cc26
DM
13572011-08-24 David S. Miller <davem@davemloft.net>
1358
1359 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
1360
39dd69df
AS
13612011-08-24 Andreas Schwab <schwab@redhat.com>
1362
1363 * elf/Makefile: Add rules to build and run unload8 test.
1364 * elf/unload8.c: New file.
1365 * elf/unload8mod1.c: New file.
1366 * elf/unload8mod1x.c: New file.
1367 * elf/unload8mod2.c: New file.
1368 * elf/unload8mod3.c: New file.
1369
1370 * elf/dl-close.c (_dl_close_worker): Reset private search list if
1371 it wasn't used.
1372
2c0b250a
DM
13732011-08-23 David S. Miller <davem@davemloft.net>
1374
1375 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
1376 subtract stack bias.
1377 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
1378 %sp not %fp in calculations.
1379 (_JMPBUF_UNWINDS_ADJ): Likewise.
1380
22044b48
DM
1381 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
1382 (aio_suspend): Call it to force an exception region around the
1383 AIO_MISC_WAIT() invocation.
1384
2cae4995
AS
13852011-08-23 Andreas Schwab <schwab@redhat.com>
1386
1387 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
1388 backslash.
1389
873a772e
AJ
13902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
1391
1392 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
1393 protection macro.
1394 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
1395 and <dl-machine.h>.
1396 (Elf64_FuncDesc): Remove.
1397
25ad0df1
DM
13982011-08-22 David S. Miller <davem@davemloft.net>
1399
1400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
1401 sigaltstack check, add missing cfi directives.
1402 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
1403 missing cfi directives, and sigaltstack handling.
1404
e888bcbe
AS
14052011-08-16 Andreas Schwab <schwab@redhat.com>
1406
1407 [BZ #11724]
1408 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
1409 object is seen twice.
1410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1411
1412 * elf/Makefile (distribute): Add tst-initorder2.c.
1413 (tests): Add tst-initorder2.
1414 (modules-names): Add tst-initorder2a tst-initorder2b
1415 tst-initorder2c tst-initorder2d. Add rules to build them.
1416 ($(objpfx)tst-initorder2.out): New rule.
1417 * elf/tst-initorder2.c: New file.
1418 * elf/tst-initorder2.exp: New file.
1419
87162f46
AS
14202011-08-22 Andreas Schwab <schwab@redhat.com>
1421
70538b7f
AS
1422 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
1423
f55ffe58
AS
1424 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
1425 dependencies back to end of function.
1426
87162f46
AS
1427 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1428 $(elfobjdir)/ld.so.
1429
91b392a4
UD
14302011-08-21 Ulrich Drepper <drepper@gmail.com>
1431
1432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
1433 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
1434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1435 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1436 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
1437 of __vdso_gettimeofday.
1438 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
1439 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
1440 attribute_hidden.
1441 (_libc_vdso_platform_setup): Remove initialization of
1442 __vdso_gettimeofday and __vdso_time.
1443
5c43483f
UD
14442011-08-20 Ulrich Drepper <drepper@gmail.com>
1445
775a77e7
UD
1446 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
1447 and fgetc_unlocked.
1448 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
1449 getc_unlocked.
89f447ed 1450
49c74ba9
UD
1451 * elf/dl-open.c (add_to_global): Report additions to the global scope
1452 for LD_DEBUG=scopes.
1453 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 1454 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 1455
5c43483f
UD
1456 [BZ #13114]
1457 * stdio-common/Makefile (tests): Add bug24.
1458 * stdio-common/bug24.c: New file.
1459
a101b025
AJ
14602011-08-19 Andreas Jaeger <aj@suse.de>
1461
1462 [BZ #13114]
1463 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
1464 non-existant file when using close-on-exec mode.
1465
c88f1766
UD
14662011-08-20 Ulrich Drepper <drepper@gmail.com>
1467
0276a718
UD
1468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
1469 the very first instruction.
1470
c88f1766
UD
1471 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
1472 the CFI state in the end.
1473 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
1474 inclusion of dl-trampoline.h.
1475 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
1476
51ccffa0
AS
14772011-08-19 Andreas Schwab <schwab@redhat.com>
1478
94d7165f
AS
1479 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
1480 expectations for long double.
1481
51ccffa0
AS
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
1483 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
1484
fd708658 14852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
1486
1487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
1488 artificual limit depends upon the system page size.
1489
44f0a71e
UD
14902011-08-17 Ulrich Drepper <drepper@gmail.com>
1491
1492 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
1493 * resolv/Makefile: Define CFLAGS-libresolv.
1494
8de79a24
AS
14952011-08-17 Andreas Schwab <schwab@redhat.com>
1496
1497 * nss/makedb.c (compute_tables): Make variables used in nested
1498 function static.
1499
27724598
UD
15002011-08-17 Ulrich Drepper <drepper@gmail.com>
1501
c5305d88
UD
1502 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
1503 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
1504 if buffer was too small.
1505
27724598
UD
1506 * elf/pldd.c (main): Attach to all threads in the process.
1507 Rewrite /proc handling to use *at functions.
1508
076fe015
UD
15092011-08-16 Ulrich Drepper <drepper@gmail.com>
1510
174baab3
UD
1511 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
1512 specifies first scope to show.
1513 (dl_open_worker): Update callers. Move printing scope of new
1514 object to before the relocation.
44f0a71e 1515 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
1516 * sysdeps/generic/ldsodefs.h: Update declaration.
1517
076fe015
UD
1518 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
1519 string for the scope number.
1520
a60df2c3
UD
15212011-08-14 Ulrich Drepper <drepper@gmail.com>
1522
1523 * nscd/servicescache.c (cache_addserv): Make sure written is always
1524 initialized.
1525
5e4287d1
RM
15262011-08-14 Roland McGrath <roland@hack.frob.com>
1527
85ae0589
RM
1528 * sysdeps/i386/i486/bits/atomic.h
1529 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
1530 statement expression, so as to suppress "set but not used" warning.
1531 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
1532
69f63097
RM
1533 * string/strncat.c (STRNCAT): Use prototype definition.
1534
675456ef
RM
1535 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
1536 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
1537 -Iprograms here.
1538 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
1539 (localedef-modules): Add localedef.
1540 (locale-modules): Add locale.
1541
5e4287d1
RM
1542 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
1543 * elf/rtld.c (dl_main): Invert order of assignment in last change,
1544 to avoid a warning.
1545
9c96ff23
DM
15462011-08-14 David S. Miller <davem@davemloft.net>
1547
1548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
1549 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
1550
f9ddf089
UD
15512011-08-13 Ulrich Drepper <drepper@gmail.com>
1552
44f0a71e 1553 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
1554 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
1555 * elf/rtld.c (dl_main): Set l_name of vDSO.
1556 Call _dl_show_scope when DL_DEBUG_SCOPES.
1557 (process_dl_debug): Recognize scopes flag and also set it for all.
1558 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
1559 Declare _dl_show_scope.
1560
1dc27704
UD
1561 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
1562 (do_dlopen): Pass caller_dlopen to dl_open.
1563 (__libc_dlopen_mode): Initialize caller_dlopen.
1564
f9ddf089
UD
1565 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
1566 of libc. Make tolower call locale-independent. Optimize a bit by
1567 using isdigit instead of isalnum.
1568 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
1569
9ac533d3
UD
15702011-08-12 Ulrich Drepper <drepper@gmail.com>
1571
1572 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
1573 was a dependency or dynamically loaded.
1574
89edf2e9
UD
15752011-08-11 Ulrich Drepper <drepper@gmail.com>
1576
8e999d29
UD
1577 * intl/l10nflist.c: Allow architecture-specific pop function.
1578 * sysdeps/x86_64/l10nflist.c: New file.
1579
89edf2e9
UD
1580 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
1581 classification.
1582
14d96785
AS
15832011-08-10 Andreas Schwab <schwab@redhat.com>
1584
1585 * include/dirent.h: Add libc_hidden_proto for scandirat and
1586 scandirat64. Don't declare __scandirat64.
1587 * dirent/scandirat.c: Add libc_hidden_def.
1588 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
1589 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
1590
6761ac04
DM
15912011-08-10 David S. Miller <davem@davemloft.net>
1592
1593 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
1594 enum.
1595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1597 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1598
c55fbd1e
UD
15992011-08-09 Ulrich Drepper <drepper@gmail.com>
1600
1601 * Versions.def [libc]: Add GLIBC_2.15.
1602 * dirent/Makefile (routines): Add scandirat and scandirat64.
1603 * dirent/Versions [libc]: Export scandirat and scandirat64 for
1604 GLIBC_2.15.
1605 * dirent/dirent.h: Declare scandirat and scandirat64.
1606 * dirent/scandirat.c: New file.
1607 * dirent/scandirat64.c: New file.
1608 * sysdeps/wordsize-64/scandirat.c: New file.
1609 * sysdeps/wordsize-64/scandirat64.c: New file.
1610 * dirent/opendir.c: Define opendirat.
1611 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
1612 using scandirat.
1613 * dirent/scandir64.c: Adjust for scandir.c change.
1614 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
1615 __scandirat64, and __scandir_cancel_handler.
1616 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
1617 additional parameter and use openat instead of open (outside of ld.so).
1618 Add new __opendir as wrapper around __opendirat.
1619 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
1620 here without requiring old scandirat implementation.
1621
879165f2
UD
16222011-08-08 Ulrich Drepper <drepper@gmail.com>
1623
1624 * dirent/scandir.c (cancel_handler): Renamed to
1625 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
1626 defined. Adjust users.
1627 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
1628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
1629
cb7e923b
UD
16302011-08-04 Ulrich Drepper <drepper@gmail.com>
1631
16292edd
UD
1632 * string/test-string.h (IMPL): Use __STRING to expand name and then
1633 stringify it.
1634
cb7e923b
UD
1635 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
1636 of cleanups.
1637
cff82933
LD
16382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1639
1640 * string/Makefile: Update.
1641 (strop-tests): Append strncat.
1642 * string/test-wcscmp.c: New file.
1643 New comprehensive test for wcscmp.
1644 * string/test-strcmp.c: Update.
1645 (WIDE): New define.
1646
9be9bfcc
AS
16472011-07-22 Andreas Schwab <schwab@redhat.com>
1648
1649 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
1650 line.
1651
2e96f1c7
AS
16522011-07-26 Andreas Schwab <schwab@redhat.com>
1653
1654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1655 encoding to ACE if AI_IDN.
1656
85188888
JJ
16572011-08-01 Jakub Jelinek <jakub@redhat.com>
1658
1659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
1660 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
1661
5fa16e9b
LD
16622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1663
1664 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
1665 Fix overflow bug in strncat.
1666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1667
1668 * string/test-strncat.c: Update.
1669 Add new tests for checking overflow bugs.
1670
16712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1672
1673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1674 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
1675 * sysdeps/i386/i686/multiarch/strcat.S: New file.
1676 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
1677 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
1678 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
1679 * sysdeps/i386/i686/multiarch/strncat.S: New file.
1680 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
1681 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
1682
1683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
1684 (USE_AS_STRCAT): Define.
1685 Add strcat and strncat support.
1686 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1687
8c1a459f
AS
16882011-07-25 Andreas Schwab <schwab@redhat.com>
1689
1690 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
1691 __n bigger than INT_MAX+1.
1692 (__strncmp_g): Likewise.
1693
bba33c28
UD
16942011-07-23 Ulrich Drepper <drepper@gmail.com>
1695
798be72d
UD
1696 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
1697 * libio/stido.h: Likewise.
1698
8accd4dc
UD
1699 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
1700 (AF_NFC): Define.
1701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
1702 (AF_NFC): Define.
1703
cbff0d96
UD
1704 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
1705 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1707 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1709
9191c04a
UD
1710 [BZ #13021]
1711 * scripts/test-installation.pl: Don't expect libnss_test1 to be
1712 installed.
1713
bba33c28
UD
1714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
1715 typo.
1716 (_dl_x86_64_save_sse): Likewise.
1717
90f139dd
UD
17182011-07-22 Ulrich Drepper <drepper@gmail.com>
1719
1aae088a
UD
1720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
1721 OSXSAVE.
1722 (_dl_x86_64_save_sse): Likewise.
1723
8e2045f5
UD
1724 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
1725
90f139dd
UD
1726 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
1727
1d002f25
AS
17282011-07-21 Andreas Schwab <schwab@redhat.com>
1729
1730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
1731 change.
1732 (_dl_x86_64_save_sse): Use correct AVX check.
1733
21137f89
UD
17342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1735
1736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
1737 bug in strncpy/strncat.
1738 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1739
a65c0b7a
UD
17402011-07-21 Ulrich Drepper <drepper@gmail.com>
1741
1742 * string/tester.c (test_strcat): Add tests for different alignments
1743 of source and destination.
1744 (test_strncat): Likewise.
1745
6986b98a
UD
17462011-07-20 Ulrich Drepper <drepper@gmail.com>
1747
90bb2039
UD
1748 [BZ #12852]
1749 * posix/glob.c (glob): Check passed in values before using them in
1750 expressions to avoid some overflows.
1751 (glob_in_dir): Likewise.
1752
5644ef54
UD
1753 [BZ #13007]
1754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
1755 check for AVX enablement so that we don't crash with old kernels and
1756 new hardware.
1757 * elf/tst-audit4.c: Add same checks here.
1758 * elf/tst-audit6.c: Likewise.
1759
1760 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 1761
bfc9dc9b
AS
17622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
1763
1764 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
1765
702e64bb
UD
17662011-07-20 Ulrich Drepper <drepper@gmail.com>
1767
1768 * po/cs.po: Update from translation team.
1769 * po/bg.po: Likewise.
1770
295e904f
MP
17712011-07-12 Marek Polacek <mpolacek@redhat.com>
1772
1773 * misc/sys/cdefs.h: Add support for const attribute.
1774 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
1775 to gnu_dev_{major,minor,makedev} functions.
1776
3ff94596
MP
17772011-07-20 Marek Polacek <mpolacek@redhat.com>
1778
1779 * intl/dcigettext.c (get_output_charset): Add missing bracket.
1780
28b59fca
AS
17812011-07-20 Andreas Schwab <schwab@redhat.com>
1782
1783 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
1784 strlen results.
1785
19df733e
AK
17862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1787
1788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1789 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
1790 register in order to avoid conflicts with the soft frame pointer
1791 being held in r11 when necessary.
1792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1793 (INTERNAL_VSYSCALL_NCS): Likewise.
1794
c8835729
MP
17952011-07-14 Marek Polacek <mpolacek@redhat.com>
1796
1797 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
1798 * elf/dl-fini.c (_dl_fini): Adjust caller.
1799 * elf/dl-close.c (_dl_close_worker): Likewise.
1800 * sysdeps/generic/ldsodefs.h: Adjust declaration.
1801
b902330c
MP
18022011-07-15 Marek Polacek <mpolacek@redhat.com>
1803
8991e135
MP
1804 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
1805 "aux_cache->nlibs < 0".
1806
b902330c
MP
1807 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
1808 in the reload-count case.
1809
99710781
LD
18102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1811
1812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1813 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
1814 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
1815 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
1816 * sysdeps/x86_64/multiarch/strcat.S: New file.
1817 * sysdeps/x86_64/multiarch/strncat.S: New file.
1818 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
1819 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
1820 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
1821 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
1822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
1823 (USE_AS_STRCAT): Define.
1824 Add strcat and strncat support.
1825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1827 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
1828 * string/strncat.c: Update.
1829 (USE_AS_STRNCAT): Define.
1830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1831 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
1832 and i7.
1833 * sysdeps/x86_64/multiarch/init-arch.h
1834 (bit_Prefer_PMINUB_for_stringop): New.
1835 (index_Prefer_PMINUB_for_stringop): Likewise.
1836 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
1837 bit_Prefer_PMINUB_for_stringop.
1838
7dc6bd90
UD
18392011-07-19 Ulrich Drepper <drepper@gmail.com>
1840
1841 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
1842 buffer64.
1843 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
1844 of casting of buffer.
1845 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
1846 buffer32 and buffer64.
1847 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
1848 writes instead of casting of buffer.
1849 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
1850 buffer32.
1851 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
1852 casting of buffer.
1853
e0e72284
AS
18542011-07-19 Andreas Schwab <schwab@redhat.com>
1855
1856 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
1857
feb1eb0b
UD
18582011-07-19 Ulrich Drepper <drepper@gmail.com>
1859
1860 * nscd/nscd.c (termination_handler): Don't do anything for a database
1861 if it has not yet been initialized.
1862
298711ff
UD
18632011-07-18 Ulrich Drepper <drepper@gmail.com>
1864
1865 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1866
18672011-07-15 Marek Polacek <mpolacek@redhat.com>
1868
1869 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1870
f9d68389
UD
18712011-07-18 Ulrich Drepper <drepper@gmail.com>
1872
1873 * po/nl.po: Update from translation team.
1874 * po/sv.po: Likewise.
1875
db290cf5
RM
18762011-07-16 Roland McGrath <roland@hack.frob.com>
1877
1878 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
1879 now disallowed by GCC.
5c550700 1880
fd5e21c7
RM
1881 * configure.in (use-default-link): Default to yes if a test -shared
1882 link meets our qualifications.
1883 * configure: Regenerated.
1884
5c550700
RM
1885 * config.make.in (output-format): New variable.
1886 * configure.in: Check for ld --print-output-format support.
1887 * configure: Regenerated.
1888 * Makerules ($(common-objpfx)format.lds)
1889 [$(output-format) != unknown]: Just use $(output-format),
1890 instead of the linker-script munging.
1891
9fa2c032
RM
18922011-07-14 Roland McGrath <roland@hack.frob.com>
1893
a6928d51
RM
1894 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
1895 of $(common-objpfx)shlib.lds.
1896 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
1897
661607b3
RM
1898 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
1899 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
1900
9fa2c032
RM
1901 * configure.in (-z relro check): Adjust test code to add a large
1902 writable data section after it.
1903 * configure: Regenerated.
1904
defe9061
RM
19052011-07-11 Roland McGrath <roland@hack.frob.com>
1906
1907 * configure.in (-z relro check): Fix test code to make the variable
1908 truly const.
1909 * configure: Regenerated.
1910
319b9ad4
UD
19112011-07-11 Ulrich Drepper <drepper@gmail.com>
1912
1913 * nscd/nscd.h (struct traced_file): Define.
1914 (struct database_dyn): Remove inotify_descr, reset_res, and filename
1915 elements. Add traced_files.
1916 (inotify_fd): Declare.
1917 (register_traced_file): Declare.
1918 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
1919 (inotify_fd): Export.
1920 (resolv_conf_descr): Remove.
1921 (nscd_init): Move inotify descriptor creation to main.
1922 Don't register files for notification here.
1923 (register_traced_file): New function.
1924 (invalidate_cache): Don't use reset_res to determine whether to call
1925 res_init, go through the list of registered files.
1926 (main_loop_poll): The inotify descriptors are now stored in the
1927 structures for the traced files.
1928 (main_loop_epoll): Likewise
1929 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
1930 to __nss_disable_nscd.
1931 * nscd/cache.c (prune_cache): There is no single inotify descriptor
1932 for a database anymore. Check the records for all the registered
1933 files instead.
1934 * nss/Makefile (libnss_files-routines): Add files-init.
1935 (libnss_db-routines): Add db-init.
1936 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
1937 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
1938 * nss/nss_db/db-init.c: New file.
1939 * nss/nss_files/files-init.c: New file.
1940 * nss/nsswitch.c (nss_load_library): New function. Broken out of
1941 __nss_lookup_function.
1942 (__nss_lookup_function): Call nss_load_library.
1943 (nss_load_all_libraries): New function.
1944 (__nss_disable_nscd): Take parameter with callback function for files
1945 to register. Set is_nscd. Load all the DSOs for the NSS modules
1946 used for the cached services.
1947 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
1948 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
1949 options for features to all the files in nscd.
1950
1951 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
1952
23bee3e8
RM
19532011-07-10 Roland McGrath <roland@hack.frob.com>
1954
1955 * csu/elf-init.c (__libc_csu_init): Comment typo.
1956
46a5b7f0
UD
19572011-07-09 Ulrich Drepper <drepper@gmail.com>
1958
1959 * po/pl.po: Update from translation team.
1960 * po/ja.po: Likewise.
1961 * po/ru.po: Likewise.
1962 * po/ko.po: Likewise.
1963 * po/fr.po: Likewise.
1964
d30cf5bb
RM
19652011-07-09 Roland McGrath <roland@hack.frob.com>
1966
113ddea4
RM
1967 * configure.in (.ctors/.dtors header and trailer check):
1968 Use an empirical test on a built program.
1969 * configure: Regenerated.
1970
574920b4
RM
1971 * configure.in (-z relro check): Use an empirical test on a built DSO.
1972 Detect, but do not require, on ia64.
1973 * configure: Regenerated.
1974
d30cf5bb
RM
1975 * configure.in (READELF): Find it with AC_CHECK_TOOL.
1976 Update tests that use readelf to use $READELF instead.
1977 * configure: Regenerated.
1978
8538fdb3
UD
19792011-07-08 Ulrich Drepper <drepper@gmail.com>
1980
1981 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
1982 if the result is not used.
1983
04d08991
AJ
19842011-07-05 Andreas Jaeger <aj@suse.de>
1985
1986 [BZ#9696]
1987 * stdlib/tst-strtod.c: Add testcase.
1988
de283087
AD
19892011-07-07 Ulrich Drepper <drepper@gmail.com>
1990
4e5f31c8 1991 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 1992 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
1993 The latter has a higher limit. Take additional parameter to pass to
1994 the new function.
1995 (__pathconf): Pass file to __statfs_link_max.
1996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
1997 __statfs_link_max.
1998 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
1999 __statfs_link_max.
2000
de283087
AD
2001 [BZ #12868]
2002 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
2003 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2004 Handle Lustre.
2005 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
2006 (__statfs_filesize_max): Likewise.
2007 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
2008
c75fa153
AJ
20092011-07-05 Andreas Jaeger <aj@suse.de>
2010
2011 * resolv/res_comp.c (dn_skipname): Remove unused variable.
2012
1a544854
UD
20132011-07-06 Marek Polacek <mpolacek@redhat.com>
2014
2015 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
2016 `status' variable.
2017 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
2018 Likewise.
2019
6f0eec67
UD
20202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
2021
2022 * Makefile (strop-tests): Add strncat.
2023 * string/test-strncat.c: New file.
2024
aae30307
UD
20252011-06-30 Marek Polacek <mpolacek@redhat.com>
2026
2027 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
2028
c0cfb5eb
UD
20292011-06-21 Andreas Jaeger <aj@suse.de>
2030
2031 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
2032 Copy rule from iconvdata/Makefile.
2033
01636b21
UD
20342011-07-06 Ulrich Drepper <drepper@gmail.com>
2035
2036 [BZ #12922]
2037 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
2038 but no long options are defined, just return 'W'.
2039
9895c8bc
UD
20402011-06-22 Marek Polacek <mpolacek@redhat.com>
2041
2042 [BZ #9696]
2043 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
2044
5d4cf042
UD
20452011-07-06 Ulrich Drepper <drepper@gmail.com>
2046
2047 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
2048 netgroups to read.
960e5535 2049 (innetgr): Likewise.
5d4cf042 2050
751eb97e
RM
20512011-07-05 Roland McGrath <roland@hack.frob.com>
2052
2053 * config.make.in (install_root): Default to $(DESTDIR).
2054
f15f1e45
UD
20552011-07-05 Ulrich Drepper <drepper@gmail.com>
2056
2057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2058
4e34ac6a
RM
20592011-07-02 Roland McGrath <roland@hack.frob.com>
2060
5e9b6af4
RM
2061 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
2062
84f9ea0f
RM
2063 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
2064 containing directory rather than embedding absolute directory names.
2065
ea5ee9f7
RM
2066 * scripts/check-local-headers.sh: Rewritten using awk.
2067 Match by word, not by line. Print error messages for matches.
2068 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
2069
1b74661a
RM
2070 * Makerules [shlib-lds-flags empty]:
2071 ($(common-objpfx)libc_pic.opts): New target.
2072 ($(common-objpfx)libc_pic.os.clean): New target.
2073 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
2074
2075 * config.make.in (OBJCOPY): New variable.
2076 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
2077 * configure: Regenerated.
2078
f781ef40
RM
2079 * config.make.in (use-default-link): New variable.
2080 * configure.in (use_default_link): Grok --with-default-link to set it.
2081 * configure: Regenerated.
2082 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
2083 (shlib-lds, shlib-lds-flags): Define to empty.
2084
2d4fa81e
RM
2085 * Makerules (shlib-lds): New variable.
2086 (shlib-lds-flags): New variable.
2087 (build-shlib, build-moduile, build-module-asneeded): Use it.
2088 ($(common-objpfx)libc.so): Use $(shlib-lds).
2089 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
2090 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
2091
31fffa6b
RM
2092 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
2093 DT_FLAGS/DT_FLAGS_1 with zero flags.
2094
4e34ac6a
RM
2095 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
2096 linker script munging.
2097
fcfc776b
UD
20982011-07-02 Ulrich Drepper <drepper@gmail.com>
2099
2100 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
2101 as 128-bit value.
2102 * crypt/sha512.c (sha512_process_block): Perform total addition using
2103 128-bit if possible.
2104 (__sha512_finish_ctx): Likewise.
2105 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
2106 as 64-bit value.
2107 * crypt/sha256.c (SWAP64): Define.
2108 (sha256_process_block): Perform total addition using 64-bit if
2109 possible.
2110 (__sha256_finish_ctx): Likewise.
2111
99231d9a
UD
21122011-07-01 Ulrich Drepper <drepper@gmail.com>
2113
2114 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
2115 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2116 * nscd/hstcache.c (cache_addhst): Likewise.
2117 * nscd/grpcache.c (cache_addgr): Likewise.
2118 * nscd/aicache.c (addhstaiX): Likewise
2119 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
2120
445b4a53
TK
21212011-07-01 Thorsten Kukuk <kukuk@suse.de>
2122
2123 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
2124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2125 * nscd/hstcache.c (cache_addhst): Likewise.
2126 * nscd/grpcache.c (cache_addgr): Likewise.
2127 * nscd/aicache.c (addhstaiX): Likewise
2128
6d4d8e8e
AS
21292011-07-01 Andreas Schwab <schwab@redhat.com>
2130
2131 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
2132 domain only when needed.
2133
89f654c5
AS
21342011-06-30 Andreas Schwab <schwab@redhat.com>
2135
2136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
2137 is always restored.
2138
cf3b23ff
UD
21392011-06-29 Ulrich Drepper <drepper@gmail.com>
2140
2141 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
2142 are re-adding the entry.
2143 * nscd/servicescache.c (cache_addserv): Likewise.
2144
751626f9
AJ
21452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
2146
2147 * sysdeps/generic/dl-irel.h: fix protection against multiple
2148 inclusions.
2149 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
2150
9113ea1f
UD
21512011-06-28 Ulrich Drepper <drepper@gmail.com>
2152
5c0b8d90
UD
2153 [BZ #12935]
2154 * malloc/memusage.sh: Fix quoting in message.
2155 * debug/xtrace.sh: Likewise.
2156
9113ea1f
UD
2157 * configure.in: Remove support for --experimental-malloc option, make
2158 it the default.
2159 * config.make.in: Likewise.
2160 * malloc/Makefile: Likewise.
2161
a4172181
AS
21622011-06-27 Andreas Schwab <schwab@redhat.com>
2163
2164 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
2165 two-byte characters.
2166
78a7eee7
RM
21672011-06-27 Roland McGrath <roland@hack.frob.com>
2168
62bede13
RM
2169 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
2170 AC_CACHE_CHECK invocation.
2171 * configure: Regenerated.
2172
78a7eee7
RM
2173 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
2174
5ce33a62
UD
21752011-06-27 Ulrich Drepper <drepper@gmail.com>
2176
034807a9
UD
2177 [BZ #12350]
2178 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
2179 bit from old_res_options.
2180
4902da17
UD
2181 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
2182
5ce33a62
UD
2183 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
2184 value type for setfct.
2185
c2344f56
L
21862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2189 __gettimeofday instead of gettimeofday.
2190
68468076
UD
21912011-06-26 Ulrich Drepper <drepper@gmail.com>
2192
2193 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
2194
acb0d739
L
21952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
2198
2199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
2200 info.
2201
8912479f
L
22022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2203
2204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2205 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2206 strcpy-sse2-unaligned strncpy-sse2-unaligned
2207 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
2208 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
2209 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
2210 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
2211 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
2212 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
2213 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
2214 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
2215 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
2216 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
2217 (STRCPY): Support SSE2 and SSSE3 versions.
2218
d5495a11
UD
22192011-06-24 Ulrich Drepper <drepper@gmail.com>
2220
2221 [BZ #12874]
2222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
2223 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
2224 kernels which artificially limit size of requests.
2225
0b1cbaae
L
22262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2229 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2230 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
2231 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
2232 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
2233 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
2234 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
2235 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
2236 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
2237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
2238 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
2239 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
2240 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
2241 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
2242 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
2243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2244 Enable unaligned load optimization for Intel Core i3, i5 and i7
2245 processors.
2246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
2247 Define.
2248 (index_Fast_Unaligned_Load): Define.
2249 (HAS_FAST_UNALIGNED_LOAD): Define.
2250
07f494a0
MP
22512011-06-23 Marek Polacek <mpolacek@redhat.com>
2252
2253 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
2254
fa3fc0fe
UD
22552011-06-22 Ulrich Drepper <drepper@gmail.com>
2256
2257 [BZ #12907]
2258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
2259 until it is clear that the information is realy needed.
2260 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
2261
e12df166
AS
22622011-06-22 Andreas Schwab <schwab@redhat.com>
2263
2264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
2265
852eb34d
UD
22662011-06-22 Ulrich Drepper <drepper@gmail.com>
2267
84e2a551
UD
2268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2269 /sys/devices/system/cpu/online if it is usable.
2270
852eb34d
UD
2271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
2272 reading the information from the /proc filesystem to once a second.
2273
6e502e19
UD
22742011-06-21 Andreas Jaeger <aj@suse.de>
2275
2276 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
2277 NULL after inclusion of kernel headers.
2278
75d39ff2
UD
22792011-06-21 Ulrich Drepper <drepper@gmail.com>
2280
51f9aa6a
UD
2281 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
2282 calls to internal_setent.
2283
c0244a9d
UD
2284 [BZ #12885]
2285 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
2286 addresses using gethostbyname4_r ignore IPv4 addresses.
2287
c5e3c2ae
UD
2288 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
2289 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
2290
75d39ff2
UD
2291 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
2292
42675c6f
DM
22932011-06-20 David S. Miller <davem@davemloft.net>
2294
2295 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
2296 inclusions.
2297 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
2298
2299 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
2300 (elf_irel): Use it.
2301 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
2302 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
2303 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
2304 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
2305 * sysdeps/x86_64/dl-irel.h: Likewise.
2306
2307 * elf/dl-runtime.c: Use elf_ifunc_invoke.
2308 * elf/dl-sym.c: Likewise.
2309
57912a71
UD
23102011-06-15 Ulrich Drepper <drepper@gmail.com>
2311
2312 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
2313 need to dereference resplen2.
2314
ee22793d
AS
23152011-06-14 Andreas Schwab <schwab@redhat.com>
2316
2317 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
2318
a9e836b0
UD
23192011-06-15 Ulrich Drepper <drepper@gmail.com>
2320
77fb9117
UD
2321 * Makeconfig: Define vardbdir and inst_vardbdir.
2322 * nss/Makefile: Add rules to install db-Makefile.
2323
40c1b22c
UD
2324 * nss/nss_db/db-XXX.c: Cleanup.
2325
9f2da732
UD
2326 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
2327 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
2328 GLIBC_PRIVATE.
2329 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
2330 * nss/makedb.c: Implement -g option to specify that value strings
2331 are generated and should not be added to table iterated over for
2332 get*ent calls.
2333 * nss/nss_db/db-initgroups.c: New file.
2334
82e9a1f7
UD
2335 * nss/getent.c: Add support for initgroups lookups through getgrouplist
2336 interface.
2337
c41af17e
UD
2338 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
2339 (internal_getgrouplist): Adjust to name change.
2340 Update use_initgroups_entry if this is not the first call.
2341 * nss/databases.def: Add initgroups entry.
2342
a9e836b0
UD
2343 * nss/makedb.c (compute_tables): Check result of multiple hash table
2344 sizes to minimize maximum chain length.
2345
2666d441
UD
23462011-06-14 Ulrich Drepper <drepper@gmail.com>
2347
2348 * Versions.def: Add entry for libnss_db.
2349 * shlib-versions: Likewise.
2350 * nss/Makefile: Add rules to build libnss_db.
2351 * nss/Versions: Add libnss_db information. Organize libnss_files
2352 entries better.
2353 * nss/db-Makefile: Add gshadow support. Change rules for the new
2354 makedb progra. Some minor improvements to generate smaller files.
2355 * nss/nss_db/nss_db.h: Move NSS database header data structures to
2356 here from...
2357 * nss/makedb.c: ...here.
2358 Improve database format to be smaller and require less memory at
2359 runtime.
2360 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
2361 db anymore.
2362 * nss/nss_db/db-netgrp.c: Likewise.
2363 * nss/nss_db/db-open.c: Likewise.
2364 * nss/nss_files/flies-XXX.x: Adjust comments.
2365 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
2366 * nss/nss_files/files-grp.c: Likewise.
2367 * nss/nss_files/files-hosts.c: Likewise.
2368 * nss/nss_files/files-network.c: Likewise.
2369 * nss/nss_files/files-proto.c: Likewise.
2370 * nss/nss_files/files-pwd.c: Likewise.
2371 * nss/nss_files/files-rpc.c: Likewise.
2372 * nss/nss_files/files-service.c: Likewise.
2373 * nss/nss_files/files-sgrp.c: Likewise.
2374 * nss/nss_files/files-spwd.c: Likewise.
2375 * nss/nss_db/db-alias.c: Removed.
2376 * nss/nss_db/dummy-db.h: Removed.
2377
9ee76b5a
UD
23782011-06-02 Ulrich Drepper <drepper@gmail.com>
2379
2380 * nss/makedb.c: Rewritten to not use database library.
2381 * nss/Makefile: Update to build new makedb program.
2382
c71ca1f8
AJ
23832011-06-14 Andreas Jaeger <aj@suse.de>
2384
2385 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
2386 memset declaration.
2387
3154bfb8
UD
23882011-06-10 Andreas Schwab <schwab@redhat.com>
2389
2390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
2391 tmpbuf.
2392
b350afab
RM
23932011-06-10 Roland McGrath <roland@hack.frob.com>
2394
decd4e50
RM
2395 * Makerules (shlib.lds): Fail if the linker script comes out empty.
2396 * elf/Makefile ($(objpfx)ld.so): Likewise.
2397
5615eaf2
RM
2398 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
2399 Don't list ld.so twice in dependencies.
2400
2401 * posix/bug-regex31.c: Include <stdlib.h>.
2402
2403 * nscd/hstcache.c (cache_addhst): Remove unused variable.
2404
2405 * nis/nss_compat/compat-spwd.c
2406 (getspent_next_nss_netgr): Remove unused variable.
2407 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2408
2409 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
2410 nonmembers" output to use the right array.
2411
2412 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
2413
2414 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
2415
2416 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
2417 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
2418 * catgets/gencat.c (read_input_file): Likewise.
2419 * locale/programs/locarchive.c (enlarge_archive): Likewise.
2420
2421 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
2422 variable definition inside #if's controlling its use.
2423
2424 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
2425
2426 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
2427
2428 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
2429
2430 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
2431 unreachable code.
2432
2433 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
2434
b68e08db
RM
2435 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
2436 * configure: Regenerated.
2437
b350afab
RM
2438 * Makerules: Revert last change.
2439 * elf/Makefile: Likewise.
2440
28368601
RM
24412011-06-09 Roland McGrath <roland@hack.frob.com>
2442
2443 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
2444 * elf/Makefile ($(objpfx)librtld.os): Likewise.
2445 (reloc-link): Likewise.
2446
11988f8f
UD
24472011-06-09 Ulrich Drepper <drepper@gmail.com>
2448
2449 * elf/Makefile: Add rules to build pldd.
2450 * elf/pldd.c: New file.
2451 * elf/pldd-xx.c: New file.
2452
e80fab37
UD
24532011-06-07 Ulrich Drepper <drepper@gmail.com>
2454
2455 * version.h: Update for 2.15 development version.
2456
9b849836
DM
24572011-06-07 David S. Miller <davem@davemloft.net>
2458
2459 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
2460 ifuncs.
2461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2462 elf_machine_lazy_rel): Likewise.
2463 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2465 elf_machine_lazy_rel): Likewise.
2466 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
2467 dl_hwcap via passed in argument.
2468 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
2469 Likewise.
2470
5a31b283
AK
24712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2472
2473 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
2474
069e52f8
RM
24752011-06-06 Roland McGrath <roland@hack.frob.com>
2476
2477 [BZ #12849]
2478 * manual/fdl-1.1.texi: New file, verbatim from:
2479 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
2480 * manual/lgpl-2.1.texi: New file, verbatim from:
2481 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
2482 * manual/Makefile (licenses): New variable, list those new file names.
2483 (texis): Use it.
2484 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
2485
2486 * manual/fdl.texi: File removed.
2487 * manual/lesser.texi: File removed.
2488 * manual/libc.texinfo (Copying, Documentation License):
2489 Use new @include file names, put @appendix directive before @include.
2490
f16846a5
JJ
24912011-06-04 Jakub Jelinek <jakub@redhat.com>
2492
2493 [BZ #12841]
2494 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
2495 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
2496 (mq_open): Add __NTH.
2497
3d29045b
L
24982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2501 Assume Intel Core i3/i5/i7 processor if AVX is available.
2502
8c297311
UD
25032011-05-31 Ulrich Drepper <drepper@gmail.com>
2504
2505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2506 typo.
2507
c8fc0c91
UD
25082011-05-31 Andreas Schwab <schwab@redhat.com>
2509
2510 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
2511 memory. Use alloca_account. Fix memory leak when retrying.
2512
5b27a807
UD
25132011-05-31 Ulrich Drepper <drepper@gmail.com>
2514
356f8bc6
UD
2515 * version.h (RELEASE): Bump for 2.14 release.
2516 * include/features.h (__GLIBC_MINOR__): Bump to 14.
2517
5b27a807
UD
2518 * config.make.in (RANLIB): Remove entry.
2519
01f16ab0
UD
25202011-05-30 Ulrich Drepper <drepper@gmail.com>
2521
41fce8bd
UD
2522 * po/Makefile (po-sed-cmd): Add ksh to extensions.
2523 (libc.pot): Work around missing support for .ksh extension in xgettext.
2524
4769ae77
UD
2525 [BZ #12684]
2526 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
2527 if both request failed.
2528 (send_dg): In case of server errors clear resplen or *resplen2.
2529
6b1e7d19
UD
2530 [BZ #12454]
2531 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
2532 when there are multiple maps.
2533 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
2534 (_dl_fini): Remove test here.
2535
01f16ab0
UD
2536 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
2537
b1ebd700
UD
25382011-05-29 Ulrich Drepper <drepper@gmail.com>
2539
7ae22829
UD
2540 [BZ #12350]
2541 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
2542 bit from old_res_options.
2543 (gaih_inet): Likewise.
2544
553149f6 2545 [BZ #11099]
18a84741 2546 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
2547 as signed.
2548
652ffab1
UD
2549 * resolv/res_init.c (res_setoptions): Make the code more compact.
2550
16985fd0
UD
2551 [BZ #11558]
2552 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
2553 set RES_USEVC.
2554
0464f746
UD
2555 [BZ #11634]
2556 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
2557
7d17596c
UD
2558 * malloc/malloc.h: Mark malloc hook variables as deprecated.
2559
cf6bbbd7
UD
2560 [BZ #11781]
2561 * malloc/malloc.h: Declare malloc hook variables as volatile.
2562
13f1ab36
UD
2563 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
2564 in last patch.
2565
b1ebd700
UD
2566 [BZ #11799]
2567 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 2568 raise in the comment.
80e2212d
UD
2569 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2570 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2571 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 2572
ce67228d
UD
25732011-05-28 Ulrich Drepper <drepper@gmail.com>
2574
8887a920
UD
2575 [BZ #12811]
2576 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
2577 grow the buffers more if it already has to be sufficient.
2578 (build_wcs_upper_buffer): Likewise.
2579 * posix/regexec.c (check_matching): Likewise.
2580 (clean_state_log_if_needed): Likewise.
2581 (extend_buffers): Don't enlarge buffers beyond size of the input
2582 buffer.
2583 Patches mostly by Emil Wojak <emil@wojak.eu>.
2584 * posix/bug-regex32.c: New file.
2585 * posix/Makefile (tests): Add bug-regex32.
2586
4f031072
UD
2587 * locale/findlocale.c (_nl_find_locale): Return right away if
2588 _nl_explode_name failed.
2589 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2590
d0478f0c
UD
2591 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
2592
de81b246
UD
2593 * debug/xtrace.sh: Unify messages.
2594 * malloc/memusage.sh: Likewise.
2595
c738465a
UD
2596 [BZ #12813]
2597 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
2598 time symbol from vDSO. Substitute with vsyscall if not available.
2599 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
2600 __vdso_time.
2601
f1f929d7
UD
2602 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
2603 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
2604 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
2605 Add sendmmsg and internal_sendmmsg.
2606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
2607 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
2608 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
2609
ce67228d
UD
2610 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
2611 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
2612 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
2613
e57420c6
UD
26142011-05-27 Ulrich Drepper <drepper@gmail.com>
2615
a8509ca5
UD
2616 [BZ #12813]
2617 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
2618 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
2619 available.
2620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
2621 __vdso_getcpu.
2622
e57420c6
UD
2623 [BZ #12814]
2624 * iconvdata/Makefile (tests): Add bug-iconv9.
2625 * iconvdata/bug-iconv9.c: New file.
2626
4d07db15
AS
26272011-05-27 Andreas Schwab <schwab@redhat.com>
2628
2629 [BZ #12814]
2630 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
2631
ea486f69
JJ
26322011-05-25 Jakub Jelinek <jakub@redhat.com>
2633
2634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2635 (struct user_regs_struct): Change intcs field back to cs.
2636
6f038433
UD
26372011-05-25 Ulrich Drepper <drepper@gmail.com>
2638
2639 * po/ja.po: Update from translation team.
2640
67f86a25
UD
26412011-05-23 Ulrich Drepper <drepper@gmail.com>
2642
2643 [BZ #12795]
2644 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
2645 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2646
def7fbd6
AS
26472011-05-20 Andreas Schwab <schwab@redhat.com>
2648
2649 * stdlib/longlong.h: Update from GCC.
2650
f50ef8f1
AS
26512011-05-23 Andreas Schwab <schwab@redhat.com>
2652
2653 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
2654 parameter name.
2655 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
2656 Add parameter name.
2657 (__sysconf): Pass it down.
2658
de7ce8f1
UD
26592011-05-22 Ulrich Drepper <drepper@gmail.com>
2660
f2962a71
UD
2661 [BZ #12671]
2662 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
2663 some situations.
2664 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2665 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
2666 add in in __libc_use_alloca calls. Adjust callers.
2667 (glob): Use malloc in some situations.
2668
de7ce8f1
UD
2669 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
2670 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
2671 pltexit.
2672
aec84f53
UD
26732011-05-21 Ulrich Drepper <drepper@gmail.com>
2674
05bb4a68
UD
2675 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
2676 and CLOCK_BOOTTIME_ALARM.
2677
7ea72f99
UD
2678 [BZ #12782]
2679 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
2680 is returned.
2681
7e4afad5
UD
2682 * string/_strerror.c (__strerror_r): Print negative errors as signed
2683 numbers.
2684
8e211fec
UD
2685 [BZ #12777]
2686 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
2687 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
2688 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
2689
f7d82dc9
UD
2690 * configure.in: Fix typo in redirection and correct removal of test
2691 files in two cases.
2692
cc9e536d
UD
2693 [BZ #12788]
2694 * locale/setlocale.c (new_composite_name): Fix test to check for
2695 identical name of all categories.
2696
aec84f53
UD
2697 [BZ #12792]
2698 * libio/filedoalloc.c (local_isatty): New function.
2699 (_IO_file_doallocate): Use local_isatty.
2700 * stdio-common/perror.c (perror): In case a new stream is used
2701 forward the stream error.
2702 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
2703 error flag.
2704
78e64fdc
RT
27052011-05-20 Ulrich Drepper <drepper@gmail.com>
2706
34a9094f
UD
2707 [BZ #11869]
2708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
2709 alloca.
2710 * include/alloca.h (extend_alloca_account): Define.
2711
78e64fdc
RT
2712 [BZ #11857]
2713 * posix/regex.h: Fix comments with documentation of user-accessible
2714 fields after compilation and describe correct free'ing of pattern
2715 after re_compile_pattern.
2716 Patch by Reuben Thomas <rrt@sc3d.org>.
2717
457bddfc
RA
27182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
2721 and -mno-altivec to prevent the compiler from using Altivec and/or
2722 VSX instructions when the corresponding registers are not available.
2723
a4527b51
AS
27242011-05-19 Andreas Schwab <schwab@redhat.com>
2725
2726 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
2727
ed690b2f
UD
27282011-05-19 Ulrich Drepper <drepper@gmail.com>
2729
2730 * libio/freopen.c (freopen): Use __dup2, not dup2.
2731 * libio/freopen64.c (freopen64): Likewise.
2732
8db73634
L
27332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 [BZ #12775]
2736 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
2737 * math/Makefile (tests): Add test-powl.
2738 (CFLAGS-test-powl.c): Define.
2739 * math/test-powl.c: New file.
2740
0a197a9d
L
27412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
2744
ee30c380
UD
27452011-05-17 Ulrich Drepper <drepper@gmail.com>
2746
2747 [BZ #11837]
2748 * iconvdata/gb18030.c: Update to GB18020-2005.
2749
6ce75379
UD
27502011-05-16 Ulrich Drepper <drepper@gmail.com>
2751
a4b89fd8
AR
2752 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
2753 RE_SYNTAX_POSIX_AWK): Update to match recent development.
2754 Patch by Aharon Robbins <arnold@skeeve.com>.
2755
ea389b12
UD
2756 [BZ #11892]
2757 * stdlib/putenv.c (putenv): Don't always create copy of the variable
2758 on the stack.
2759
68a3f91f
UD
2760 [BZ #11895]
2761 * misc/pselect.c (__pselect): Handle timeout value errors hidden
2762 through underflows.
2763
15cc7dd1
UD
2764 [BZ #12766]
2765 * misc/error.c (error_at_line): Ensure file_name and old_file_name
2766 point to strings before performing equality test for error_one_per_line
2767 mode.
2768
f3799213
UD
2769 [BZ #11697]
2770 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
2771
d79a9c94
UD
2772 [BZ #11820]
2773 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2774 (struct user_fpregs_struct): Avoid __uint*_t types.
2775
56e5eb46
UD
2776 [BZ #6420]
2777 * malloc/mtrace.c (tr_where): Add additional parameter to point to
2778 symbol info. Use it instead of calling _dl_addr locally.
2779 (lock_and_info): New function.
2780 (tr_freehook): Call lock_and_info and pass symbol info as additional
2781 parameter to tr_where.
2782 (tr_mallochook): Likewise.
2783 (tr_reallochook): Likewise.
2784 (tr_memalignhook): Likewise.
2785
6ce75379
UD
2786 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
2787 used and couldn't be at all thread-safe.
2788
f8a3b5bf
UD
27892011-05-15 Ulrich Drepper <drepper@gmail.com>
2790
94b7cc37
UD
2791 * libio/freopen.c (freopen): Don't close old file descriptor
2792 before the new one is opened. Instead dup the new file descriptor
2793 to the old one after the new stream is created.
2794 * libio/freopen64.c (freopen64): Likewise.
2795 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
2796 * libio/fileops.c (_IO_new_file_close_it): Handle new
2797 _IO_FLAGS2_NOCLOSE flag.
2798 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
2799 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
2800 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
2801 _IO_FLAGS2_NOCLOSE flag.
2802 * include/unistd.h: Add hidden_proto for dup3.
2803 Define __have_dup3.
2804 * io/dup3.c: Define hidden symbol.
2805 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
2806
bd25564e
UD
2807 [BZ #7101]
2808 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
2809 when an incomplete long option is used.
2810 * posix/tst-getopt_long1.c: New file.
2811 * posix/Makefile (tests): Add tst-getopt_long1.
2812
c84cfef4
UD
2813 [BZ #10138]
2814 * scripts/config.guess: Update from autoconf-2.68.
2815 * scripts/config.sub: Likewise.
2816
3b85df27
UD
2817 [BZ #10157]
2818 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
2819 tests into ...
2820 (has_cpuclock): ...this. New function.
2821 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
2822 macro here based on has_cpuclock code.
2823
15a856b1
UD
2824 [BZ #10149]
2825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2826 First byte (not low byte) is now always NUL.
2827 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
2828
05f399e6
UD
2829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2830 Use non-cancelable interfaces.
2831
10a52685 2832 [BZ #9809]
94ecc67d
UD
2833 * locale/iso-639.def: Add entry for Sorani.
2834
f8a3b5bf
UD
2835 [BZ #11901]
2836 * include/stdlib.h: Move include protection to the right place.
2837 Define abort_msg_s. Declare __abort_msg with it.
2838 * stdlib/abort.c (__abort_msg): Adjust type.
2839 * assert/assert.c (__assert_fail_base): New function. Majority
2840 of code from __assert_fail. Allocate memory for __abort_msg with
2841 mmap.
2842 (__assert_fail): Now call __assert_fail_base.
2843 * assert/assert-perr.c: Remove bulk of implementation. Use
2844 __assert_fail_base.
2845 * include/assert.hL Declare __assert_fail_base.
2846 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
2847 mmap.
2848 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
2849
1af4e298
UD
28502011-05-14 Ulrich Drepper <drepper@gmail.com>
2851
f8a3b5bf 2852 [BZ #11952]
d26dfc60
MG
2853 [BZ #12453]
2854 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
2855 until all modules are registered in the DTV.
2856 * elf/Makefile: Add rules to build and run tst-tls19.
2857 * elf/tst-tls19.c: New file.
2858 * elf/tst-tls19mod1.c: New file.
2859 * elf/tst-tls19mod2.c: New file.
2860 * elf/tst-tls19mod3.c: New file.
2861 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
2862
2fc54d6f
UD
2863 [BZ #12083]
2864 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
2865 correctly.
2866
98d76b46
UD
2867 [BZ #12601]
2868 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
2869 two-byte sequence errors.
2870 * iconvdata/Makefile (tests): Add bug-iconv8.
2871 * iconvdata/bug-iconv8.c: New file.
2872
da3c19ef
UD
2873 [BZ #12626]
2874 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
2875 buf2 definition.
2876
ca408c15
UD
2877 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
2878
d6f67f7d
UD
2879 [BZ #12432]
2880 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
2881 (dummy_getcfa): New function.
2882 (init): Get _Unwind_GetCFA address, use dummy if not found.
2883 (backtrace_helper): In recursion check, also check whether CFA changes.
2884 (__backtrace): Completely initialize arg.
2885
1af4e298 2886 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
2887 storing incomplete byte sequence in state object. Avoid testing for
2888 guaranteed too small input if we know there is enough data available.
1af4e298 2889
da62f81b
AS
28902011-05-11 Andreas Schwab <schwab@redhat.com>
2891
2892 * Makeconfig (+link-pie): Indent.
2893 * Rules (binaries-pie): Define if $(have-fpie) and
2894 $(build-shared).
2895 (binaries-shared): Also filter out $(binaries-pie).
2896 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
2897 * nscd/Makefile (others-pie): Add nscd.
2898 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
2899 ($(objpfx)nscd): Remove command override.
2900 * login/Makefile (others-pie): Add pt_chown.
2901 ($(objpfx)pt_chown): Remove command override.
2902 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
2903 remove command overrides.
2904
fcabc0f8
UD
29052011-05-13 Ulrich Drepper <drepper@gmail.com>
2906
20030ae6
UD
2907 * libio/tst_putwc.c: Fix error messages.
2908
fcabc0f8
UD
2909 [BZ #12724]
2910 * libio/fileops.c (_IO_new_file_close_it): Always flush when
2911 currently writing and seek to current position when not.
2912 * libio/Makefile (tests): Add bug-fclose1.
2913 * libio/bug-fclose1.c: New file.
2914
320a5dc0
PB
29152011-05-12 Ulrich Drepper <drepper@gmail.com>
2916
2917 [BZ #12511]
2918 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
2919 don't set DF_1_NODELETE here.
2920 (do_lookup_x): When entering new entry test for copy relocation
2921 and if necessary set DF_1_NODELETE flag.
2922 * elf/tst-unique4.cc: New file.
2923 * elf/tst-unique4.h: New file.
2924 * elf/tst-unique4lib.cc: New file.
2925 * elf/Makefile: Add rules to build and run tst-unique4.
2926 Patch by Piotr Bury <pbury@goahead.com>.
2927
22836f52
UD
29282011-05-11 Ulrich Drepper <drepper@gmail.com>
2929
f574184a
UD
2930 [BZ #12052]
2931 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
2932
e1fb097f
UD
2933 [BZ #12625]
2934 * misc/mntent_r.c (addmntent): Flush the stream after the output
2935
22836f52
UD
2936 [BZ #12393]
2937 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
2938 (is_trusted_path_normalize): Skip initial colon. Append slash
2939 to empty buffer. Duplicate is_trusted_path code but allow
2940 constructed patch to be prefix.
2941 (is_dst): Allow $ORIGIN followed by /.
2942 (_dl_dst_substitute): Correct clearing of check_for_trusted.
2943 Correct testing of result of is_trusted_path_normalize
2944 (decompose_rpath): Fix warning.
2945
7b3b0b2a
UD
29462011-05-10 Ulrich Drepper <drepper@gmail.com>
2947
2948 [BZ #11257]
2949 * grp/initgroups.c (internal_getgrouplist): When we found the service
2950 list through the initgroups entry in nsswitch.conf do not always
2951 continue on a successful lookup. Don't always use the
eac80ce2 2952 __nss_group_database value if it is set.
7b3b0b2a
UD
2953 * nss/nsswitch.conf (initgroups): Change action for successful db
2954 lookup to continue for compatibility.
2955
2a81eaa5
UD
29562011-05-09 Ulrich Drepper <drepper@gmail.com>
2957
be97a69e
UD
2958 [BZ #11532]
2959 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
2960 and CP774 modules.
2961 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
2962 and CP774 modules.
2963 * iconvdata/tst-tables.sh: Likewise.
2964 * iconvdata/cp770.c: New file.
2965 * iconvdata/cp771.c: New file.
2966 * iconvdata/cp772.c: New file.
2967 * iconvdata/cp773.c: New file.
2968 * iconvdata/cp774.c: New file.
2969 * iconvdata/testdata/CP770: New file.
2970 * iconvdata/testdata/CP770..UTF8: New file.
2971 * iconvdata/testdata/CP771: New file.
2972 * iconvdata/testdata/CP771..UTF8: New file.
2973 * iconvdata/testdata/CP772: New file.
2974 * iconvdata/testdata/CP772..UTF8: New file.
2975 * iconvdata/testdata/CP773: New file.
2976 * iconvdata/testdata/CP773..UTF8: New file.
2977 * iconvdata/testdata/CP774: New file.
2978 * iconvdata/testdata/CP774..UTF8: New file.
2979
2980 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
2981 END CHARMAP line.
2982 * iconvdata/gen-8bit-gap.sh: Likewise.
2983 * iconvdata/gen-8bit.sh: Likewise.
2984
c1e9e399
UD
2985 * locale/iso-639.def: Add ary entry.
2986
24c55fb3 2987 [BZ #11258]
96b4b1b0
UD
2988 * locale/C-translit.h.in: Add U20A1 transliteration.
2989
bdc2f971
KB
2990 [BZ #12178]
2991 * locale/iso-639.def: Add wae entry.
2992 Patch by Kevin Bortis <bortis@translate-wae.ch>.
2993
2952b117
UD
2994 [BZ #12545]
2995 * locale/programs/localedef.c (construct_output_path): Use ssize_t
2996 for n.
2997
2a81eaa5
UD
2998 [BZ #12711]
2999 * locale/C-translit.h.in: Add entry for U20B9.
3000 Patch by pravin.d.s@gmail.com.
3001
28377d1b
UD
30022011-05-08 Ulrich Drepper <drepper@gmail.com>
3003
7fb90fb8
UD
3004 [BZ #12713]
3005 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
3006 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
3007 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
3008 in rtld. Use *stat64.
7fb90fb8 3009 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 3010 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 3011 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
3012 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
3013 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
3014 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
3015 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
3016 __fstatat64 macros.
7fb90fb8
UD
3017 * include/dirent.h: Add libc_hidden_proto for rewinddir.
3018 * dirent/rewinddir.c: Add libc_hidden_def.
3019 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 3020 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 3021
28377d1b
UD
3022 * include/dirent.h (__alloc_dir): Add flags parameter.
3023 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
3024 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
3025 __alloc_dir.
3026 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
3027 from fdopendir if O_CLOEXEC is already set.
3028
66bdbaa4
AM
30292011-03-15 Alan Modra <amodra@gmail.com>
3030
3031 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
3032 l_tls_firstbyte_offset non-zero. Save padding offset in
3033 l_tls_firstbyte_offset for later use.
3034 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
3035 freeing static tls block.
3036
95721191
JN
30372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
3038
3039 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
3040 where #ifdef was intended. The intent is to prevent ARG_MAX from
3041 being defined by the kernel headers.
3042
f87dfb1f
UD
30432011-05-07 Ulrich Drepper <drepper@gmail.com>
3044
3045 [BZ #12734]
3046 * resolv/resolv.h: Define RES_NOTLDQUERY.
3047 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
3048 no-tld-query and set RES_NOTLDQUERY.
3049 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
3050 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
3051 modern BIND to search name as TLD unless forbidden.
3052
47c3cd7a
UD
30532011-05-07 Petr Baudis <pasky@suse.cz>
3054 Ulrich Drepper <drepper@gmail.com>
3055
3056 [BZ #12393]
3057 * elf/dl-load.c (fillin_rpath): Move trusted path check...
3058 (is_trusted_path): ...to here.
c1e9ea35 3059 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 3060 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 3061 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 3062
8a35c912
PP
30632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3064
3065 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
3066 __BEGIN/__END_DECLS.
3067
acd41f47
UD
30682011-05-06 Ulrich Drepper <drepper@gmail.com>
3069
3070 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
3071 NSS_STATUS_NOTFOUND if no record was found.
3072
597df647
AS
30732011-05-05 Andreas Schwab <schwab@redhat.com>
3074
3075 * sunrpc/Makefile (headers): Add rpc/netdb.h.
3076 (headers-not-in-tirpc): Remove rpc/netdb.h
3077 * resolv/netdb.h: Revert last change.
3078
b9af1301
PP
30792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3080
3081 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
3082 circular dependency between libgcc.a and libc.a.
3083
4e34d5f5
AS
30842011-05-05 Andreas Schwab <schwab@redhat.com>
3085
3086 * resolv/netdb.h: Don't include <rpc/netdb.h>.
3087 * nis/Makefile: Don't install rpcsvc/*.
3088 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
3089 instead of <rpc/types.h>.
3090 (MAXHOSTNAMELEN): Define.
3091
00ee369c
AS
30922011-05-03 Andreas Schwab <schwab@redhat.com>
3093
3094 * elf/ldconfig.c (add_dir): Don't crash on empty path.
3095
0b592a30
MB
30962011-04-28 Maciej Babinski <mbabinski@google.com>
3097
3098 [BZ #12714]
3099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
3100 gethostbyname4_r when IPv6 results are possible.
3101
6e04cbbe
UD
31022011-05-02 Ulrich Drepper <drepper@gmail.com>
3103
3104 [BZ #12723]
3105 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
3106 _PC_PIPE_BUF handling.
3107
e4ecafe0
BH
31082011-04-30 Bruno Haible <bruno@clisp.org>
3109
3110 [BZ #12717]
3111 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
3112 * resolv/netdb.h (getnameinfo): Change type of flags parameter
3113 to 'int'.
3114 * inet/getnameinfo.c (getnameinfo): Likewise.
3115
125ee683
UD
31162011-04-29 Ulrich Drepper <drepper@gmail.com>
3117
3118 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
3119 to groups setting in database lookup.
3120 * nss/nsswitch.conf: Add initgroups entry.
3121
b722481a
EB
31222011-04-22 Ulrich Drepper <drepper@gmail.com>
3123
3124 [BZ #12685]
3125 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
3126 mode string.
3127 Patch by Eric Blake <eblake@redhat.com>.
3128
4df46dbd
L
31292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
3130
3131 * sunrpc/Makefile (need-export-routines): Add svc_run.
3132 (routines): Remove svc_run.
3133 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
3134 * sunrpc/clnt_perr.c (clnt_perrno): Export.
3135 * sunrpc/svc_run.c (svc_run): Likewise.
3136 * sunrpc/svc_udp.c (svcudp_create): Likewise.
3137
e84142d2
UD
31382011-04-21 Ulrich Drepper <drepper@gmail.com>
3139
3140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
3141 problem in reallocation in last patch.
3142
877175d8
UD
31432011-04-20 Ulrich Drepper <drepper@gmail.com>
3144
3145 * sunrpc/Makefile: Move inclusion of Rules.
3146
ab8eed78
UD
31472011-04-19 Ulrich Drepper <drepper@gmail.com>
3148
3149 * nss/nss_files/files-initgroups.c: New file.
3150 * nss/Makefile (libnss_files-routines): Add files-initgroups.
3151 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
3152 _nss_files_initgroups_dyn.
3153
e3d8f584
RS
31542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
3155
3156 * elf/elf.h (R_ARM_IRELATIVE): Define.
3157
af190f45
UD
31582011-04-19 Ulrich Drepper <drepper@gmail.com>
3159
3160 * po/ru.po: Update from translation team.
3161
53cf59ef
UD
31622011-04-17 Ulrich Drepper <drepper@gmail.com>
3163
3164 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
3165 dependencies.
3166
4c559bcd
MF
31672011-02-06 Mike Frysinger <vapier@gentoo.org>
3168
3169 [BZ #12653]
3170 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
3171 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
3172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3175
4420675c
AS
31762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
3177
3178 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
3179 differing bytes.
3180 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3181 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3183
75ea32ab
UD
31842011-04-17 Ulrich Drepper <drepper@gmail.com>
3185
3186 [BZ #12420]
3187 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
3188 storing it.
3189 * stdlib/bug-getcontext.c: New file.
3190 * stdlib/Makefile: Add rules to build and run bug-getcontext.
3191
27390476
AK
31922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3193
3194 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
3195 instructions into .machine "z9-109".
3196 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3197 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3198
10442705
AK
31992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3200
3201 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
3202 between environment variables and auxiliary vector.
3203
7b57bfe5
UD
32042011-04-16 Ulrich Drepper <drepper@gmail.com>
3205
3206 * Makefile: Add rules to build linkobj/libc.so.
3207 * include/libc-symbols.h: Define libc_hidden_nolink.
3208 * include/rpc/auth.h: Mark functions which are to be hidden.
3209 * include/rpc/auth_des.h: Likewise.
3210 * include/rpc/auth_unix.h: Likewise.
3211 * include/rpc/clnt.h: Likewise.
3212 * include/rpc/des_crypt.h: Likewise.
3213 * include/rpc/key_prot.h: Likewise.
3214 * include/rpc/pmap_clnt.h: Likewise.
3215 * include/rpc/pmap_prot.h: Likewise.
3216 * include/rpc/pmap_rmt.h: Likewise.
3217 * include/rpc/rpc_msg.h: Likewise.
3218 * include/rpc/svc.h: Likewise.
3219 * include/rpc/svc_auth.h: Likewise.
3220 * include/rpc/xdr.h: Likewise.
3221 * nis/Makefile: Link all DSOs against linkobj/libc.so.
3222 * nss/Makefile: Likewise.
3223 * sunrpc/Makefile: Don't install headers. Build library with normal
3224 entry points. Don't build rpcinfo. Link RPC tests appropriately.
3225 * sunrpc/auth_des.c: Hide exported symbols by default, export some
3226 for the compat linking library. Remove use of INTDEF/INTUSE.
3227 * sunrpc/auth_none.c: Likewise.
3228 * sunrpc/auth_unix.c: Likewise.
3229 * sunrpc/authdes_prot.c: Likewise.
3230 * sunrpc/authuxprot.c: Likewise.
3231 * sunrpc/clnt_gen.c: Likewise.
3232 * sunrpc/clnt_perr.c: Likewise.
3233 * sunrpc/clnt_raw.c: Likewise.
3234 * sunrpc/clnt_simp.c: Likewise.
3235 * sunrpc/clnt_tcp.c: Likewise.
3236 * sunrpc/clnt_udp.c: Likewise.
3237 * sunrpc/clnt_unix.c: Likewise.
3238 * sunrpc/des_crypt.c: Likewise.
3239 * sunrpc/des_soft.c: Likewise.
3240 * sunrpc/get_myaddr.c: Likewise.
3241 * sunrpc/key_call.c: Likewise.
3242 * sunrpc/key_prot.c: Likewise.
3243 * sunrpc/netname.c: Likewise.
3244 * sunrpc/pm_getmaps.c: Likewise.
3245 * sunrpc/pm_getport.c: Likewise.
3246 * sunrpc/pmap_clnt.c: Likewise.
3247 * sunrpc/pmap_prot.c: Likewise.
3248 * sunrpc/pmap_prot2.c: Likewise.
3249 * sunrpc/pmap_rmt.c: Likewise.
3250 * sunrpc/publickey.c: Likewise.
3251 * sunrpc/rpc_cmsg.c: Likewise.
3252 * sunrpc/rpc_common.c: Likewise.
3253 * sunrpc/rpc_dtable.c: Likewise.
3254 * sunrpc/rpc_prot.c: Likewise.
3255 * sunrpc/rpc_thread.c: Likewise.
3256 * sunrpc/rtime.c: Likewise.
3257 * sunrpc/svc.c: Likewise.
3258 * sunrpc/svc_auth.c: Likewise.
3259 * sunrpc/svc_authux.c: Likewise.
3260 * sunrpc/svc_raw.c: Likewise.
3261 * sunrpc/svc_run.c: Likewise.
3262 * sunrpc/svc_simple.c: Likewise.
3263 * sunrpc/svc_tcp.c: Likewise.
3264 * sunrpc/svc_udp.c: Likewise.
3265 * sunrpc/svc_unix.c: Likewise.
3266 * sunrpc/svcauth_des.c: Likewise.
3267 * sunrpc/xcrypt.c: Likewise.
3268 * sunrpc/xdr.c: Likewise.
3269 * sunrpc/xdr_array.c: Likewise.
3270 * sunrpc/xdr_float.c: Likewise.
3271 * sunrpc/xdr_intXX_t.c: Likewise.
3272 * sunrpc/xdr_mem.c: Likewise.
3273 * sunrpc/xdr_rec.c: Likewise.
3274 * sunrpc/xdr_ref.c: Likewise.
3275 * sunrpc/xdr_sizeof.c: Likewise.
3276 * sunrpc/xdr_stdio.c: Likewise.
3277
e6c61494
UD
32782011-04-10 Ulrich Drepper <drepper@gmail.com>
3279
3280 [BZ #12650]
3281 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
3282 * sysdeps/ia64/dl-tls.h: Likewise.
3283 * sysdeps/powerpc/dl-tls.h: Likewise.
3284 * sysdeps/s390/dl-tls.h: Likewise.
3285 * sysdeps/sh/dl-tls.h: Likewise.
3286 * sysdeps/sparc/dl-tls.h: Likewise.
3287 * sysdeps/x86_64/dl-tls.h: Likewise.
3288 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
3289
34fe483e
AS
32902011-03-14 Andreas Schwab <schwab@redhat.com>
3291
3292 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
3293 rpath element also skip the following colon.
3294 (expand_dynamic_string_token): Add is_path parameter and pass
3295 down to DL_DST_REQUIRED and _dl_dst_substitute.
3296 (decompose_rpath): Call expand_dynamic_string_token with
3297 non-zero is_path. Ignore empty rpaths.
3298 (_dl_map_object_from_fd): Call expand_dynamic_string_token
3299 with zero is_path.
3300
f12a32e6
AS
33012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
3302
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3304 Make cancelable.
3305
38a7d692
UD
33062011-04-09 Ulrich Drepper <drepper@gmail.com>
3307
3308 [BZ #12655]
3309 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
3310 Patch by Filipe David Manana <fdmanana@apache.org>.
3311
e451d22b
AS
33122011-04-07 Andreas Schwab <schwab@redhat.com>
3313
3314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
3315 Maintain aligned stack.
3316 (CHECK_RSP): Remove unused macro.
3317
dedc7c7b
UD
33182011-04-03 Ulrich Drepper <drepper@gmail.com>
3319
3320 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
3321 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
3322
94521213
UD
33232011-04-02 Ulrich Drepper <drepper@gmail.com>
3324
3325 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
3326
8cb700c0 3327 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 3328
0354e355
L
33292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
3330
3331 [BZ #12518]
3332 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
3333 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
3334 * sysdeps/x86_64/memmove.c: New file.
3335 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
3336 (memcpy): Renamed to ...
3337 (__new_memcpy): This.
3338 (memcpy): Provide GLIBC_2_14 memcpy.
3339 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
3340 (memcpy): Provide GLIBC_2_2_5 memcpy.
3341
8593482f
UD
33422011-04-01 Ulrich Drepper <drepper@gmail.com>
3343
3344 [BZ #12631]
3345 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
3346
81a5726b
AS
33472011-03-30 Andreas Schwab <schwab@redhat.com>
3348
3349 * misc/syncfs.c: New file.
3350 * misc/Makefile (routines): Add syncfs.
3351 * posix/unistd.h: Declare syncfs.
3352 * sysdeps/unix/syscalls.list: Add syncfs.
3353
00e5419f
AS
33542011-04-01 Andreas Schwab <schwab@redhat.com>
3355
3356 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
3357 open_by_handle_at.
3358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3359 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3363 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3365
748876bf
UD
33662011-04-01 Ulrich Drepper <drepper@gmail.com>
3367
658e451d
UD
3368 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
3369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
3371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3375
748876bf
UD
3376 * io/Makefile: Compile fallocate.c, fallocate64.c, and
3377 sync_file_range.c with -fexceptions.
3378 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
3379 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
3380 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3381 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3382 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3383 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
3385 sync_file_range as cancellation point
3386 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
3387 now a wrapper around __call_sync_file_range with cancellation handling.
3388 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
3389 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
3390 function name to __call_sync_file_range.
3391 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
3392 Add call_sync_file_range.
748876bf 3393
6e63d5e1
AS
33942011-04-01 Andreas Schwab <schwab@redhat.com>
3395
3396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 3397 bits/timex.h.
6e63d5e1 3398
46998f74
UD
33992011-04-01 Ulrich Drepper <drepper@gmail.com>
3400
4c1423ed
UD
3401 * iconv/iconv.h: Fix typo in comment.
3402 * io/fcntl.h: Likewise.
3403 * libio/stdio.h: Likewise.
3404 * posix/spawn.h: Likewise.
3405 * posix/unistd.h: Likewise.
3406 * stdlib/stdlib.h: Likewise.
3407 * time/time.h: Likewise.
3408 * wcsmbs/wchar.h: Likewise.
3409
158648c0
UD
3410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
3411 open_by_handle): Add.
3412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
3413 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
3414 Augment a few comments.
3415 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3416 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3417 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3420 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
3421 open_by_handle.
3422
46998f74
UD
3423 * io/fcntl.h (AT_EMPTY_PATH): Define.
3424
83fe108b
UD
34252011-03-30 Ulrich Drepper <drepper@gmail.com>
3426
3427 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
3428 * sysdeps/unix/sysv/linux/bits/time.h: New file.
3429 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
3430 to...
3431 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
3432 * Versions.def: Add GLIBC_2.14.
3433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
3434 Export.
83fe108b 3435
bb242059
UD
34362011-03-22 Ulrich Drepper <drepper@gmail.com>
3437
3438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
3439 round counter.
3440 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3441
c97a1282
L
34422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 [BZ #12597]
3445 * string/test-strncmp.c (do_page_test): New function.
3446 (check2): Likewise.
3447 (test_main): Call check2.
3448 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
3449
2a115601
UD
34502011-03-20 Ulrich Drepper <drepper@gmail.com>
3451
3452 [BZ #12587]
3453 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
3454 Handle cache information in CPU leaf 4.
3455 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3456
8126d904
UD
34572011-03-18 Ulrich Drepper <drepper@gmail.com>
3458
042c49c6 3459 [BZ #12583]
8126d904
UD
3460 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
3461 character representation.
3462 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
3463
ccfe366e
RA
34642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
3465
3466 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
3467 END(__isnan) to END(__isnanf) to match function entry point/label
3468 EALIGN(__isnanf,...).
3469
c6e13027
JJ
34702011-03-10 Jakub Jelinek <jakub@redhat.com>
3471
3472 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
3473
33f85a3f
UD
34742011-03-10 Ulrich Drepper <drepper@gmail.com>
3475
028478fa
UD
3476 [BZ #12510]
3477 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
3478 copy from the symbol referenced in the relocation to initialize the
3479 used variable.
3480 Patch by Piotr Bury <pbury@goahead.com>.
3481 * elf/Makefile: Add rules to build and tst-unique3.
3482 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
3483 * elf/tst-unique3.cc: New file.
3484 * elf/tst-unique3.h: New file.
3485 * elf/tst-unique3lib.cc: New file.
3486 * elf/tst-unique3lib2.cc: New file.
3487
33f85a3f
UD
3488 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
3489
03592fc7
MF
34902011-03-10 Mike Frysinger <vapier@gentoo.org>
3491
3492 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
3493 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
3494 to _start.
03592fc7 3495
6a5ee102
UD
34962011-03-06 Ulrich Drepper <drepper@gmail.com>
3497
3498 * elf/dl-load.c (_dl_map_object): If we are looking for the first
3499 to-be-loaded object along a path to loader is ld.so.
3500
7e4ba49c
HJ
35012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3502 Ulrich Drepper <drepper@gmail.com>
3503
3504 * sysdeps/x86_64/memset.S: After aligning destination, code
3505 branches to different locations depending on the value of
3506 misalignment, when multiarch is enabled. Fix this.
3507
35082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3509
3510 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
3511 Set _x86_64_preferred_memory_instruction for AMD processsors.
3512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3513 Set bit_Prefer_SSE_for_memop for AMD processors.
3514
13a804de
UD
35152011-03-04 Ulrich Drepper <drepper@gmail.com>
3516
3517 * libio/fmemopen.c (fmemopen): Optimize a bit.
3518
9d25c392
AS
35192011-03-03 Andreas Schwab <schwab@redhat.com>
3520
3521 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
3522
a5543c6a
RM
35232011-03-03 Roland McGrath <roland@redhat.com>
3524
3525 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
3526
012d35f7
DM
35272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
3528
7e4ba49c 3529 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
3530 __bzero_ultra1 instead of __memset_ultra1.
3531
4bff6e01
AS
35322011-02-23 Andreas Schwab <schwab@redhat.com>
3533 Ulrich Drepper <drepper@gmail.com>
3534
3535 [BZ #12509]
3536 * include/link.h (struct link_map): Add l_orig_initfini.
3537 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
3538 returning unsuccessfully.
3539 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
3540 close of a file loaded at startup, restore the original l_initfini
3541 list.
3542 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
3543 list, store the pointer.
3544 * elf/Makefile ($(objpfx)noload-mem): New rule.
3545 (noload-ENV): Define.
3546 (tests): Add $(objpfx)noload-mem.
3547 * elf/noload.c: Include <memcheck.h>.
3548 (main): Call mtrace. Close all opened handles.
3549
f2092faf
AS
35502011-02-17 Andreas Schwab <schwab@redhat.com>
3551
3552 [BZ #12454]
3553 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
3554 dependencies are missing.
3555
6c8a2e88
ST
35562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3557
f2092faf 3558 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
3559 Hurd needs munmap.
3560 * sysdeps/mach/hurd/ifreq.h: New file.
3561
84a42118
PB
35622011-01-27 Petr Baudis <pasky@suse.cz>
3563 Ulrich Drepper <drepper@gmail.com>
3564
071f805e 3565 [BZ 12445]#
84a42118
PB
3566 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
3567 to extend_alloca().
3568 * stdio-common/bug23.c: New file.
3569 * stdio-common/Makefile (tests): Add bug23.
3570
e23fe25b
AS
35712010-09-28 Andreas Schwab <schwab@redhat.com>
3572 Ulrich Drepper <drepper@gmail.com>
3573
3574 [BZ #12489]
3575 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
3576 before performing relro protection. At old place add assertion
3577 to make sure nothing changed.
3578
d3f02e10
NS
35792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
3580 Glauber de Oliveira Costa <glommer@gmail.com>
3581
3582 * elf/elf.h: Add new ARM TLS relocs.
3583
d55fd7a5
RA
35842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
3585
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3587 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
3588 cast from r3.
3589 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
3590 'tests' variable.
3591 * sysdeps/wordsize-64/tst-writev.c: New file.
3592
2206397e
RA
35932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
3594
3595 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
3596 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
3597 insns in _dl_start to prevent a TOC reference before relocs are
3598 resolved.
3599
e9433893
UD
36002011-02-15 Ulrich Drepper <drepper@gmail.com>
3601
3602 [BZ #12469]
3603 * Makeconfig: Remove RANLIB definition.
3604 * Makerules: Don't use RANLIB.
3605 * aclocal.m4: Remove ranlib test.
3606 * configure.in: No need to check for ranlib.
3607 * elf/rtld-Rules: Don't use RANLIB.
3608
f75286c6
ST
36092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3610
8e31c82d
ST
3611 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
3612 protection macro.
3613 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
3614 inclusion protection macro.
3615
f75286c6
ST
3616 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
3617 SIGRTMIN and SIGRTMAX and print information in that case only when
3618 SIGRTMIN is defined.
3619
c1d0e639
JJ
36202011-02-11 Jakub Jelinek <jakub@redhat.com>
3621
3622 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
3623 arginfo fn returning -1.
3624
3625 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
3626 and thousands string is zero terminated.
3627
edf9294e
AS
36282011-02-03 Andreas Schwab <schwab@redhat.com>
3629
3630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
3631 sysdeps/unix/sysv/linux/bits/socket.h.
3632
2b7e92df
ST
36332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3634
edf9294e
AS
3635 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
3636 (__CPU_COUNT): Remove old macros.
3637 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
3638 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
3639 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
3640 (__sched_cpualloc, __sched_cpufree): Add declarations.
3641
a4c7ea7b
UD
36422011-02-05 Ulrich Drepper <drepper@gmail.com>
3643
3644 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
3645 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
3646 * nscd/aicache.c (addhstaiX): Return timeout of added value.
3647 (readdhstai): Return value of addhstaiX call.
3648 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
3649 (addgrbyX): Return value returned by cache_addgr.
3650 (readdgrbyname): Return value returned by addgrbyX.
3651 (readdgrbygid): Likewise.
3652 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
3653 (addpwbyX): Return value returned by cache_addpw.
3654 (readdpwbyname): Return value returned by addhstbyX.
3655 (readdpwbyuid): Likewise.
3656 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
3657 (addservbyX): Return value returned by cache_addserv.
3658 (readdservbyname): Return value returned by addservbyX:
3659 (readdservbyport): Likewise.
3660 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
3661 (addhstbyX): Return value returned by cache_addhst.
3662 (readdhstbyname): Return value returned by addhstbyX.
3663 (readdhstbyaddr): Likewise.
3664 (readdhstbynamev6): Likewise.
3665 (readdhstbyaddrv6): Likewise.
3666 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
3667 (readdinitgroups): Return value returned by addinitgroupsX.
3668 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
3669 (prune_cache): Keep track of timeout value of re-added entries.
3670 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
3671 * nscd/nscd.h: Adjust prototypes of readd* functions.
3672
a0bf67cc
RM
36732011-02-04 Roland McGrath <roland@redhat.com>
3674
3675 * nis/nis_server.c (nis_servstate): Use the right name for 0.
3676 (nis_stats): Likewise.
3677 * nis/nis_modify.c (nis_modify): Likewise.
3678 * nis/nis_remove.c (nis_remove): Likewise.
3679 * nis/nis_add.c (nis_add): Likewise.
3680
3681 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
3682
3683 * posix/fnmatch_loop.c: Add some consts.
3684
3685 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
3686
435b95eb
L
36872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
3688
3689 [BZ #12460]
3690 * config.make.in (config-cflags-novzeroupper): Define.
3691 * configure.in: Substitute libc_cv_cc_novzeroupper.
3692 * elf/Makefile (AVX-CFLAGS): Define.
3693 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
3694 (CFLAGS-tst-auditmod4a.c): Likewise.
3695 (CFLAGS-tst-auditmod4b.c): Likewise.
3696 (CFLAGS-tst-auditmod6b.c): Likewise.
3697 (CFLAGS-tst-auditmod6c.c): Likewise.
3698 (CFLAGS-tst-auditmod7b.c): Likewise.
3699 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
3700
8517b15e
UD
37012011-02-02 Ulrich Drepper <drepper@gmail.com>
3702
3703 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
3704 function to the callback.
3705 Patch partly by Jiri Olsa <jolsa@redhat.com>.
3706
10a656fe
AS
37072011-02-02 Andreas Schwab <schwab@redhat.com>
3708
3709 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
3710 of errno.
3711
968dad0a
UD
37122011-01-19 Ulrich Drepper <drepper@gmail.com>
3713
9f94d2ea 3714 [BZ #11724]
968dad0a
UD
3715 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
3716 of constructors.
3717 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
3718 of destructors.
3719 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
3720
3721 [BZ #11724]
3722 * elf/Makefile: Add rules to build and run new test.
3723 * elf/tst-initorder.c: New file.
3724 * elf/tst-initorder.exp: New file.
3725 * elf/tst-initordera1.c: New file.
3726 * elf/tst-initordera2.c: New file.
3727 * elf/tst-initordera3.c: New file.
3728 * elf/tst-initordera4.c: New file.
3729 * elf/tst-initorderb1.c: New file.
3730 * elf/tst-initorderb2.c: New file.
3731 * elf/tst-order-a1.c: New file.
3732 * elf/tst-order-a2.c: New file.
3733 * elf/tst-order-a3.c: New file.
3734 * elf/tst-order-a4.c: New file.
3735 * elf/tst-order-b1.c: New file.
3736 * elf/tst-order-b2.c: New file.
3737 * elf/tst-order-main.c: New file.
3738 New test case by George Gensure <werkt0@gmail.com>.
3739
86e92359
UD
37402010-10-01 Andreas Schwab <schwab@redhat.com>
3741
3742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3743 decoding ACE if AI_CANONIDN.
3744
5d5732b0
UD
37452011-01-18 Ulrich Drepper <drepper@gmail.com>
3746
3747 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
3748
a77e8cbc
UD
37492011-01-17 Ulrich Drepper <drepper@gmail.com>
3750
6392473f
UD
3751 * version.h (RELEASE): Bump for 2.13 release.
3752 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
3753
620a0529
UD
3754 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
3755
18ba70a5
UD
3756 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
3757 MADV_NOHUGEPAGE.
32465c3e
UD
3758 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
3759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3760 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3761 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3763 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3764
c0dafcf1
UD
3765 * posix/getconf.c: Update copyright year.
3766 * catgets/gencat.c: Likewise.
3767 * csu/version.c: Likewise.
3768 * debug/catchsegv.sh: Likewise.
3769 * debug/xtrace.sh: Likewise.
3770 * elf/ldconfig.c: Likewise.
3771 * elf/ldd.bash.in: Likewise.
3772 * elf/sprof.c (print_version): Likewise.
3773 * iconv/iconv_prog.c: Likewise.
3774 * iconv/iconvconfig.c: Likewise.
3775 * locale/programs/locale.c: Likewise.
3776 * locale/programs/localedef.c: Likewise.
3777 * malloc/memusage.sh: Likewise.
3778 * malloc/mtrace.pl: Likewise.
3779 * nscd/nscd.c (print_version): Likewise.
3780 * nss/getent.c: Likewise.
3781
a77e8cbc
UD
3782 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
3783 PF_CAIF, and PF_ALG.
3784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3785
77e8bddf
AS
37862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
3787
1f20b93a
AS
3788 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
3789 (modules-names): Use them.
3790 (ifunc-test-modules, ifunc-pie-tests): Define.
3791 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
3792 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
3793 (test-extras): Likewise.
3794 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
3795 $(compile-command.c).
3796 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
3797 (all-built-dso): Define.
3798 (check-textrel.out, check-execstack.out): Depend on it.
3799
77e8bddf
AS
3800 * configure.in: Don't override --enable-multi-arch.
3801
bc425b33
UD
38022011-01-15 Ulrich Drepper <drepper@gmail.com>
3803
3804 [BZ #6812]
3805 * nscd/hstcache.c (tryagain): Define.
3806 (cache_addhst): Return tryagain not notfound for temporary errors.
3807 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
3808 failed.
3809
794c3ad3
UD
38102011-01-14 Ulrich Drepper <drepper@gmail.com>
3811
70181fdd
UD
3812 [BZ #10563]
3813 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
3814 to make the syscall.
3815 * sysdeps/unix/sysv/linux/setgroups.c: New file.
3816
794c3ad3
UD
3817 [BZ #12378]
3818 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
3819 and fall back to matching as normal character if the string ends before
3820 the matching ']' is found. This is what POSIX requires.
3821 * posix/testfnm.c: Adjust test result.
3822 * posix/globtest.sh: Adjust test result. Add new test.
3823 * posix/tst-fnmatch.input: Likewise.
3824 * posix/tst-fnmatch2.c: Add new test.
3825
68dc9497
AS
38262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
3827
3828 * elf/Makefile (check-execstack): Revert last change. Depend on
3829 check-execstack.h.
3830 (check-execstack.h): New target.
3831 (generated): Add check-execstack.h.
3832 * elf/check-execstack.c: Include "check-execstack.h".
3833 (main): Revert last change.
3834 (handle_file): Return zero if GNU_STACK is absent and
3835 DEFAULT_STACK_PERMS doesn't include PF_X.
3836
451f001b
UD
38372011-01-13 Ulrich Drepper <drepper@gmail.com>
3838
cfa28e56
UD
3839 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
3840 in child fails because the descriptor is already closed.
8cf8ce17
UD
3841 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
3842 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
3843 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 3844
1086d70d
UD
3845 [BZ #12397]
3846 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
3847 syscall.
3848
451f001b
UD
3849 [BZ #10484]
3850 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
3851 temporary buffer used to handle multi lookups locally.
a85b5cb4 3852 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 3853
08769175
UD
38542011-01-12 Ulrich Drepper <drepper@gmail.com>
3855
3856 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
3857 loader is ld.so.
3858
5e49c52e
UD
38592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
3860
3861 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
3862 alignment for SSE2.
3863
60522a5f
UD
38642011-01-12 Ulrich Drepper <drepper@gmail.com>
3865
3866 [BZ #12394]
3867 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
3868 characters. When rounding increased number of integer digits recompute
3869 number of groups.
3870 * stdio-common/tst-grouping.c: New file.
3871 * stdio-common/Makefile: Add rules to build and run tst-grouping.
3872
f257bbd7
UD
38732011-01-09 Ulrich Drepper <drepper@gmail.com>
3874
3875 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
3876 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
3877
3878 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
3879 void.
3880 * bits/select.h: Likewise.
3881
fa9c15cb
UD
38822011-01-08 Ulrich Drepper <drepper@gmail.com>
3883
3884 * po/ja.po: Update from translation team.
3885
16c2895f
DM
38862011-01-04 David S. Miller <davem@sunset.davemloft.net>
3887
3888 [BZ #11155]
3889 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
3890 implementation just like for lxstat, fxstatat, et al.
3891
2543fef2
JM
38922010-12-27 Jim Meyering <meyering@redhat.com>
3893
3894 [BZ #12348]
3895 * posix/regexec.c (build_trtable): Return failure indication upon
3896 calloc failure. Otherwise, re_search_internal could infloop on OOM.
3897
98727dbe
UD
38982010-12-25 Ulrich Drepper <drepper@gmail.com>
3899
5bd6dc5c
UD
3900 [BZ #12201]
3901 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3902 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3903 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
3904 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
3905
97983464
UD
3906 [BZ #12207]
3907 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
3908
98727dbe
UD
3909 [BZ #12204]
3910 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
3911 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
3912
4a531bb0
L
39132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
3914
3915 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
3916 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
3917 script has SORT_BY_INIT_PRIORITY.
3918 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
3919 NO_CTORS_DTORS_SECTIONS is defined.
3920 * elf/soinit.c: Likewise.
3921 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
3922 NO_CTORS_DTORS_SECTIONS is defined.
3923 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3924 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
3925 * sysdeps/sh/init-first.c: Likewise.
3926 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3927
07eb4b71
UD
39282010-12-24 Ulrich Drepper <drepper@gmail.com>
3929
3930 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
3931 always use the slow path.
3932
30950a5f
RA
39332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
3934
3935 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
3936 similar rule which adds the sysdep directories to the header search in
3937 order to pick up the correct platform stackinfo.h.
3938 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
3939 perform test if it is, otherwise return successfully without testing.
3940 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
3941 DEFAULT_STACK_PERMS define in stackinfo.h.
3942 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
3943 defined in stackinfo.h.
3944 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
3945 DEFAULT_STACK_PERMS defined in stackinfo.h.
3946 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
3947 * sysdeps/ia64/stackinfo.h: Likewise.
3948 * sysdeps/s390/stackinfo.h: Likewise.
3949 * sysdeps/sh/stackinfo.h: Likewise.
3950 * sysdeps/sparc/stackinfo.h: Likewise.
3951 * sysdeps/x86_64/stackinfo.h: Likewise.
3952 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
3953 PF_X for powerpc64. Retain PF_X for powerpc32.
3954
db753e2c
UD
39552010-12-19 Ulrich Drepper <drepper@gmail.com>
3956
14b697f7
UD
3957 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
3958 accurately.
db753e2c
UD
3959 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
3960 GETDENTS_64BIT_ALIGNED.
3961
28300719
UD
39622010-12-14 Ulrich Drepper <dreper@gmail.com>
3963
14b697f7 3964 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 3965
4f197237
AS
39662010-12-10 Andreas Schwab <schwab@redhat.com>
3967
dbb0472f
AS
3968 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
3969 _GNU_SOURCE.
3970
4f197237
AS
3971 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
3972 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
3973 Remove __restrict.
3974 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
3975 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
3976
fb88ac72
UD
39772010-12-09 Ulrich Drepper <drepper@gmail.com>
3978
3979 [BZ #11655]
3980 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
3981 are initialized.
3982
42acbb92
JJ
39832010-12-09 Jakub Jelinek <jakub@redhat.com>
3984
3985 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
3986
c038d98d
UD
39872010-12-03 Ulrich Drepper <drepper@gmail.com>
3988
3989 * po/it.po: Update from translation team.
3990
3a4a2499
L
39912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
3994 unused codes.
3995
1e24cf6e
UD
39962010-11-30 Ulrich Drepper <drepper@gmail.com>
3997
3998 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
3999
a7690819
AS
40002010-11-24 Andreas Schwab <schwab@redhat.com>
4001
4002 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
4003 specially.
4004 (gaih_getanswer_slice): Likewise.
4005
3bf8d1b1
JJ
40062010-10-20 Jakub Jelinek <jakub@redhat.com>
4007
4008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
4009
6db52fbb
PB
40102010-05-31 Petr Baudis <pasky@suse.cz>
4011
4012 [BZ #11149]
4013 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
4014 silently even in the chroot mode.
4015
eaca7569
UD
40162010-11-22 Ulrich Drepper <drepper@gmail.com>
4017
4018 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
4019 last patch a bit. Pretty printing
4020
3056dcdb
UD
40212010-05-31 Petr Baudis <pasky@suse.cz>
4022
4023 [BZ #10085]
4024 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
4025 initialization of skip_initgroups_dyn.
4026
cf7c9078
UD
40272010-11-19 Ulrich Drepper <drepper@gmail.com>
4028
4029 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
4030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4031
a1fb5e3e
UD
40322010-11-16 Ulrich Drepper <drepper@gmail.com>
4033
4034 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
4035
3540d66b
AS
40362010-11-11 Andreas Schwab <schwab@redhat.com>
4037
4038 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
4039 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
4040 (tst-fnmatch-ENV): Set MALLOC_TRACE.
4041 ($(objpfx)tst-fnmatch-mem): New rule.
4042 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
4043 * posix/tst-fnmatch.c (main): Call mtrace.
4044
13b69574
L
40452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4048 Support Intel processor model 6 and model 0x2c.
4049
da93d214
LM
40502010-11-10 Luis Machado <luisgpm@br.ibm.com>
4051
4052 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
4053 signed comparison.
4054
8ca52c6e
L
40552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 [BZ #12205]
4058 * string/test-strncasecmp.c (check_result): New function.
4059 (do_one_test): Use it.
4060 (check1): New function.
4061 (test_main): Use it.
4062 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
4063 Support strcasecmp and strncasecmp.
4064
69da074d
UD
40652010-11-08 Ulrich Drepper <drepper@gmail.com>
4066
4067 [BZ #12194]
4068 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
4069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4070
ff02d528
L
40712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
4072
4073 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
4074 IFUNC support.
4075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4076 memset-x86-64.
4077 * sysdeps/x86_64/multiarch/bzero.S: New file.
4078 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
4079 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
4080 * sysdeps/x86_64/multiarch/memset.S: New file.
4081 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
4082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4083 Set bit_Prefer_SSE_for_memop for Intel processors.
4084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
4085 Define.
4086 (index_Prefer_SSE_for_memop): Define.
4087 (HAS_PREFER_SSE_FOR_MEMOP): Define.
4088
344d0b54
LM
40892010-11-04 Luis Machado <luisgpm@br.ibm.com>
4090
4091 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
4092 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
4093
c0dde15b
UD
40942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 [BZ #12191]
4097 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4098 (__x86_64_raw_data_cache_size_half): Likewise.
4099 (__x86_64_raw_shared_cache_size): Likewise.
4100 (__x86_64_raw_shared_cache_size_half): Likewise.
4101
4102 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4103 (__x86_64_raw_data_cache_size_half): Likewise.
4104 (__x86_64_raw_shared_cache_size): Likewise.
4105 (__x86_64_raw_shared_cache_size_half): Likewise.
4106 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
4107 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
4108 and __x86_64_raw_shared_cache_size_half. Round
4109 __x86_64_data_cache_size_half, __x86_64_data_cache_size
4110 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
4111 to multiple of 256 bytes.
4112
0e516e0e
MS
41132010-11-03 Ulrich Drepper <drepper@gmail.com>
4114
4115 [BZ #12167]
4116 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
4117 of inacessible symlinks. Verify result of symlink before returning it.
4118 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4119 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
4120
0e012e87
ER
41212010-10-28 Erich Ritz <erichritz@gmail.com>
4122
4123 * math/math.h (isinf): Fix typo in comment.
4124
de0ff7bc
UD
41252010-11-01 Ulrich Drepper <drepper@gmail.com>
4126
4127 * po/da.po: Update from translation team.
4128
fa41c84d
UD
41292010-10-26 Ulrich Drepper <drepper@gmail.com>
4130
4131 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
4132 is added to the list.
4133
f0967738
AK
41342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4135 Ulrich Drepper <drepper@gmail.com>
4136
4137 * elf/dl-object.c (_dl_new_object): Don't append the new object to
4138 the global list here. Move code to...
4139 (_dl_add_to_namespace_list): ...here. New function.
4140 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
4141 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
4142 * elf/dl-load.c (lose): Don't remove the element from the list.
4143 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
4144 (_dl_map_object): Likewise.
4145
41462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
4147
4148 [BZ #12159]
4149 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
4150 into all bytes of SSE register.
4151 Patch by Richard Li <richardpku@gmail.com>.
4152
f0967738 41532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
4154
4155 [BZ #12140]
4156 * malloc/malloc.c (_int_free): Fill correct number of bytes when
4157 perturbing.
4158
d0b9e94f
MB
41592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
4160
4161 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4162 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
4163 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
4164 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
4166 submachine.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
4168
8e9f92e9
AS
41692010-10-22 Andreas Schwab <schwab@redhat.com>
4170
4171 * include/dlfcn.h (__RTLD_SECURE): Define.
4172 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
4173 mode & __RTLD_SECURE instead.
4174 (open_path): Rename preloaded parameter to secure.
4175 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
4176 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
4177 * elf/dl-deps.c (openaux): Likewise.
4178 * elf/rtld.c (struct map_args): Remove is_preloaded.
4179 (map_doit): Don't use it.
4180 (dl_main): Likewise.
4181 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
4182 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
4183
bc96fbda
AS
41842010-09-09 Andreas Schwab <schwab@redhat.com>
4185
4186 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4187 (sysd-rules-targets): Remove duplicates.
4188 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
4189 rtld-%.$o dependency.
4190
22cd1c9b
AS
41912010-10-18 Andreas Schwab <schwab@redhat.com>
4192
4193 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
4194 _dl_map_object do it.
4195
18edac48
UD
41962010-10-19 Ulrich Drepper <drepper@gmail.com>
4197
4198 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
4199 fast fma builtins, define the macros in the C99 standard.
4200 (FP_FAST_FMAF): Likewise.
4201 (FP_FAST_FMAL): Likewise.
4202 * sysdeps/x86_64/bits/mathdef.h: Likewise.
4203
4204 * bits/mathdef.h: Update copyright year.
4205 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4206
d2050124
MM
42072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
4208
4209 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
4210 builtins, define the macros in the C99 standard.
4211 (FP_FAST_FMAF): Likewise.
4212 (FP_FAST_FMAL): Likewise.
4213 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
4214 multiply/add.
4215 (FP_FAST_FMAF): Likewise.
4216
475facd1
JJ
42172010-10-15 Jakub Jelinek <jakub@redhat.com>
4218
4219 [BZ #3268]
4220 * math/libm-test.inc (fma_test): Some new testcases.
4221 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
4222 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
4223 y and infinite z. Do multiplication by C already in long double.
4224 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
4225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
4226 y and infinite z. Do bitwise or of inexact bit into u.d.
4227 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
4228 * sysdeps/i386/fpu/s_fmaf.S: Removed.
4229 * sysdeps/i386/fpu/s_fma.S: Removed.
4230 * sysdeps/i386/fpu/s_fmal.S: Removed.
4231
7c08a05c
JJ
42322010-10-16 Jakub Jelinek <jakub@redhat.com>
4233
4234 [BZ #3268]
4235 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
4236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
4237 computation is not scheduled after fetestexcept. Fix value
4238 of minimum denormal long double.
4239
f3f7372d
JJ
42402010-10-14 Jakub Jelinek <jakub@redhat.com>
4241
4242 [BZ #3268]
4243 * math/libm-test.inc (fma_test): Add some more tests.
4244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
4245 correctly.
4246
14d43591
AS
42472010-10-15 Andreas Schwab <schwab@redhat.com>
4248
4249 * scripts/data/localplt-s390-linux-gnu.data: New file.
4250 * scripts/data/localplt-s390x-linux-gnu.data: New file.
4251
5e908464
JJ
42522010-10-13 Jakub Jelinek <jakub@redhat.com>
4253
4254 [BZ #3268]
4255 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
4256 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
4257 instead of dbl-64.
4258 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
4259 inlines.
4260 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
4261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
4262 if one of x and y is very large and the other is subnormal.
4263 * sysdeps/s390/fpu/s_fmaf.c: New file.
4264 * sysdeps/s390/fpu/s_fma.c: New file.
4265 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
4266 * sysdeps/powerpc/fpu/s_fma.S: New file.
4267 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
4268 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
4269 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
4270
42712010-10-12 Jakub Jelinek <jakub@redhat.com>
4272
4273 [BZ #3268]
4274 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
4275 fma tests.
4276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
4277 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
4278 * sysdeps/i386/i686/multiarch/s_fma.c: Include
4279 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
4280 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
4281 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
4283
b833d51f
UD
42842010-10-12 Ulrich Drepper <drepper@redhat.com>
4285
4286 [BZ #12078]
4287 * posix/regcomp.c (parse_branch): One more memory leak plugged.
4288 * posix/bug-regex31.input: Add test case.
4289
1751705d
UD
42902010-10-11 Ulrich Drepper <drepper@gmail.com>
4291
e9b9cbf5
UD
4292 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
4293 * posix/bug-regex31.input: New file.
4294
4295 [BZ #12078]
4296 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
4297 (parse_sub_exp): Fix last change, use postorder.
4298
ef06edbe
UD
4299 * posix/bug-regex31.c: New file.
4300 * posix/Makefile: Add rules to build and run bug-regex31.
4301
a129c80d
UD
4302 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
4303
4304 [BZ #12078]
4305 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
4306
b76b818e
UD
4307 [BZ #12108]
4308 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
4309 to have entries in sys_siglist.
4310
1751705d
UD
4311 [BZ #12093]
4312 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
4313 be NULL.
4314
9ff8d36f
JJ
43152010-10-07 Jakub Jelinek <jakub@redhat.com>
4316
4317 [BZ #3268]
4318 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
4319 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
4320 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4321 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
4322 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4323 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
4324 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
4325 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
4326 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
4327 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
4328 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
4329 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
4330 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4331 * math/ftestexcept.c (fetestexcept): Likewise.
4332 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
4333 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4334 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4335 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
4336 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
4337 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
4338 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4339
af325969
UD
43402010-10-11 Ulrich Drepper <drepper@gmail.com>
4341
c579b202 4342 [BZ #12107]
af325969
UD
4343 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
4344 newline.
4345
67a67b95
UD
43462010-10-06 Ulrich Drepper <drepper@gmail.com>
4347
4348 * string/bug-strstr1.c: New file.
4349 * string/Makefile: Add rules to build and run bug-strstr1.
4350
5fb308bc
EB
43512010-10-05 Eric Blake <eblake@redhat.com>
4352
4353 [BZ #12092]
4354 * string/str-two-way.h (two_way_long_needle): Always clear memory
4355 when skipping input due to the shift table.
4356
45db99c7
UD
43572010-10-03 Ulrich Drepper <drepper@gmail.com>
4358
3b111893
UD
4359 [BZ #12005]
4360 * malloc/mcheck.c: Handle large requests.
4361
45db99c7
UD
4362 [BZ #12077]
4363 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
4364 for strncmp and strncasecmp.
4365 * string/stratcliff.c: Add tests for strcmp and strncmp.
4366 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
4367
cf7a1eb8
NI
43682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4369
4370 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
4371 __set_fpscr.
4372
6484ba5e
AJ
43732010-09-30 Andreas Jaeger <aj@suse.de>
4374
4375 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
4376 (CGROUP_SUPER_MAGIC): Define.
4377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4378 Handle btrfs and cgroup file systems.
4379 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4380 Likewise.
4381
91c42559
LM
43822010-09-27 Luis Machado <luisgpm@br.ibm.com>
4383
4384 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
4385 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
4386
87a97932
AK
43872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4388
4389 [BZ #12067]
4390 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
4391 trying to locate the ELF header.
4392
c21cc9bc
AS
43932010-09-27 Andreas Schwab <schwab@redhat.com>
4394
4395 [BZ #11611]
4396 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
4397 Mask out sign-bit copies when constructing f_fsid.
4398
315970f6
PB
43992010-09-24 Petr Baudis <pasky@suse.cz>
4400
4401 * debug/stack_chk_fail_local.c: Add missing licence exception.
4402 * debug/warning-nop.c: Likewise.
4403
1ac7a2c7
JM
44042010-09-15 Joseph Myers <joseph@codesourcery.com>
4405
4406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
4407 implementing getdents64 using getdents syscall, set d_type if
4408 __ASSUME_GETDENTS32_D_TYPE.
4409
56801c50
AS
44102010-09-16 Andreas Schwab <schwab@redhat.com>
4411
4412 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
4413 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
4414
dda51327
UD
44152010-09-21 Ulrich Drepper <drepper@redhat.com>
4416
4417 [BZ #12037]
4418 * posix/unistd.h: Undo change of feature selection for ftruncate from
4419 2010-01-11.
4420
8ffcee4a
UD
44212010-09-20 Ulrich Drepper <drepper@redhat.com>
4422
a545ecd9 4423 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
4424 detection.
4425
e24f0a8b
AS
44262010-09-20 Andreas Schwab <schwab@redhat.com>
4427
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
4429 fanotify_mark.
4430 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4431
7291c56f
AS
44322010-09-14 Andreas Schwab <schwab@redhat.com>
4433
4434 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
4435 variables after CHECK_SP call.
4436 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4437
bc5fb037
AS
44382010-09-13 Andreas Schwab <schwab@redhat.com>
4439 Ulrich Drepper <drepper@redhat.com>
4440
4441 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
4442 re-relocationg ld.so.
4443 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
4444 _dl_init_paths call.
4445 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
4446 here anymore.
4447
e66e7419
UD
44482010-09-14 Ulrich Drepper <drepper@redhat.com>
4449
4450 * resolv/res_init.c (__res_vinit): Count the default server we added.
4451
c044aa75
CLT
44522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
4453 Ulrich Drepper <drepper@redhat.com>
4454
4455 [BZ #11968]
4456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4457 (____longjmp_chk): Use %ebx for saving value across system call.
4458 Add unwind info.
4459
32cf4069
AS
44602010-09-06 Andreas Schwab <schwab@redhat.com>
4461
4462 * manual/Makefile: Don't mix pattern rules with normal rules.
4463
817328ee
AS
44642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
4465
4466 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
4467 operation.
4468 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4469 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4470 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4471 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4473 Likewise.
4474
29fddf61
UD
44752010-09-04 Ulrich Drepper <drepper@redhat.com>
4476
4477 [BZ #11979]
4478 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
4479 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
4480
0959ffc9
UD
44812010-09-02 Ulrich Drepper <drepper@redhat.com>
4482
4483 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
4484 * sysdeps/x86_64/addmul_1.S: Likewise.
4485 * sysdeps/x86_64/lshift.S: Likewise.
4486 * sysdeps/x86_64/mul_1.S: Likewise.
4487 * sysdeps/x86_64/rshift.S: Likewise.
4488 * sysdeps/x86_64/sub_n.S: Likewise.
4489 * sysdeps/x86_64/submul_1.S: Likewise.
4490
ece29840
ST
44912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4492
0959ffc9
UD
4493 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
4494 Define __sched_param instead of SCHED_* and sched_param when
ece29840 4495 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 4496 * bits/sched.h [__need_schedparam]
ece29840 4497 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
4498 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
4499 (__defined_schedparam): Define to 1.
ece29840
ST
4500 (__sched_param): New structure, identical to sched_param.
4501 (__need_schedparam): Undefine.
4502
e53a31fe
MF
45032010-08-31 Mike Frysinger <vapier@gentoo.org>
4504
fdc0c10d
MF
4505 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
4506 (epoll_create1): Declare.
4507
e53a31fe
MF
4508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
4509
a726d796
AS
45102010-08-31 Andreas Schwab <schwab@redhat.com>
4511
4512 [BZ #7066]
4513 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
4514 shifting retval into place.
4515
2f3e3dc7
UD
45162010-09-01 Ulrich Drepper <drepper@redhat.com>
4517
f2933da9
UD
4518 * nis/rpcsvc/nis.h: Update copyright notice.
4519 * nis/rpcsvc/nis.x: Likewise.
4520 * nis/rpcsvc/nis_callback.h: Likewise.
4521 * nis/rpcsvc/nis_callback.x: Likewise.
4522 * nis/rpcsvc/nis_object.x: Likewise.
4523 * nis/rpcsvc/nis_tags.h: Likewise.
4524 * nis/rpcsvc/yp.h: Likewise.
4525 * nis/rpcsvc/yp.x: Likewise.
4526 * nis/rpcsvc/ypupd.h: Likewise.
4527 * nis/yp_xdr.c: Likewise.
4528 * nis/ypupdate_xdr.c: Likewise.
4529
2f3e3dc7
UD
4530 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
4531 mainly the body of pmap_getport. Add parameters to specify timeouts.
4532 (pmap_getport): Use __libc_rpc_getport.
4533 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
4534 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
4535 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
4536
f3dcc2f9
AS
45372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
4538
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
4540 fanotify_mark.
4541
6d34eb5b
RM
45422010-08-27 Roland McGrath <roland@redhat.com>
4543
4544 * sysdeps/i386/i686/multiarch/Makefile
4545 (CFLAGS-varshift.c): New variable.
4546
9ea3de11
UD
45472010-08-27 Ulrich Drepper <drepper@redhat.com>
4548
c96d23fc
UD
4549 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
4550 * sysdeps/i386/i686/multiarch/varshift.c: New file.
4551
9ea3de11
UD
4552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
4553
4554 * sysdeps/x86_64/strlen.S: Minimal code improvement.
4555
623aac7f
L
45562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 * sysdeps/x86_64/strlen.S: Unroll the loop.
4559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4560 strlen-sse2 strlen-sse2-bsf.
4561 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
4562 __strlen_no_bsf if bit_Slow_BSF is set.
4563 (__strlen_sse42): Removed.
4564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
4565 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
4566
8b2b7715
RM
45672010-08-25 Roland McGrath <roland@redhat.com>
4568
4569 * sysdeps/x86_64/multiarch/varshift.S: File removed.
4570 * sysdeps/x86_64/multiarch/varshift.c: New file.
4571 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
4572 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
4573 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
4574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4575
e73015f2
L
45762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4579 strlen-sse2 strlen-sse2-bsf.
4580 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
4581 __strlen_sse2_bsf if bit_Slow_BSF is unset.
4582 (__strlen_sse2): Removed.
4583 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
4584 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
4585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4586 bit_Slow_BSF for Atom.
4587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
4588 (index_Slow_BSF): Define.
4589 (HAS_SLOW_BSF): Define.
4590
df24a73e
UD
45912010-08-25 Ulrich Drepper <drepper@redhat.com>
4592
4593 [BZ #10851]
4594 * resolv/res_init.c (__res_vinit): When no server address at all
4595 is given default to loopback.
4596
f2ac4868
RM
45972010-08-24 Roland McGrath <roland@redhat.com>
4598
09055553
RM
4599 * configure.in: Remove config-name.h generation.
4600 * configure: Regenerated.
4601 * config-name.in: File removed.
4602 * scripts/config-uname.sh: New file.
4603 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
4604 ($(objdir)config-name.h): New target.
4605
f2ac4868
RM
4606 * sunrpc/rpc_parse.h: Avoid nested comment.
4607
73f27d5e
RH
46082010-08-24 Richard Henderson <rth@redhat.com>
4609 Ulrich Drepper <drepper@redhat.com>
4610 H.J. Lu <hongjiu.lu@intel.com>
4611
4612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
4613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
4614 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
4615 Replace _mm_srli_si128 with __m128i_shift_right. Replace
4616 _mm_alignr_epi8 with _mm_loadu_si128.
4617 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
4618 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
4619 (__m128i_shift_right): Removed.
4620 * sysdeps/i386/i686/multiarch/varshift.h: New file.
4621 * sysdeps/i386/i686/multiarch/varshift.S: New file.
4622 * sysdeps/x86_64/multiarch/varshift.h: New file.
4623 * sysdeps/x86_64/multiarch/varshift.S: New file.
4624
84b9230c
MF
46252010-08-21 Mike Frysinger <vapier@gentoo.org>
4626
4627 * configure.in: Move assembler checks to before sysdep dir checking.
4628
9bbd0ddc
PB
46292010-08-20 Petr Baudis <pasky@suse.cz>
4630
4631 * LICENSES: Sync the sunrpc license.
4632
9da4bb31
UD
46332010-08-19 Ulrich Drepper <drepper@redhat.com>
4634
a7ab6ec8
UD
4635 * sunrpc/auth_des.c: Update copyright notice once again.
4636 * sunrpc/auth_none.c: Likewise.
4637 * sunrpc/auth_unix.c: Likewise.
4638 * sunrpc/authdes_prot.c: Likewise.
4639 * sunrpc/authuxprot.c: Likewise.
4640 * sunrpc/bindrsvprt.c: Likewise.
4641 * sunrpc/clnt_gen.c: Likewise.
4642 * sunrpc/clnt_perr.c: Likewise.
4643 * sunrpc/clnt_raw.c: Likewise.
4644 * sunrpc/clnt_simp.c: Likewise.
4645 * sunrpc/clnt_tcp.c: Likewise.
4646 * sunrpc/clnt_udp.c: Likewise.
4647 * sunrpc/clnt_unix.c: Likewise.
4648 * sunrpc/des_crypt.c: Likewise.
4649 * sunrpc/des_soft.c: Likewise.
4650 * sunrpc/get_myaddr.c: Likewise.
4651 * sunrpc/getrpcport.c: Likewise.
4652 * sunrpc/key_call.c: Likewise.
4653 * sunrpc/key_prot.c: Likewise.
4654 * sunrpc/openchild.c: Likewise.
4655 * sunrpc/pm_getmaps.c: Likewise.
4656 * sunrpc/pm_getport.c: Likewise.
4657 * sunrpc/pmap_clnt.c: Likewise.
4658 * sunrpc/pmap_prot.c: Likewise.
4659 * sunrpc/pmap_prot2.c: Likewise.
4660 * sunrpc/pmap_rmt.c: Likewise.
4661 * sunrpc/rpc/auth.h: Likewise.
4662 * sunrpc/rpc/auth_unix.h: Likewise.
4663 * sunrpc/rpc/clnt.h: Likewise.
4664 * sunrpc/rpc/des_crypt.h: Likewise.
4665 * sunrpc/rpc/key_prot.h: Likewise.
4666 * sunrpc/rpc/netdb.h: Likewise.
4667 * sunrpc/rpc/pmap_clnt.h: Likewise.
4668 * sunrpc/rpc/pmap_prot.h: Likewise.
4669 * sunrpc/rpc/pmap_rmt.h: Likewise.
4670 * sunrpc/rpc/rpc.h: Likewise.
4671 * sunrpc/rpc/rpc_des.h: Likewise.
4672 * sunrpc/rpc/rpc_msg.h: Likewise.
4673 * sunrpc/rpc/svc.h: Likewise.
4674 * sunrpc/rpc/svc_auth.h: Likewise.
4675 * sunrpc/rpc/types.h: Likewise.
4676 * sunrpc/rpc/xdr.h: Likewise.
4677 * sunrpc/rpc_clntout.c: Likewise.
4678 * sunrpc/rpc_cmsg.c: Likewise.
4679 * sunrpc/rpc_common.c: Likewise.
4680 * sunrpc/rpc_cout.c: Likewise.
4681 * sunrpc/rpc_dtable.c: Likewise.
4682 * sunrpc/rpc_hout.c: Likewise.
4683 * sunrpc/rpc_main.c: Likewise.
4684 * sunrpc/rpc_parse.c: Likewise.
4685 * sunrpc/rpc_parse.h: Likewise.
4686 * sunrpc/rpc_prot.c: Likewise.
4687 * sunrpc/rpc_sample.c: Likewise.
4688 * sunrpc/rpc_scan.c: Likewise.
4689 * sunrpc/rpc_scan.h: Likewise.
4690 * sunrpc/rpc_svcout.c: Likewise.
4691 * sunrpc/rpc_tblout.c: Likewise.
4692 * sunrpc/rpc_util.c: Likewise.
4693 * sunrpc/rpc_util.h: Likewise.
4694 * sunrpc/rpcinfo.c: Likewise.
4695 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
4696 * sunrpc/rpcsvc/key_prot.x: Likewise.
4697 * sunrpc/rpcsvc/klm_prot.x: Likewise.
4698 * sunrpc/rpcsvc/mount.x: Likewise.
4699 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
4700 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
4701 * sunrpc/rpcsvc/rex.x: Likewise.
4702 * sunrpc/rpcsvc/rstat.x: Likewise.
4703 * sunrpc/rpcsvc/rusers.x: Likewise.
4704 * sunrpc/rpcsvc/sm_inter.x: Likewise.
4705 * sunrpc/rpcsvc/spray.x: Likewise.
4706 * sunrpc/rpcsvc/yppasswd.x: Likewise.
4707 * sunrpc/rtime.c: Likewise.
4708 * sunrpc/svc.c: Likewise.
4709 * sunrpc/svc_auth.c: Likewise.
4710 * sunrpc/svc_authux.c: Likewise.
4711 * sunrpc/svc_raw.c: Likewise.
4712 * sunrpc/svc_run.c: Likewise.
4713 * sunrpc/svc_simple.c: Likewise.
4714 * sunrpc/svc_tcp.c: Likewise.
4715 * sunrpc/svc_udp.c: Likewise.
4716 * sunrpc/svc_unix.c: Likewise.
4717 * sunrpc/svcauth_des.c: Likewise.
4718 * sunrpc/xcrypt.c: Likewise.
4719 * sunrpc/xdr.c: Likewise.
4720 * sunrpc/xdr_array.c: Likewise.
4721 * sunrpc/xdr_float.c: Likewise.
4722 * sunrpc/xdr_mem.c: Likewise.
4723 * sunrpc/xdr_rec.c: Likewise.
4724 * sunrpc/xdr_ref.c: Likewise.
4725 * sunrpc/xdr_sizeof.c: Likewise.
4726 * sunrpc/xdr_stdio.c: Likewise.
4727
9da4bb31
UD
4728 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
4729 handling.
4730
bdaa77bc
AS
47312010-08-19 Andreas Schwab <schwab@redhat.com>
4732
4733 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
4734
fe2f79db
LM
47352010-08-19 Luis Machado <luisgpm@br.ibm.com>
4736
4737 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
4738 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
4739 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
4740 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
4741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
4742 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
4743 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
4744 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
4745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
4746 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
4747 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
4748 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
4749 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
4750 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
4751
b9b42ee0
AB
47522010-07-26 Anton Blanchard <anton@samba.org>
4753
4754 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
4755 * malloc/arena.c (heap_trim): Likewise.
4756
1c06ba31
UD
47572010-08-16 Ulrich Drepper <drepper@redhat.com>
4758
4759 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
4760 here. Not...
4761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
4762 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
4763
f8392f40
L
47642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
4765
4766 * sysdeps/i386/elf/Makefile: New file.
4767
3162f12e
AS
47682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4769
4770 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
4771 from fanotify_init.
4772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4774
28c90b2c
UD
47752010-08-15 Ulrich Drepper <drepper@redhat.com>
4776
4777 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
4778 of strncasecmp_l.
1feccb6c 4779 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 4780
ca6bb004
UD
47812010-08-14 Ulrich Drepper <drepper@redhat.com>
4782
e9f82e0d
UD
4783 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4784 strncase_l-nonascii.
4785 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4786 Add strncase_l-ssse3.
4787 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
4788 * sysdeps/x86_64/strcmp.S: Likewise.
4789 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
4790 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
4791 * sysdeps/x86_64/strncase.S: New file.
4792 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
4793 * sysdeps/x86_64/strncase_l.S: New file.
4794 * string/Makefile (strop-tests): Add strncasecmp.
4795 * string/test-strncasecmp.c: New file.
4796
4797 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
4798 warning.
4799
ca6bb004
UD
4800 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
4801 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
4802
052fa7b3
AS
48032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4804
4805 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
4806
962dba78
UD
48072010-08-12 Ulrich Drepper <drepper@redhat.com>
4808
4809 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
4810 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4811 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4812
bebff237
AM
48132010-05-01 Alan Modra <amodra@gmail.com>
4814
4815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
4816 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
4817 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
4818 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
4819 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
4820 tidying. Don't tail-call __sigjmp_save for static lib.
4821 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
4822 save location.
4823 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
4824 (CALL_MCOUNT): Add eh info, and nop after bl.
4825 (TAIL_CALL_SYSCALL_ERROR): New macro.
4826 (PSEUDO_RET): Use it.
4827 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4828 Correct save location of integer regs and cr.
4829 (_dl_profile_resolve): Correct cr save location. Delete nops
4830 after bl when SHARED. Reduce cfi size a little by better
4831 placement of cfi directives.
4832 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
4833 make a stack frame. Instead use parm save area as a temp.
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
4835 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4837 Don't make a stack frame for parent, use parm save area.
4838 Increase child stack frame to 112 bytes. Don't save unused reg,
4839 and adjust reg usage. Set up cfi on error recovery and
4840 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4842 (__makecontext): Add dummy nop after jump to exit.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
4844 Use correct parm save area and cr save, reduce stack frame.
4845 Correct cfi for possible PSEUDO_RET frame setup.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
4847 Branch to local label emitted by PSEUDO_RET rather than
4848 __syscall_error.
4849
02637374
AS
48502010-08-12 Andreas Schwab <schwab@redhat.com>
4851
4852 [BZ #11904]
4853 * locale/programs/locale.c (print_assignment): New function.
4854 (show_locale_vars): Use it.
4855
c3e2f19b
UD
48562010-08-11 Ulrich Drepper <drepper@redhat.com>
4857
3cdaa6ad
UD
4858 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
4859 field.
4860 (struct statfs64): Likewise.
4861 (_STATFS_F_FLAGS): Define.
4862 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
4863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4864 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
4865 (ST_VALID): Define locally.
4866 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
4867 __statvfs_getflags, use the provided value.
4868 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4869 __ASSUME_STATFS_F_FLAGS.
4870
754f7da3
UD
4871 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
4872
10b3bedc
UD
4873 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
4874 Add sys/fanotify.h.
4875 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
4876 fanotify_mask for GLIBC_2.13.
4877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
4878 fanotify_init and fanotify_mark.
4879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4880 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
4881
c08fb0d7
UD
4882 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
4883 Add prlimit.
4884 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
4885 prlimit64 for GLIBC_2.13.
4886 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
4887 prlimit64.
4888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
4889 syscall.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4891 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4892 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
4894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
4895 add prlimit alias.
4896 * sysdeps/unix/sysv/linux/prlimit.c: New file.
4897
15bac72b
UD
4898 [BZ #11903]
4899 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
4900 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
4901
c3e2f19b
UD
4902 * nss/Makefile: Add rules to build and run tst-nss-test1.
4903 * shlib-versions: Add entry for libnss_test1.
4904 * nss/nss_test1.c: New file.
4905 * nss/tst-nss-test1.c: New file.
4906
4907 * nss/nsswitch.c (__nss_database_custom): Define new variable.
4908 (__nss_configure_lookup): Set appropriate entry in
4909 __nss_configure_lookup to true.
4910 * nss/nsswitch.h: Define enum with indeces of databases in
4911 databases and __nss_database_custom arrays. Declare
4912 __nss_database_custom.
4913 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
4914 to avoid using nscd when custom rules are installed.
4915 * nss/getXXbyYY_r.c: Likewise.
4916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4917
4918 * nss/nss_files/files-parse.c: Whitespace fixes.
4919
f15ce4d8
UD
49202010-08-09 Ulrich Drepper <drepper@redhat.com>
4921
4922 [BZ #11883]
4923 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
4924 * posix/fnmatch_loop.c: Likewise.
4925
d22e4cc9
AK
49262010-07-17 Andi Kleen <ak@linux.intel.com>
4927
4928 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
4929 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
4930 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
4931 * Versions.def [GLIBC_2.13]: Add.
4932
805bc17d
UD
49332010-08-06 Ulrich Drepper <drepper@redhat.com>
4934
4935 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4936 Also fail if tpwd after pwuid call is NULL.
4937
5a42321d
ST
49382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4939
4940 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
4941 when converting to ms.
4942
fd3ebeda
ST
49432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4944
4945 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
4946 EOPNOTSUPP errors with ENOTTY.
4947 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
4948 EOPNOTSUPP errors with ENOTTY.
4949
73507d3a
UD
49502010-07-31 Ulrich Drepper <drepper@redhat.com>
4951
4952 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4953 Add strcasecmp_l-ssse3.
4954 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
4955 strcasecmp.
4956 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
4957 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
4958 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
4959
fe36dd02
UD
49602010-07-30 Ulrich Drepper <drepper@redhat.com>
4961
66f6765a
UD
4962 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
4963
42e08a54
UD
4964 * string/Makefile (strop-tests): Add strcasecmp.
4965 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4966 strcasecmp_l-nonascii.
4967 (gen-as-const-headers): Add locale-defines.sym.
4968 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
4969 * sysdeps/x86_64/strcasecmp.S: New file.
4970 * sysdeps/x86_64/strcasecmp_l.S: New file.
4971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
4972 * sysdeps/x86_64/locale-defines.sym: New file.
4973 * string/test-strcasecmp.c: New file.
4974
fe36dd02
UD
4975 * string/test-strcasestr.c: Test both ends of the range of characters.
4976 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
4977
48cbc0d6
RM
49782010-07-29 Roland McGrath <roland@redhat.com>
4979
76e6d6bc 4980 [BZ #11856]
48cbc0d6
RM
4981 * manual/locale.texi (Yes-or-No Questions): Fix example code.
4982
880113d9
UD
49832010-07-27 Ulrich Drepper <drepper@redhat.com>
4984
4985 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
4986 for ld.so.
4987
deb9cabb
AS
49882010-07-27 Andreas Schwab <schwab@redhat.com>
4989
4990 * manual/memory.texi (Malloc Tunable Parameters): Document
4991 M_PERTURB.
4992
1c7570ff
RM
49932010-07-26 Roland McGrath <roland@redhat.com>
4994
4995 [BZ #11840]
4996 * configure.in (-fgnu89-inline check): Set and substitute
4997 gnu89_inline, not libc_cv_gnu89_inline.
4998 * configure: Regenerated.
4999 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
5000
24fb0f88
UD
50012010-07-26 Ulrich Drepper <drepper@redhat.com>
5002
5003 * string/test-strnlen.c: New file.
5004 * string/Makefile (strop-tests): Add strnlen.
5005 * string/tester.c (test_strnlen): Add a few more test cases.
5006 * string/tst-strlen.c: Better error reporting.
5007
5008 * sysdeps/x86_64/strnlen.S: New file.
5009
8e96b93a
UD
50102010-07-24 Ulrich Drepper <drepper@redhat.com>
5011
5012 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
5013 lower-latency instructions.
5014
dbc676d4
UD
50152010-07-23 Ulrich Drepper <drepper@redhat.com>
5016
5017 * string/test-strcasestr.c: New file.
5018 * string/test-strstr.c: New file.
5019 * string/Makefile (strop-tests): Add strstr and strcasestr.
5020 * string/str-two-way.h: Don't undefine MAX.
5021 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
5022
f6a31e0e
AS
50232010-07-21 Andreas Schwab <schwab@redhat.com>
5024
5025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5026 strcasestr-nonascii.
5027 (CFLAGS-strcasestr-nonascii.c): Define.
5028 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
5029 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
5030 Remove unused attribute.
5031
5dbc3b6c
RM
50322010-07-20 Roland McGrath <roland@redhat.com>
5033
5034 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
5035 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
5036 ld.so.cache was broken. With it, there is no way to disable dsocaps
5037 like LD_HWCAP_MASK can disable hwcaps.
5038
23d101d8
EPM
50392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5040
5041 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
5042
cc9f2e47
UD
50432010-07-16 Ulrich Drepper <drepper@redhat.com>
5044
5045 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
5046 call in strcasestr.
5047 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
5048 __strcasestr_sse42_nonascii.
5049 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
5050 strcasestr-nonascii.c.
5051 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
5052
77c1b069
LM
50532010-06-15 Luis Machado <luisgpm@br.ibm.com>
5054
5055 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
5056 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
5057 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
5058 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
5059
440566c3
UD
50602010-07-09 Ulrich Drepper <drepper@redhat.com>
5061
5062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
5063 fcntl.
5064
5be9d05d
AS
50652010-07-06 Andreas Schwab <schwab@redhat.com>
5066
c30b7ee2 5067 [BZ #11577]
5be9d05d
AS
5068 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
5069 dl_signal_cerror.
5070
8a492a67
UD
50712010-07-06 Ulrich Drepper <drepper@redhat.com>
5072
5073 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
5074 _PC_PIPE_BUF using F_GETPIPE_SZ.
5075
713df3d5
RM
50762010-07-05 Roland McGrath <roland@redhat.com>
5077
5078 * manual/arith.texi (Rounding Functions): Fix rint description
5079 implicit in round description.
5080
702e8f14
UD
50812010-07-02 Ulrich Drepper <drepper@redhat.com>
5082
5083 * elf/Makefile: Fix linking for a few tests to make recent linker
5084 happy.
5085
52ed8be9
AS
50862010-06-30 Andreas Schwab <schwab@redhat.com>
5087
5088 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5089 $(common-objpfx)libc_nonshared.a.
5090
f47c9a11
LM
50912010-06-21 Luis Machado <luisgpm@br.ibm.com>
5092
5093 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
5094 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
5095 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5096 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5097 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
5098 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
5099 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5100 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
5115 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
5116 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
5117 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
5118 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
5119 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
5120 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
5121 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
5122 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
5123 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
5124 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
5125 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
5126 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
5135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
5139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
5141
6fb8cbcb
L
51422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
5143
5144 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
5145 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
5146 * string/memmove.c (memmove): Renamed to ...
5147 (MEMMOVE): ...this. Default to memmove.
5148 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
5149 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
5150 (END_CHK): Define.
5151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5152 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
5153 mempcpy-ssse3-back memmove-ssse3-back.
5154 * sysdeps/x86_64/multiarch/bcopy.S: New file .
5155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
5156 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
5157 * sysdeps/x86_64/multiarch/memcpy.S: New file.
5158 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
5159 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
5160 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
5161 * sysdeps/x86_64/multiarch/memmove.c: New file.
5162 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
5163 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
5164 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
5165 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
5166 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
5167 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
5168 Define.
5169 (index_Fast_Copy_Backward): Define.
5170 (HAS_ARCH_FEATURE): Define.
5171 (HAS_FAST_REP_STRING): Define.
5172 (HAS_FAST_COPY_BACKWARD): Define.
5173
4e733bac 51742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
5175
5176 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5177 Restore proper fallback handling.
5178
63c4ed22
UD
51792010-06-19 Ulrich Drepper <drepper@redhat.com>
5180
ac2b484c
UD
5181 [BZ #11701]
5182 * posix/group_member.c (__group_member): Correct checking loop.
5183
63c4ed22
UD
5184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
5185 OOM in getpwuid_r correctly. Return error number when the caller
5186 should return, otherwise -1.
5187 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
5188 call returning > 0 value.
5189 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
5190
765ade4b
AS
51912010-06-07 Andreas Schwab <schwab@redhat.com>
5192
5193 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
5194 libc_nonshared.a from targets in modules-names.
5195
80da2e09
KS
51962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
5197
5198 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
5199 requires it.
5200
158db122
LM
52012010-06-10 Luis Machado <luisgpm@br.ibm.com>
5202
5203 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
5204 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
5205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
5206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
5207
caa78cf8
AS
52082010-06-02 Andreas Schwab <schwab@redhat.com>
5209
5210 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
5211
b2ef2c01
UD
52122010-06-14 Ulrich Drepper <drepper@redhat.com>
5213
5214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
5215 and F_GETPIPE_SZ.
5216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5220 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
5222
fbd643b6
RM
52232010-06-14 Roland McGrath <roland@redhat.com>
5224
5225 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
5226
f32f2869
JJ
52272010-06-07 Jakub Jelinek <jakub@redhat.com>
5228
5229 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
5230 __REDIRECT followed by __THROW.
5231 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
5232 * posix/getopt.h (getopt): Likewise.
5233
2a50c078
EPM
52342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5235
5236 * hurd/lookup-at.c (__file_name_lookup_at): Accept
5237 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
5238 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
5239 in AT_FLAGS.
5240 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
5241 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
5242
eb5ad2eb
LM
52432010-05-28 Luis Machado <luisgpm@br.ibm.com>
5244
5245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
5246
3c88fe1e
L
52472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
5248
5249 [BZ #11640]
5250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5251 Properly check family and model.
5252
d2f73151
TY
52532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
5254
5255 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
5256
ebd2e13d
LM
52572010-05-24 Luis Machado <luisgpm@br.ibm.com>
5258
5259 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
5260
b32b8b45
UD
52612010-05-21 Ulrich Drepper <drepper@redhat.com>
5262
5263 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
5264 symbol reference.
5265
9acbe24d
AS
52662010-05-19 Andreas Schwab <schwab@redhat.com>
5267
5268 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
5269 symbol reference.
5270
f0ccf6ea
AS
52712010-05-21 Andreas Schwab <schwab@redhat.com>
5272
3d04ff3a
AS
5273 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
5274 and internal_recvmmsg.
5275 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
5276 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
5277 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
5278 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
5279
f0ccf6ea
AS
5280 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
5281 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5282 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5283
5b08ac57
AS
52842010-05-20 Andreas Schwab <schwab@redhat.com>
5285
5286 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
5287
4828935d
LM
52882010-05-17 Luis Machado <luisgpm@br.ibm.com>
5289
5290 POWER7 optimizations.
5291 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
5292 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
5293
373d545e
UD
52942010-05-19 Ulrich Drepper <drepper@redhat.com>
5295
5296 * version.h: Update for 2.13 development version.
5297
21a2b1ae
AS
52982010-05-12 Andrew Stubbs <ams@codesourcery.com>
5299
5300 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
5301 exceptions. Return 0.
5302
3f7dcb2b
RM
53032010-05-07 Roland McGrath <roland@redhat.com>
5304
5305 * elf/ldconfig.c (main): Add a const.
5306
5f24d53a 53072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 5308
a160f8d8
UD
5309 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
5310 (args_options): Add no-idn option.
5311 (ahosts_keys_int): Add idn_flags to ai_flags.
5312 (parse_option): Handle 'i' option to clear idn_flags.
5313
5f24d53a
UD
5314 * malloc/malloc.c (_int_free): Possible race in the most recently
5315 added check. Only act on the data if no current modification
5316 happened.
265bb1ce
UD
5317
5318See ChangeLog.17 for earlier changes.