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