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