1 2012-03-14 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use fzeros/fnegs
4 to load 0x80000000 into a float register instead of using the stack.
5 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13 ($(inst_includedir)/bits/syscall.h): Remove rule.
14 ($(objpfx)bits/syscall.d): Include instead of
15 $(objpfx)syscall-list.d.
16 (generated): Change syscall-list.h and syscall-list.d to
17 bits/syscall.h and bits/syscall.d.
19 2012-03-14 Roland McGrath <roland@hack.frob.com>
22 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27 * math/s_csqrt.c: Include <float.h>.
28 (__csqrt): Scale large or subnormal inputs.
29 * math/s_csqrtf.c: Likewise.
30 * math/s_csqrtl.c: Likewise.
31 * math/libm-test.inc (csqrt_test): Add more tests.
32 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36 * math/libm-test.inc (hypot_test): Add more tests.
38 2012-03-13 David S. Miller <davem@davemloft.net>
41 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42 double-precision for the calculation instead of scaling.
44 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47 manipulate bits before adding and subtracting TWO52[sx].
48 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53 2012-03-13 David S. Miller <davem@davemloft.net>
55 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
57 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67 'err' in the ifdef scope in which it is actually used.
69 * nss/nss_db/db-init.c: Include string.h
71 2012-03-12 David S. Miller <davem@davemloft.net>
73 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74 masking out of the most significant byte of random value used.
75 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76 Fix coding style in previous change.
78 * sysdeps/unix/sysv/linux/kernel-features.h
79 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85 2012-03-11 David S. Miller <davem@davemloft.net>
87 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
88 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
89 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
90 for 'resultvar' otherwise things get truncated on 64-bit.
92 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93 Fix masking out of the most significant byte of random value used.
95 * sysdeps/sparc/fpu/libm-test-ulps: Update.
97 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
99 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
101 2012-03-09 David S. Miller <davem@davemloft.net>
103 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
104 variables with appropriate CPP guards.
105 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
106 frame pointer, not the stack pointer. Correct layout comments. Fix test
107 on resulting framesize and the management of the outregs buffer for pltexit.
108 Preserve floating point return values across _dl_call_pltexit call.
109 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
110 framesize and the management of the outregs buffer for pltexit.
111 Preserve floating point return values across _dl_call_pltexit
113 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
114 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
115 (print_exit): Fix format string for return register value.
117 2012-03-10 Joseph Myers <joseph@codesourcery.com>
119 * sunrpc/Makefile (others): Add rpcgen.
120 ($(objpfx)rpcgen): Remove special build rule and dependency on
122 * sunrpc/rpcgen.c: New file.
124 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
127 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
128 * stdio-common/bug-vfprintf-nargs.c: Likewise.
129 * sysdeps/i386/crti.S: Likewise.
130 * sysdeps/i386/crtn.S: Likewise.
131 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
132 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
133 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
134 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
135 * sysdeps/sh/crti.S: Likewise.
136 * sysdeps/sh/crtn.S: Likewise.
137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
140 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
142 * locale/programs/locfile-kw.gperf: Likewise.
143 * locale/programs/charmap-kw.h: Regenerated.
144 * locale/programs/locfile-kw.h: Likewise.
147 * intl/plural.y: Replace FSF snail mail address with URL.
148 * intl/plural.c: Regenerated.
150 2012-03-09 Richard Henderson <rth@twiddle.net>
152 * include/math_private.h: Remove file.
153 * math/math_private.h: Move file ...
154 * sysdeps/generic/math_private.h: ... here.
156 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
157 * sysdeps/powerpc/fpu/math_private.h: Likewise.
158 * sysdeps/x86_64/fpu/math_private.h: Likewise.
160 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
161 and <math_private.h>.
162 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
163 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
164 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
165 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
166 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
167 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
168 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
170 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
177 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
180 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
181 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
183 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
184 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
186 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
194 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
195 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
196 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
197 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
199 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
200 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
202 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
205 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
208 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
212 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
213 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
214 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
215 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
216 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
218 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
219 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
220 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
221 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
223 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
225 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
226 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
227 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
228 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
229 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
230 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
231 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
232 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
236 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
241 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
249 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
250 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
253 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
255 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
256 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
257 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
258 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
259 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
262 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
263 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
264 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
265 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
266 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
267 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
268 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
269 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
276 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
279 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
280 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
281 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
282 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
283 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
285 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
286 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
287 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
288 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
289 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
290 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
291 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
292 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
293 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
295 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
296 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
299 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
300 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
303 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
304 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
305 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
306 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
310 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
311 * sysdeps/ieee754/k_standard.c: Likewise.
312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
313 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
315 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
316 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
317 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
318 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
320 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
321 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
324 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
325 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
326 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
328 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
329 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
330 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
331 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
332 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
333 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
334 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
335 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
336 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
337 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
342 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
343 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
344 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
345 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
346 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
347 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
350 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
354 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
355 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
358 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
360 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
361 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
363 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
364 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
365 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
368 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
369 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
374 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
379 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
384 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
385 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
386 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
389 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
392 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
393 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
394 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
395 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
397 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
398 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
402 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
404 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
405 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
409 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
411 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
416 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
417 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
421 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
429 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
430 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
431 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
432 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
433 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
434 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
435 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
436 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
437 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
438 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
439 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
440 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
442 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
443 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
444 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
445 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
446 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
448 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
449 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
450 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
451 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
452 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
453 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
454 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
455 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
458 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
459 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
460 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
461 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
462 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
463 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
466 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
467 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
468 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
469 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
471 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
472 * sysdeps/ieee754/s_lib_version.c: Likewise.
473 * sysdeps/ieee754/s_matherr.c: Likewise.
474 * sysdeps/ieee754/s_signgam.c: Likewise.
475 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
476 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
478 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
480 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
481 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
482 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
483 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
484 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
485 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
486 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
487 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
488 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
489 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
490 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
492 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
497 2012-03-09 Joseph Myers <joseph@codesourcery.com>
499 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
500 * sunrpc/rpc_main.c: Likewise.
501 * sunrpc/rpc_svcout.c: Likewise.
503 2012-03-09 David S. Miller <davem@davemloft.net>
505 * include/math_private.h: New file.
507 2012-03-09 Joseph Myers <joseph@codesourcery.com>
509 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
510 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
511 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
512 from <bits/socket_type.h>.
513 (enum __socket_type): Don't define here.
514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
519 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
522 * Makerules ($(inst_includedir)/%.h): New rule.
523 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
524 (install-others): Remove variable setting.
525 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
527 2012-03-08 Richard Henderson <rth@twiddle.net>
529 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
530 from macro to inline function; merge with the
531 !__LIBC_INTERNAL_MATH_INLINES version.
532 (__ieee754_sqrtf): Likewise.
534 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
536 (__rintf, __floor, __floorf): Likewise.
538 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
539 macro to inline function.
540 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
543 not <math/math_private.h>.
545 2012-03-08 David S. Miller <davem@davemloft.net>
547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
549 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
551 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
553 * resolv/gai_misc.c (handle_requests): Fix struct timespec
555 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
556 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
558 2012-03-08 Ulrich Drepper <drepper@gmail.com>
560 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
561 be defined individually, they must be defined as a block. Define
562 S for printing a string instead of hidint the different by using a
563 macro for adding the 'l'.
564 * stdio-common/tst-fphex-wide.c: Adjust.
566 2012-03-07 Marek Polacek <polacek@redhat.com>
568 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
570 2012-03-08 Marek Polacek <polacek@redhat.com>
573 * stdio-common/Makefile (tests): Add tst-fphex-wide.
574 * stdio-common/tst-fphex.c: Define a few macros to make the
575 test reusable. Use them.
576 * stdio-common/tst-fphex-wide.c: New file.
578 2012-03-08 Joseph Myers <joseph@codesourcery.com>
581 * manual/macros.texi (gnusystems): New macro.
582 (nongnusystems): Likewise.
583 (gnulinuxhurdsystems): Likewise.
584 (gnuhurdsystems): Likewise..
585 (gnulinuxsystems): Likewise.
586 * manual/charset.texi: Use new macros or @theglibc{} to refer to
587 variants of the GNU system, not "GNU system".
588 * manual/conf.texi: Likewise.
589 * manual/errno.texi: Likewise. Update example of errno macro
591 * manual/filesys.texi: Likewise.
592 (getumask): Document as specific to GNU/Hurd.
593 * manual/install.texi: Likewise. Reword some references to
595 * manual/intro.texi: Likewise.
596 * manual/io.texi: Likewise.
597 (File Name Portability): Detail which constraints are inapplicable
598 to all GNU systems and which are only inapplicable to GNU/Hurd.
599 * manual/job.texi: Likewise.
600 * manual/llio.texi: Likewise.
601 (O_NOCTTY): Document as present on GNU/Linux.
602 * manual/maint.texi: Likewise.
603 * manual/memory.texi: Likewise.
604 * manual/pattern.texi: Likewise.
605 * manual/pipe.texi: Likewise.
606 * manual/process.texi: Likewise.
607 * manual/resource.texi: Likewise.
608 (RUSAGE_CHILDREN): Remove statement about specifying a particular
610 * manual/setjmp.texi: Likewise.
611 * manual/signal.texi: Likewise.
612 * manual/startup.texi: Likewise.
613 * manual/stdio.texi: Likewise.
614 * manual/terminal.texi: Likewise.
615 (ONLCR): Document as POSIX.
616 (OXTABS): Document availability on GNU/Linux as XTABS.
617 (ONOEOT): Document availability separately from other bits.
618 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
619 * manual/time.texi: Likewise.
620 * manual/users.texi: Likewise.
621 * INSTALL: Regenerated.
622 * sysdeps/gnu/errlist.c: Regenerated.
624 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
625 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
626 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
628 * configure: Regenerated.
630 2012-03-07 Joseph Myers <joseph@codesourcery.com>
632 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
633 default includes instead of AC_HEADER_CHECK.
634 * sysdeps/i386/configure: Regenerated.
637 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
638 * math/s_cacoshf.c (__cacoshf): Likewise.
639 * math/s_cacoshl.c (__cacoshl): Likewise.
640 * math/s_casinh.c (__casinh): Set signs of result from argument.
641 * math/s_casinhf.c (__casinhf): Likewise.
642 * math/s_casinhl.c (__casinhl): Likewise.
643 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
644 (casinh_test): Add more tests.
645 * sysdeps/i386/fpu/libm-test-ulps: Update.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648 2012-03-07 Ulrich Drepper <drepper@gmail.com>
650 * po/zh_TW.po: Update from translation team.
652 * login/Makefile (distribute): Remove variable.
653 * catgets/Makefile: Likewise.
654 * mach/Makefile: Likewise.
655 * malloc/Makefile: Likewise.
656 * misc/Makefile: Likewise.
657 * iconv/Makefile: Likewise.
658 * nscd/Makefile: Likewise.
659 * hurd/Makefile: Likewise.
660 * manual/Makefile: Likewise.
661 * locale/Makefile: Likewise.
662 * intl/Makefile: Likewise.
663 * conform/Makefile: Likewise.
664 * nss/Makefile: Likewise.
665 * time/Makefile: Likewise.
666 * soft-fp/Makefile: Likewise.
667 * dirent/Makefile: Likewise.
668 * gmon/Makefile: Likewise.
669 * po/Makefile: Likewise.
670 * rt/Makefile: Likewise.
671 * socket/Makefile: Likewise.
672 * math/Makefile: Likewise.
673 * signal/Makefile: Likewise.
674 * debug/Makefile: Likewise.
675 * elf/Makefile: Likewise.
676 * timezone/Makefile: Likewise.
677 * stdlib/Makefile: Likewise.
678 * iconvdata/Makefile: Likewise.
679 * sunrpc/Makefile: Likewise.
680 * io/Makefile: Likewise.
681 * argp/Makefile: Likewise.
682 * inet/Makefile: Likewise.
683 * hesiod/Makefile: Likewise.
684 * grp/Makefile: Likewise.
685 * csu/Makefile: Likewise.
686 * wctype/Makefile: Likewise.
687 * crypt/Makefile: Likewise.
688 * libio/Makefile: Likewise.
689 * string/Makefile: Likewise.
690 * nis/Makefile: Likewise.
691 * resolv/Makefile: Likewise.
692 * stdio-common/Makefile: Likewise.
693 * wcsmbs/Makefile: Likewise.
694 * dlfcn/Makefile: Likewise.
695 * posix/Makefile: Likewise.
697 * timezone/Makefile: Don't install timezone files, just the programs
700 2012-03-06 Ulrich Drepper <drepper@gmail.com>
702 * nss/databases.def: Add missing gshadow entry.
704 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
706 2012-03-06 Marek Polacek <polacek@redhat.com>
709 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
710 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
711 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
712 * stdio-common/tst-long-dbl-fphex.c: New file.
714 2012-03-06 David S. Miller <davem@davemloft.net>
716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
717 (set_obp_int): New function.
718 (get_obp_int): New function.
719 (__get_clockfreq_via_dev_openprom): Likewise.
720 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
721 Avoid unused variable warnings on 'val' and use builtin_expect.
722 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
724 (INLINE_CLONE_SYSCALL): Likewise.
726 2012-03-05 David S. Miller <davem@davemloft.net>
728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
730 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
738 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
741 Replace gettimeofday with __vdso_gettimeofday.
743 * sysdeps/unix/sysv/linux/x86_64/init-first.c
744 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
745 __vdso_clock_gettime and __vdso_getcpu.
747 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
748 time with __vdso_time.
750 2012-03-05 Joseph Myers <joseph@codesourcery.com>
752 * manual/lang.texi (size_t): Note types to which size_t may be
753 equivalent with the GNU C Library, but do not describe when
754 differences between them are significant.
756 2012-03-05 Andreas Jaeger <aj@suse.de>
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
760 2012-03-05 Joseph Myers <joseph@codesourcery.com>
763 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
764 (__ieee754_pow): Save and restore rounding mode and use
765 round-to-nearest for main computations.
766 * math/libm-test.inc (pow_test_tonearest): New function.
767 (pow_test_towardzero): Likewise.
768 (pow_test_downward): Likewise.
769 (pow_test_upward): Likewise.
770 (main): Call the new functions.
771 * sysdeps/i386/fpu/libm-test-ulps: Update.
772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
775 * math/libm-test.inc (cosh_test_tonearest): New function.
776 (cosh_test_towardzero): Likewise.
777 (cosh_test_downward): Likewise.
778 (cosh_test_upward): Likewise.
779 (sinh_test_tonearest): Likewise.
780 (sinh_test_towardzero): Likewise.
781 (sinh_test_downward): Likewise.
782 (sinh_test_upward): Likewise.
783 (main): Call the new functions.
784 * sysdeps/i386/fpu/libm-test-ulps: Update.
785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
787 2012-03-05 Tom de Vries <tom@codesourcery.com>
789 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
790 default stack guard is set in last bytes.
791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
793 2012-03-05 Kees Cook <keescook@chromium.org>
795 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
798 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
799 possibly allocate from heap instead of stack.
800 * stdio-common/bug-vfprintf-nargs.c: New file.
801 * stdio-common/Makefile (tests): Add nargs overflow test.
803 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
807 2012-03-03 Marek Polacek <polacek@redhat.com>
809 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
810 * math/math_private.h: Likewise.
811 * stdlib/tst-strtod.c: Likewise.
812 * sysdeps/i386/i486/bits/atomic.h: Likewise.
813 * sysdeps/x86_64/bits/atomic.h: Likewise.
815 2012-03-02 David S. Miller <davem@davemloft.net>
817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
821 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
822 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
823 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
824 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
826 2012-03-02 Roland McGrath <roland@hack.frob.com>
829 * manual/examples/README: New file, says the example source files
830 can be used under GPL>=2.
831 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
832 line containing just "*/".
833 * manual/examples/add.c: Add copyright header (GPL>=2).
834 * manual/examples/argp-ex1.c: Likewise.
835 * manual/examples/argp-ex2.c: Likewise.
836 * manual/examples/argp-ex3.c: Likewise.
837 * manual/examples/argp-ex4.c: Likewise.
838 * manual/examples/atexit.c: Likewise.
839 * manual/examples/db.c: Likewise.
840 * manual/examples/dir.c: Likewise.
841 * manual/examples/dir2.c: Likewise.
842 * manual/examples/execinfo.c: Likewise.
843 * manual/examples/filecli.c: Likewise.
844 * manual/examples/filesrv.c: Likewise.
845 * manual/examples/fmtmsgexpl.c: Likewise.
846 * manual/examples/genpass.c: Likewise.
847 * manual/examples/inetcli.c: Likewise.
848 * manual/examples/inetsrv.c: Likewise.
849 * manual/examples/isockad.c: Likewise.
850 * manual/examples/longopt.c: Likewise.
851 * manual/examples/memopen.c: Likewise.
852 * manual/examples/memstrm.c: Likewise.
853 * manual/examples/mkfsock.c: Likewise.
854 * manual/examples/mkisock.c: Likewise.
855 * manual/examples/mygetpass.c: Likewise.
856 * manual/examples/pipe.c: Likewise.
857 * manual/examples/popen.c: Likewise.
858 * manual/examples/rprintf.c: Likewise.
859 * manual/examples/search.c: Likewise.
860 * manual/examples/select.c: Likewise.
861 * manual/examples/setjmp.c: Likewise.
862 * manual/examples/sigh1.c: Likewise.
863 * manual/examples/sigusr.c: Likewise.
864 * manual/examples/stpcpy.c: Likewise.
865 * manual/examples/strdupa.c: Likewise.
866 * manual/examples/strftim.c: Likewise.
867 * manual/examples/strncat.c: Likewise.
868 * manual/examples/subopt.c: Likewise.
869 * manual/examples/swapcontext.c: Likewise.
870 * manual/examples/termios.c: Likewise.
871 * manual/examples/testopt.c: Likewise.
872 * manual/examples/testpass.c: Likewise.
873 * manual/examples/timeval_subtract.c: Likewise.
876 * manual/time.texi (Elapsed Time): Move timeval_subtract example
878 * manual/timeval_subtract.c.texi: ... here, new file.
880 2012-03-02 David S. Miller <davem@davemloft.net>
882 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
884 2012-03-02 Joseph Myers <joseph@codesourcery.com>
887 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
888 (__sin): Save and restore rounding mode and use round-to-nearest
889 for all computations.
890 (__cos): Save and restore rounding mode and use round-to-nearest
891 for all computations.
892 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
894 (tan): Save and restore rounding mode and use round-to-nearest for
896 * math/libm-test.inc (cos_test_tonearest): New function.
897 (cos_test_towardzero): Likewise.
898 (cos_test_downward): Likewise.
899 (cos_test_upward): Likewise.
900 (sin_test_tonearest): Likewise.
901 (sin_test_towardzero): Likewise.
902 (sin_test_downward): Likewise.
903 (sin_test_upward): Likewise.
904 (tan_test_tonearest): Likewise.
905 (tan_test_towardzero): Likewise.
906 (tan_test_downward): Likewise.
907 (tan_test_upward): Likewise.
908 (main): Call the new functions.
909 * sysdeps/i386/fpu/libm-test-ulps: Update.
910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
913 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
914 small n, then large n, before computing and testing k+n.
915 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
918 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
920 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
921 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
922 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
923 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
927 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
928 * math/libm-test.inc (scalbn_test): Add more tests.
929 (scalbln_test): Likewise.
931 * manual/filesys.texi (mode_t): Describe constraints on size and
932 signedness, not exact equivalence to a particular type.
937 (blkcnt_t): Likewise.
938 (blkcnt64_t): Likewise.
939 * manual/llio.texi (off_t): Likewise.
942 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
943 (__ieee754_exp): Save and restore rounding mode and use
944 round-to-nearest for all computations.
945 * math/libm-test.inc (exp_test_tonearest): New function.
946 (exp_test_towardzero): Likewise.
947 (exp_test_downward): Likewise.
948 (exp_test_upward): Likewise.
949 (main): Call the new functions.
950 * sysdeps/i386/fpu/libm-test-ulps: Update.
951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953 2012-03-01 Chris Demetriou <cgd@google.com>
955 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
956 have predictable order.
958 2012-03-01 David S. Miller <davem@davemloft.net>
960 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
962 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
963 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
964 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
965 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
967 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
968 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
969 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
971 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
972 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
973 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
974 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
975 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
980 * sysdeps/sparc/fpu/libm-test-ulps: to here.
981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
983 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
984 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
985 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
986 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
987 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
990 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
991 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
992 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
993 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
999 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1000 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1001 * sysdeps/sparc/elf/configure: Regenerated.
1003 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1005 * configure.in (AS, LD): Require binutils 2.20 or later.
1006 * configure: Regenerated.
1007 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1008 as required minimum version.
1009 * INSTALL: Regenerated.
1013 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1014 before squaring exponent.
1015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1016 bottom long double and 27 bits of top long double before squaring
1018 * math/libm-test.inc (erfc_test): Add more tests.
1019 * sysdeps/i386/fpu/libm-test-ulps: Update.
1020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1023 2012-03-01 Kai Tietz <ktietz@redhat.com>
1025 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1026 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1027 containing bit-fields.
1028 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1029 * soft-fp/single.h (_FP_UNION_S): Likewise.
1030 * soft-fp/double.h (_FP_UNION_D): Likewise.
1032 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1035 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1036 not include ../strcmp.S.
1037 [USE_AS_STRNCASECMP_L]: Likewise.
1038 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1039 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1040 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1041 (__strncasecmp_l_ia32): Define as alias to
1042 __strncasecmp_l_nonascii.
1045 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1049 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1052 2012-02-29 Jeff Law <law@redhat.com>
1054 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1057 2012-02-29 Marek Polacek <polacek@redhat.com>
1060 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1061 * elf/Makefile: Add rules to run tst-unused-dep.out.
1063 2012-02-28 David S. Miller <davem@davemloft.net>
1065 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1066 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1068 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1069 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1070 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1072 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1074 * math/libm-test.inc (llround_test): Move one test from
1075 lround_test. Use TEST_f_L in moved test.
1076 (lround_test): Move misplaced test to llround_test. Add testcase
1079 2012-02-28 Ulrich Drepper <drepper@gmail.com>
1081 * sysdeps/x86_64/fpu/e_expf.S: New file.
1082 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1084 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1087 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1088 of remain_len that may cause incomplete multi-byte character and
1090 * posix/bug-regex33.c: New file.
1091 * posix/Makefile (tests): Add bug-regex33.
1093 2012-02-28 Joseph Myers <joseph@codesourcery.com>
1095 * manual/macros.texi: New file.
1096 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1097 * manual/libc.texinfo: Include macros.texi.
1098 * manual/creatute.texi: Likewise.
1099 * manual/install.texi: Likewise.
1100 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1101 @glibcadj{} in references to the GNU C Library.
1102 * manual/charset.texi: Likewise.
1103 * manual/conf.texi: Likewise.
1104 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1105 when not using those macros.
1106 * manual/creature.texi: Likewise.
1107 * manual/crypt.texi: Likewise.
1108 * manual/errno.texi: Likewise.
1109 * manual/filesys.texi: Likewise.
1110 * manual/header.texi: Likewise.
1111 * manual/install.texi: Likewise.
1112 * manual/intro.texi: Likewise.
1113 * manual/io.texi: Likewise.
1114 * manual/job.texi: Likewise.
1115 * manual/lang.texi: Likewise.
1116 * manual/libc.texiinfo: Likewise.
1117 * manual/llio.texi: Likewise.
1118 * manual/locale.texi: Likewise.
1119 * manual/maint.texi: Likewise.
1120 * manual/math.texi: Likewise.
1121 * manual/memory.texi: Likewise.
1122 * manual/message.texi: Likewise.
1123 * manual/nss.texi: Likewise.
1124 * manual/pattern.texi: Likewise.
1125 * manual/process.texi: Likewise.
1126 * manual/resource.texi: Likewise.
1127 * manual/search.texi: Likewise.
1128 * manual/setjmp.texi: Likewise.
1129 * manual/signal.texi: Likewise.
1130 * manual/socket.texi: Likewise.
1131 * manual/startup.texi: Likewise.
1132 * manual/stdio.texi: Likewise.
1133 * manual/string.texi: Likewise.
1134 * manual/sysinfo.texi: Likewise.
1135 * manual/syslog.texi: Likewise.
1136 * manual/terminal.texi: Likewise.
1137 * manual/time.texi: Likewise.
1138 * manual/users.texi: Likewise.
1139 * INSTALL: Regenerated.
1140 * NOTES: Regenerated.
1141 * sysdeps/gnu/errlist.c: Regenerated.
1143 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1145 * include/dirent.h: Include <dirstream.h> before
1148 2012-02-28 David S. Miller <davem@davemloft.net>
1150 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1151 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1152 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1153 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1155 2012-02-27 David S. Miller <davem@davemloft.net>
1157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1159 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1160 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1163 frame pointer instead of stack pointer relative arg slot.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1165 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1166 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1168 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1171 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1173 2012-02-27 David S. Miller <davem@davemloft.net>
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1179 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1180 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1181 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1182 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1184 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1186 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1187 later. Allow versions 5-9.
1188 * configure: Regenerated.
1189 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1190 required minimum version and 4.6 as recommended version. Do not
1191 mention bugs in GCC 2.7 and 2.8.
1192 * INSTALL: Regenerated.
1194 2012-02-27 David S. Miller <davem@davemloft.net>
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1200 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1202 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1203 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1206 manipulate bits before adding and subtracting TWO112[sx].
1207 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1209 2012-02-27 Roland McGrath <roland@hack.frob.com>
1212 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1213 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1214 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1215 being in POSIX, because they are in 1003.1-2008.
1217 * rt/tst-aio.c: Include <fcntl.h>.
1218 * rt/tst-aio7.c: Likewise.
1219 * rt/tst-aio64.c: Likewise.
1221 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1223 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1225 * manual/install.texi (--with-headers): Describe headers as
1226 interface headers, not private headers.
1227 (Specific advice for GNU/Linux systems): Describe use of headers
1228 from "make headers_install", not private headers from older
1230 * INSTALL: Regenerated.
1231 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1233 * sysdeps/unix/sysv/linux/configure: Regenerated.
1235 * manual/llio.texi (fclean): Remove documentation.
1237 * manual/Makefile (libc-texi-generated): New variable. Include
1239 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1240 $(libc-texi-generated), not duplicated list of files.
1241 (version.texi, stamp-version): New rules.
1242 (realclean): Remove $(libc-texi-generated), not individual files
1243 from that list. Do not remove dir-add.texinfo.
1244 * manual/libc.texinfo: Comment out uses of edition numbers and
1245 references to printed manual. Remove last-updated dates.
1246 (EDITION): Comment out.
1248 (VERSION, UPDATED): Remove.
1249 (version.texi): Include.
1251 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1253 * sysdeps/posix/spawni.c: Include <signal.h>.
1254 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1255 * sysdeps/pthread/aio_fsync.c: Likewise.
1257 2012-02-26 Ulrich Drepper <drepper@gmail.com>
1259 * conform/Makefile (tests): Run only when not cross-compiling and
1260 when fast-check is not defined.
1262 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1263 * conform/data/limits.h-data: Fixes for POSIX2008.
1264 * conform/run-conformtest.sh: Run all tests.
1265 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1267 * include/bits/dlfcn.h: Likewise.
1268 * include/langinfo.h: Likewise.
1269 * include/monetary.h: Likewise.
1270 * include/sys/poll.h: Likewise.
1272 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1274 * posix/spawn.h: Define __need_sigset_t.
1275 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1276 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1277 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1278 to get sigevent_t only.
1279 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1282 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1283 process_vm_writev only for __USE_GNU.
1284 * termios/termios.h: Declare tcgetsid also for POSIX2008.
1286 * conform/Makefile: For now ignore errors from run-conformtest.
1287 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1288 POSIX to avoid namespace pollution. Don't prepend headers.
1289 * conform/data/aio.h-data: Fixes for POSIX testing.
1290 * conform/data/fcntl.h-data: Likewise.
1291 * conform/data/glob.h-data: Likewise.
1292 * conform/data/grp.h-data: Likewise.
1293 * conform/data/pthread.h-data: Likewise.
1294 * conform/data/pwd.h-data: Likewise.
1295 * conform/data/signal.h-data: Likewise.
1296 * conform/data/spawn.h-data: Likewise.
1297 * conform/data/stdio.h-data: Likewise.
1298 * conform/data/stdlib.h-data: Likewise.
1299 * conform/data/stropts.h-data: Likewise.
1300 * conform/data/sys/mman.h-data: Likewise.
1301 * conform/data/sys/stat.h-data: Likewise.
1302 * conform/data/sys/types.h-data: Likewise.
1303 * conform/data/sys/wait.h-data: Likewise.
1304 * conform/data/time.h-data: Likewise.
1305 * conform/data/unistd.h-data: Likewise.
1306 * conform/data/utime.h-data: Likewise.
1308 * io/sys/stat.h: fchmod was always in POSIX.
1309 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1310 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1311 * rt/aio.h: Define __need_timespec before including <time.h>.
1312 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1313 struct. Add forward declaration of pthread_attr_t and use it in
1315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1317 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1318 always remove CLK_TCK definition.
1320 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1322 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1324 2012-02-25 Ulrich Drepper <drepper@gmail.com>
1326 * conform/run-conformtest.sh: New file.
1327 * conform/Makefile: Run run-conformtest for tests.
1328 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1331 * conform/data/uchar.h-data: New file.
1332 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1333 * conform/data/arpa/inet.h-data: Likewise.
1334 * conform/data/assert.h-data: Likewise.
1335 * conform/data/complex.h-data: Likewise.
1336 * conform/data/cpio.h-data: Likewise.
1337 * conform/data/ctype.h-data: Likewise.
1338 * conform/data/dirent.h-data: Likewise.
1339 * conform/data/dlfcn.h-data: Likewise.
1340 * conform/data/errno.h-data: Likewise.
1341 * conform/data/fcntl.h-data: Likewise.
1342 * conform/data/float.h-data: Likewise.
1343 * conform/data/fmtmsg.h-data: Likewise.
1344 * conform/data/fnmatch.h-data: Likewise.
1345 * conform/data/ftw.h-data: Likewise.
1346 * conform/data/glob.h-data: Likewise.
1347 * conform/data/grp.h-data: Likewise.
1348 * conform/data/iconv.h-data: Likewise.
1349 * conform/data/inttypes.h-data: Likewise.
1350 * conform/data/langinfo.h-data: Likewise.
1351 * conform/data/libgen.h-data: Likewise.
1352 * conform/data/limits.h-data: Likewise.
1353 * conform/data/locale.h-data: Likewise.
1354 * conform/data/math.h-data: Likewise.
1355 * conform/data/monetary.h-data: Likewise.
1356 * conform/data/mqueue.h-data: Likewise.
1357 * conform/data/ndbm.h-data: Likewise.
1358 * conform/data/net/if.h-data: Likewise.
1359 * conform/data/netdb.h-data: Likewise.
1360 * conform/data/netinet/in.h-data: Likewise.
1361 * conform/data/nl_types.h-data: Likewise.
1362 * conform/data/poll.h-data: Likewise.
1363 * conform/data/pthread.h-data: Likewise.
1364 * conform/data/pwd.h-data: Likewise.
1365 * conform/data/regex.h-data: Likewise.
1366 * conform/data/sched.h-data: Likewise.
1367 * conform/data/search.h-data: Likewise.
1368 * conform/data/semaphore.h-data: Likewise.
1369 * conform/data/setjmp.h-data: Likewise.
1370 * conform/data/signal.h-data: Likewise.
1371 * conform/data/spawn.h-data: Likewise.
1372 * conform/data/stdarg.h-data: Likewise.
1373 * conform/data/stdio.h-data: Likewise.
1374 * conform/data/stdlib.h-data: Likewise.
1375 * conform/data/string.h-data: Likewise.
1376 * conform/data/strings.h-data: Likewise.
1377 * conform/data/stropts.h-data: Likewise.
1378 * conform/data/sys/ipc.h-data: Likewise.
1379 * conform/data/sys/mman.h-data: Likewise.
1380 * conform/data/sys/msg.h-data: Likewise.
1381 * conform/data/sys/resource.h-data: Likewise.
1382 * conform/data/sys/select.h-data: Likewise.
1383 * conform/data/sys/sem.h-data: Likewise.
1384 * conform/data/sys/shm.h-data: Likewise.
1385 * conform/data/sys/socket.h-data: Likewise.
1386 * conform/data/sys/stat.h-data: Likewise.
1387 * conform/data/sys/statvfs.h-data: Likewise.
1388 * conform/data/sys/time.h-data: Likewise.
1389 * conform/data/sys/timeb.h-data: Likewise.
1390 * conform/data/sys/times.h-data: Likewise.
1391 * conform/data/sys/types.h-data: Likewise.
1392 * conform/data/sys/uio.h-data: Likewise.
1393 * conform/data/sys/un.h-data: Likewise.
1394 * conform/data/sys/utsname.h-data: Likewise.
1395 * conform/data/sys/wait.h-data: Likewise.
1396 * conform/data/syslog.h-data: Likewise.
1397 * conform/data/tar.h-data: Likewise.
1398 * conform/data/termios.h-data: Likewise.
1399 * conform/data/utime.h-data: Likewise.
1400 * conform/data/utmpx.h-data: Likewise.
1401 * conform/data/varargs.h-data: Likewise.
1402 * conform/data/wchar.h-data: Likewise.
1403 * conform/data/wctype.h-data: Likewise.
1404 * conform/data/wordexp.h-data: Likewise.
1406 * include/stropts.h: New file.
1407 * include/uchar.h: New file.
1408 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1409 * include/assert.h: Likewise.
1410 * include/ctype.h: Likewise.
1411 * include/dirent.h: Likewise.
1412 * include/dlfcn.h: Likewise.
1413 * include/fcntl.h: Likewise.
1414 * include/fnmatch.h: Likewise.
1415 * include/glob.h: Likewise.
1416 * include/grp.h: Likewise.
1417 * include/libio.h: Likewise.
1418 * include/locale.h: Likewise.
1419 * include/math.h: Likewise.
1420 * include/net/if.h: Likewise.
1421 * include/netdb.h: Likewise.
1422 * include/netinet/in.h: Likewise.
1423 * include/pthread.h: Likewise.
1424 * include/pwd.h: Likewise.
1425 * include/regex.h: Likewise.
1426 * include/sched.h: Likewise.
1427 * include/search.h: Likewise.
1428 * include/setjmp.h: Likewise.
1429 * include/signal.h: Likewise.
1430 * include/stdio.h: Likewise.
1431 * include/stdlib.h: Likewise.
1432 * include/string.h: Likewise.
1433 * include/sys/cdefs.h: Likewise.
1434 * include/sys/mman.h: Likewise.
1435 * include/sys/msg.h: Likewise.
1436 * include/sys/resource.h: Likewise.
1437 * include/sys/select.h: Likewise.
1438 * include/sys/socket.h: Likewise.
1439 * include/sys/stat.h: Likewise.
1440 * include/sys/statvfs.h: Likewise.
1441 * include/sys/time.h: Likewise.
1442 * include/sys/times.h: Likewise.
1443 * include/sys/uio.h: Likewise.
1444 * include/sys/utsname.h: Likewise.
1445 * include/sys/wait.h: Likewise.
1446 * include/termios.h: Likewise.
1447 * include/time.h: Likewise.
1448 * include/ulimit.h: Likewise.
1449 * include/unistd.h: Likewise.
1450 * include/utime.h: Likewise.
1451 * include/wchar.h: Likewise.
1452 * include/wctype.h: Likewise.
1453 * include/wordexp.h: Likewise.
1455 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1457 * time/time.h: TIME_UTC must be a macro.
1458 Make timespec_get available for ISO C11 only as well.
1460 2012-02-24 Ulrich Drepper <drepper@gmail.com>
1462 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1463 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1465 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1467 * configure.in: Use -o not -a in test for unsupported multi-arch.
1469 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1471 * manual/texinfo.tex: Update to version 2012-01-19.16.
1473 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1475 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1477 2012-02-24 Roland McGrath <roland@hack.frob.com>
1480 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1481 * manual/fdl-1.3.texi: New file.
1482 * manual/fdl-1.1.texi: File removed.
1485 * manual/libc.texinfo (FDL_VERSION): New @set.
1486 Use it for mention of FDL in cover text.
1487 (Documentation License): Use it in @include file name.
1489 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1490 Roland McGrath <roland@hack.frob.com>
1493 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1494 not LONG_LONG_MAX and LONG_LONG_MIN.
1495 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1496 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1498 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1500 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1504 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1505 manipulate bits before adding and subtracting TWO23[sx].
1506 * math/libm-test.inc (nearbyint_test): Add more tests.
1508 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1512 bits before adding and subtracting TWO23[sx].
1513 * math/libm-test.inc (rint_test): Add more tests.
1514 (rint_test_tonearest): Likewise.
1515 (rint_test_towardzero): Likewise.
1516 (rint_test_downward): Likewise.
1517 (rint_test_upward: Likewise.
1519 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1522 * include/stdc-predef.h: New file. Extracted from features.h.
1523 * include/features.h: Include stdc-predef.h.
1524 * Makefile (headers): Add stdc-predef.h.
1525 * CONFORMANCE (Compiler limitations): Update.
1527 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1529 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1531 2012-02-21 David S. Miller <davem@davemloft.net>
1533 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1534 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1536 2012-02-20 David S. Miller <davem@davemloft.net>
1538 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1539 using a normal save/restore sequence, rather than allocating a
1540 dummy stack frame just to store a frame pointer and restore.
1541 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1543 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1545 * manual/install.texi: Fix stray word in line-wrapped comment.
1547 2012-02-20 David S. Miller <davem@davemloft.net>
1549 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1550 both binutils and gcc support GOTDATA.
1552 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1553 "rd %pc" in the PIC register setup sequences.
1555 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1556 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1557 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1558 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1559 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1561 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1562 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1564 (SYSCALL_ERROR_HANDLER): Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1566 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1568 (SYSCALL_ERROR_HANDLER): Likewise.
1570 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1571 (HAVE_GCC_GOTDATA): New.
1572 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1573 relocation support in both binutils and gcc.
1574 * sysdeps/sparc/elf/configure: Regenerate.
1576 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1577 * sysdeps/sparc/sparc32/elf/configure: Delete.
1578 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1579 * sysdeps/sparc/sparc64/elf/configure: Delete.
1580 * sysdeps/sparc/elf/configure.in: New file.
1581 * sysdeps/sparc/elf/configure: Generate.
1583 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1584 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1585 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1586 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1587 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1589 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1591 * manual/install.texi: Do not mention specific glibc version
1593 * manual/libc.texinfo (VERSION, UPDATED): Update.
1594 (@copying): Use @copyright{} and range of years.
1596 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1599 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1600 [crti.S not in sysdirs] (generated): Do not append.
1601 [crti.S not in sysdirs] (omit-deps): Likewise.
1602 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1603 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1604 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1605 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1606 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1608 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1609 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1610 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1611 * csu/defs.awk: Remove file.
1612 * sysdeps/generic/initfini.c: Likewise.
1613 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1615 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1618 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1620 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1621 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1622 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1625 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1627 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1628 (__EPOLL_PACKED): Define to empty if not defined by
1630 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1634 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1636 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1637 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1638 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1639 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1641 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1645 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1647 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1649 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1650 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1654 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1656 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1657 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1659 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1661 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1662 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1664 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1666 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1669 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1671 * math/w_acos.c: Use non-signaling floating-point comparisons.
1672 * math/w_acosf.c: Likewise.
1673 * math/w_acosh.c: Likewise.
1674 * math/w_acoshf.c: Likewise.
1675 * math/w_acoshl.c: Likewise.
1676 * math/w_acosl.c: Likewise.
1677 * math/w_asin.c: Likewise.
1678 * math/w_asinf.c: Likewise.
1679 * math/w_asinl.c: Likewise.
1680 * math/w_atanh.c: Likewise.
1681 * math/w_atanhf.c: Likewise.
1682 * math/w_atanhl.c: Likewise.
1683 * math/w_exp2.c: Likewise.
1684 * math/w_exp2f.c: Likewise.
1685 * math/w_exp2l.c: Likewise.
1686 * math/w_j0.c: Likewise.
1687 * math/w_j0f.c: Likewise.
1688 * math/w_j0l.c: Likewise.
1689 * math/w_j1.c: Likewise.
1690 * math/w_j1f.c: Likewise.
1691 * math/w_j1l.c: Likewise.
1692 * math/w_jn.c: Likewise.
1693 * math/w_jnf.c: Likewise.
1694 * math/w_log.c: Likewise.
1695 * math/w_log10.c: Likewise.
1696 * math/w_log10f.c: Likewise.
1697 * math/w_log10l.c: Likewise.
1698 * math/w_log2.c: Likewise.
1699 * math/w_log2f.c: Likewise.
1700 * math/w_log2l.c: Likewise.
1701 * math/w_logf.c: Likewise.
1702 * math/w_logl.c: Likewise.
1703 * math/w_sqrt.c: Likewise.
1704 * math/w_sqrtf.c: Likewise.
1705 * math/w_sqrtl.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1708 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1710 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1712 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1715 * manual/string.texi (strnlen): Use correct parameter name in
1716 equivalent expression.
1718 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1721 * manual/users.texi (seteuid): Consistently use neweuid for
1724 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1727 * manual/nss.texi (Services in the NSS configuration): Correct
1728 list of services in example configuration file.
1730 2012-02-19 Nick Bowler <nbowler@draconx.ca>
1733 * manual/arith.texi: Remove statements about negative zero
1734 behaving identically to zero.
1736 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1739 * manual/install.texi: Do not document upgrading from libc5.
1741 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1744 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1746 2012-02-18 David S. Miller <davem@davemloft.net>
1748 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1749 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1750 %o7 across the call.
1751 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1756 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1757 * sysdeps/sparc/crtn.S: Likewise.
1759 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1761 * aout/Makefile: Remove.
1763 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1766 * manual/examples/argp-ex1.c (main): Format definition in GNU
1768 * manual/examples/argp-ex2.c (main): Likewise.
1769 * manual/examples/argp-ex3.c (main): Likewise.
1770 * manual/examples/argp-ex4.c (main): Likewise.
1771 * manual/examples/longopt.c (main): Use new-style prototype
1773 * manual/examples/strncat.c (main): Specify return type and use
1774 (void) for arguments.
1775 * manual/examples/subopt.c (main): Use char **argv argument.
1777 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1780 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1783 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1786 * manual/string.texi (strchr): Change when strchrnul is
1789 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1792 * manual/locale.texi (setlocale): Document LOCPATH.
1794 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1797 * manual/process.texi (execle): Move @dots{} before last argument.
1799 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1802 * manual/charset.texi (Generic Charset Conversion): Fix typo
1803 (LC_TYPE -> LC_CTYPE).
1805 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1808 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1809 (scalbnf): Likewise.
1810 (scalbnl): Likewise.
1811 (scalbln): Likewise.
1812 (scalblnf): Likewise.
1813 (scalblnl): Likewise.
1814 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1818 * manual/filesys.texi (telldir): Use braces around return type.
1819 * manual/llio.texi (mmap): Add space after comma.
1821 * manual/math.texi (jn): Use @var{} on parameter names.
1827 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1829 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1831 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1832 (sched_get_priority_max): Likewise.
1833 * manual/signal.texi (sigvec): Add space after comma.
1834 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1836 (if_indextoname): Likewise.
1837 (if_freenameindex): Likewise.
1838 (sendto): Use ',' instead of '.' in prototype.
1839 * manual/startup.texi (syscall): Use @dots{} instead of literal
1841 * manual/stdio.texi (__fpending): Separate initial words of
1842 paragraph from @deftypefun line.
1843 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1845 (vsyslog): Use @var{} on parameter names.
1846 * manual/terminal.texi (stty): Use @var{} on parameter names.
1847 * manual/users.texi (getutmp): Use @var{} on parameter names.
1848 (getutmpx): Likewise.
1850 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1853 * manual/stdio.texi (fopen): Fix typos in description of
1856 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1859 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1860 get clock_id definition.
1862 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1865 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1866 (madvise): Cast every argument to void on its own.
1868 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1871 * manual/startup.texi (Exit Status): Fix typo.
1873 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1876 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1877 * manual/examples/argp-ex2.c: Likewise.
1878 * manual/examples/argp-ex3.c: Likewise.
1880 2012-02-16 Richard Henderson <rth@redhat.com>
1882 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1883 * sysdeps/s390/s390-32/initfini.c: Remove.
1884 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1885 * sysdeps/s390/s390-64/initfini.c: Remove.
1887 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1889 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1890 compiler output for sysdeps/generic/initfini.c.
1891 * sysdeps/sh/elf/initfini.c: Remove file.
1893 2012-02-16 David S. Miller <davem@davemloft.net>
1896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1898 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1899 * sysdeps/sparc/crti.S: New file.
1900 * sysdeps/sparc/crtn.S: New file.
1901 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1902 * sysdeps/sparc/sparc64/Makefile: Likewise.
1904 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1907 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1909 2012-02-15 Roland McGrath <roland@hack.frob.com>
1912 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1914 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1915 (write, read, close): Likewise.
1916 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1918 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1920 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1921 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1922 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1923 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1925 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1929 2012-02-14 Marek Polacek <polacek@redhat.com>
1931 * sysdeps/x86_64/crti.S: New file.
1932 * sysdeps/x86_64/crtn.S: New file.
1933 * sysdeps/x86_64/elf/initfini.c: Remove file.
1935 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1937 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1938 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1939 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1940 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1942 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1946 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1948 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1949 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1951 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1953 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1957 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1959 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1960 __feraiseexcept instead of feraiseexcept.
1962 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1963 nanosleep invocations.
1964 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1965 strings, and add error checking for a nanosleep invocations.
1967 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1969 Replace FSF snail mail address with URLs, as per GNU coding standards.
1970 Most of the snail mail addresses were wrong anyway, and omitting
1971 them makes the source code easier to maintain. Almost all of the
1972 changes are to license notices and to locale LC_IDENTIFICATION
1973 addresses, except for this one:
1974 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1975 not its snail mail address.
1977 2012-02-09 Richard Henderson <rth@twiddle.net>
1979 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1980 of kernel-features.h.
1982 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1984 2012-02-08 Marek Polacek <polacek@redhat.com>
1986 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1987 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1988 * sysdeps/gnu/_G_config.h: Likewise.
1989 * sysdeps/generic/_G_config.h: Likewise.
1991 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1993 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1997 * sysdeps/powerpc/powerpc32/crti.S: New file.
1998 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1999 * sysdeps/powerpc/powerpc64/crti.S: New file.
2000 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2002 * Makeconfig (have-initfini): Don't set.
2003 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2004 * configure.in (nopic_initfini): Don't substitute.
2005 * config.h.in (HAVE_INITFINI): Don't #undef.
2006 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2007 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2009 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2011 Support crti.S and crtn.S provided directly by architectures.
2012 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2013 [crti.S in sysdirs] (omit-deps): Likewise.
2014 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2015 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2016 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2017 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2018 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2019 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2020 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2021 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2022 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2023 compiler output for sysdeps/generic/initfini.c.
2024 * sysdeps/i386/elf/Makefile: Remove file.
2025 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2027 2012-02-07 Marek Polacek <polacek@redhat.com>
2029 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2030 * sysdeps/gnu/_G_config.h: Likewise.
2031 * sysdeps/mach/hurd/_G_config.h: Likewise.
2033 2012-02-07 Marek Polacek <polacek@redhat.com>
2035 * math/Makefile (tests): Add tst-CMPLX2.
2036 * math/tst-CMPLX2.c: New file.
2038 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2040 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2042 * math/libm-test.inc (jn_test): Add missing L suffix.
2044 2012-02-06 Marek Polacek <polacek@redhat.com>
2046 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2047 * sysdeps/i386/fpu/e_powf.S: Likewise.
2048 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2049 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2050 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2051 * sysdeps/i386/fpu/e_pow.S: Likewise.
2052 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2053 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2054 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2055 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2056 * sysdeps/i386/fpu/e_log2.S: Likewise.
2057 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2058 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2059 * sysdeps/i386/fpu/e_powl.S: Likewise.
2060 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2061 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2062 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2063 * sysdeps/i386/fpu/e_logl.S: Likewise.
2064 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2065 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2066 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2067 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2068 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2069 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2070 * sysdeps/i386/fpu/e_log.S: Likewise.
2071 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2072 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2073 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2074 * sysdeps/i386/fpu/e_logf.S: Likewise.
2075 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2076 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2077 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2078 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2079 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2080 * sysdeps/i386/fpu/e_log10.S: Likewise.
2081 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2082 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2083 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2084 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2086 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2087 * sysdeps/i386/asm-syntax.h: Likewise.
2088 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2090 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2091 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2092 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2093 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2094 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2095 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2096 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2097 * sysdeps/powerpc/sysdep.h: Likewise.
2098 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2099 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2101 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2104 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2106 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2108 * sysdeps/i386/sysdep.h: Include <features.h>.
2109 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2112 2012-02-05 Joseph Myers <joseph@codesourcery.com>
2114 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2116 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2119 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2121 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2122 (SETUP_PIC_REG): Use GET_PC_THUNK.
2123 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2126 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2128 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2129 for non-PIC compilation.
2130 (SETUP_PIC_REG): Add .p2align directive.
2131 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2132 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2133 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2134 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2135 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2136 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2146 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2147 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2150 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2163 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2169 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2170 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2171 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2173 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2175 * math/tst-CMPLX.c: Include <stdio.h>.
2177 2012-01-31 Joseph Myers <joseph@codesourcery.com>
2179 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2181 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2182 * sysdeps/sparc/bits/mathdef.h: Likewise.
2184 2012-01-31 Marek Polacek <polacek@redhat.com>
2186 * libio/libio.h: Don't define _PARAMS.
2187 * locale/programs/config.h: Don't define PARAMS.
2188 * stdlib/strtol_l.c: Likewise.
2189 (__strtol_l): Remove PARAMS from the prototype.
2191 2012-01-31 Ulrich Drepper <drepper@gmail.com>
2193 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2194 names. Just use the correct names. Remove unnecessary wrapper
2196 * malloc/arena.c: Likewise.
2197 * malloc/hooks.c: Likewise.
2199 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2200 ARENA_TEST says not to. Simplify test for creation of a new arena.
2201 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2203 2012-01-30 Ulrich Drepper <drepper@gmail.com>
2205 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2207 (update_get_addr): New function.
2208 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2209 GET_ADDR_MODULE parameter.
2211 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2213 * crypt/cert.c: Remove __STDC__ conditionals.
2214 * crypt/crypt-entry.c: Likewise.
2215 * crypt/crypt_util.c: Likewise.
2216 * libio/filedoalloc.c: Likewise.
2217 * libio/fileops.c: Likewise.
2218 * libio/genops.c: Likewise.
2219 * libio/iofclose.c: Likewise.
2220 * libio/iofdopen.c: Likewise.
2221 * libio/iofopen.c: Likewise.
2222 * libio/iofopen64.c: Likewise.
2223 * libio/iogetdelim.c: Likewise.
2224 * libio/iopopen.c: Likewise.
2225 * libio/obprintf.c: Likewise.
2226 * libio/oldfileops.c: Likewise.
2227 * libio/oldiofclose.c: Likewise.
2228 * libio/oldiofdopen.c: Likewise.
2229 * libio/oldiofopen.c: Likewise.
2230 * libio/oldiopopen.c: Likewise.
2231 * libio/wfiledoalloc.c: Likewise.
2232 * libio/wgenops.c: Likewise.
2233 * locale/programs/xmalloc.c: Likewise.
2234 * misc/syslog.c: Likewise.
2235 * stdio-common/xbug.c: Likewise.
2236 * string/memchr.c: Likewise.
2237 * string/memcmp.c: Likewise.
2238 * string/memrchr.c: Likewise.
2239 * string/rawmemchr.c: Likewise.
2240 * sysdeps/posix/getcwd.c: Likewise.
2241 * time/strftime_l.c: Likewise.
2243 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2245 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2246 * config.make.in (config-cflags-sse2avx): Define.
2247 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2250 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2252 * scripts/config.guess: Update from upstream config git repository.
2253 * scripts/config.sub: Likewise.
2255 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2257 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2259 (R_TILEPRO_*, R_TILEGX_*): New macros.
2261 * scripts/firstversions.awk: Fix bug in version range handling.
2263 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2265 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2267 * include/sys/epoll.h: New file.
2268 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2271 2012-01-28 Ulrich Drepper <drepper@gmail.com>
2273 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2274 Avoid unnecessary __WORDSIZE == 64 test.
2275 (fmaxf): Use VEX format if possible.
2280 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2281 * math/math_private.h: Remove libc_fegetround* and
2283 * sysdeps/i386/configure.in: Check for -msse2avx.
2284 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2285 also if SSE2AVX is defined.
2286 Remove libc_fegetround* and libc_fesetround*.
2287 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2288 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2291 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2292 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2297 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2299 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2303 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2305 2012-01-27 Ulrich Drepper <drepper@gmail.com>
2308 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2310 * Makeconfig (libm): Define.
2311 * elf/Makefile: Add rules to build and run tst-relsort1.
2312 * elf/tst-relsort1.c: New file.
2313 * elf/tst-relsort1mod1.c: New file.
2314 * elf/tst-relsort1mod2.c: New file.
2316 2012-01-27 Joseph Myers <joseph@codesourcery.com>
2318 * math/s_ldexp.c: Remove __STDC__ conditionals.
2319 * math/s_ldexpf.c: Likewise.
2320 * math/s_ldexpl.c: Likewise.
2321 * math/s_nextafter.c: Likewise.
2322 * math/s_nexttowardf.c: Likewise.
2323 * math/s_significand.c: Likewise.
2324 * math/s_significandf.c: Likewise.
2325 * math/s_significandl.c: Likewise.
2326 * math/w_jnl.c: Likewise.
2327 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2328 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2329 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2330 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2331 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2343 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2344 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2346 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2347 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2348 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2349 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2351 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2352 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2353 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2354 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2355 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2356 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2357 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2358 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2359 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2360 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2361 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2362 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2363 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2364 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2365 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2366 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2367 * sysdeps/ieee754/k_standard.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2429 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2436 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2438 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2442 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2443 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2447 * sysdeps/ieee754/s_matherr.c: Likewise.
2448 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2449 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2453 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2455 * crypt/md5.h: Remove __STDC__ conditionals.
2456 * libio/libioP.h: Likewise.
2457 * locale/programs/config.h: Likewise.
2458 * sysdeps/generic/sysdep.h: Likewise.
2459 * sysdeps/i386/asm-syntax.h: Likewise.
2460 * sysdeps/s390/asm-syntax.h: Likewise.
2461 * sysdeps/unix/sysdep.h: Likewise.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2465 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2467 * libio/libio.h: Remove __STDC__ conditionals.
2468 * malloc/obstack.h: Likewise.
2469 * math/complex.h: Likewise.
2470 * math/math.h: Likewise.
2471 * sysdeps/generic/_G_config.h: Likewise.
2472 * sysdeps/gnu/_G_config.h: Likewise.
2473 * sysdeps/mach/hurd/_G_config.h: Likewise.
2474 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2475 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2476 * sysdeps/sparc/bits/mathdef.h: Likewise.
2478 2012-01-26 Ulrich Drepper <drepper@gmail.com>
2481 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2482 Clean up HAS_* macros.
2483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2484 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2489 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2490 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2494 2012-01-25 Joseph Myers <joseph@codesourcery.com>
2496 * elf/tst-unique3.cc (gets): Remove declaration.
2497 * elf/tst-unique3lib.cc (gets): Likewise.
2498 * elf/tst-unique3lib2.cc (gets): Likewise.
2499 * elf/tst-unique4.cc (gets): Likewise.
2501 2012-01-24 Ulrich Drepper <drepper@gmail.com>
2503 * include/stdio.h: Add C++ protection. Add gets declarations and
2505 * debug/tst-chk1.c: Don't declare gets here.
2506 * stdio-common/tst-gets.c: Likewise.
2508 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2510 * posix/glob: Remove directory.
2512 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2514 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2516 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2518 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2519 of the non-standard EPFNOSUPPORT.
2521 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2523 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2524 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2525 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2527 2012-01-21 Ulrich Drepper <drepper@gmail.com>
2529 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2531 2012-01-20 Ulrich Drepper <drepper@gmail.com>
2533 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2535 * nscd/grpcache.c (cache_addgr): Likewise.
2536 * nscd/hstcache.c (cache_addhst): Likewise.
2537 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2538 * nscd/pwdcache.c (cache_addpw): Likewise.
2539 * nscd/servicescache.c (cache_addserv): Likewise.
2541 2012-01-16 Ulrich Drepper <drepper@gmail.com>
2543 * malloc/malloc.c: Various cleanups.
2544 * malloc/hooks.c: Likewise.
2546 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2547 * stdlib/bug-fmtmsg1.c: New file.
2549 * stdlib/fmtmsg.c (init): Add missing unlock.
2550 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2552 2012-01-12 Marek Polacek <polacek@redhat.com>
2554 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2557 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2559 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2560 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2561 macro to ensure uniqueness of label name.
2562 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2563 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2565 2012-01-11 Ulrich Drepper <drepper@gmail.com>
2567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2570 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2574 2012-01-10 Ulrich Drepper <drepper@gmail.com>
2576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2578 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2579 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2582 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2584 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2585 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2589 * math/bits/math-finite.h: Add ldexp support.
2591 2012-01-10 Marek Polacek <polacek@redhat.com>
2593 * locale/programs/localedef.h (show_archive_content): Add noreturn
2596 2012-01-09 Ulrich Drepper <drepper@gmail.com>
2598 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2600 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2602 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2604 * io/Makefile (headers): Add bits/poll2.h.
2606 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2609 typo #include statement.
2611 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2613 * include/sys/cdefs.h: Define __attribute_alloc_size.
2614 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2615 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2616 * elf/pldd.c: Likewise.
2617 * iconv/iconv_charmap.c: Likewise.
2618 * iconv/iconvconfig.c: Likewise.
2619 * iconv/strtab.c: Likewise.
2620 * locale/programs/locale.c: Likewise.
2621 * locale/programs/localedef.h: Likewise.
2622 * locale/programs/simple-hash.c: Likewise.
2623 * nscd/nscd.h: Likewise.
2624 * nss/makedb.c: Likewise.
2625 * sysdeps/generic/ldconfig.h: Likewise.
2626 * locale/programs/localedef.c: Remove xmalloc prototype.
2627 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2629 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2631 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2634 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2636 * math/Makefile (tests): Add tst-CMPLX.
2637 * math/tst-CMPLX.c: New file.
2639 * math/complex.h (CMPLXL): Fix typo.
2641 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2642 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2644 * debug/tst-chk1.c: Add poll and ppoll tests.
2645 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2646 * include/sys/poll.h: Add hidden proto for ppoll.
2647 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2648 * sysdeps/mach/hurd/ppoll.c: Likewise.
2649 * io/ppoll.c: Likewise.
2650 * debug/poll_chk.c: New file.
2651 * debug/ppoll_chk.c: New file.
2652 * include/bits/poll2.h: New file.
2653 * io/bits/poll2.h: New file.
2656 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2658 * configure.in: static is always set to yes. Remove.
2659 * config.make.in: Don't set build-static.
2660 * Makeconfig: Remove use of build-static.
2661 * dlfcn/Makefile: Likewise.
2662 * elf/Makefile: Likewise.
2663 * math/Makefile: Likewise.
2664 * misc/Makefile: Likewise.
2665 * nptl/Makefile: Likewise.
2666 * sysdeps/mach/hurd/Makefile: Likewise.
2668 * configure.in: PWD_P is not used anymore.
2669 * config.make.in: Remove PWD_P entry.
2671 * configure.in: Remove last remnants of RANLIB.
2672 No need to check for signed size_t anymore.
2673 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2675 Remove __builtin_expect test because we require at least gcc 3.4.
2676 * aclocal.m4: Likewise.
2678 * wcsmbs/mbrtoc16.c: Implement using towc function.
2679 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2680 * wcsmbs/wcsmbsload.c: Likewise.
2681 * iconv/gconv_simple.c: Likewise.
2682 * iconv/gconv_int.h: Likewise.
2683 * iconv/gconv_builtin.h: Likewise.
2684 * iconv/iconv_prog.c: Remove CHAR16 handling.
2686 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2688 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2690 * configure.in: Remove --with-elf and --enable-bounded options.
2691 Dont set base_machine for ia64. More non-ELF conditions removed.
2692 Remove testing and setting of leading underscore information.
2693 * config.make.in (build-bounded): Set to no.
2694 * config.h.in: Remove NO_UNDERSCORES entry.
2695 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2697 * csu/start.c: Remove !NO_UNDERSCORE code.
2698 * locale/localeinfo.h: Likewise.
2699 * sysdeps/generic/machine-gmon.h: Likewise.
2700 * sysdeps/generic/sysdep.h: Likewise.
2701 * sysdeps/i386/sysdep.h: Likewise.
2702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2703 * sysdeps/mach/sysdep.h: Likewise.
2704 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2706 * sysdeps/sh/sysdep.h: Likewise.
2707 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2708 * sysdeps/unix/i386/sysdep.S: Likewise.
2709 * sysdeps/unix/sparc/start.c: Likewise.
2710 * sysdeps/unix/sparc/sysdep.S: Likewise.
2711 * sysdeps/unix/sparc/sysdep.h: Likewise.
2712 * sysdeps/unix/start.c: Likewise.
2713 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2714 * sysdeps/x86_64/sysdep.h: Likewise.
2716 2012-01-07 Ulrich Drepper <drepper@gmail.com>
2719 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2721 * argp/argp-fmtstream.h: Use const instead __const.
2722 * argp/argp.h: Likewise.
2723 * assert/assert.h: Likewise.
2724 * bits/fenv.h: Likewise.
2725 * bits/sched.h: Likewise.
2726 * bits/sigset.h: Likewise.
2727 * bits/sigthread.h: Likewise.
2728 * catgets/nl_types.h: Likewise.
2729 * conform/data/pthread.h-data: Likewise.
2730 * crypt/crypt-private.h: Likewise.
2731 * crypt/crypt.h: Likewise.
2732 * crypt/crypt_util.c: Likewise.
2733 * ctype/ctype.h: Likewise.
2734 * debug/execinfo.h: Likewise.
2735 * debug/mbsnrtowcs_chk.c: Likewise.
2736 * debug/mbsrtowcs_chk.c: Likewise.
2737 * debug/wcsnrtombs_chk.c: Likewise.
2738 * debug/wcsrtombs_chk.c: Likewise.
2739 * debug/wcstombs_chk.c: Likewise.
2740 * dirent/dirent.h: Likewise.
2741 * dlfcn/dlfcn.h: Likewise.
2742 * elf/neededtest4.c: Likewise.
2743 * grp/grp.h: Likewise.
2744 * gshadow/gshadow.h: Likewise.
2745 * iconv/gconv.h: Likewise.
2746 * iconv/gconv_int.h: Likewise.
2747 * iconv/gconv_simple.c: Likewise.
2748 * iconv/iconv.h: Likewise.
2749 * iconv/loop.c: Likewise.
2750 * iconv/skeleton.c: Likewise.
2751 * include/aio.h: Likewise.
2752 * include/aliases.h: Likewise.
2753 * include/argz.h: Likewise.
2754 * include/arpa/inet.h: Likewise.
2755 * include/assert.h: Likewise.
2756 * include/dirent.h: Likewise.
2757 * include/dlfcn.h: Likewise.
2758 * include/execinfo.h: Likewise.
2759 * include/fcntl.h: Likewise.
2760 * include/fenv.h: Likewise.
2761 * include/glob.h: Likewise.
2762 * include/grp.h: Likewise.
2763 * include/libintl.h: Likewise.
2764 * include/mntent.h: Likewise.
2765 * include/netdb.h: Likewise.
2766 * include/pwd.h: Likewise.
2767 * include/rpc/netdb.h: Likewise.
2768 * include/sched.h: Likewise.
2769 * include/search.h: Likewise.
2770 * include/shadow.h: Likewise.
2771 * include/signal.h: Likewise.
2772 * include/stdio.h: Likewise.
2773 * include/stdlib.h: Likewise.
2774 * include/string.h: Likewise.
2775 * include/sys/socket.h: Likewise.
2776 * include/sys/stat.h: Likewise.
2777 * include/sys/statfs.h: Likewise.
2778 * include/sys/statvfs.h: Likewise.
2779 * include/sys/syslog.h: Likewise.
2780 * include/sys/time.h: Likewise.
2781 * include/sys/uio.h: Likewise.
2782 * include/time.h: Likewise.
2783 * include/unistd.h: Likewise.
2784 * include/utmp.h: Likewise.
2785 * include/wchar.h: Likewise.
2786 * include/wctype.h: Likewise.
2787 * inet/aliases.h: Likewise.
2788 * inet/arpa/inet.h: Likewise.
2789 * inet/netinet/ether.h: Likewise.
2790 * inet/netinet/in.h: Likewise.
2791 * intl/libintl.h: Likewise.
2792 * io/bits/fcntl2.h: Likewise.
2793 * io/fcntl.h: Likewise.
2794 * io/ftw.h: Likewise.
2795 * io/sys/poll.h: Likewise.
2796 * io/sys/stat.h: Likewise.
2797 * io/sys/statfs.h: Likewise.
2798 * io/sys/statvfs.h: Likewise.
2799 * io/utime.h: Likewise.
2800 * libio/bits/stdio.h: Likewise.
2801 * libio/bits/stdio2.h: Likewise.
2802 * libio/libio.h: Likewise.
2803 * libio/libioP.h: Likewise.
2804 * libio/stdio.h: Likewise.
2805 * locale/lc-ctype.c: Likewise.
2806 * locale/locale.h: Likewise.
2807 * login/utmp.h: Likewise.
2808 * malloc/arena.c: Likewise.
2809 * malloc/malloc.c: Likewise.
2810 * malloc/malloc.h: Likewise.
2811 * malloc/mcheck.c: Likewise.
2812 * malloc/mtrace.c: Likewise.
2813 * math/bits/mathcalls.h: Likewise.
2814 * math/fenv.h: Likewise.
2815 * math/math_private.h: Likewise.
2816 * misc/bits/error.h: Likewise.
2817 * misc/bits/syslog.h: Likewise.
2818 * misc/err.h: Likewise.
2819 * misc/error.h: Likewise.
2820 * misc/fstab.h: Likewise.
2821 * misc/mntent.h: Likewise.
2822 * misc/regexp.h: Likewise.
2823 * misc/search.h: Likewise.
2824 * misc/sgtty.h: Likewise.
2825 * misc/sys/mman.h: Likewise.
2826 * misc/sys/syslog.h: Likewise.
2827 * misc/sys/uio.h: Likewise.
2828 * misc/sys/xattr.h: Likewise.
2829 * misc/ttyent.h: Likewise.
2830 * nis/rpcsvc/ypclnt.h: Likewise.
2831 * nss/nss.h: Likewise.
2832 * posix/bits/unistd.h: Likewise.
2833 * posix/fnmatch.h: Likewise.
2834 * posix/glob.h: Likewise.
2835 * posix/sched.h: Likewise.
2836 * posix/spawn.h: Likewise.
2837 * posix/sys/wait.h: Likewise.
2838 * posix/unistd.h: Likewise.
2839 * posix/wordexp.h: Likewise.
2840 * pwd/pwd.h: Likewise.
2841 * resolv/netdb.h: Likewise.
2842 * resource/sys/resource.h: Likewise.
2843 * rt/aio.h: Likewise.
2844 * rt/bits/mqueue2.h: Likewise.
2845 * rt/mqueue.h: Likewise.
2846 * shadow/shadow.h: Likewise.
2847 * signal/signal.h: Likewise.
2848 * socket/send.c: Likewise.
2849 * socket/sendto.c: Likewise.
2850 * socket/sys/socket.h: Likewise.
2851 * stdio-common/printf.h: Likewise.
2852 * stdlib/bits/stdlib.h: Likewise.
2853 * stdlib/fmtmsg.h: Likewise.
2854 * stdlib/monetary.h: Likewise.
2855 * stdlib/stdlib.h: Likewise.
2856 * stdlib/ucontext.h: Likewise.
2857 * streams/stropts.h: Likewise.
2858 * string/argz.h: Likewise.
2859 * string/bits/string2.h: Likewise.
2860 * string/string.h: Likewise.
2861 * string/strings.h: Likewise.
2862 * sunrpc/rpc/auth.h: Likewise.
2863 * sunrpc/rpc/auth_des.h: Likewise.
2864 * sunrpc/rpc/clnt.h: Likewise.
2865 * sunrpc/rpc/netdb.h: Likewise.
2866 * sunrpc/rpc/pmap_clnt.h: Likewise.
2867 * sunrpc/rpc/xdr.h: Likewise.
2868 * sysdeps/generic/inttypes.h: Likewise.
2869 * sysdeps/generic/net/if.h: Likewise.
2870 * sysdeps/generic/sys/swap.h: Likewise.
2871 * sysdeps/gnu/net/if.h: Likewise.
2872 * sysdeps/gnu/utmpx.h: Likewise.
2873 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2874 * sysdeps/i386/i486/bits/string.h: Likewise.
2875 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2876 * sysdeps/s390/bits/string.h: Likewise.
2877 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2878 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2879 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2880 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2881 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2882 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2883 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2884 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2885 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2886 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2887 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2888 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2889 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2890 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2891 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2892 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2893 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2896 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2900 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2901 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2902 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2903 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2905 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2906 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2907 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2908 * sysvipc/sys/ipc.h: Likewise.
2909 * sysvipc/sys/msg.h: Likewise.
2910 * sysvipc/sys/sem.h: Likewise.
2911 * sysvipc/sys/shm.h: Likewise.
2912 * termios/termios.h: Likewise.
2913 * time/sys/time.h: Likewise.
2914 * time/time.h: Likewise.
2915 * wcsmbs/bits/wchar2.h: Likewise.
2916 * wcsmbs/uchar.h: Likewise.
2917 * wcsmbs/wchar.h: Likewise.
2918 * wctype/wctype.h: Likewise.
2921 * Makeconfig: Remove all but ELF support including AIX support.
2922 * Makerules: Likewise.
2923 * config.h.in: Likewise.
2924 * config.make.in: Likewise.
2925 * configure: Likewise.
2926 * configure.in: Likewise.
2927 * csu/Makefile: Likewise.
2928 * csu/version.c: Likewise.
2929 * debug/Makefile: Likewise.
2930 * dlfcn/Makefile: Likewise.
2931 * elf/Makefile: Likewise.
2932 * extra-lib.mk: Likewise.
2933 * iconv/Makefile: Likewise.
2934 * include/libc-symbols.h: Likewise.
2935 * include/shlib-compat.h: Likewise.
2936 * resolv/Makefile: Likewise.
2937 * resolv/res_libc.c: Likewise.
2938 * rt/Makefile: Likewise.
2939 * sysdeps/i386/asm-syntax.h: Likewise.
2940 * sysdeps/i386/sysdep.h: Likewise.
2941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2942 * sysdeps/mach/sysdep.h: Likewise.
2943 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2944 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2945 * sysdeps/s390/asm-syntax.h: Likewise.
2946 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2948 * sysdeps/sh/sysdep.h: Likewise.
2949 * sysdeps/unix/sparc/sysdep.h: Likewise.
2950 * sysdeps/wordsize-32/divdi3.c: Likewise.
2951 * sysdeps/x86_64/sysdep.h: Likewise.
2953 * argp/Versions: Remove _argp_unlock_xxx.
2956 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2957 * abilist/libBrokenLocale.abilist: Likewise.
2958 * abilist/libanl.abilist: Likewise.
2959 * abilist/libc.abilist: Likewise.
2960 * abilist/libcrypt.abilist: Likewise.
2961 * abilist/libdl.abilist: Likewise.
2962 * abilist/libm.abilist: Likewise.
2963 * abilist/libnsl.abilist: Likewise.
2964 * abilist/libpthread.abilist: Likewise.
2965 * abilist/libresolv.abilist: Likewise.
2966 * abilist/librt.abilist: Likewise.
2967 * abilist/libthread_db.abilist: Likewise.
2968 * abilist/libutil.abilist: Likewise.
2969 * abilist/libnss_db.abilist: New file.
2971 * scripts/abilist.awk: Add support for indirect functions.
2973 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2975 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2977 * shlib-versions: Remove entries for ports architectures.
2979 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2981 * elf/stackguard-macros.h: Remove support for IA-64.
2982 * elf/tst-auditmod1.c: Likewise.
2983 * sysdeps/generic/ldsodefs.h: Likewise.
2985 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2986 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2990 * configure.in: Remove --enable-omitfp support.
2992 * config.make.in: Likewise.
2993 * Makeconfig: Likewise.
2994 * manual/install.texi: Likewise.
2996 In case anyone cares, the IA-64 architecture could move to ports.
2997 * sysdeps/ia64/*: Removed.
2998 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2999 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3002 * configure.in: Remove entries for unsupported architectures.
3005 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3006 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3008 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3009 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3010 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3011 fall back to using wcrtomb.
3012 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3013 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3015 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3016 * wcsmbs/tst-c16c32-1.c: New file.
3018 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3021 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3023 * elf/tst-unique3.cc: Add explicit declaration of gets.
3024 * elf/tst-unique3lib.cc: Likewise.
3025 * elf/tst-unique3lib2.cc: Likewise.
3026 * elf/tst-unique4.cc: Likewise.
3028 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3030 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3033 * assert/assert.h (static_assert): Don't define for C++.
3034 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3035 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3037 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3039 * iconv/loop.c (single loop): Fix assertion in storing of
3042 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3044 2012-01-01 Ulrich Drepper <drepper@gmail.com>
3046 * posix/getconf.c: Update copyright year.
3047 * nss/getent.c: Likewise.
3048 * nss/makedb.c: Likewise.
3049 * iconv/iconvconfig.c: Likewise.
3050 * iconv/iconv_prog.c: Likewise.
3051 * elf/ldconfig.c: Likewise.
3052 * elf/pldd.c: Likewise.
3053 * elf/sotruss.ksh: Likewise.
3054 * catgets/gencat.c: Likewise.
3055 * csu/version.c: Likewise.
3056 * elf/ldd.bash.in: Likewise.
3057 * elf/sprof.c (print_version): Likewise.
3058 * locale/programs/locale.c: Likewise.
3059 * locale/programs/localedef.c: Likewise.
3060 * login/programs/pt_chown.c: Likewise.
3061 * nscd/nscd.c (print_version): Likewise.
3062 * debug/xtrace.sh: Likewise.
3063 * malloc/memusage.sh: Likewise.
3064 * malloc/mtrace.pl: Likewise.
3065 * debug/catchsegv.sh: Likewise.
3067 2011-12-30 Jakub Jelinek <jakub@redhat.com>
3069 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3072 2011-12-24 Ulrich Drepper <drepper@gmail.com>
3075 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3076 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3078 * iconv/gconv_int.h: Likewise.
3079 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3080 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3081 from libc for GLIBC_2.16.
3082 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3083 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3084 * wcsmbs/uchar.h: Really define mbstate_t.
3085 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3086 * wcsmbs/c16rtomb.c: New file.
3087 * wcsmbs/mbrtoc16.c: New file.
3088 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3090 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3091 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3093 * wcsmbs/wchar.h: Add missing __restrict.
3095 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3098 * time/Makefile (routines): Add timespec_get.
3099 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3100 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3101 timespec for ISO C11.
3102 * time/timespec_get.c: New file.
3103 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3104 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3107 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3108 * stdlib/stdlib.h: Declare aligned_alloc.
3109 * Versions.def: Add GLIBC_2.16 for libc.
3110 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3113 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3116 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3120 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3123 * assert/assert.h (static_assert): Define.
3125 * version.h: Update for 2.16 development version.
3128 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3131 * version.h (RELEASE): Bump for 2.15 release.
3132 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3134 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3135 Patch by Marek Polacek <mpolacek@redhat.com>.
3137 * bits/byteswap.h: Protect long long constants with __extension__.
3138 * sysdeps/i386/bits/byteswap.h: Likewise.
3139 * sysdeps/ia64/bits/byteswap.h: Likewise.
3140 * sysdeps/s390/bits/byteswap.h: Likewise.
3141 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3143 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3150 2011-12-23 Marek Polacek <polacek@redhat.com>
3152 * elf/dl-addr.c (determine_info): Add inline keyword.
3153 * elf/tst-auditmod4b.c (check_avx): Likewise.
3154 * elf/tst-auditmod6b.c (check_avx): Likewise.
3155 * elf/tst-auditmod6c.c (check_avx): Likewise.
3156 * elf/tst-auditmod7b.c (check_avx): Likewise.
3158 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3160 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3163 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3167 processing for last bytes.
3169 2011-08-06 Bruno Haible <bruno@clisp.org>
3172 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3173 U+0385, not to U+1FEE.
3176 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3177 entry for U+00A5 U+0301.
3179 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3182 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3183 buffer for the output is too small.
3185 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3189 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3190 SSE flags if possible.
3192 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3196 processing for last bytes.
3198 2011-12-22 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3201 (syscall-list-default-options, syscall-list-default-condition)
3202 (syscall-list-includes): Define.
3203 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3204 list of ABIs and options and #if conditions for each ABI. Do not
3205 handle common syscalls between ABIs specially.
3206 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3208 (syscall-list-variants, syscall-list-32bit-options)
3209 (syscall-list-32bit-condition, syscall-list-64bit-options)
3210 (syscall-list-64bit-condition): Define.
3211 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3212 (syscall-list-variants, syscall-list-32bit-options)
3213 (syscall-list-32bit-condition, syscall-list-64bit-options)
3214 (syscall-list-64bit-condition): Define.
3215 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3217 (syscall-list-variants, syscall-list-32bit-options)
3218 (syscall-list-32bit-condition, syscall-list-64bit-options)
3219 (syscall-list-64bit-condition): Define.
3220 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3222 (syscall-list-variants, syscall-list-32bit-options)
3223 (syscall-list-32bit-condition, syscall-list-64bit-options)
3224 (syscall-list-64bit-condition): Define.
3226 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3228 * locale/iso-639.def: Add brx entry.
3231 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3232 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3234 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3235 __feraiseexcept_renamed.
3237 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3240 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3241 EPOLLET with unsigned values.
3242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3245 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3246 to large cancellation.
3247 * math/s_cacoshf.c: Likewise.
3248 * math/s_cacoshl.c: Likewise.
3250 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3254 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3255 * math/s_cacoshf.c: Likewise.
3256 * math/s_cacoshl.c: Likewise.
3258 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3261 * iconv/gconv.h: Define __GCONV_SWAP.
3262 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3263 * iconvdata/utf-16.c: Likewise.
3264 * iconvdata/utf-32.c: Likewise.
3266 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3270 numerator after shifting it by one limb.
3272 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3274 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3275 under [__USE_EXTERN_INLINES].
3277 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3280 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3282 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3284 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3285 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3287 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3288 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3289 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3290 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3291 for strncasecmp/strncasecmp_l compilation.
3292 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3293 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3295 2011-12-08 Marek Polacek <mpolacek@redhat.com>
3298 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3301 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3304 * time/tzfile.c (__tzfile_read): Check values from file header.
3306 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3308 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3309 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3310 * powerpc/powerpc32/dl-start.S: Likewise.
3311 * powerpc/powerpc32/elf/start.S: Likewise.
3312 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3313 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3314 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3315 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3316 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3317 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3318 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3319 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3320 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3321 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3322 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3323 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3324 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3325 * powerpc/powerpc32/memset.S: Likewise.
3326 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3327 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3328 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3329 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3330 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3331 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3332 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3333 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3334 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3335 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3336 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3337 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3338 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3340 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3342 * math/libm-test.inc: Added more nearbyint tests.
3343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3348 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3350 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3353 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3355 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3356 Add wcscpy-ssse3 wcscpy-c.
3357 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3358 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3359 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3360 * sysdeps/x86_64/wcschr.S: New file.
3361 * sysdeps/x86_64/wcsrchr.S: New file.
3362 * string/test-strcmp.c: Remove checking of wcscmp function for
3364 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3365 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3366 wcsrchr-sse2 wcsrchr-c.
3367 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3368 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3369 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3370 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3371 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3372 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3373 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3374 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3375 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3376 * wcsmbc/wcschr.c (WCSCHR): New macro.
3378 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3380 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3381 * wcsmbs/test-wcsrchr.c: New file.
3382 * string/test-strrchr.c: Add wcsrchr support.
3384 * wcsmbs/test-wcscpy.c: New file.
3385 * string/test-strcpy.c: Add wcscpy support.
3388 2011-12-10 Ulrich Drepper <drepper@gmail.com>
3390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3393 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3396 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3398 2011-12-04 Ulrich Drepper <drepper@gmail.com>
3400 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3401 Minor optimizations.
3403 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3404 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3405 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3407 2011-12-03 Ulrich Drepper <drepper@gmail.com>
3409 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3410 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3411 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3412 for gcc to avoid warnings.
3413 * inet/Makefile (tests): Add tst-checks.
3414 * inet/tst-checks.c: New file.
3416 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3419 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3422 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3423 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3425 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3427 2011-12-02 Ulrich Drepper <drepper@gmail.com>
3429 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3432 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3434 2011-11-29 Joseph Myers <joseph@codesourcery.com>
3436 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3437 conditional on GCC version.
3438 (__arch_compare_and_exchange_val_8_acq)
3439 (__arch_compare_and_exchange_val_16_acq)
3440 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3441 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3442 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3444 2011-12-02 Joseph Myers <joseph@codesourcery.com>
3446 * sysdeps/sh/backtrace.c: New file.
3448 2011-12-02 Andreas Schwab <schwab@redhat.com>
3450 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3453 2011-12-01 Andreas Schwab <schwab@redhat.com>
3455 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3456 falling back to utime.
3458 2011-11-30 Andreas Schwab <schwab@redhat.com>
3460 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3461 expectations for float.
3463 2011-11-29 Andreas Schwab <schwab@redhat.com>
3465 * locale/weight.h (findidx): Add parameter len.
3466 * locale/weightwc.h (findidx): Likewise.
3467 * posix/fnmatch_loop.c (FCT): Adjust caller.
3468 * posix/regcomp.c (build_equiv_class): Likewise.
3469 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3470 * posix/regexec.c (check_node_accept_bytes): Likewise.
3471 * string/strcoll_l.c (STRCOLL): Likewise.
3472 * string/strxfrm_l.c (STRXFRM): Likewise.
3474 2011-11-17 Ulrich Drepper <drepper@gmail.com>
3476 * Makefile.in: Remove CVSOPT handling.
3477 * configure.in: Remove use of AC_REVISION.
3478 * iconvdata/Makefile (distribute): No need to filter out CVS.
3479 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3482 2011-11-16 Andreas Schwab <schwab@redhat.com>
3484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3485 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3486 [USE_AS_STRNCASECMP_L]: Likewise.
3487 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3488 NO_TLS_DIRECT_SEG_REFS.
3489 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3490 Fix argument offsets for non-PIC.
3491 [USE_AS_STRNCASECMP_L]: Likewise.
3492 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3493 NO_TLS_DIRECT_SEG_REFS.
3495 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3497 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3499 * locale/loadlocale.c (_nl_load_locale): Likewise.
3501 2011-11-15 Andreas Schwab <schwab@redhat.com>
3503 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3504 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3506 (SYSCALL_GETTIME): Set errno on error.
3508 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3509 count references to noai6ai_cached.
3511 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3513 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3515 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3516 FD_CLOEXEC for /proc/self/maps.
3518 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3519 FD_CLOEXEC for /proc/meminfo.
3521 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3524 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3525 FD_CLOEXEC for given file.
3527 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3529 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3530 FD_CLOEXEC for /etc/hosts.
3531 (_gethtent): Likewise.
3533 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3535 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3536 cancellation and set FD_CLOEXEC for /etc/netgroup.
3538 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3539 reading /etc/publickey.
3541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3542 allow cancellation when reading /etc/group.
3544 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3546 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3548 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3549 when using data file.
3551 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3553 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3554 (write_nis_obj): Use "c" and "e" in fopen.
3556 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3558 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3560 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3562 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3564 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3567 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3569 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3571 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3573 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3574 file parsing and set FD_CLOEXEC.
3576 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3578 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3580 2011-11-14 Andreas Schwab <schwab@redhat.com>
3582 * malloc/arena.c (arena_get2): Don't call reused_arena when
3583 _int_new_arena failed.
3585 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3587 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3588 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3590 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3593 to compile strcasecmp and strncasecmp.
3594 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3595 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3599 2011-11-13 Ulrich Drepper <drepper@gmail.com>
3601 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3602 locale-defines.sym to gen-as-const-headers.
3603 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3604 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3606 to compile strcasecmp and strncasecmp.
3607 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3608 strcasecmp_l and strncasecmp_l.
3609 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3610 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3611 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3612 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3613 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3614 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3615 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3616 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3617 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3618 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3619 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3621 2011-11-12 Ulrich Drepper <drepper@gmail.com>
3623 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3624 result of SYSDEP_GETTIME_CPU to retval.
3625 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3626 parameter list to macro. Remove trailing semicolon. Adjust users.
3628 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3631 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3633 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3635 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3636 from unused variable.
3638 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3640 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3643 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3646 * sunrpc/rpc_prot.c (rejected): Fix case value.
3648 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3649 unsigned long long int to avoid warnings in shift.
3651 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3653 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3656 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3657 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3658 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3660 * nis/nis_table.c (nis_list): Use variable of correct type for
3661 result of __follow_path call.
3663 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3665 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3666 of math functions ceil, trunc, floor, round, and sqrt, when
3667 avaliable on the platform.
3668 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3670 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3671 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3672 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3674 2011-10-30 Marek Polacek <mpolacek@redhat.com>
3676 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3677 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3679 2011-11-11 Roland McGrath <roland@hack.frob.com>
3681 * include/unistd.h: Fix __readlink return type.
3682 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3684 2011-11-11 Ulrich Drepper <drepper@gmail.com>
3686 * stdlib/ucontext.h: Undo last change for makecontext.
3688 2011-11-11 Andreas Schwab <schwab@redhat.com>
3690 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3692 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3693 * setjmp/setjmp.h: Mark functions as non-leaf.
3694 * setjmp/bits/setjmp2.h: Likewise.
3695 * stdlib/ucontext.h: Likewise.
3697 2011-11-10 Andreas Schwab <schwab@redhat.com>
3699 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3700 (reused_arena): Don't check arena limit.
3701 (arena_get2): Atomically check arena limit.
3703 2011-11-08 Ulrich Drepper <drepper@gmail.com>
3705 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3706 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3711 2011-11-07 Andreas Schwab <schwab@redhat.com>
3713 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3714 handler when locking.
3716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3717 Fix size of allocated buffer.
3719 2011-11-04 Andreas Schwab <schwab@redhat.com>
3722 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3723 declarations for long double functions.
3724 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3726 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3728 2011-11-03 Andreas Schwab <schwab@redhat.com>
3730 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3733 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3736 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3738 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3740 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3742 * include/alloca.h (stackinfo_alloca_round): Define.
3743 (extend_alloca): Use it.
3744 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3745 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3748 * scripts/check-local-headers.sh: Ignore libaudit.h.
3750 * nscd/Makefile (extra-objs): Make recursively expanded.
3752 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3754 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3757 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3758 * posix/tst-rfc3484-2.c: Likewise.
3759 * posix/tst-rfc3484-3.c: Likewise.
3761 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3763 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3765 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3766 process_vm_writev from libc using GLIBC_2.15 version.
3768 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3770 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3772 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3775 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3778 * nss/getent.c (initgroups_keys): Show error message in case no group
3781 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3782 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3783 __bump_nl_timestamp.
3784 * nscd/connections (nscd_init): When host database is served open
3785 netlink socket and request notification about configuration changes.
3786 (main_loop_poll): Track netlink file descriptor and bump timestamp
3787 in case data becomes available.
3788 (main_loop_epoll): Likewise.
3789 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3790 (database_pers_head): Add extra_data fileds.
3791 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3792 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3793 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3796 in6ai data, call __free_in6ai.
3797 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3799 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3800 interface information. Reuse previous data if netlink timestamp
3802 (__bump_nl_timestamp): New function.
3803 (__free_in6ai): New function.
3805 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3808 close_not_cancel_no_status here.
3809 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3811 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3814 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3817 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3818 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3819 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3821 2011-07-03 Andreas Jaeger <aj@suse.de>
3824 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3825 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3826 * math/libm-test.inc (sin_test): Add test case.
3828 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3831 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3832 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3834 * elf/chroot_canon.c (chroot_canon): Cleanups.
3836 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3839 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3840 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3842 * string/test-strchr.c: Make usable for strchrnul testing.
3843 * string/test-strchrnul.c: New file.
3844 * string/Makefile (strop-tests): Add strchrnul.
3846 * po/it.po: Update from translation team.
3847 * po/es.po: Likewise.
3849 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3851 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3852 the three constants needed as parameters. Drop the others.
3853 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3854 __m128i_strloadu_tolower.
3855 Create and initialize variable zero and use it in all the places
3856 where _mm_setzero_si128 was used.
3858 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3859 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3860 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3864 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3865 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3866 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3867 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3868 __mpranred, __mptan.
3869 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3870 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3871 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3872 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3873 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3874 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3875 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3876 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3877 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3879 2011-10-28 Andreas Schwab <schwab@redhat.com>
3881 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3883 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3886 wide char related routines to wcsmbs subdir.
3888 2011-10-27 Andreas Schwab <schwab@redhat.com>
3891 * misc/sys/cdefs.h (__THROWNL): Define.
3892 * posix/unistd.h: Use __THREADNL instead of __THREAD
3893 for memory synchronization functions.
3895 2011-10-26 Roland McGrath <roland@hack.frob.com>
3898 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3900 * manual/stdio.texi (Obstack Streams): Node removed.
3902 2011-10-26 Andreas Schwab <schwab@redhat.com>
3904 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3905 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3908 * math/math_private.h (math_force_eval): Allow non-addressable
3910 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3912 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3914 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3917 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3919 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3920 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3922 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3924 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3926 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3927 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3928 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3929 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3930 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3931 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3932 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3934 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3935 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3936 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3937 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3938 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3939 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3940 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3941 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3942 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3943 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3944 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3946 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3947 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3950 place. Use VEX encoding when compiling for AVX.
3952 2011-10-25 Andreas Schwab <schwab@redhat.com>
3954 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3955 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3957 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3959 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3961 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3962 useless if() expression.
3963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3975 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3976 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3977 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3978 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3981 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3983 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3985 2011-10-25 Andreas Schwab <schwab@redhat.com>
3987 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3989 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3991 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3993 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3994 .text section. Avoid duplicate constants.
3995 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4005 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4007 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4010 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4012 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4018 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4019 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4020 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4021 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4024 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4031 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4033 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4036 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4037 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4038 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4039 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4041 2011-10-24 Ulrich Drepper <drepper@gmail.com>
4043 * sysdeps/x86_64/dla.h: Move to ...
4044 * sysdeps/x86_64/fpu/dla.h: ...here.
4045 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4046 situations. Use __builtin_fma only for gcc 4.6 and up.
4048 * config.make.in: Add have-mfma4 entry.
4049 * configure.in: Substitute libc_cv_cc_fma4.
4050 * math/Makefile (dbl-only-routines): Add sincostab.
4051 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4052 Use __sincostab not sincos.
4053 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4060 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4061 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4062 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4063 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4066 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4068 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4069 define aliases when function name is a macro.
4070 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4071 sysdeps/ieee754/dbl-64/sincos.tbl.
4072 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4073 fma4-enabled routines.
4074 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4075 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4076 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4077 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4079 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4083 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4084 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4085 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4086 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4087 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4088 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4089 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4090 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4091 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4092 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4093 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4094 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4095 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4097 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4099 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4101 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4102 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4103 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4105 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4116 2011-10-24 Andreas Schwab <schwab@redhat.com>
4118 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4120 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4124 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4126 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4128 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4129 Remove unused variable magic_bits.
4130 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4132 * string/strnlen.c: Define and use STRNLEN macro.
4133 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4134 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4136 * wcsmbs/wcslen.c: Define and use WCSLEN.
4137 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4138 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4139 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4140 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4141 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4142 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4143 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4145 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4148 strnlen-sse2-no-bsf.
4149 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4151 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4152 Add strnlen support.
4153 (USE_AS_STRNLEN): New macro.
4154 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4155 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4156 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4157 * sysdeps/x86_64/wcslen.S: New file.
4159 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4162 XMM-moves are used for copying on small sizes.
4164 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4166 * wcsmbs/Makefile (strop-tests): Add wcschr.
4167 * wcsmbs/test-wcschr.c: New file.
4168 * string/test-strchr.c: Update.
4172 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4174 * wcsmbs/Makefile (strop-tests): Add wcslen.
4175 * wcsmbs/test-wcslen.c: New file.
4176 * string/test-strlen.c: Update.
4180 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4182 * po/it.po: Update from translation team.
4184 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4186 * sysdeps/x86_64/wcscmp.S: Update.
4187 Fix wrong comparison semantics.
4188 wcscmp shall use signed comparison not unsigned.
4189 Don't use substraction to avoid overflow bug.
4190 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4191 * wcsmbc/wcscmp.c: Likewise.
4192 * string/test-strcmp.c: Likewise.
4193 Add new tests to check cases with negative values.
4195 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4197 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4198 * sysdeps/x86_64/dla.h: ...here. New file.
4199 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4209 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4212 __ynl_finite aliases.
4214 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4218 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4220 [DLA_FMA] (EMULV): Use DLA_FMA.
4221 [DLA_FMA] (MUL12): Use EMULV.
4222 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4223 that are not needed.
4224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4232 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4234 * math/s_nan.c: Undef __nan.
4235 * math/s_nanf.c: Undef __nanf.
4236 * math/s_nanl.c: Undef __nanl.
4237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4240 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4242 * math/s_catan.c: Add branch predictions.
4243 * math/s_catanf.c: Likewise.
4244 * math/s_catanh.c: Likewise.
4245 * math/s_catanhf.c: Likewise.
4246 * math/s_catanhl.c: Likewise.
4247 * math/s_catanl.c: Likewise.
4248 * math/s_cexp.c: Likewise.
4249 * math/s_cexpf.c: Likewise.
4250 * math/s_cexpl.c: Likewise.
4251 * math/s_clog.c: Likewise.
4252 * math/s_clog10.c: Likewise.
4253 * math/s_clog10f.c: Likewise.
4254 * math/s_clog10l.c: Likewise.
4255 * math/s_clogf.c: Likewise.
4256 * math/s_clogl.c: Likewise.
4257 * math/s_csqrt.c: Likewise.
4258 * math/s_csqrtf.c: Likewise.
4259 * math/s_csqrtl.c: Likewise.
4260 * math/s_ctanf.c: Likewise.
4261 * math/s_ctanh.c: Likewise.
4262 * math/s_ctanhf.c: Likewise.
4263 * math/s_ctanhl.c: Likewise.
4264 * math/s_ctanl.c: Likewise.
4266 * math/math_private.h: Define __nan, __nanf, __nanl.
4267 * math/s_cacosh.c: Include <math_private.h>.
4268 * math/s_cacoshl.c: Likewise.
4269 * math/s_casinh.c: Likewise.
4270 * math/s_casinhf.c: Likewise.
4271 * math/s_casinhl.c: Likewise.
4272 * math/s_ccos.c: Rely entire on ccosh.
4273 * math/s_ccosf.c: Rely entire on ccoshf.
4274 * math/s_ccosl.c: Rely entirely on ccoshl.
4275 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4276 Remove tests for FE_INVALID.
4277 * math/s_ccoshf.c: Likewise.
4278 * math/s_ccoshl.c: Likewise.
4279 * math/s_csin.c: Likewise.
4280 * math/s_csinf.c: Likewise.
4281 * math/s_csinh.c Likewise.
4282 * math/s_csinhf.c: Likewise.
4283 * math/s_csinhl.c: Likewise.
4284 * math/s_csinl.c: Likewise.
4285 * math/s_ctan.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4287 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4288 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4290 2011-10-21 Ulrich Drepper <drepper@gmail.com>
4292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4293 compilation problems.
4295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4298 2011-10-20 Ulrich Drepper <drepper@gmail.com>
4300 * sysdeps/i386/configure.in: Test for -mfma4 option.
4301 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4302 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4303 COMMON_CPUID_INDEX_80000001.
4304 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4305 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4306 use it if FMA3 is not supported.
4307 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4309 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4310 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4312 2011-10-20 Andreas Schwab <schwab@redhat.com>
4315 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4316 it would create a cycle with a link time dependency.
4318 2011-10-19 Ulrich Drepper <drepper@gmail.com>
4320 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4322 * string/Makefile (strop-tests): Add rawmemchr.
4323 * string/test-rawmemchr.c: New file.
4325 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4327 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4328 when compiling str{,n}casecmp and when AVX is available. Hook up
4329 new optimized code in initializers.
4331 2011-10-19 Andreas Schwab <schwab@redhat.com>
4333 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4334 __feraiseexcept instead of feraiseexcept.
4336 2011-10-18 Ulrich Drepper <drepper@gmail.com>
4338 * math/math_private.h: Define defaults for libc_fetestexcept and
4340 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4341 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4343 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4345 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4346 libc_fetestexcept and libc_feupdateenv.
4348 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4349 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4350 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4351 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4352 libc_feholdexcept_setround.
4354 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4355 Add s_nearbyint-c and s_nearbyintf-c.
4356 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4358 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4359 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4360 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4361 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4363 * math/math_private.h: Define defaults for libc_fegetround,
4364 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4365 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4366 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4368 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4370 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4371 Remove comments and hacks for old compiler versions.
4372 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4373 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4376 2011-10-18 Andreas Schwab <schwab@redhat.com>
4378 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4379 (__feraiseexcept_renamed): Add __NTH.
4380 (feraiseexcept): Add __NTH. Rename local variables to fix
4381 namespace violations.
4383 2011-10-17 Ulrich Drepper <drepper@gmail.com>
4385 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4387 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4389 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4390 recently added interfaces.
4391 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4393 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4394 about macro parameter expansion.
4396 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4397 __NO_MATH_INLINES is defined. Cleanups.
4399 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4400 and __floorf is target has SSE4.1.
4401 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4402 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4403 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4404 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4406 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4410 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4412 2011-10-17 Andreas Schwab <schwab@redhat.com>
4414 * misc/sys/cdefs.h: Fix last change.
4416 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4419 2011-10-16 Ulrich Drepper <drepper@gmail.com>
4421 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4423 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4429 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4430 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4431 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4432 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4433 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4434 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4435 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4436 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4437 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4438 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4439 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4440 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4441 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4442 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4443 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4444 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4446 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4447 ceil, ceilf, floor, floorf.
4449 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4450 Perform IRELATIVE relocations last.
4452 * elf/do-rel.h: Add another parameter nrelative, replacing the
4453 local variable with the same name. Change name of the function
4454 to end in Rel or Rela (uppercase).
4455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4456 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4457 elf_dynamic_do_##reloc function.
4459 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4461 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4462 is sufficient, at least on modern CPUs.
4464 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4466 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4467 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4469 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4471 * math/bits/math-finite.h: Add entries for exp.
4472 * math/e_expl.c: Add __*_finite alias.
4473 * sysdeps/i386/fpu/e_exp.S: Likewise.
4474 * sysdeps/i386/fpu/e_expf.S: Likewise.
4475 * sysdeps/i386/fpu/e_expl.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4477 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4481 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4484 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4485 is sufficient, at least on modern CPUs.
4487 * ctype/ctype-info.c (__ctype_init): Define.
4488 * include/ctype.h (__ctype_init): Declare.
4489 (__ctype_b_loc): The variable is always initialized.
4490 (__ctype_toupper_loc): Likewise.
4491 (__ctype_tolower_loc): Likewise.
4492 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4493 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4495 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4497 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4499 * configure.in: Also look in $cxxmachine/include for C++ system
4502 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4504 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4505 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4506 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4507 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4508 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4509 (USE_AS_WMEMCMP): New macro.
4511 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4512 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4513 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4514 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4516 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4517 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4518 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4519 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4520 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4521 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4522 (USE_AS_WMEMCMP): New macro.
4523 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4524 * sysdeps/string/test-memcmp.c: Update.
4527 * wcsmbs/wmemcmp.c: Update.
4528 (WMEMCMP): New macro.
4531 2011-10-12 Andreas Jaeger <aj@suse.de>
4534 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4536 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4538 * libio/iofwide.c (do_length): Avoid warning.
4540 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4542 2011-10-14 Ulrich Drepper <drepper@gmail.com>
4544 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4546 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4547 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4548 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4549 * sysdeps/i386/i686/fpu/e_log.S: New file.
4550 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4551 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4553 * ctype/ctype.h: Add support for inlined isXXX functions when
4556 2011-10-14 Andreas Schwab <schwab@redhat.com>
4558 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4560 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4562 2011-10-13 Roland McGrath <roland@hack.frob.com>
4565 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4567 2011-10-13 Andreas Schwab <schwab@redhat.com>
4569 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4570 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4573 * sysdeps/x86_64/memrchr.S: Check for zero size.
4575 * string/stratcliff.c: Add memrchr tests.
4577 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4580 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4581 rawmemchr-sse2 rawmemchr-sse2-bsf.
4582 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4583 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4584 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4585 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4586 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4587 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4588 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4589 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4590 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4591 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4592 * string/memrchr.c (MEMRCHR): New macro.
4594 2011-10-12 Ulrich Drepper <drepper@gmail.com>
4596 Add integration with gcc's -ffinite-math-only and optimize wrapper
4598 * Versions.def: Define GLIBC_2.15 version for libm.
4599 * math/Makefile (headers): Add bits/math-finite.h.
4600 * math/bits/math-finite.h: New file.
4601 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4602 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4603 * math/e_acoshl.c: Add __*_finite alias.
4604 * math/e_acosl.c: Likewise.
4605 * math/e_asinl.c: Likewise.
4606 * math/e_atan2l.c: Likewise.
4607 * math/e_atanhl.c: Likewise.
4608 * math/e_coshl.c: Likewise.
4609 * math/e_exp10.c: Likewise.
4610 * math/e_exp10f.c: Likewise.
4611 * math/e_exp10l.c: Likewise.
4612 * math/e_exp2l.c: Likewise.
4613 * math/e_fmodl.c: Likewise.
4614 * math/e_gammal_r.c: Likewise.
4615 * math/e_hypotl.c: Likewise.
4616 * math/e_j0l.c: Likewise.
4617 * math/e_j1l.c: Likewise.
4618 * math/e_jnl.c: Likewise.
4619 * math/e_lgammal_r.c: Likewise.
4620 * math/e_log10l.c: Likewise.
4621 * math/e_log2l.c: Likewise.
4622 * math/e_logl.c: Likewise.
4623 * math/e_powl.c: Likewise.
4624 * math/e_sinhl.c: Likewise.
4625 * math/e_sqrtl.c: Likewise.
4626 * math/e_scalb.c: Completely rewritten and optimized.
4627 * math/e_scalbf.c: Likewise.
4628 * math/e_scalbl.c: Likewise.
4629 * math/w_acos.c: Likewise.
4630 * math/w_acosf.c: Likewise.
4631 * math/w_acosl.c: Likewise.
4632 * math/w_acosh.c: Likewise.
4633 * math/w_acoshf.c: Likewise.
4634 * math/w_acoshl.c: Likewise.
4635 * math/w_asin.c: Likewise.
4636 * math/w_asinf.c: Likewise.
4637 * math/w_asinl.c: Likewise.
4638 * math/w_atan2.c: Likewise.
4639 * math/w_atan2f.c: Likewise.
4640 * math/w_atan2l.c: Likewise.
4641 * math/w_atanh.c: Likewise.
4642 * math/w_atanhf.c: Likewise.
4643 * math/w_atanhl.c: Likewise.
4644 * math/w_exp10.c: Likewise.
4645 * math/w_exp10f.c: Likewise.
4646 * math/w_exp10l.c: Likewise.
4647 * math/w_fmod.c: Likewise.
4648 * math/w_fmodf.c: Likewise.
4649 * math/w_fmodl.c: Likewise.
4650 * math/w_j0.c: Likewise.
4651 * math/w_j0f.c: Likewise.
4652 * math/w_j0l.c: Likewise.
4653 * math/w_j1.c: Likewise.
4654 * math/w_j1f.c: Likewise.
4655 * math/w_j1l.c: Likewise.
4656 * math/w_jn.c: Likewise.
4657 * math/w_jnf.c: Likewise.
4658 * math/w_log.c: Likewise.
4659 * math/w_logf.c: Likewise.
4660 * math/w_logl.c: Likewise.
4661 * math/w_log10.c: Likewise.
4662 * math/w_log10f.c: Likewise.
4663 * math/w_log10l.c: Likewise.
4664 * math/w_log2.c: Likewise.
4665 * math/w_log2f.c: Likewise.
4666 * math/w_log2l.c: Likewise.
4667 * math/w_pow.c: Likewise.
4668 * math/w_powf.c: Likewise.
4669 * math/w_powl.c: Likewise.
4670 * math/w_remainder.c: Likewise.
4671 * math/w_remainderf.c: Likewise.
4672 * math/w_remainderl.c: Likewise.
4673 * math/w_scalb.c: Likewise.
4674 * math/w_scalbf.c: Likewise.
4675 * math/w_scalbl.c: Likewise.
4676 * math/w_sqrt.c: Likewise.
4677 * math/w_sqrtf.c: Likewise.
4678 * math/w_sqrtl.c: Likewise.
4679 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4680 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4682 * math/math_private.h: Declare __kernel_standard_f.
4683 * math/w_cosh.c: Remove cruft and optimize a bit.
4684 * math/w_coshf.c: Likewise.
4685 * math/w_coshl.c: Likewise.
4686 * math/w_exp2.c: Likewise.
4687 * math/w_exp2f.c: Likewise.
4688 * math/w_exp2l.c: Likewise.
4689 * math/w_hypot.c: Likewise.
4690 * math/w_hypotf.c: Likewise.
4691 * math/w_hypotl.c: Likewise.
4692 * math/w_lgamma.c: Likewise.
4693 * math/w_lgamma_r.c: Likewise.
4694 * math/w_lgammaf.c: Likewise.
4695 * math/w_lgammaf_r.c: Likewise.
4696 * math/w_lgammal.c: Likewise.
4697 * math/w_lgammal_r.c: Likewise.
4698 * math/w_sinh.c: Likewise.
4699 * math/w_sinhf.c: Likewise.
4700 * math/w_sinhl.c: Likewise.
4701 * math/w_tgamma.c: Likewise.
4702 * math/w_tgammaf.c: Likewise.
4703 * math/w_tgammal.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4706 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4707 Minor optimizations. Pretty printing. Remove cruft.
4708 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4709 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4710 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4712 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4713 * sysdeps/i386/fpu/e_asin.S: Likewise.
4714 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4715 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4716 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4717 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4718 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4719 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4721 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4722 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4723 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4724 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4725 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4726 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4727 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4728 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4729 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4730 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4731 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4732 * sysdeps/i386/fpu/e_log.S: Likewise.
4733 * sysdeps/i386/fpu/e_log10.S: Likewise.
4734 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4736 * sysdeps/i386/fpu/e_log2.S: Likewise.
4737 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4738 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4739 * sysdeps/i386/fpu/e_logf.S: Likewise.
4740 * sysdeps/i386/fpu/e_logl.S: Likewise.
4741 * sysdeps/i386/fpu/e_pow.S: Likewise.
4742 * sysdeps/i386/fpu/e_powf.S: Likewise.
4743 * sysdeps/i386/fpu/e_powl.S: Likewise.
4744 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4745 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4746 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4747 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4750 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4751 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4752 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4753 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4754 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4756 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4757 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4758 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4759 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4760 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4761 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4762 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4763 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4764 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4767 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4769 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4770 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4774 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4775 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4776 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4777 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4778 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4779 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4780 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4781 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4782 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4783 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4784 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4785 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4786 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4787 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4788 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4789 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4790 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4791 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4792 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4793 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4794 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4836 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4838 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4841 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4844 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4846 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4847 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4848 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4849 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4850 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4851 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4852 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4853 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4854 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4855 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4856 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4857 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4858 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4859 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4860 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4861 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4862 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4863 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4864 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4865 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4866 (__isnanf): Likewise.
4867 (__isinf_ns): Likewise.
4868 (__isinf_nsf): Likewise.
4869 (__finite): Likewise.
4870 (__finitef): Likewise.
4871 (__ieee754_sqrt): Define as macro.
4872 (__ieee754_sqrtf): Define as macro.
4873 (__ieee754_sqrtl): Define as macro.
4874 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4876 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4877 __FINITE_MATH_ONLY__ consistent.
4878 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4880 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4882 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4885 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4887 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4889 * po/ja.po: Update from translation team.
4891 2011-10-08 Roland McGrath <roland@hack.frob.com>
4893 * locale/programs/locarchive.c (prepare_address_space): New function.
4894 (create_archive, enlarge_archive, open_archive): Use it.
4896 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4897 inside [SHARED], where it is used.
4899 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4901 * nss/getent.c (netgroup_keys): Remove unused variable.
4902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4904 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4906 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4907 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4909 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4910 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4911 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4912 * math/Makefile (libm-calls): Add s_isinf_ns.
4913 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4914 * math/multc3.c: Likewise.
4915 * math/s_casin.c: Likewise.
4916 * math/s_casinf.c: Likewise.
4917 * math/s_casinl.c: Likewise.
4918 * math/s_ccos.c: Likewise.
4919 * math/s_ccosf.c: Likewise.
4920 * math/s_ccosl.c: Likewise.
4921 * math/s_ctan.c: Likewise.
4922 * math/s_ctanf.c: Likewise.
4923 * math/s_ctanh.c: Likewise.
4924 * math/s_ctanhf.c: Likewise.
4925 * math/s_ctanhl.c: Likewise.
4926 * math/s_ctanl.c: Likewise.
4927 * math/w_fmod.c: Likewise.
4928 * math/w_fmodf.c: Likewise.
4929 * math/w_fmodl.c: Likewise.
4930 * math/w_remainder.c: Likewise.
4931 * math/w_remainderf.c: Likewise.
4932 * math/w_remainderl.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4934 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4937 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4938 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4939 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4940 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4942 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4944 * stdio-common/printf_fphex.c: Likewise.
4945 * stdio-common/printf_size.c: Likewise.
4947 * math/e_exp10.c: Include math_private.h using <...> not "...".
4948 * math/e_exp10f.c: Likewise.
4949 * math/e_exp10l.c: Likewise.
4950 * math/e_exp2l.c: Likewise.
4951 * math/e_j0l.c: Likewise.
4952 * math/e_j1l.c: Likewise.
4953 * math/e_jnl.c: Likewise.
4954 * math/e_lgammal_r.c: Likewise.
4955 * math/e_rem_pio2l.c: Likewise.
4956 * math/e_scalb.c: Likewise.
4957 * math/e_scalbf.c: Likewise.
4958 * math/e_scalbl.c: Likewise.
4959 * math/k_cosl.c: Likewise.
4960 * math/k_sinl.c: Likewise.
4961 * math/k_tanl.c: Likewise.
4962 * math/s_cacoshf.c: Likewise.
4963 * math/s_catan.c: Likewise.
4964 * math/s_catanf.c: Likewise.
4965 * math/s_catanh.c: Likewise.
4966 * math/s_catanhf.c: Likewise.
4967 * math/s_catanhl.c: Likewise.
4968 * math/s_catanl.c: Likewise.
4969 * math/s_ccosh.c: Likewise.
4970 * math/s_ccoshf.c: Likewise.
4971 * math/s_ccoshl.c: Likewise.
4972 * math/s_cexp.c: Likewise.
4973 * math/s_cexpf.c: Likewise.
4974 * math/s_cexpl.c: Likewise.
4975 * math/s_clog.c: Likewise.
4976 * math/s_clog10.c: Likewise.
4977 * math/s_clog10f.c: Likewise.
4978 * math/s_clog10l.c: Likewise.
4979 * math/s_clogf.c: Likewise.
4980 * math/s_clogl.c: Likewise.
4981 * math/s_csin.c: Likewise.
4982 * math/s_csinf.c: Likewise.
4983 * math/s_csinh.c: Likewise.
4984 * math/s_csinhf.c: Likewise.
4985 * math/s_csinhl.c: Likewise.
4986 * math/s_csinl.c: Likewise.
4987 * math/s_csqrt.c: Likewise.
4988 * math/s_csqrtf.c: Likewise.
4989 * math/s_csqrtl.c: Likewise.
4990 * math/s_ctan.c: Likewise.
4991 * math/s_ctanf.c: Likewise.
4992 * math/s_ctanh.c: Likewise.
4993 * math/s_ctanhf.c: Likewise.
4994 * math/s_ctanhl.c: Likewise.
4995 * math/s_ctanl.c: Likewise.
4996 * math/s_ldexp.c: Likewise.
4997 * math/s_ldexpf.c: Likewise.
4998 * math/s_ldexpl.c: Likewise.
4999 * math/s_significand.c: Likewise.
5000 * math/s_significandf.c: Likewise.
5001 * math/s_significandl.c: Likewise.
5002 * math/w_acos.c: Likewise.
5003 * math/w_acosf.c: Likewise.
5004 * math/w_acosh.c: Likewise.
5005 * math/w_acoshf.c: Likewise.
5006 * math/w_acoshl.c: Likewise.
5007 * math/w_acosl.c: Likewise.
5008 * math/w_asin.c: Likewise.
5009 * math/w_asinf.c: Likewise.
5010 * math/w_asinl.c: Likewise.
5011 * math/w_atan2.c: Likewise.
5012 * math/w_atan2f.c: Likewise.
5013 * math/w_atan2l.c: Likewise.
5014 * math/w_atanh.c: Likewise.
5015 * math/w_atanhf.c: Likewise.
5016 * math/w_atanhl.c: Likewise.
5017 * math/w_cosh.c: Likewise.
5018 * math/w_coshf.c: Likewise.
5019 * math/w_coshl.c: Likewise.
5020 * math/w_dremf.c: Likewise.
5021 * math/w_exp10.c: Likewise.
5022 * math/w_exp10f.c: Likewise.
5023 * math/w_exp10l.c: Likewise.
5024 * math/w_exp2.c: Likewise.
5025 * math/w_exp2f.c: Likewise.
5026 * math/w_fmod.c: Likewise.
5027 * math/w_fmodf.c: Likewise.
5028 * math/w_fmodl.c: Likewise.
5029 * math/w_hypot.c: Likewise.
5030 * math/w_hypotf.c: Likewise.
5031 * math/w_hypotl.c: Likewise.
5032 * math/w_j0.c: Likewise.
5033 * math/w_j0f.c: Likewise.
5034 * math/w_j0l.c: Likewise.
5035 * math/w_j1.c: Likewise.
5036 * math/w_j1f.c: Likewise.
5037 * math/w_j1l.c: Likewise.
5038 * math/w_jn.c: Likewise.
5039 * math/w_jnf.c: Likewise.
5040 * math/w_jnl.c: Likewise.
5041 * math/w_lgamma.c: Likewise.
5042 * math/w_lgamma_r.c: Likewise.
5043 * math/w_lgammaf.c: Likewise.
5044 * math/w_lgammaf_r.c: Likewise.
5045 * math/w_lgammal.c: Likewise.
5046 * math/w_lgammal_r.c: Likewise.
5047 * math/w_log.c: Likewise.
5048 * math/w_log10.c: Likewise.
5049 * math/w_log10f.c: Likewise.
5050 * math/w_log10l.c: Likewise.
5051 * math/w_log2.c: Likewise.
5052 * math/w_log2f.c: Likewise.
5053 * math/w_log2l.c: Likewise.
5054 * math/w_logf.c: Likewise.
5055 * math/w_logl.c: Likewise.
5056 * math/w_pow.c: Likewise.
5057 * math/w_powf.c: Likewise.
5058 * math/w_powl.c: Likewise.
5059 * math/w_remainder.c: Likewise.
5060 * math/w_remainderf.c: Likewise.
5061 * math/w_remainderl.c: Likewise.
5062 * math/w_scalb.c: Likewise.
5063 * math/w_scalbf.c: Likewise.
5064 * math/w_scalbl.c: Likewise.
5065 * math/w_sinh.c: Likewise.
5066 * math/w_sinhf.c: Likewise.
5067 * math/w_sinhl.c: Likewise.
5068 * math/w_sqrt.c: Likewise.
5069 * math/w_sqrtf.c: Likewise.
5070 * math/w_sqrtl.c: Likewise.
5071 * math/w_tgamma.c: Likewise.
5072 * math/w_tgammaf.c: Likewise.
5073 * math/w_tgammal.c: Likewise.
5075 * po/ja.po: Update from translation team.
5077 2011-09-29 Andreas Jaeger <aj@suse.de>
5080 * sunrpc/netname.c (netname2host): Fix logic.
5084 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5086 * math/w_remainder.c (__remainder): Likewise.
5087 * math/w_remainderf.c (__remainderf): Likewise.
5088 * math/libm-test.inc (remainder_test): Add test cases.
5090 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5092 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5095 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5097 * string/test-memcmp.c: Avoid unncessary #defines.
5098 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5100 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5102 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5103 Use new sse2 version for core i3 - i7 as it's faster
5105 (bit_Prefer_PMINUB_for_stringop): New.
5106 * sysdeps/x86_64/rawmemchr.S: Update.
5107 Replace with faster SSE2 version.
5108 * sysdeps/x86_64/memrchr.S: New file.
5109 * sysdeps/x86_64/memchr.S: Update.
5110 Replace with faster SSE2 version.
5112 2011-09-12 Marek Polacek <mpolacek@redhat.com>
5114 * elf/dl-load.c (lose): Add cast to avoid warning.
5116 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5118 * po/ca.po: Update from translation team.
5120 * inet/getnetgrent_r.c: Hook up nscd.
5121 * nscd/Makefile (routines): Add nscd_netgroup.
5122 (nscd-modules): Add netgroupcache.
5123 (CFLAGS-netgroupcache.c): Define.
5124 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5125 (cache_search): Add const to second parameter.
5126 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5128 (dbs): Add netgrdb entry.
5129 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5130 (verify_persistent_db): Handle netgrdb.
5131 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5132 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5134 (netgroup_response_header): Define.
5135 (innetgroup_response_header): Define.
5136 (datahead): Add netgroup_response_header and innetgroup_response_header
5138 * nscd/nscd.conf: Add entries for netgroup cache.
5139 * nscd/nscd.h (dbtype): Add netgrdb.
5140 (_PATH_NSCD_NETGROUP_DB): Define.
5141 (netgroup_iov_disabled): Declare.
5142 (xmalloc, xcalloc, xrealloc): Move declarations here.
5143 (cache_search): Adjust prototype.
5144 Add netgroup-related prototypes.
5145 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5146 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5147 (__nscd_innetgr): Declare.
5148 * nscd/selinux.c (perms): Use access_vector_t as element type and
5149 add netgroup-related initializers.
5150 * nscd/netgroupcache.c: New file.
5151 * nscd/nscd_netgroup.c: New file.
5152 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5153 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5154 For four parameters use innetgr.
5155 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5156 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5157 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5158 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5160 * nscd/connections.c (register_traced_file): Don't register file
5161 for disabled databases.
5163 2011-10-06 Ulrich Drepper <drepper@gmail.com>
5165 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5167 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5168 from tree and freeing node.
5170 2011-09-25 Jiri Olsa <jolsa@redhat.com>
5172 * nss/nsswitch.c (__nss_database_lookup): Handle
5173 nss_parse_service_list out of memory case.
5175 2011-09-15 Jiri Olsa <jolsa@redhat.com>
5177 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5180 2011-10-04 Andreas Schwab <schwab@redhat.com>
5182 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5183 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5185 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5186 elf_machine_rela, elf_machine_lazy_rel.
5187 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5188 (ELF_DYNAMIC_DO_REL): Likewise.
5189 (ELF_DYNAMIC_DO_RELA): Likewise.
5190 (ELF_DYNAMIC_RELOCATE): Likewise.
5191 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5192 to ELF_DYNAMIC_DO_REL.
5193 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5194 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5195 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5198 skip_ifunc, don't call ifunc function if non-zero.
5199 (elf_machine_rela): Likewise.
5200 (elf_machine_lazy_rel): Likewise.
5201 (elf_machine_lazy_rela): Likewise.
5202 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5203 (elf_machine_lazy_rel): Likewise.
5204 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5206 (elf_machine_lazy_rel): Likewise.
5207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5209 (elf_machine_lazy_rel): Likewise.
5210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5211 (elf_machine_lazy_rel): Likewise.
5212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5213 (elf_machine_lazy_rel): Likewise.
5214 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5215 (elf_machine_lazy_rel): Likewise.
5216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5217 (elf_machine_lazy_rel): Likewise.
5218 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5219 (elf_machine_lazy_rel): Likewise.
5220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5221 (elf_machine_lazy_rel): Likewise.
5223 2011-09-28 Ulrich Drepper <drepper@gmail.com>
5225 * nss/nss_files/files-init.c (_nss_files_init): Use static
5226 initialization for all the *_traced_file variables.
5228 2011-09-28 Andreas Schwab <schwab@redhat.com>
5230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5232 2011-09-27 Roland McGrath <roland@hack.frob.com>
5235 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5237 2011-09-27 Andreas Schwab <schwab@redhat.com>
5239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5240 Reread the line before reparsing it.
5242 2011-09-26 Andreas Schwab <schwab@redhat.com>
5244 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5246 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5247 Maxim Kuvyrkov <maxim@codesourcery.com>
5248 Joseph Myers <joseph@codesourcery.com>
5250 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5251 if needed for __stack_chk_guard.
5253 2011-09-19 Roland McGrath <roland@hack.frob.com>
5255 * sysdeps/posix/spawni.c (script_execute): Always define it.
5256 It will be optimized away if unused.
5257 (maybe_script_execute): New function.
5258 (__spawni): Call it.
5260 * Makerules: Don't include tls.make.
5261 (config-tls): Always set to thread.
5262 * tls.make.c: File removed.
5264 2011-09-19 Mike Frysinger <vapier@gentoo.org>
5266 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5267 * config.make.in (CPPFLAGS-config): New substituted variable.
5269 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5274 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5275 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5277 2011-09-15 Roland McGrath <roland@hack.frob.com>
5279 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5280 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5281 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5282 (CALL_FAIL): Likewise.
5283 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5284 (CALL_FAIL): Macro removed.
5285 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5287 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5289 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5290 for __FINITE_MATH_ONLY__ == 1.
5292 2011-09-15 Andreas Schwab <schwab@redhat.com>
5294 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5295 __ieee754_sqrt instead of sqrt.
5296 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5297 __ieee754_sqrtf instead of sqrtf.
5298 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5299 __floorf instead of floorf.
5300 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5301 __floorf, __truncf instead of floorf, truncf.
5303 2011-09-14 Ulrich Drepper <drepper@gmail.com>
5305 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5307 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5308 __extern_always_inline.
5309 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5312 2011-09-14 Andreas Schwab <schwab@redhat.com>
5314 * elf/rtld.c (dl_main): Also relocate in dependency order when
5315 doing symbol dependency testing.
5317 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5320 Always define `refsym'.
5322 2011-09-13 Andreas Schwab <schwab@redhat.com>
5324 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5325 (__FD_ELT): Renamed from __FDELT.
5326 * misc/bits/select2.h (__FD_ELT): Likewise.
5327 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5328 __FD_MASK instead of __FDELT, __FDMASK.
5329 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5331 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5334 * elf/Makefile (gen-ldd): Fix pattern.
5336 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5337 (init_tls): Likewise.
5339 2011-09-12 Ulrich Drepper <drepper@gmail.com>
5341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5343 2011-09-12 Andreas Schwab <schwab@redhat.com>
5345 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5346 `struct cmsghdr *' instead of `void *'.
5347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5350 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5352 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5354 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5357 2011-09-11 Ulrich Drepper <drepper@gmail.com>
5359 * configure.in: Remove --with-tls option.
5360 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5361 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5362 out in case it is missing.
5363 * sysdeps/ia64/elf/configure.in: Likewise.
5364 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5365 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5366 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5367 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5368 * sysdeps/sh/elf/configure.in: Likewise.
5369 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5370 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5371 * sysdeps/x86_64/elf/configure.in: Likewise.
5372 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5373 * sysdeps/mach/hurd/tls.h: Likewise.
5376 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5379 * configure.in: Fix use of AC_INIT.
5381 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5383 2011-09-10 Ulrich Drepper <drepper@gmail.com>
5385 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5387 * malloc/hooks.c: Likewise.
5390 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5391 variables statically.
5392 (narenas): Initialize.
5393 (list_lock): Initialize.
5394 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5395 initializtion of main_arena and list_lock. Small cleanups.
5396 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5397 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5398 Add initializers to main_arena and mp_.
5399 (malloc_state): Remove pagesize member. Change all users to use
5402 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5403 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5404 is always initialized.
5406 * malloc/malloc.c: Removed unused configurations and dead code.
5407 * malloc/arena.c: Likewise.
5408 * malloc/hooks.c: Likewise.
5409 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5411 * include/tls.h: Removed. USE___THREAD must always be defined.
5412 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5413 * elf/dl-libc.c: Likewise.
5414 * elf/dl-tsd.c: Likewise.
5415 * include/errno.h: Likewise.
5416 * include/netdb.h: Likewise.
5417 * include/resolv.h: Likewise.
5418 * inet/herrno-loc.c: Likewise.
5419 * inet/herrno.c: Likewise.
5420 * malloc/arena.c: Likewise.
5421 * malloc/hooks.c: Likewise.
5422 * malloc/malloc.c: Likewise.
5423 * resolv/res-state.c: Likewise.
5424 * resolv/res_libc.c: Likewise.
5425 * sysdeps/i386/dl-machine.h: Likewise.
5426 * sysdeps/ia64/dl-machine.h: Likewise.
5427 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5428 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5429 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5430 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5431 * sysdeps/sh/dl-machine.h: Likewise.
5432 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5433 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5434 * sysdeps/unix/i386/sysdep.S: Likewise.
5435 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5436 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5441 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5445 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5446 * sysdeps/x86_64/dl-machine.h: Likewise.
5447 * tls.make.c: Likewise.
5449 * configure.in: Remove --with-__thread option. Make tests for
5450 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5451 tls_model attribute fail if no support is available. Remove
5453 * Makeconfig: Adjust for dropped configure option. All features are
5455 * Makerules: Likewise.
5456 * Versions.def: Likewise.
5457 * argp/argp-fmtstream.c: Likewise.
5458 * argp/argp-fmtstream.h: Likewise.
5459 * argp/argp-help.c: Likewise.
5460 * assert/assert.c: Likewise.
5461 * config.h.in: Likewise.
5462 * config.make.in: Likewise.
5463 * configure: Likewise.
5464 * configure.in: Likewise.
5465 * csu/Versions: Likewise.
5466 * csu/init.c: Likewise.
5467 * elf/tst-audit2.c: Likewise.
5468 * elf/tst-tls10.c: Likewise.
5469 * elf/tst-tls10.h: Likewise.
5470 * elf/tst-tls11.c: Likewise.
5471 * elf/tst-tls12.c: Likewise.
5472 * elf/tst-tls14.c: Likewise.
5473 * elf/tst-tlsmod11.c: Likewise.
5474 * elf/tst-tlsmod12.c: Likewise.
5475 * elf/tst-tlsmod13.c: Likewise.
5476 * elf/tst-tlsmod13a.c: Likewise.
5477 * elf/tst-tlsmod14a.c: Likewise.
5478 * elf/tst-tlsmod15b.c: Likewise.
5479 * elf/tst-tlsmod16a.c: Likewise.
5480 * elf/tst-tlsmod16b.c: Likewise.
5481 * elf/tst-tlsmod7.c: Likewise.
5482 * elf/tst-tlsmod8.c: Likewise.
5483 * elf/tst-tlsmod9.c: Likewise.
5484 * gmon/gmon.c: Likewise.
5485 * grp/fgetgrent_r.c: Likewise.
5486 * grp/putgrent.c: Likewise.
5487 * hurd/fopenport.c: Likewise.
5488 * include/libc-symbols.h: Likewise.
5489 * include/tls.h: Likewise.
5490 * intl/gettextP.h: Likewise.
5491 * intl/loadinfo.h: Likewise.
5492 * locale/global-locale.c: Likewise.
5493 * locale/localeinfo.h: Likewise.
5494 * mach/devstream.c: Likewise.
5495 * malloc/arena.c: Likewise.
5496 * malloc/set-freeres.c: Likewise.
5497 * misc/err.c: Likewise.
5498 * misc/getttyent.c: Likewise.
5499 * misc/mntent_r.c: Likewise.
5500 * posix/getopt.c: Likewise.
5501 * posix/wordexp.c: Likewise.
5502 * pwd/fgetpwent_r.c: Likewise.
5503 * resolv/Versions: Likewise.
5504 * resolv/res_hconf.c: Likewise.
5505 * shadow/fgetspent_r.c: Likewise.
5506 * shadow/putspent.c: Likewise.
5507 * stdio-common/printf_fphex.c: Likewise.
5508 * stdio-common/tmpfile.c: Likewise.
5509 * stdlib/abort.c: Likewise.
5510 * stdlib/fmtmsg.c: Likewise.
5511 * sunrpc/auth_unix.c: Likewise.
5512 * sunrpc/clnt_perr.c: Likewise.
5513 * sunrpc/clnt_tcp.c: Likewise.
5514 * sunrpc/clnt_udp.c: Likewise.
5515 * sunrpc/clnt_unix.c: Likewise.
5516 * sunrpc/openchild.c: Likewise.
5517 * sunrpc/svc_simple.c: Likewise.
5518 * sunrpc/svc_tcp.c: Likewise.
5519 * sunrpc/svc_udp.c: Likewise.
5520 * sunrpc/svc_unix.c: Likewise.
5521 * sunrpc/xdr.c: Likewise.
5522 * sunrpc/xdr_array.c: Likewise.
5523 * sunrpc/xdr_rec.c: Likewise.
5524 * sunrpc/xdr_ref.c: Likewise.
5525 * sunrpc/xdr_stdio.c: Likewise.
5527 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5529 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5531 2011-07-03 Andreas Jaeger <aj@suse.de>
5533 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5534 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5535 regenerate with gen-libm-tests.pl.
5537 2010-05-12 Petr Baudis <pasky@suse.cz>
5540 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5541 around j0() zero points by switching to j1().
5542 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5549 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5551 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5554 Patch in part by Pavel Roskin <proski@gnu.org>.
5557 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5559 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5560 Free memory block if necessary.
5563 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5564 be NULL. Don't lock in this case.
5566 2011-09-09 Roland McGrath <roland@hack.frob.com>
5568 * elf/elf.h (ELFOSABI_GNU): New macro.
5569 (ELFOSABI_LINUX): Define to that.
5571 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5573 * string/strncat.c (strncat): Undef the symbol in case it has been
5574 defined in bits/string.h.
5576 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5578 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5580 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5583 2011-08-17 Andreas Jaeger <aj@suse.de>
5585 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5587 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5588 Ian Lance Taylor <iant@google.com>
5590 * math/libm-test.inc (lround_test): New testcase.
5591 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5593 2011-09-08 Ulrich Drepper <drepper@gmail.com>
5595 * Makefile: Remove support for automatic cvs check-ins.
5596 * Makerules: Likewise.
5597 * config.make.in: Likewise.
5598 * configure.in: Likewise.
5599 * intl/Makefile: Likewise.
5600 * locale/Makefile: Likewise.
5601 * po/Makefile: Likewise.
5602 * posix/Makefile: Likewise.
5603 * sysdeps/gnu/Makefile: Likewise.
5604 * sysdeps/mach/hurd/Makefile: Likewise.
5605 * sysdeps/sparc/sparc32/Makefile: Likewise.
5608 * posix/Makefile (bug-regex32-ENV): Define.
5609 Patch by John Stanley <jpsinthemix@verizon.net>.
5611 * misc/Makefile (headers): Add bits/select2.h.
5612 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5613 * misc/bits/select2.h: New file.
5614 * include/bits/select2.h: New file.
5615 * debug/Makefile (routines): Add fdelt_chk.
5616 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5617 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5619 * debug/fdelt_chk.c: New file.
5621 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5622 * wcsmbs/test-wmemcmp.c: Likewise.
5623 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5624 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5626 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5628 * string/Makefile (strop-tests): Add memcmp.
5629 * string/test-wmemcmp.c: New file.
5630 * string/test-memcmp.c: Add wmemcmp support.
5632 2011-09-08 Roland McGrath <roland@hack.frob.com>
5635 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5638 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5639 garbage value in a __mach_port_mod_refs call in the cases of the
5640 task-self and thread-self ports.
5642 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5644 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5646 2011-09-08 Andreas Schwab <schwab@redhat.com>
5648 * elf/dl-load.c (lose): Check for non-null L.
5650 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5652 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5654 * elf/dl-libc.c (dlerror_run): Pass back error code from
5658 * elf/dl-load.c (lose): Free l_origin if it is valid.
5660 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5662 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5666 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5667 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5669 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5672 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5673 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5674 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5675 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5676 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5677 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5678 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5679 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5680 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5682 2011-08-15 Alan Modra <amodra@gmail.com>
5685 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5686 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5687 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5688 ppc_mcount to static-only-routines.
5689 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5691 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5692 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5694 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5696 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5697 for finite and infinity parameters.
5699 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5702 and add nop instructions for throughput optimization.
5703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5705 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5707 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5708 aligned copy for power7 with vector-scalar instructions.
5709 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5711 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5716 2011-09-07 Andreas Schwab <schwab@redhat.com>
5719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5722 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5724 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5725 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5726 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5727 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5730 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5732 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5733 Forgot to demangle the pointer.
5735 * sysdeps/i386/sysdep.h: Define atom_text_section.
5736 * sysdeps/x86_64/sysdep.h: Likewise.
5737 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5738 section with atom_text_section.
5739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5740 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5743 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5745 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5746 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5747 already be defined. Change to take two parameters and don't assign
5748 result to variable. Adjust all users.
5749 Define INTERNAL_GETTIME if not already defined.
5750 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5753 HAVE_CLOCK_GETTIME_VSYSCALL.
5754 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5757 gettimeofday vsyscall, just use time.
5759 2011-09-06 Andreas Schwab <schwab@redhat.com>
5761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5764 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5766 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5770 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5771 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5772 syscall if possible.
5774 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5776 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5777 e_ident. Don't pass to find_mapsXX.
5778 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5780 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5783 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5784 * sysdeps/x86_64/multiarch/strchr.S: Update.
5785 Check bit_slow_BSF bit.
5786 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5787 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5788 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5790 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5793 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5796 (__spawni): Change last parameter to be flag. Test
5797 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5798 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5799 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5800 * posix/spawni.c: Likewise.
5801 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5802 * posix/spawnp.c: Likewise. Change normal version to use
5803 SPAWN_XFLAGS_USE_PATH.
5804 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5805 SPAWN_XFLAGS_TRY_SHELL.
5808 * posix/glob.h: Remove gcc 1.x support.
5811 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5813 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5816 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5818 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5819 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5820 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5822 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5825 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5827 * sysdeps/x86_64/wcscmp.S: New file.
5829 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5830 wcscmp-c wcscmp-sse2
5831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5832 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5833 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5834 * wcsmbs/wcscmp.c: Allow renaming.
5836 2011-09-05 David S. Miller <davem@davemloft.net>
5838 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5839 stack slot, rather than the struct return pointer slot.
5840 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5841 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5843 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5845 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5847 * po/ja.po: Update from translation team.
5850 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5851 kernel in 64-bit binaries.
5853 2011-09-01 David S. Miller <davem@davemloft.net>
5855 * elf/elf.h (HWCAP_SPARC_*): Move to..
5856 * sysdeps/sparc/sysdep.h: this new file and add new values.
5857 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5858 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5859 _DL_HWCAP_COUNT to 24.
5860 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5862 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5863 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5864 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5866 instead of magic constants.
5867 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5869 2011-08-31 David S. Miller <davem@davemloft.net>
5871 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5873 Reimplement to do errno handling inline.
5874 (SYSCALL_ERROR_HANDLER): New macro.
5875 (__SYSCALL_STRING): Do not do errno handling in asm.
5876 (__CLONE_SYSCALL_STRING): Delete.
5877 (__INTERNAL_SYSCALL_STRING): Delete.
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5879 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5880 (PSEUDO): Reimplement to do errno handling inline.
5881 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5882 (SYSCALL_ERROR_HANDLER): New macro.
5883 (__SYSCALL_STRING): Do not do errno handling in asm.
5884 (__CLONE_SYSCALL_STRING): Delete.
5885 (__INTERNAL_SYSCALL_STRING): Delete.
5886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5887 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5889 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5890 (inline_syscall*): Add 'err' argument.
5891 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5892 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5893 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5894 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5896 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5897 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5899 2011-08-30 Andreas Schwab <schwab@redhat.com>
5901 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5903 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5905 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5908 2011-08-24 David S. Miller <davem@davemloft.net>
5910 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5912 2011-08-24 Andreas Schwab <schwab@redhat.com>
5914 * elf/Makefile: Add rules to build and run unload8 test.
5915 * elf/unload8.c: New file.
5916 * elf/unload8mod1.c: New file.
5917 * elf/unload8mod1x.c: New file.
5918 * elf/unload8mod2.c: New file.
5919 * elf/unload8mod3.c: New file.
5921 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5924 2011-08-23 David S. Miller <davem@davemloft.net>
5926 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5927 subtract stack bias.
5928 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5929 %sp not %fp in calculations.
5930 (_JMPBUF_UNWINDS_ADJ): Likewise.
5932 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5933 (aio_suspend): Call it to force an exception region around the
5934 AIO_MISC_WAIT() invocation.
5936 2011-08-23 Andreas Schwab <schwab@redhat.com>
5938 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5941 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5943 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5945 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5947 (Elf64_FuncDesc): Remove.
5949 2011-08-22 David S. Miller <davem@davemloft.net>
5951 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5952 sigaltstack check, add missing cfi directives.
5953 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5954 missing cfi directives, and sigaltstack handling.
5956 2011-08-16 Andreas Schwab <schwab@redhat.com>
5959 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5960 object is seen twice.
5961 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5963 * elf/Makefile (distribute): Add tst-initorder2.c.
5964 (tests): Add tst-initorder2.
5965 (modules-names): Add tst-initorder2a tst-initorder2b
5966 tst-initorder2c tst-initorder2d. Add rules to build them.
5967 ($(objpfx)tst-initorder2.out): New rule.
5968 * elf/tst-initorder2.c: New file.
5969 * elf/tst-initorder2.exp: New file.
5971 2011-08-22 Andreas Schwab <schwab@redhat.com>
5973 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5975 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5976 dependencies back to end of function.
5978 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5981 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5984 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5986 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5987 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5988 of __vdso_gettimeofday.
5989 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5990 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5992 (_libc_vdso_platform_setup): Remove initialization of
5993 __vdso_gettimeofday and __vdso_time.
5995 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5997 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5999 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6002 * elf/dl-open.c (add_to_global): Report additions to the global scope
6003 for LD_DEBUG=scopes.
6004 (dl_open_worker): Also print scope of newly loaded dependencies.
6005 (_dl_show_scope): Indicate if there is no scope.
6008 * stdio-common/Makefile (tests): Add bug24.
6009 * stdio-common/bug24.c: New file.
6011 2011-08-19 Andreas Jaeger <aj@suse.de>
6014 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6015 non-existant file when using close-on-exec mode.
6017 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6020 the very first instruction.
6022 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6023 the CFI state in the end.
6024 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6025 inclusion of dl-trampoline.h.
6026 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6028 2011-08-19 Andreas Schwab <schwab@redhat.com>
6030 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6031 expectations for long double.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6034 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6036 2011-08-14 David S. Miller <davem@davemloft.net>
6038 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6039 artificual limit depends upon the system page size.
6041 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6043 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6044 * resolv/Makefile: Define CFLAGS-libresolv.
6046 2011-08-17 Andreas Schwab <schwab@redhat.com>
6048 * nss/makedb.c (compute_tables): Make variables used in nested
6051 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6053 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6054 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6055 if buffer was too small.
6057 * elf/pldd.c (main): Attach to all threads in the process.
6058 Rewrite /proc handling to use *at functions.
6060 2011-08-16 Ulrich Drepper <drepper@gmail.com>
6062 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6063 specifies first scope to show.
6064 (dl_open_worker): Update callers. Move printing scope of new
6065 object to before the relocation.
6066 * elf/rtld.c (dl_main): Update _dl_show_scope call.
6067 * sysdeps/generic/ldsodefs.h: Update declaration.
6069 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6070 string for the scope number.
6072 2011-08-14 Ulrich Drepper <drepper@gmail.com>
6074 * nscd/servicescache.c (cache_addserv): Make sure written is always
6077 2011-08-14 Roland McGrath <roland@hack.frob.com>
6079 * sysdeps/i386/i486/bits/atomic.h
6080 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6081 statement expression, so as to suppress "set but not used" warning.
6082 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6084 * string/strncat.c (STRNCAT): Use prototype definition.
6086 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6087 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6089 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6090 (localedef-modules): Add localedef.
6091 (locale-modules): Add locale.
6093 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6094 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6097 2011-08-14 David S. Miller <davem@davemloft.net>
6099 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6100 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6102 2011-08-13 Ulrich Drepper <drepper@gmail.com>
6104 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6105 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6106 * elf/rtld.c (dl_main): Set l_name of vDSO.
6107 Call _dl_show_scope when DL_DEBUG_SCOPES.
6108 (process_dl_debug): Recognize scopes flag and also set it for all.
6109 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6110 Declare _dl_show_scope.
6112 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6113 (do_dlopen): Pass caller_dlopen to dl_open.
6114 (__libc_dlopen_mode): Initialize caller_dlopen.
6116 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6117 of libc. Make tolower call locale-independent. Optimize a bit by
6118 using isdigit instead of isalnum.
6119 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6121 2011-08-12 Ulrich Drepper <drepper@gmail.com>
6123 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6124 was a dependency or dynamically loaded.
6126 2011-08-11 Ulrich Drepper <drepper@gmail.com>
6128 * intl/l10nflist.c: Allow architecture-specific pop function.
6129 * sysdeps/x86_64/l10nflist.c: New file.
6131 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6134 2011-08-10 Andreas Schwab <schwab@redhat.com>
6136 * include/dirent.h: Add libc_hidden_proto for scandirat and
6137 scandirat64. Don't declare __scandirat64.
6138 * dirent/scandirat.c: Add libc_hidden_def.
6139 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6140 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6142 2011-08-10 David S. Miller <davem@davemloft.net>
6144 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6146 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6148 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6150 2011-08-09 Ulrich Drepper <drepper@gmail.com>
6152 * Versions.def [libc]: Add GLIBC_2.15.
6153 * dirent/Makefile (routines): Add scandirat and scandirat64.
6154 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6156 * dirent/dirent.h: Declare scandirat and scandirat64.
6157 * dirent/scandirat.c: New file.
6158 * dirent/scandirat64.c: New file.
6159 * sysdeps/wordsize-64/scandirat.c: New file.
6160 * sysdeps/wordsize-64/scandirat64.c: New file.
6161 * dirent/opendir.c: Define opendirat.
6162 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6164 * dirent/scandir64.c: Adjust for scandir.c change.
6165 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6166 __scandirat64, and __scandir_cancel_handler.
6167 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6168 additional parameter and use openat instead of open (outside of ld.so).
6169 Add new __opendir as wrapper around __opendirat.
6170 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6171 here without requiring old scandirat implementation.
6173 2011-08-08 Ulrich Drepper <drepper@gmail.com>
6175 * dirent/scandir.c (cancel_handler): Renamed to
6176 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6177 defined. Adjust users.
6178 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6181 2011-08-04 Ulrich Drepper <drepper@gmail.com>
6183 * string/test-string.h (IMPL): Use __STRING to expand name and then
6186 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6189 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6191 * string/Makefile: Update.
6192 (strop-tests): Append strncat.
6193 * string/test-wcscmp.c: New file.
6194 New comprehensive test for wcscmp.
6195 * string/test-strcmp.c: Update.
6198 2011-07-22 Andreas Schwab <schwab@redhat.com>
6200 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6203 2011-07-26 Andreas Schwab <schwab@redhat.com>
6205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6206 encoding to ACE if AI_IDN.
6208 2011-08-01 Jakub Jelinek <jakub@redhat.com>
6210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6211 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6213 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6215 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6216 Fix overflow bug in strncat.
6217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6219 * string/test-strncat.c: Update.
6220 Add new tests for checking overflow bugs.
6222 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6225 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6226 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6227 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6229 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6230 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6231 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6232 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6235 (USE_AS_STRCAT): Define.
6236 Add strcat and strncat support.
6237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6239 2011-07-25 Andreas Schwab <schwab@redhat.com>
6241 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6242 __n bigger than INT_MAX+1.
6243 (__strncmp_g): Likewise.
6245 2011-07-23 Ulrich Drepper <drepper@gmail.com>
6247 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6248 * libio/stido.h: Likewise.
6250 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6255 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6256 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6258 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6262 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6267 (_dl_x86_64_save_sse): Likewise.
6269 2011-07-22 Ulrich Drepper <drepper@gmail.com>
6271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6273 (_dl_x86_64_save_sse): Likewise.
6275 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6277 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6279 2011-07-21 Andreas Schwab <schwab@redhat.com>
6281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6283 (_dl_x86_64_save_sse): Use correct AVX check.
6285 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6288 bug in strncpy/strncat.
6289 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6291 2011-07-21 Ulrich Drepper <drepper@gmail.com>
6293 * string/tester.c (test_strcat): Add tests for different alignments
6294 of source and destination.
6295 (test_strncat): Likewise.
6297 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6300 * posix/glob.c (glob): Check passed in values before using them in
6301 expressions to avoid some overflows.
6302 (glob_in_dir): Likewise.
6305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6306 check for AVX enablement so that we don't crash with old kernels and
6308 * elf/tst-audit4.c: Add same checks here.
6309 * elf/tst-audit6.c: Likewise.
6311 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6313 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6315 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6317 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6319 * po/cs.po: Update from translation team.
6320 * po/bg.po: Likewise.
6322 2011-07-12 Marek Polacek <mpolacek@redhat.com>
6324 * misc/sys/cdefs.h: Add support for const attribute.
6325 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6326 to gnu_dev_{major,minor,makedev} functions.
6328 2011-07-20 Marek Polacek <mpolacek@redhat.com>
6330 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6332 2011-07-20 Andreas Schwab <schwab@redhat.com>
6334 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6337 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6340 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6341 register in order to avoid conflicts with the soft frame pointer
6342 being held in r11 when necessary.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6344 (INTERNAL_VSYSCALL_NCS): Likewise.
6346 2011-07-14 Marek Polacek <mpolacek@redhat.com>
6348 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6349 * elf/dl-fini.c (_dl_fini): Adjust caller.
6350 * elf/dl-close.c (_dl_close_worker): Likewise.
6351 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6353 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6355 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6356 "aux_cache->nlibs < 0".
6358 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6359 in the reload-count case.
6361 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6364 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6365 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6366 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6367 * sysdeps/x86_64/multiarch/strcat.S: New file.
6368 * sysdeps/x86_64/multiarch/strncat.S: New file.
6369 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6370 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6371 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6372 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6374 (USE_AS_STRCAT): Define.
6375 Add strcat and strncat support.
6376 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6377 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6378 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6379 * string/strncat.c: Update.
6380 (USE_AS_STRNCAT): Define.
6381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6382 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6384 * sysdeps/x86_64/multiarch/init-arch.h
6385 (bit_Prefer_PMINUB_for_stringop): New.
6386 (index_Prefer_PMINUB_for_stringop): Likewise.
6387 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6388 bit_Prefer_PMINUB_for_stringop.
6390 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6392 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6394 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6395 of casting of buffer.
6396 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6397 buffer32 and buffer64.
6398 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6399 writes instead of casting of buffer.
6400 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6402 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6405 2011-07-19 Andreas Schwab <schwab@redhat.com>
6407 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6409 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6411 * nscd/nscd.c (termination_handler): Don't do anything for a database
6412 if it has not yet been initialized.
6414 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6416 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6418 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6420 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6422 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6424 * po/nl.po: Update from translation team.
6425 * po/sv.po: Likewise.
6427 2011-07-16 Roland McGrath <roland@hack.frob.com>
6429 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6430 now disallowed by GCC.
6432 * configure.in (use-default-link): Default to yes if a test -shared
6433 link meets our qualifications.
6434 * configure: Regenerated.
6436 * config.make.in (output-format): New variable.
6437 * configure.in: Check for ld --print-output-format support.
6438 * configure: Regenerated.
6439 * Makerules ($(common-objpfx)format.lds)
6440 [$(output-format) != unknown]: Just use $(output-format),
6441 instead of the linker-script munging.
6443 2011-07-14 Roland McGrath <roland@hack.frob.com>
6445 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6446 of $(common-objpfx)shlib.lds.
6447 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6449 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6450 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6452 * configure.in (-z relro check): Adjust test code to add a large
6453 writable data section after it.
6454 * configure: Regenerated.
6456 2011-07-11 Roland McGrath <roland@hack.frob.com>
6458 * configure.in (-z relro check): Fix test code to make the variable
6460 * configure: Regenerated.
6462 2011-07-11 Ulrich Drepper <drepper@gmail.com>
6464 * nscd/nscd.h (struct traced_file): Define.
6465 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6466 elements. Add traced_files.
6467 (inotify_fd): Declare.
6468 (register_traced_file): Declare.
6469 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6470 (inotify_fd): Export.
6471 (resolv_conf_descr): Remove.
6472 (nscd_init): Move inotify descriptor creation to main.
6473 Don't register files for notification here.
6474 (register_traced_file): New function.
6475 (invalidate_cache): Don't use reset_res to determine whether to call
6476 res_init, go through the list of registered files.
6477 (main_loop_poll): The inotify descriptors are now stored in the
6478 structures for the traced files.
6479 (main_loop_epoll): Likewise
6480 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6481 to __nss_disable_nscd.
6482 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6483 for a database anymore. Check the records for all the registered
6485 * nss/Makefile (libnss_files-routines): Add files-init.
6486 (libnss_db-routines): Add db-init.
6487 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6488 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6489 * nss/nss_db/db-init.c: New file.
6490 * nss/nss_files/files-init.c: New file.
6491 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6492 __nss_lookup_function.
6493 (__nss_lookup_function): Call nss_load_library.
6494 (nss_load_all_libraries): New function.
6495 (__nss_disable_nscd): Take parameter with callback function for files
6496 to register. Set is_nscd. Load all the DSOs for the NSS modules
6497 used for the cached services.
6498 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6499 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6500 options for features to all the files in nscd.
6502 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6504 2011-07-10 Roland McGrath <roland@hack.frob.com>
6506 * csu/elf-init.c (__libc_csu_init): Comment typo.
6508 2011-07-09 Ulrich Drepper <drepper@gmail.com>
6510 * po/pl.po: Update from translation team.
6511 * po/ja.po: Likewise.
6512 * po/ru.po: Likewise.
6513 * po/ko.po: Likewise.
6514 * po/fr.po: Likewise.
6516 2011-07-09 Roland McGrath <roland@hack.frob.com>
6518 * configure.in (.ctors/.dtors header and trailer check):
6519 Use an empirical test on a built program.
6520 * configure: Regenerated.
6522 * configure.in (-z relro check): Use an empirical test on a built DSO.
6523 Detect, but do not require, on ia64.
6524 * configure: Regenerated.
6526 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6527 Update tests that use readelf to use $READELF instead.
6528 * configure: Regenerated.
6530 2011-07-08 Ulrich Drepper <drepper@gmail.com>
6532 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6533 if the result is not used.
6535 2011-07-05 Andreas Jaeger <aj@suse.de>
6538 * stdlib/tst-strtod.c: Add testcase.
6540 2011-07-07 Ulrich Drepper <drepper@gmail.com>
6542 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6543 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6544 The latter has a higher limit. Take additional parameter to pass to
6546 (__pathconf): Pass file to __statfs_link_max.
6547 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6549 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6553 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6554 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6556 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6557 (__statfs_filesize_max): Likewise.
6558 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6560 2011-07-05 Andreas Jaeger <aj@suse.de>
6562 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6564 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6566 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6568 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6571 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6573 * Makefile (strop-tests): Add strncat.
6574 * string/test-strncat.c: New file.
6576 2011-06-30 Marek Polacek <mpolacek@redhat.com>
6578 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6580 2011-06-21 Andreas Jaeger <aj@suse.de>
6582 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6583 Copy rule from iconvdata/Makefile.
6585 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6588 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6589 but no long options are defined, just return 'W'.
6591 2011-06-22 Marek Polacek <mpolacek@redhat.com>
6594 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6596 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6598 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6600 (innetgr): Likewise.
6602 2011-07-05 Roland McGrath <roland@hack.frob.com>
6604 * config.make.in (install_root): Default to $(DESTDIR).
6606 2011-07-05 Ulrich Drepper <drepper@gmail.com>
6608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6610 2011-07-02 Roland McGrath <roland@hack.frob.com>
6612 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6614 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6615 containing directory rather than embedding absolute directory names.
6617 * scripts/check-local-headers.sh: Rewritten using awk.
6618 Match by word, not by line. Print error messages for matches.
6619 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6621 * Makerules [shlib-lds-flags empty]:
6622 ($(common-objpfx)libc_pic.opts): New target.
6623 ($(common-objpfx)libc_pic.os.clean): New target.
6624 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6626 * config.make.in (OBJCOPY): New variable.
6627 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6628 * configure: Regenerated.
6630 * config.make.in (use-default-link): New variable.
6631 * configure.in (use_default_link): Grok --with-default-link to set it.
6632 * configure: Regenerated.
6633 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6634 (shlib-lds, shlib-lds-flags): Define to empty.
6636 * Makerules (shlib-lds): New variable.
6637 (shlib-lds-flags): New variable.
6638 (build-shlib, build-moduile, build-module-asneeded): Use it.
6639 ($(common-objpfx)libc.so): Use $(shlib-lds).
6640 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6641 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6643 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6644 DT_FLAGS/DT_FLAGS_1 with zero flags.
6646 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6647 linker script munging.
6649 2011-07-02 Ulrich Drepper <drepper@gmail.com>
6651 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6653 * crypt/sha512.c (sha512_process_block): Perform total addition using
6654 128-bit if possible.
6655 (__sha512_finish_ctx): Likewise.
6656 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6658 * crypt/sha256.c (SWAP64): Define.
6659 (sha256_process_block): Perform total addition using 64-bit if
6661 (__sha256_finish_ctx): Likewise.
6663 2011-07-01 Ulrich Drepper <drepper@gmail.com>
6665 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6667 * nscd/hstcache.c (cache_addhst): Likewise.
6668 * nscd/grpcache.c (cache_addgr): Likewise.
6669 * nscd/aicache.c (addhstaiX): Likewise
6670 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6672 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
6674 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6676 * nscd/hstcache.c (cache_addhst): Likewise.
6677 * nscd/grpcache.c (cache_addgr): Likewise.
6678 * nscd/aicache.c (addhstaiX): Likewise
6680 2011-07-01 Andreas Schwab <schwab@redhat.com>
6682 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6683 domain only when needed.
6685 2011-06-30 Andreas Schwab <schwab@redhat.com>
6687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6690 2011-06-29 Ulrich Drepper <drepper@gmail.com>
6692 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6693 are re-adding the entry.
6694 * nscd/servicescache.c (cache_addserv): Likewise.
6696 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6698 * sysdeps/generic/dl-irel.h: fix protection against multiple
6700 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6702 2011-06-28 Ulrich Drepper <drepper@gmail.com>
6705 * malloc/memusage.sh: Fix quoting in message.
6706 * debug/xtrace.sh: Likewise.
6708 * configure.in: Remove support for --experimental-malloc option, make
6710 * config.make.in: Likewise.
6711 * malloc/Makefile: Likewise.
6713 2011-06-27 Andreas Schwab <schwab@redhat.com>
6715 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6716 two-byte characters.
6718 2011-06-27 Roland McGrath <roland@hack.frob.com>
6720 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6721 AC_CACHE_CHECK invocation.
6722 * configure: Regenerated.
6724 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6726 2011-06-27 Ulrich Drepper <drepper@gmail.com>
6729 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6730 bit from old_res_options.
6732 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6734 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6735 value type for setfct.
6737 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6739 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6740 __gettimeofday instead of gettimeofday.
6742 2011-06-26 Ulrich Drepper <drepper@gmail.com>
6744 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6746 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6748 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6753 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6756 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6757 strcpy-sse2-unaligned strncpy-sse2-unaligned
6758 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6759 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6760 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6761 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6762 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6763 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6764 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6765 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6766 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6767 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6768 (STRCPY): Support SSE2 and SSSE3 versions.
6770 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6773 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6774 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6775 kernels which artificially limit size of requests.
6777 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6780 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6781 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6782 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6783 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6784 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6785 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6786 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6787 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6788 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6789 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6790 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6791 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6792 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6793 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6795 Enable unaligned load optimization for Intel Core i3, i5 and i7
6797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6799 (index_Fast_Unaligned_Load): Define.
6800 (HAS_FAST_UNALIGNED_LOAD): Define.
6802 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6804 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6806 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6810 until it is clear that the information is realy needed.
6811 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6813 2011-06-22 Andreas Schwab <schwab@redhat.com>
6815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6817 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6819 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6820 /sys/devices/system/cpu/online if it is usable.
6822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6823 reading the information from the /proc filesystem to once a second.
6825 2011-06-21 Andreas Jaeger <aj@suse.de>
6827 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6828 NULL after inclusion of kernel headers.
6830 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6832 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6833 calls to internal_setent.
6836 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6837 addresses using gethostbyname4_r ignore IPv4 addresses.
6839 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6840 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6842 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6844 2011-06-20 David S. Miller <davem@davemloft.net>
6846 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6848 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6850 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6852 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6853 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6854 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6855 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6856 * sysdeps/x86_64/dl-irel.h: Likewise.
6858 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6859 * elf/dl-sym.c: Likewise.
6861 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6863 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6864 need to dereference resplen2.
6866 2011-06-14 Andreas Schwab <schwab@redhat.com>
6868 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6870 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6872 * Makeconfig: Define vardbdir and inst_vardbdir.
6873 * nss/Makefile: Add rules to install db-Makefile.
6875 * nss/nss_db/db-XXX.c: Cleanup.
6877 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6878 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6880 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6881 * nss/makedb.c: Implement -g option to specify that value strings
6882 are generated and should not be added to table iterated over for
6884 * nss/nss_db/db-initgroups.c: New file.
6886 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6889 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6890 (internal_getgrouplist): Adjust to name change.
6891 Update use_initgroups_entry if this is not the first call.
6892 * nss/databases.def: Add initgroups entry.
6894 * nss/makedb.c (compute_tables): Check result of multiple hash table
6895 sizes to minimize maximum chain length.
6897 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6899 * Versions.def: Add entry for libnss_db.
6900 * shlib-versions: Likewise.
6901 * nss/Makefile: Add rules to build libnss_db.
6902 * nss/Versions: Add libnss_db information. Organize libnss_files
6904 * nss/db-Makefile: Add gshadow support. Change rules for the new
6905 makedb progra. Some minor improvements to generate smaller files.
6906 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6908 * nss/makedb.c: ...here.
6909 Improve database format to be smaller and require less memory at
6911 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6913 * nss/nss_db/db-netgrp.c: Likewise.
6914 * nss/nss_db/db-open.c: Likewise.
6915 * nss/nss_files/flies-XXX.x: Adjust comments.
6916 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6917 * nss/nss_files/files-grp.c: Likewise.
6918 * nss/nss_files/files-hosts.c: Likewise.
6919 * nss/nss_files/files-network.c: Likewise.
6920 * nss/nss_files/files-proto.c: Likewise.
6921 * nss/nss_files/files-pwd.c: Likewise.
6922 * nss/nss_files/files-rpc.c: Likewise.
6923 * nss/nss_files/files-service.c: Likewise.
6924 * nss/nss_files/files-sgrp.c: Likewise.
6925 * nss/nss_files/files-spwd.c: Likewise.
6926 * nss/nss_db/db-alias.c: Removed.
6927 * nss/nss_db/dummy-db.h: Removed.
6929 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6931 * nss/makedb.c: Rewritten to not use database library.
6932 * nss/Makefile: Update to build new makedb program.
6934 2011-06-14 Andreas Jaeger <aj@suse.de>
6936 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6939 2011-06-10 Andreas Schwab <schwab@redhat.com>
6941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6944 2011-06-10 Roland McGrath <roland@hack.frob.com>
6946 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6947 * elf/Makefile ($(objpfx)ld.so): Likewise.
6949 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6950 Don't list ld.so twice in dependencies.
6952 * posix/bug-regex31.c: Include <stdlib.h>.
6954 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6956 * nis/nss_compat/compat-spwd.c
6957 (getspent_next_nss_netgr): Remove unused variable.
6958 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6960 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6961 nonmembers" output to use the right array.
6963 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6965 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6967 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6968 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6969 * catgets/gencat.c (read_input_file): Likewise.
6970 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6972 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6973 variable definition inside #if's controlling its use.
6975 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6977 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6979 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6981 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6984 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6986 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6987 * configure: Regenerated.
6989 * Makerules: Revert last change.
6990 * elf/Makefile: Likewise.
6992 2011-06-09 Roland McGrath <roland@hack.frob.com>
6994 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6995 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6996 (reloc-link): Likewise.
6998 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7000 * elf/Makefile: Add rules to build pldd.
7001 * elf/pldd.c: New file.
7002 * elf/pldd-xx.c: New file.
7004 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7006 * version.h: Update for 2.15 development version.
7008 2011-06-07 David S. Miller <davem@davemloft.net>
7010 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7013 elf_machine_lazy_rel): Likewise.
7014 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7016 elf_machine_lazy_rel): Likewise.
7017 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7018 dl_hwcap via passed in argument.
7019 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7022 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7024 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7026 2011-06-06 Roland McGrath <roland@hack.frob.com>
7029 * manual/fdl-1.1.texi: New file, verbatim from:
7030 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7031 * manual/lgpl-2.1.texi: New file, verbatim from:
7032 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7033 * manual/Makefile (licenses): New variable, list those new file names.
7035 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7037 * manual/fdl.texi: File removed.
7038 * manual/lesser.texi: File removed.
7039 * manual/libc.texinfo (Copying, Documentation License):
7040 Use new @include file names, put @appendix directive before @include.
7042 2011-06-04 Jakub Jelinek <jakub@redhat.com>
7045 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7046 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7047 (mq_open): Add __NTH.
7049 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7052 Assume Intel Core i3/i5/i7 processor if AVX is available.
7054 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7059 2011-05-31 Andreas Schwab <schwab@redhat.com>
7061 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7062 memory. Use alloca_account. Fix memory leak when retrying.
7064 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7066 * version.h (RELEASE): Bump for 2.14 release.
7067 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7069 * config.make.in (RANLIB): Remove entry.
7071 2011-05-30 Ulrich Drepper <drepper@gmail.com>
7073 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7074 (libc.pot): Work around missing support for .ksh extension in xgettext.
7077 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7078 if both request failed.
7079 (send_dg): In case of server errors clear resplen or *resplen2.
7082 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7083 when there are multiple maps.
7084 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7085 (_dl_fini): Remove test here.
7087 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7089 2011-05-29 Ulrich Drepper <drepper@gmail.com>
7092 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7093 bit from old_res_options.
7094 (gaih_inet): Likewise.
7097 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7100 * resolv/res_init.c (res_setoptions): Make the code more compact.
7103 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7107 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7109 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7112 * malloc/malloc.h: Declare malloc hook variables as volatile.
7114 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7118 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7119 raise in the comment.
7120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7122 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7124 2011-05-28 Ulrich Drepper <drepper@gmail.com>
7127 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7128 grow the buffers more if it already has to be sufficient.
7129 (build_wcs_upper_buffer): Likewise.
7130 * posix/regexec.c (check_matching): Likewise.
7131 (clean_state_log_if_needed): Likewise.
7132 (extend_buffers): Don't enlarge buffers beyond size of the input
7134 Patches mostly by Emil Wojak <emil@wojak.eu>.
7135 * posix/bug-regex32.c: New file.
7136 * posix/Makefile (tests): Add bug-regex32.
7138 * locale/findlocale.c (_nl_find_locale): Return right away if
7139 _nl_explode_name failed.
7140 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7144 * debug/xtrace.sh: Unify messages.
7145 * malloc/memusage.sh: Likewise.
7148 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7149 time symbol from vDSO. Substitute with vsyscall if not available.
7150 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7153 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7154 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7155 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7156 Add sendmmsg and internal_sendmmsg.
7157 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7158 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7159 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7161 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7162 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7163 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7165 2011-05-27 Ulrich Drepper <drepper@gmail.com>
7168 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7169 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7171 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7175 * iconvdata/Makefile (tests): Add bug-iconv9.
7176 * iconvdata/bug-iconv9.c: New file.
7178 2011-05-27 Andreas Schwab <schwab@redhat.com>
7181 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7183 2011-05-25 Jakub Jelinek <jakub@redhat.com>
7185 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7186 (struct user_regs_struct): Change intcs field back to cs.
7188 2011-05-25 Ulrich Drepper <drepper@gmail.com>
7190 * po/ja.po: Update from translation team.
7192 2011-05-23 Ulrich Drepper <drepper@gmail.com>
7195 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7196 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7198 2011-05-20 Andreas Schwab <schwab@redhat.com>
7200 * stdlib/longlong.h: Update from GCC.
7202 2011-05-23 Andreas Schwab <schwab@redhat.com>
7204 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7206 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7208 (__sysconf): Pass it down.
7210 2011-05-22 Ulrich Drepper <drepper@gmail.com>
7213 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7216 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7217 add in in __libc_use_alloca calls. Adjust callers.
7218 (glob): Use malloc in some situations.
7220 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7221 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7224 2011-05-21 Ulrich Drepper <drepper@gmail.com>
7226 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7227 and CLOCK_BOOTTIME_ALARM.
7230 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7233 * string/_strerror.c (__strerror_r): Print negative errors as signed
7237 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7238 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7239 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7241 * configure.in: Fix typo in redirection and correct removal of test
7245 * locale/setlocale.c (new_composite_name): Fix test to check for
7246 identical name of all categories.
7249 * libio/filedoalloc.c (local_isatty): New function.
7250 (_IO_file_doallocate): Use local_isatty.
7251 * stdio-common/perror.c (perror): In case a new stream is used
7252 forward the stream error.
7253 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7256 2011-05-20 Ulrich Drepper <drepper@gmail.com>
7259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7261 * include/alloca.h (extend_alloca_account): Define.
7264 * posix/regex.h: Fix comments with documentation of user-accessible
7265 fields after compilation and describe correct free'ing of pattern
7266 after re_compile_pattern.
7267 Patch by Reuben Thomas <rrt@sc3d.org>.
7269 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7271 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7272 and -mno-altivec to prevent the compiler from using Altivec and/or
7273 VSX instructions when the corresponding registers are not available.
7275 2011-05-19 Andreas Schwab <schwab@redhat.com>
7277 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7279 2011-05-19 Ulrich Drepper <drepper@gmail.com>
7281 * libio/freopen.c (freopen): Use __dup2, not dup2.
7282 * libio/freopen64.c (freopen64): Likewise.
7284 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7287 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7288 * math/Makefile (tests): Add test-powl.
7289 (CFLAGS-test-powl.c): Define.
7290 * math/test-powl.c: New file.
7292 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7294 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7296 2011-05-17 Ulrich Drepper <drepper@gmail.com>
7299 * iconvdata/gb18030.c: Update to GB18020-2005.
7301 2011-05-16 Ulrich Drepper <drepper@gmail.com>
7303 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7304 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7305 Patch by Aharon Robbins <arnold@skeeve.com>.
7308 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7312 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7316 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7317 point to strings before performing equality test for error_one_per_line
7321 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7324 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7325 (struct user_fpregs_struct): Avoid __uint*_t types.
7328 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7329 symbol info. Use it instead of calling _dl_addr locally.
7330 (lock_and_info): New function.
7331 (tr_freehook): Call lock_and_info and pass symbol info as additional
7332 parameter to tr_where.
7333 (tr_mallochook): Likewise.
7334 (tr_reallochook): Likewise.
7335 (tr_memalignhook): Likewise.
7337 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7338 used and couldn't be at all thread-safe.
7340 2011-05-15 Ulrich Drepper <drepper@gmail.com>
7342 * libio/freopen.c (freopen): Don't close old file descriptor
7343 before the new one is opened. Instead dup the new file descriptor
7344 to the old one after the new stream is created.
7345 * libio/freopen64.c (freopen64): Likewise.
7346 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7347 * libio/fileops.c (_IO_new_file_close_it): Handle new
7348 _IO_FLAGS2_NOCLOSE flag.
7349 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7350 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7351 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7352 _IO_FLAGS2_NOCLOSE flag.
7353 * include/unistd.h: Add hidden_proto for dup3.
7355 * io/dup3.c: Define hidden symbol.
7356 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7359 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7360 when an incomplete long option is used.
7361 * posix/tst-getopt_long1.c: New file.
7362 * posix/Makefile (tests): Add tst-getopt_long1.
7365 * scripts/config.guess: Update from autoconf-2.68.
7366 * scripts/config.sub: Likewise.
7369 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7371 (has_cpuclock): ...this. New function.
7372 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7373 macro here based on has_cpuclock code.
7376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7377 First byte (not low byte) is now always NUL.
7378 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7381 Use non-cancelable interfaces.
7384 * locale/iso-639.def: Add entry for Sorani.
7387 * include/stdlib.h: Move include protection to the right place.
7388 Define abort_msg_s. Declare __abort_msg with it.
7389 * stdlib/abort.c (__abort_msg): Adjust type.
7390 * assert/assert.c (__assert_fail_base): New function. Majority
7391 of code from __assert_fail. Allocate memory for __abort_msg with
7393 (__assert_fail): Now call __assert_fail_base.
7394 * assert/assert-perr.c: Remove bulk of implementation. Use
7396 * include/assert.hL Declare __assert_fail_base.
7397 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7399 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7401 2011-05-14 Ulrich Drepper <drepper@gmail.com>
7405 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7406 until all modules are registered in the DTV.
7407 * elf/Makefile: Add rules to build and run tst-tls19.
7408 * elf/tst-tls19.c: New file.
7409 * elf/tst-tls19mod1.c: New file.
7410 * elf/tst-tls19mod2.c: New file.
7411 * elf/tst-tls19mod3.c: New file.
7412 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7415 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7419 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7420 two-byte sequence errors.
7421 * iconvdata/Makefile (tests): Add bug-iconv8.
7422 * iconvdata/bug-iconv8.c: New file.
7425 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7428 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7431 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7432 (dummy_getcfa): New function.
7433 (init): Get _Unwind_GetCFA address, use dummy if not found.
7434 (backtrace_helper): In recursion check, also check whether CFA changes.
7435 (__backtrace): Completely initialize arg.
7437 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7438 storing incomplete byte sequence in state object. Avoid testing for
7439 guaranteed too small input if we know there is enough data available.
7441 2011-05-11 Andreas Schwab <schwab@redhat.com>
7443 * Makeconfig (+link-pie): Indent.
7444 * Rules (binaries-pie): Define if $(have-fpie) and
7446 (binaries-shared): Also filter out $(binaries-pie).
7447 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7448 * nscd/Makefile (others-pie): Add nscd.
7449 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7450 ($(objpfx)nscd): Remove command override.
7451 * login/Makefile (others-pie): Add pt_chown.
7452 ($(objpfx)pt_chown): Remove command override.
7453 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7454 remove command overrides.
7456 2011-05-13 Ulrich Drepper <drepper@gmail.com>
7458 * libio/tst_putwc.c: Fix error messages.
7461 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7462 currently writing and seek to current position when not.
7463 * libio/Makefile (tests): Add bug-fclose1.
7464 * libio/bug-fclose1.c: New file.
7466 2011-05-12 Ulrich Drepper <drepper@gmail.com>
7469 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7470 don't set DF_1_NODELETE here.
7471 (do_lookup_x): When entering new entry test for copy relocation
7472 and if necessary set DF_1_NODELETE flag.
7473 * elf/tst-unique4.cc: New file.
7474 * elf/tst-unique4.h: New file.
7475 * elf/tst-unique4lib.cc: New file.
7476 * elf/Makefile: Add rules to build and run tst-unique4.
7477 Patch by Piotr Bury <pbury@goahead.com>.
7479 2011-05-11 Ulrich Drepper <drepper@gmail.com>
7482 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7485 * misc/mntent_r.c (addmntent): Flush the stream after the output
7488 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7489 (is_trusted_path_normalize): Skip initial colon. Append slash
7490 to empty buffer. Duplicate is_trusted_path code but allow
7491 constructed patch to be prefix.
7492 (is_dst): Allow $ORIGIN followed by /.
7493 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7494 Correct testing of result of is_trusted_path_normalize
7495 (decompose_rpath): Fix warning.
7497 2011-05-10 Ulrich Drepper <drepper@gmail.com>
7500 * grp/initgroups.c (internal_getgrouplist): When we found the service
7501 list through the initgroups entry in nsswitch.conf do not always
7502 continue on a successful lookup. Don't always use the
7503 __nss_group_database value if it is set.
7504 * nss/nsswitch.conf (initgroups): Change action for successful db
7505 lookup to continue for compatibility.
7507 2011-05-09 Ulrich Drepper <drepper@gmail.com>
7510 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7512 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7514 * iconvdata/tst-tables.sh: Likewise.
7515 * iconvdata/cp770.c: New file.
7516 * iconvdata/cp771.c: New file.
7517 * iconvdata/cp772.c: New file.
7518 * iconvdata/cp773.c: New file.
7519 * iconvdata/cp774.c: New file.
7520 * iconvdata/testdata/CP770: New file.
7521 * iconvdata/testdata/CP770..UTF8: New file.
7522 * iconvdata/testdata/CP771: New file.
7523 * iconvdata/testdata/CP771..UTF8: New file.
7524 * iconvdata/testdata/CP772: New file.
7525 * iconvdata/testdata/CP772..UTF8: New file.
7526 * iconvdata/testdata/CP773: New file.
7527 * iconvdata/testdata/CP773..UTF8: New file.
7528 * iconvdata/testdata/CP774: New file.
7529 * iconvdata/testdata/CP774..UTF8: New file.
7531 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7533 * iconvdata/gen-8bit-gap.sh: Likewise.
7534 * iconvdata/gen-8bit.sh: Likewise.
7536 * locale/iso-639.def: Add ary entry.
7539 * locale/C-translit.h.in: Add U20A1 transliteration.
7542 * locale/iso-639.def: Add wae entry.
7543 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7546 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7550 * locale/C-translit.h.in: Add entry for U20B9.
7551 Patch by pravin.d.s@gmail.com.
7553 2011-05-08 Ulrich Drepper <drepper@gmail.com>
7556 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7557 ENAMETOOLONG use generic getcwd.
7558 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7559 in rtld. Use *stat64.
7560 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7561 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7562 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7563 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7564 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7565 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7566 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7568 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7569 * dirent/rewinddir.c: Add libc_hidden_def.
7570 * sysdeps/mach/hurd/rewinddir.c: Likewise.
7571 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7573 * include/dirent.h (__alloc_dir): Add flags parameter.
7574 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7575 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7577 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7578 from fdopendir if O_CLOEXEC is already set.
7580 2011-03-15 Alan Modra <amodra@gmail.com>
7582 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7583 l_tls_firstbyte_offset non-zero. Save padding offset in
7584 l_tls_firstbyte_offset for later use.
7585 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7586 freeing static tls block.
7588 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7590 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7591 where #ifdef was intended. The intent is to prevent ARG_MAX from
7592 being defined by the kernel headers.
7594 2011-05-07 Ulrich Drepper <drepper@gmail.com>
7597 * resolv/resolv.h: Define RES_NOTLDQUERY.
7598 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7599 no-tld-query and set RES_NOTLDQUERY.
7600 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7601 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7602 modern BIND to search name as TLD unless forbidden.
7604 2011-05-07 Petr Baudis <pasky@suse.cz>
7605 Ulrich Drepper <drepper@gmail.com>
7608 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7609 (is_trusted_path): ...to here.
7610 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7611 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7612 using is_trusted_path_normalize() in setuid scripts.
7614 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7616 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7617 __BEGIN/__END_DECLS.
7619 2011-05-06 Ulrich Drepper <drepper@gmail.com>
7621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7622 NSS_STATUS_NOTFOUND if no record was found.
7624 2011-05-05 Andreas Schwab <schwab@redhat.com>
7626 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7627 (headers-not-in-tirpc): Remove rpc/netdb.h
7628 * resolv/netdb.h: Revert last change.
7630 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7632 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7633 circular dependency between libgcc.a and libc.a.
7635 2011-05-05 Andreas Schwab <schwab@redhat.com>
7637 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7638 * nis/Makefile: Don't install rpcsvc/*.
7639 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7640 instead of <rpc/types.h>.
7641 (MAXHOSTNAMELEN): Define.
7643 2011-05-03 Andreas Schwab <schwab@redhat.com>
7645 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7647 2011-04-28 Maciej Babinski <mbabinski@google.com>
7650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7651 gethostbyname4_r when IPv6 results are possible.
7653 2011-05-02 Ulrich Drepper <drepper@gmail.com>
7656 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7657 _PC_PIPE_BUF handling.
7659 2011-04-30 Bruno Haible <bruno@clisp.org>
7662 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7663 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7665 * inet/getnameinfo.c (getnameinfo): Likewise.
7667 2011-04-29 Ulrich Drepper <drepper@gmail.com>
7669 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7670 to groups setting in database lookup.
7671 * nss/nsswitch.conf: Add initgroups entry.
7673 2011-04-22 Ulrich Drepper <drepper@gmail.com>
7676 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7678 Patch by Eric Blake <eblake@redhat.com>.
7680 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7682 * sunrpc/Makefile (need-export-routines): Add svc_run.
7683 (routines): Remove svc_run.
7684 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7685 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7686 * sunrpc/svc_run.c (svc_run): Likewise.
7687 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7689 2011-04-21 Ulrich Drepper <drepper@gmail.com>
7691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7692 problem in reallocation in last patch.
7694 2011-04-20 Ulrich Drepper <drepper@gmail.com>
7696 * sunrpc/Makefile: Move inclusion of Rules.
7698 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7700 * nss/nss_files/files-initgroups.c: New file.
7701 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7702 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7703 _nss_files_initgroups_dyn.
7705 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7707 * elf/elf.h (R_ARM_IRELATIVE): Define.
7709 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7711 * po/ru.po: Update from translation team.
7713 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7715 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7718 2011-02-06 Mike Frysinger <vapier@gentoo.org>
7721 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7722 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7723 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7724 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7725 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7727 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7731 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7732 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7735 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7738 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7740 * stdlib/bug-getcontext.c: New file.
7741 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7743 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7745 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7746 instructions into .machine "z9-109".
7747 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7748 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7750 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7752 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7753 between environment variables and auxiliary vector.
7755 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7757 * Makefile: Add rules to build linkobj/libc.so.
7758 * include/libc-symbols.h: Define libc_hidden_nolink.
7759 * include/rpc/auth.h: Mark functions which are to be hidden.
7760 * include/rpc/auth_des.h: Likewise.
7761 * include/rpc/auth_unix.h: Likewise.
7762 * include/rpc/clnt.h: Likewise.
7763 * include/rpc/des_crypt.h: Likewise.
7764 * include/rpc/key_prot.h: Likewise.
7765 * include/rpc/pmap_clnt.h: Likewise.
7766 * include/rpc/pmap_prot.h: Likewise.
7767 * include/rpc/pmap_rmt.h: Likewise.
7768 * include/rpc/rpc_msg.h: Likewise.
7769 * include/rpc/svc.h: Likewise.
7770 * include/rpc/svc_auth.h: Likewise.
7771 * include/rpc/xdr.h: Likewise.
7772 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7773 * nss/Makefile: Likewise.
7774 * sunrpc/Makefile: Don't install headers. Build library with normal
7775 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7776 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7777 for the compat linking library. Remove use of INTDEF/INTUSE.
7778 * sunrpc/auth_none.c: Likewise.
7779 * sunrpc/auth_unix.c: Likewise.
7780 * sunrpc/authdes_prot.c: Likewise.
7781 * sunrpc/authuxprot.c: Likewise.
7782 * sunrpc/clnt_gen.c: Likewise.
7783 * sunrpc/clnt_perr.c: Likewise.
7784 * sunrpc/clnt_raw.c: Likewise.
7785 * sunrpc/clnt_simp.c: Likewise.
7786 * sunrpc/clnt_tcp.c: Likewise.
7787 * sunrpc/clnt_udp.c: Likewise.
7788 * sunrpc/clnt_unix.c: Likewise.
7789 * sunrpc/des_crypt.c: Likewise.
7790 * sunrpc/des_soft.c: Likewise.
7791 * sunrpc/get_myaddr.c: Likewise.
7792 * sunrpc/key_call.c: Likewise.
7793 * sunrpc/key_prot.c: Likewise.
7794 * sunrpc/netname.c: Likewise.
7795 * sunrpc/pm_getmaps.c: Likewise.
7796 * sunrpc/pm_getport.c: Likewise.
7797 * sunrpc/pmap_clnt.c: Likewise.
7798 * sunrpc/pmap_prot.c: Likewise.
7799 * sunrpc/pmap_prot2.c: Likewise.
7800 * sunrpc/pmap_rmt.c: Likewise.
7801 * sunrpc/publickey.c: Likewise.
7802 * sunrpc/rpc_cmsg.c: Likewise.
7803 * sunrpc/rpc_common.c: Likewise.
7804 * sunrpc/rpc_dtable.c: Likewise.
7805 * sunrpc/rpc_prot.c: Likewise.
7806 * sunrpc/rpc_thread.c: Likewise.
7807 * sunrpc/rtime.c: Likewise.
7808 * sunrpc/svc.c: Likewise.
7809 * sunrpc/svc_auth.c: Likewise.
7810 * sunrpc/svc_authux.c: Likewise.
7811 * sunrpc/svc_raw.c: Likewise.
7812 * sunrpc/svc_run.c: Likewise.
7813 * sunrpc/svc_simple.c: Likewise.
7814 * sunrpc/svc_tcp.c: Likewise.
7815 * sunrpc/svc_udp.c: Likewise.
7816 * sunrpc/svc_unix.c: Likewise.
7817 * sunrpc/svcauth_des.c: Likewise.
7818 * sunrpc/xcrypt.c: Likewise.
7819 * sunrpc/xdr.c: Likewise.
7820 * sunrpc/xdr_array.c: Likewise.
7821 * sunrpc/xdr_float.c: Likewise.
7822 * sunrpc/xdr_intXX_t.c: Likewise.
7823 * sunrpc/xdr_mem.c: Likewise.
7824 * sunrpc/xdr_rec.c: Likewise.
7825 * sunrpc/xdr_ref.c: Likewise.
7826 * sunrpc/xdr_sizeof.c: Likewise.
7827 * sunrpc/xdr_stdio.c: Likewise.
7829 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7832 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7833 * sysdeps/ia64/dl-tls.h: Likewise.
7834 * sysdeps/powerpc/dl-tls.h: Likewise.
7835 * sysdeps/s390/dl-tls.h: Likewise.
7836 * sysdeps/sh/dl-tls.h: Likewise.
7837 * sysdeps/sparc/dl-tls.h: Likewise.
7838 * sysdeps/x86_64/dl-tls.h: Likewise.
7839 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7841 2011-03-14 Andreas Schwab <schwab@redhat.com>
7843 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7844 rpath element also skip the following colon.
7845 (expand_dynamic_string_token): Add is_path parameter and pass
7846 down to DL_DST_REQUIRED and _dl_dst_substitute.
7847 (decompose_rpath): Call expand_dynamic_string_token with
7848 non-zero is_path. Ignore empty rpaths.
7849 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7852 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7857 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7860 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7861 Patch by Filipe David Manana <fdmanana@apache.org>.
7863 2011-04-07 Andreas Schwab <schwab@redhat.com>
7865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7866 Maintain aligned stack.
7867 (CHECK_RSP): Remove unused macro.
7869 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7871 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7872 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7874 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7876 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7878 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7880 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7883 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7884 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7885 * sysdeps/x86_64/memmove.c: New file.
7886 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7887 (memcpy): Renamed to ...
7888 (__new_memcpy): This.
7889 (memcpy): Provide GLIBC_2_14 memcpy.
7890 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7891 (memcpy): Provide GLIBC_2_2_5 memcpy.
7893 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7896 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7898 2011-03-30 Andreas Schwab <schwab@redhat.com>
7900 * misc/syncfs.c: New file.
7901 * misc/Makefile (routines): Add syncfs.
7902 * posix/unistd.h: Declare syncfs.
7903 * sysdeps/unix/syscalls.list: Add syncfs.
7905 2011-04-01 Andreas Schwab <schwab@redhat.com>
7907 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7914 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7917 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7919 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7921 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7927 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7928 sync_file_range.c with -fexceptions.
7929 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7930 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7931 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7932 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7933 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7934 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7936 sync_file_range as cancellation point
7937 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7938 now a wrapper around __call_sync_file_range with cancellation handling.
7939 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7940 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7941 function name to __call_sync_file_range.
7942 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7943 Add call_sync_file_range.
7945 2011-04-01 Andreas Schwab <schwab@redhat.com>
7947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7950 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7952 * iconv/iconv.h: Fix typo in comment.
7953 * io/fcntl.h: Likewise.
7954 * libio/stdio.h: Likewise.
7955 * posix/spawn.h: Likewise.
7956 * posix/unistd.h: Likewise.
7957 * stdlib/stdlib.h: Likewise.
7958 * time/time.h: Likewise.
7959 * wcsmbs/wchar.h: Likewise.
7961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7962 open_by_handle): Add.
7963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7964 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7965 Augment a few comments.
7966 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7968 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7971 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7974 * io/fcntl.h (AT_EMPTY_PATH): Define.
7976 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7978 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7979 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7980 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7982 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7983 * Versions.def: Add GLIBC_2.14.
7984 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7987 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7991 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7993 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7996 * string/test-strncmp.c (do_page_test): New function.
7998 (test_main): Call check2.
7999 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8001 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8004 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8005 Handle cache information in CPU leaf 4.
8006 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8008 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8011 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8012 character representation.
8013 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8015 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8017 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8018 END(__isnan) to END(__isnanf) to match function entry point/label
8019 EALIGN(__isnanf,...).
8021 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8023 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8025 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8028 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8029 copy from the symbol referenced in the relocation to initialize the
8031 Patch by Piotr Bury <pbury@goahead.com>.
8032 * elf/Makefile: Add rules to build and tst-unique3.
8033 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8034 * elf/tst-unique3.cc: New file.
8035 * elf/tst-unique3.h: New file.
8036 * elf/tst-unique3lib.cc: New file.
8037 * elf/tst-unique3lib2.cc: New file.
8039 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8041 2011-03-10 Mike Frysinger <vapier@gentoo.org>
8043 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8044 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8047 2011-03-06 Ulrich Drepper <drepper@gmail.com>
8049 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8050 to-be-loaded object along a path to loader is ld.so.
8052 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8053 Ulrich Drepper <drepper@gmail.com>
8055 * sysdeps/x86_64/memset.S: After aligning destination, code
8056 branches to different locations depending on the value of
8057 misalignment, when multiarch is enabled. Fix this.
8059 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8061 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8062 Set _x86_64_preferred_memory_instruction for AMD processsors.
8063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8064 Set bit_Prefer_SSE_for_memop for AMD processors.
8066 2011-03-04 Ulrich Drepper <drepper@gmail.com>
8068 * libio/fmemopen.c (fmemopen): Optimize a bit.
8070 2011-03-03 Andreas Schwab <schwab@redhat.com>
8072 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8074 2011-03-03 Roland McGrath <roland@redhat.com>
8076 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8078 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8080 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8081 __bzero_ultra1 instead of __memset_ultra1.
8083 2011-02-23 Andreas Schwab <schwab@redhat.com>
8084 Ulrich Drepper <drepper@gmail.com>
8087 * include/link.h (struct link_map): Add l_orig_initfini.
8088 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8089 returning unsuccessfully.
8090 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8091 close of a file loaded at startup, restore the original l_initfini
8093 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8094 list, store the pointer.
8095 * elf/Makefile ($(objpfx)noload-mem): New rule.
8096 (noload-ENV): Define.
8097 (tests): Add $(objpfx)noload-mem.
8098 * elf/noload.c: Include <memcheck.h>.
8099 (main): Call mtrace. Close all opened handles.
8101 2011-02-17 Andreas Schwab <schwab@redhat.com>
8104 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8105 dependencies are missing.
8107 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8109 Fix __if_freereq crash: Unlike the generic version which uses free,
8111 * sysdeps/mach/hurd/ifreq.h: New file.
8113 2011-01-27 Petr Baudis <pasky@suse.cz>
8114 Ulrich Drepper <drepper@gmail.com>
8117 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8119 * stdio-common/bug23.c: New file.
8120 * stdio-common/Makefile (tests): Add bug23.
8122 2010-09-28 Andreas Schwab <schwab@redhat.com>
8123 Ulrich Drepper <drepper@gmail.com>
8126 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8127 before performing relro protection. At old place add assertion
8128 to make sure nothing changed.
8130 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8131 Glauber de Oliveira Costa <glommer@gmail.com>
8133 * elf/elf.h: Add new ARM TLS relocs.
8135 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8138 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8140 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8142 * sysdeps/wordsize-64/tst-writev.c: New file.
8144 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8146 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8147 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8148 insns in _dl_start to prevent a TOC reference before relocs are
8151 2011-02-15 Ulrich Drepper <drepper@gmail.com>
8154 * Makeconfig: Remove RANLIB definition.
8155 * Makerules: Don't use RANLIB.
8156 * aclocal.m4: Remove ranlib test.
8157 * configure.in: No need to check for ranlib.
8158 * elf/rtld-Rules: Don't use RANLIB.
8160 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8162 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8164 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8165 inclusion protection macro.
8167 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8168 SIGRTMIN and SIGRTMAX and print information in that case only when
8169 SIGRTMIN is defined.
8171 2011-02-11 Jakub Jelinek <jakub@redhat.com>
8173 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8174 arginfo fn returning -1.
8176 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8177 and thousands string is zero terminated.
8179 2011-02-03 Andreas Schwab <schwab@redhat.com>
8181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8182 sysdeps/unix/sysv/linux/bits/socket.h.
8184 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8186 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8187 (__CPU_COUNT): Remove old macros.
8188 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8189 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8190 (__CPU_ALLOC, __CPU_FREE): Add macros.
8191 (__sched_cpualloc, __sched_cpufree): Add declarations.
8193 2011-02-05 Ulrich Drepper <drepper@gmail.com>
8195 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8196 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8197 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8198 (readdhstai): Return value of addhstaiX call.
8199 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8200 (addgrbyX): Return value returned by cache_addgr.
8201 (readdgrbyname): Return value returned by addgrbyX.
8202 (readdgrbygid): Likewise.
8203 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8204 (addpwbyX): Return value returned by cache_addpw.
8205 (readdpwbyname): Return value returned by addhstbyX.
8206 (readdpwbyuid): Likewise.
8207 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8208 (addservbyX): Return value returned by cache_addserv.
8209 (readdservbyname): Return value returned by addservbyX:
8210 (readdservbyport): Likewise.
8211 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8212 (addhstbyX): Return value returned by cache_addhst.
8213 (readdhstbyname): Return value returned by addhstbyX.
8214 (readdhstbyaddr): Likewise.
8215 (readdhstbynamev6): Likewise.
8216 (readdhstbyaddrv6): Likewise.
8217 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8218 (readdinitgroups): Return value returned by addinitgroupsX.
8219 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8220 (prune_cache): Keep track of timeout value of re-added entries.
8221 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8222 * nscd/nscd.h: Adjust prototypes of readd* functions.
8224 2011-02-04 Roland McGrath <roland@redhat.com>
8226 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8227 (nis_stats): Likewise.
8228 * nis/nis_modify.c (nis_modify): Likewise.
8229 * nis/nis_remove.c (nis_remove): Likewise.
8230 * nis/nis_add.c (nis_add): Likewise.
8232 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8234 * posix/fnmatch_loop.c: Add some consts.
8236 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8238 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8241 * config.make.in (config-cflags-novzeroupper): Define.
8242 * configure.in: Substitute libc_cv_cc_novzeroupper.
8243 * elf/Makefile (AVX-CFLAGS): Define.
8244 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8245 (CFLAGS-tst-auditmod4a.c): Likewise.
8246 (CFLAGS-tst-auditmod4b.c): Likewise.
8247 (CFLAGS-tst-auditmod6b.c): Likewise.
8248 (CFLAGS-tst-auditmod6c.c): Likewise.
8249 (CFLAGS-tst-auditmod7b.c): Likewise.
8250 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8252 2011-02-02 Ulrich Drepper <drepper@gmail.com>
8254 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8255 function to the callback.
8256 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8258 2011-02-02 Andreas Schwab <schwab@redhat.com>
8260 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8263 2011-01-19 Ulrich Drepper <drepper@gmail.com>
8266 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8268 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8270 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8273 * elf/Makefile: Add rules to build and run new test.
8274 * elf/tst-initorder.c: New file.
8275 * elf/tst-initorder.exp: New file.
8276 * elf/tst-initordera1.c: New file.
8277 * elf/tst-initordera2.c: New file.
8278 * elf/tst-initordera3.c: New file.
8279 * elf/tst-initordera4.c: New file.
8280 * elf/tst-initorderb1.c: New file.
8281 * elf/tst-initorderb2.c: New file.
8282 * elf/tst-order-a1.c: New file.
8283 * elf/tst-order-a2.c: New file.
8284 * elf/tst-order-a3.c: New file.
8285 * elf/tst-order-a4.c: New file.
8286 * elf/tst-order-b1.c: New file.
8287 * elf/tst-order-b2.c: New file.
8288 * elf/tst-order-main.c: New file.
8289 New test case by George Gensure <werkt0@gmail.com>.
8291 2010-10-01 Andreas Schwab <schwab@redhat.com>
8293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8294 decoding ACE if AI_CANONIDN.
8296 2011-01-18 Ulrich Drepper <drepper@gmail.com>
8298 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8300 2011-01-17 Ulrich Drepper <drepper@gmail.com>
8302 * version.h (RELEASE): Bump for 2.13 release.
8303 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8305 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8307 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8309 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8312 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8316 * posix/getconf.c: Update copyright year.
8317 * catgets/gencat.c: Likewise.
8318 * csu/version.c: Likewise.
8319 * debug/catchsegv.sh: Likewise.
8320 * debug/xtrace.sh: Likewise.
8321 * elf/ldconfig.c: Likewise.
8322 * elf/ldd.bash.in: Likewise.
8323 * elf/sprof.c (print_version): Likewise.
8324 * iconv/iconv_prog.c: Likewise.
8325 * iconv/iconvconfig.c: Likewise.
8326 * locale/programs/locale.c: Likewise.
8327 * locale/programs/localedef.c: Likewise.
8328 * malloc/memusage.sh: Likewise.
8329 * malloc/mtrace.pl: Likewise.
8330 * nscd/nscd.c (print_version): Likewise.
8331 * nss/getent.c: Likewise.
8333 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8334 PF_CAIF, and PF_ALG.
8335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8337 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8339 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8340 (modules-names): Use them.
8341 (ifunc-test-modules, ifunc-pie-tests): Define.
8342 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8343 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8344 (test-extras): Likewise.
8345 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8346 $(compile-command.c).
8347 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8348 (all-built-dso): Define.
8349 (check-textrel.out, check-execstack.out): Depend on it.
8351 * configure.in: Don't override --enable-multi-arch.
8353 2011-01-15 Ulrich Drepper <drepper@gmail.com>
8356 * nscd/hstcache.c (tryagain): Define.
8357 (cache_addhst): Return tryagain not notfound for temporary errors.
8358 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8361 2011-01-14 Ulrich Drepper <drepper@gmail.com>
8364 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8365 to make the syscall.
8366 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8369 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8370 and fall back to matching as normal character if the string ends before
8371 the matching ']' is found. This is what POSIX requires.
8372 * posix/testfnm.c: Adjust test result.
8373 * posix/globtest.sh: Adjust test result. Add new test.
8374 * posix/tst-fnmatch.input: Likewise.
8375 * posix/tst-fnmatch2.c: Add new test.
8377 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8379 * elf/Makefile (check-execstack): Revert last change. Depend on
8381 (check-execstack.h): New target.
8382 (generated): Add check-execstack.h.
8383 * elf/check-execstack.c: Include "check-execstack.h".
8384 (main): Revert last change.
8385 (handle_file): Return zero if GNU_STACK is absent and
8386 DEFAULT_STACK_PERMS doesn't include PF_X.
8388 2011-01-13 Ulrich Drepper <drepper@gmail.com>
8390 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8391 in child fails because the descriptor is already closed.
8392 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8393 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8394 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8397 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8401 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8402 temporary buffer used to handle multi lookups locally.
8403 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8405 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8407 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8410 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8412 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8415 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8418 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8419 characters. When rounding increased number of integer digits recompute
8421 * stdio-common/tst-grouping.c: New file.
8422 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8424 2011-01-09 Ulrich Drepper <drepper@gmail.com>
8426 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8427 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8429 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8431 * bits/select.h: Likewise.
8433 2011-01-08 Ulrich Drepper <drepper@gmail.com>
8435 * po/ja.po: Update from translation team.
8437 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
8440 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8441 implementation just like for lxstat, fxstatat, et al.
8443 2010-12-27 Jim Meyering <meyering@redhat.com>
8446 * posix/regexec.c (build_trtable): Return failure indication upon
8447 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8449 2010-12-25 Ulrich Drepper <drepper@gmail.com>
8452 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8453 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8454 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8455 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8458 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8461 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8462 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8464 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8466 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8467 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8468 script has SORT_BY_INIT_PRIORITY.
8469 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8470 NO_CTORS_DTORS_SECTIONS is defined.
8471 * elf/soinit.c: Likewise.
8472 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8473 NO_CTORS_DTORS_SECTIONS is defined.
8474 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8475 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8476 * sysdeps/sh/init-first.c: Likewise.
8477 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8479 2010-12-24 Ulrich Drepper <drepper@gmail.com>
8481 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8482 always use the slow path.
8484 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8486 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8487 similar rule which adds the sysdep directories to the header search in
8488 order to pick up the correct platform stackinfo.h.
8489 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8490 perform test if it is, otherwise return successfully without testing.
8491 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8492 DEFAULT_STACK_PERMS define in stackinfo.h.
8493 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8494 defined in stackinfo.h.
8495 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8496 DEFAULT_STACK_PERMS defined in stackinfo.h.
8497 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8498 * sysdeps/ia64/stackinfo.h: Likewise.
8499 * sysdeps/s390/stackinfo.h: Likewise.
8500 * sysdeps/sh/stackinfo.h: Likewise.
8501 * sysdeps/sparc/stackinfo.h: Likewise.
8502 * sysdeps/x86_64/stackinfo.h: Likewise.
8503 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8504 PF_X for powerpc64. Retain PF_X for powerpc32.
8506 2010-12-19 Ulrich Drepper <drepper@gmail.com>
8508 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8510 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8511 GETDENTS_64BIT_ALIGNED.
8513 2010-12-14 Ulrich Drepper <dreper@gmail.com>
8515 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8517 2010-12-10 Andreas Schwab <schwab@redhat.com>
8519 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8522 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8523 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8525 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8526 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8528 2010-12-09 Ulrich Drepper <drepper@gmail.com>
8531 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8534 2010-12-09 Jakub Jelinek <jakub@redhat.com>
8536 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8538 2010-12-03 Ulrich Drepper <drepper@gmail.com>
8540 * po/it.po: Update from translation team.
8542 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8547 2010-11-30 Ulrich Drepper <drepper@gmail.com>
8549 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8551 2010-11-24 Andreas Schwab <schwab@redhat.com>
8553 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8555 (gaih_getanswer_slice): Likewise.
8557 2010-10-20 Jakub Jelinek <jakub@redhat.com>
8559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8561 2010-05-31 Petr Baudis <pasky@suse.cz>
8564 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8565 silently even in the chroot mode.
8567 2010-11-22 Ulrich Drepper <drepper@gmail.com>
8569 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8570 last patch a bit. Pretty printing
8572 2010-05-31 Petr Baudis <pasky@suse.cz>
8575 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8576 initialization of skip_initgroups_dyn.
8578 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8580 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8583 2010-11-16 Ulrich Drepper <drepper@gmail.com>
8585 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8587 2010-11-11 Andreas Schwab <schwab@redhat.com>
8589 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8590 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8591 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8592 ($(objpfx)tst-fnmatch-mem): New rule.
8593 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8594 * posix/tst-fnmatch.c (main): Call mtrace.
8596 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8599 Support Intel processor model 6 and model 0x2c.
8601 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8603 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8606 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8609 * string/test-strncasecmp.c (check_result): New function.
8610 (do_one_test): Use it.
8611 (check1): New function.
8612 (test_main): Use it.
8613 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8614 Support strcasecmp and strncasecmp.
8616 2010-11-08 Ulrich Drepper <drepper@gmail.com>
8619 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8620 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8622 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8624 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8628 * sysdeps/x86_64/multiarch/bzero.S: New file.
8629 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8630 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8631 * sysdeps/x86_64/multiarch/memset.S: New file.
8632 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8634 Set bit_Prefer_SSE_for_memop for Intel processors.
8635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8637 (index_Prefer_SSE_for_memop): Define.
8638 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8640 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
8642 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8643 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8645 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8648 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8649 (__x86_64_raw_data_cache_size_half): Likewise.
8650 (__x86_64_raw_shared_cache_size): Likewise.
8651 (__x86_64_raw_shared_cache_size_half): Likewise.
8653 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8654 (__x86_64_raw_data_cache_size_half): Likewise.
8655 (__x86_64_raw_shared_cache_size): Likewise.
8656 (__x86_64_raw_shared_cache_size_half): Likewise.
8657 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8658 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8659 and __x86_64_raw_shared_cache_size_half. Round
8660 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8661 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8662 to multiple of 256 bytes.
8664 2010-11-03 Ulrich Drepper <drepper@gmail.com>
8667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8668 of inacessible symlinks. Verify result of symlink before returning it.
8669 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8670 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8672 2010-10-28 Erich Ritz <erichritz@gmail.com>
8674 * math/math.h (isinf): Fix typo in comment.
8676 2010-11-01 Ulrich Drepper <drepper@gmail.com>
8678 * po/da.po: Update from translation team.
8680 2010-10-26 Ulrich Drepper <drepper@gmail.com>
8682 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8683 is added to the list.
8685 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8686 Ulrich Drepper <drepper@gmail.com>
8688 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8689 the global list here. Move code to...
8690 (_dl_add_to_namespace_list): ...here. New function.
8691 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8692 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8693 * elf/dl-load.c (lose): Don't remove the element from the list.
8694 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8695 (_dl_map_object): Likewise.
8697 2010-10-25 Ulrich Drepper <drepper@gmail.com>
8700 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8701 into all bytes of SSE register.
8702 Patch by Richard Li <richardpku@gmail.com>.
8704 2010-10-24 Ulrich Drepper <drepper@gmail.com>
8707 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8710 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8712 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8713 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8714 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8715 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8720 2010-10-22 Andreas Schwab <schwab@redhat.com>
8722 * include/dlfcn.h (__RTLD_SECURE): Define.
8723 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8724 mode & __RTLD_SECURE instead.
8725 (open_path): Rename preloaded parameter to secure.
8726 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8727 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8728 * elf/dl-deps.c (openaux): Likewise.
8729 * elf/rtld.c (struct map_args): Remove is_preloaded.
8730 (map_doit): Don't use it.
8731 (dl_main): Likewise.
8732 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8733 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8735 2010-09-09 Andreas Schwab <schwab@redhat.com>
8737 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8738 (sysd-rules-targets): Remove duplicates.
8739 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8740 rtld-%.$o dependency.
8742 2010-10-18 Andreas Schwab <schwab@redhat.com>
8744 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8745 _dl_map_object do it.
8747 2010-10-19 Ulrich Drepper <drepper@gmail.com>
8749 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8750 fast fma builtins, define the macros in the C99 standard.
8751 (FP_FAST_FMAF): Likewise.
8752 (FP_FAST_FMAL): Likewise.
8753 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8755 * bits/mathdef.h: Update copyright year.
8756 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8758 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8760 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8761 builtins, define the macros in the C99 standard.
8762 (FP_FAST_FMAF): Likewise.
8763 (FP_FAST_FMAL): Likewise.
8764 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8766 (FP_FAST_FMAF): Likewise.
8768 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8771 * math/libm-test.inc (fma_test): Some new testcases.
8772 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8773 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8774 y and infinite z. Do multiplication by C already in long double.
8775 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8777 y and infinite z. Do bitwise or of inexact bit into u.d.
8778 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8779 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8780 * sysdeps/i386/fpu/s_fma.S: Removed.
8781 * sysdeps/i386/fpu/s_fmal.S: Removed.
8783 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8786 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8788 computation is not scheduled after fetestexcept. Fix value
8789 of minimum denormal long double.
8791 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8794 * math/libm-test.inc (fma_test): Add some more tests.
8795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8798 2010-10-15 Andreas Schwab <schwab@redhat.com>
8800 * scripts/data/localplt-s390-linux-gnu.data: New file.
8801 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8803 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8806 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8807 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8809 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8811 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8813 if one of x and y is very large and the other is subnormal.
8814 * sysdeps/s390/fpu/s_fmaf.c: New file.
8815 * sysdeps/s390/fpu/s_fma.c: New file.
8816 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8817 * sysdeps/powerpc/fpu/s_fma.S: New file.
8818 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8819 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8820 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8822 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8825 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8828 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8829 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8830 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8831 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8832 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8835 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8838 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8839 * posix/bug-regex31.input: Add test case.
8841 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8843 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8844 * posix/bug-regex31.input: New file.
8847 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8848 (parse_sub_exp): Fix last change, use postorder.
8850 * posix/bug-regex31.c: New file.
8851 * posix/Makefile: Add rules to build and run bug-regex31.
8853 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8856 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8859 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8860 to have entries in sys_siglist.
8863 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8866 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8869 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8870 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8871 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8872 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8873 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8874 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8875 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8876 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8877 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8878 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8879 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8880 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8881 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8882 * math/ftestexcept.c (fetestexcept): Likewise.
8883 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8884 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8885 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8886 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8887 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8888 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8891 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8894 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8897 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8899 * string/bug-strstr1.c: New file.
8900 * string/Makefile: Add rules to build and run bug-strstr1.
8902 2010-10-05 Eric Blake <eblake@redhat.com>
8905 * string/str-two-way.h (two_way_long_needle): Always clear memory
8906 when skipping input due to the shift table.
8908 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8911 * malloc/mcheck.c: Handle large requests.
8914 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8915 for strncmp and strncasecmp.
8916 * string/stratcliff.c: Add tests for strcmp and strncmp.
8917 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8919 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8921 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8924 2010-09-30 Andreas Jaeger <aj@suse.de>
8926 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8927 (CGROUP_SUPER_MAGIC): Define.
8928 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8929 Handle btrfs and cgroup file systems.
8930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8933 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8935 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8936 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8938 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8941 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8942 trying to locate the ELF header.
8944 2010-09-27 Andreas Schwab <schwab@redhat.com>
8947 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8948 Mask out sign-bit copies when constructing f_fsid.
8950 2010-09-24 Petr Baudis <pasky@suse.cz>
8952 * debug/stack_chk_fail_local.c: Add missing licence exception.
8953 * debug/warning-nop.c: Likewise.
8955 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8957 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8958 implementing getdents64 using getdents syscall, set d_type if
8959 __ASSUME_GETDENTS32_D_TYPE.
8961 2010-09-16 Andreas Schwab <schwab@redhat.com>
8963 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8964 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8966 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8969 * posix/unistd.h: Undo change of feature selection for ftruncate from
8972 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8974 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8977 2010-09-20 Andreas Schwab <schwab@redhat.com>
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8981 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8983 2010-09-14 Andreas Schwab <schwab@redhat.com>
8985 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8986 variables after CHECK_SP call.
8987 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8989 2010-09-13 Andreas Schwab <schwab@redhat.com>
8990 Ulrich Drepper <drepper@redhat.com>
8992 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8993 re-relocationg ld.so.
8994 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8995 _dl_init_paths call.
8996 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8999 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9001 * resolv/res_init.c (__res_vinit): Count the default server we added.
9003 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9004 Ulrich Drepper <drepper@redhat.com>
9007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9008 (____longjmp_chk): Use %ebx for saving value across system call.
9011 2010-09-06 Andreas Schwab <schwab@redhat.com>
9013 * manual/Makefile: Don't mix pattern rules with normal rules.
9015 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9017 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9019 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9020 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9021 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9022 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9026 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9029 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9030 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9032 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9034 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9035 * sysdeps/x86_64/addmul_1.S: Likewise.
9036 * sysdeps/x86_64/lshift.S: Likewise.
9037 * sysdeps/x86_64/mul_1.S: Likewise.
9038 * sysdeps/x86_64/rshift.S: Likewise.
9039 * sysdeps/x86_64/sub_n.S: Likewise.
9040 * sysdeps/x86_64/submul_1.S: Likewise.
9042 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9044 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9045 Define __sched_param instead of SCHED_* and sched_param when
9046 <bits/sched.h> is included with __need_schedparam defined.
9047 * bits/sched.h [__need_schedparam]
9048 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9049 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9050 (__defined_schedparam): Define to 1.
9051 (__sched_param): New structure, identical to sched_param.
9052 (__need_schedparam): Undefine.
9054 2010-08-31 Mike Frysinger <vapier@gentoo.org>
9056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9057 (epoll_create1): Declare.
9059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9061 2010-08-31 Andreas Schwab <schwab@redhat.com>
9064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9065 shifting retval into place.
9067 2010-09-01 Ulrich Drepper <drepper@redhat.com>
9069 * nis/rpcsvc/nis.h: Update copyright notice.
9070 * nis/rpcsvc/nis.x: Likewise.
9071 * nis/rpcsvc/nis_callback.h: Likewise.
9072 * nis/rpcsvc/nis_callback.x: Likewise.
9073 * nis/rpcsvc/nis_object.x: Likewise.
9074 * nis/rpcsvc/nis_tags.h: Likewise.
9075 * nis/rpcsvc/yp.h: Likewise.
9076 * nis/rpcsvc/yp.x: Likewise.
9077 * nis/rpcsvc/ypupd.h: Likewise.
9078 * nis/yp_xdr.c: Likewise.
9079 * nis/ypupdate_xdr.c: Likewise.
9081 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9082 mainly the body of pmap_getport. Add parameters to specify timeouts.
9083 (pmap_getport): Use __libc_rpc_getport.
9084 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9085 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9086 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9088 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9093 2010-08-27 Roland McGrath <roland@redhat.com>
9095 * sysdeps/i386/i686/multiarch/Makefile
9096 (CFLAGS-varshift.c): New variable.
9098 2010-08-27 Ulrich Drepper <drepper@redhat.com>
9100 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9101 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9105 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9107 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9109 * sysdeps/x86_64/strlen.S: Unroll the loop.
9110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9111 strlen-sse2 strlen-sse2-bsf.
9112 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9113 __strlen_no_bsf if bit_Slow_BSF is set.
9114 (__strlen_sse42): Removed.
9115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9116 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9118 2010-08-25 Roland McGrath <roland@redhat.com>
9120 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9121 * sysdeps/x86_64/multiarch/varshift.c: New file.
9122 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9123 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9124 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9125 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9127 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9130 strlen-sse2 strlen-sse2-bsf.
9131 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9132 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9133 (__strlen_sse2): Removed.
9134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9137 bit_Slow_BSF for Atom.
9138 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9139 (index_Slow_BSF): Define.
9140 (HAS_SLOW_BSF): Define.
9142 2010-08-25 Ulrich Drepper <drepper@redhat.com>
9145 * resolv/res_init.c (__res_vinit): When no server address at all
9146 is given default to loopback.
9148 2010-08-24 Roland McGrath <roland@redhat.com>
9150 * configure.in: Remove config-name.h generation.
9151 * configure: Regenerated.
9152 * config-name.in: File removed.
9153 * scripts/config-uname.sh: New file.
9154 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9155 ($(objdir)config-name.h): New target.
9157 * sunrpc/rpc_parse.h: Avoid nested comment.
9159 2010-08-24 Richard Henderson <rth@redhat.com>
9160 Ulrich Drepper <drepper@redhat.com>
9161 H.J. Lu <hongjiu.lu@intel.com>
9163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9165 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9166 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9167 _mm_alignr_epi8 with _mm_loadu_si128.
9168 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9169 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9170 (__m128i_shift_right): Removed.
9171 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9172 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9173 * sysdeps/x86_64/multiarch/varshift.h: New file.
9174 * sysdeps/x86_64/multiarch/varshift.S: New file.
9176 2010-08-21 Mike Frysinger <vapier@gentoo.org>
9178 * configure.in: Move assembler checks to before sysdep dir checking.
9180 2010-08-20 Petr Baudis <pasky@suse.cz>
9182 * LICENSES: Sync the sunrpc license.
9184 2010-08-19 Ulrich Drepper <drepper@redhat.com>
9186 * sunrpc/auth_des.c: Update copyright notice once again.
9187 * sunrpc/auth_none.c: Likewise.
9188 * sunrpc/auth_unix.c: Likewise.
9189 * sunrpc/authdes_prot.c: Likewise.
9190 * sunrpc/authuxprot.c: Likewise.
9191 * sunrpc/bindrsvprt.c: Likewise.
9192 * sunrpc/clnt_gen.c: Likewise.
9193 * sunrpc/clnt_perr.c: Likewise.
9194 * sunrpc/clnt_raw.c: Likewise.
9195 * sunrpc/clnt_simp.c: Likewise.
9196 * sunrpc/clnt_tcp.c: Likewise.
9197 * sunrpc/clnt_udp.c: Likewise.
9198 * sunrpc/clnt_unix.c: Likewise.
9199 * sunrpc/des_crypt.c: Likewise.
9200 * sunrpc/des_soft.c: Likewise.
9201 * sunrpc/get_myaddr.c: Likewise.
9202 * sunrpc/getrpcport.c: Likewise.
9203 * sunrpc/key_call.c: Likewise.
9204 * sunrpc/key_prot.c: Likewise.
9205 * sunrpc/openchild.c: Likewise.
9206 * sunrpc/pm_getmaps.c: Likewise.
9207 * sunrpc/pm_getport.c: Likewise.
9208 * sunrpc/pmap_clnt.c: Likewise.
9209 * sunrpc/pmap_prot.c: Likewise.
9210 * sunrpc/pmap_prot2.c: Likewise.
9211 * sunrpc/pmap_rmt.c: Likewise.
9212 * sunrpc/rpc/auth.h: Likewise.
9213 * sunrpc/rpc/auth_unix.h: Likewise.
9214 * sunrpc/rpc/clnt.h: Likewise.
9215 * sunrpc/rpc/des_crypt.h: Likewise.
9216 * sunrpc/rpc/key_prot.h: Likewise.
9217 * sunrpc/rpc/netdb.h: Likewise.
9218 * sunrpc/rpc/pmap_clnt.h: Likewise.
9219 * sunrpc/rpc/pmap_prot.h: Likewise.
9220 * sunrpc/rpc/pmap_rmt.h: Likewise.
9221 * sunrpc/rpc/rpc.h: Likewise.
9222 * sunrpc/rpc/rpc_des.h: Likewise.
9223 * sunrpc/rpc/rpc_msg.h: Likewise.
9224 * sunrpc/rpc/svc.h: Likewise.
9225 * sunrpc/rpc/svc_auth.h: Likewise.
9226 * sunrpc/rpc/types.h: Likewise.
9227 * sunrpc/rpc/xdr.h: Likewise.
9228 * sunrpc/rpc_clntout.c: Likewise.
9229 * sunrpc/rpc_cmsg.c: Likewise.
9230 * sunrpc/rpc_common.c: Likewise.
9231 * sunrpc/rpc_cout.c: Likewise.
9232 * sunrpc/rpc_dtable.c: Likewise.
9233 * sunrpc/rpc_hout.c: Likewise.
9234 * sunrpc/rpc_main.c: Likewise.
9235 * sunrpc/rpc_parse.c: Likewise.
9236 * sunrpc/rpc_parse.h: Likewise.
9237 * sunrpc/rpc_prot.c: Likewise.
9238 * sunrpc/rpc_sample.c: Likewise.
9239 * sunrpc/rpc_scan.c: Likewise.
9240 * sunrpc/rpc_scan.h: Likewise.
9241 * sunrpc/rpc_svcout.c: Likewise.
9242 * sunrpc/rpc_tblout.c: Likewise.
9243 * sunrpc/rpc_util.c: Likewise.
9244 * sunrpc/rpc_util.h: Likewise.
9245 * sunrpc/rpcinfo.c: Likewise.
9246 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9247 * sunrpc/rpcsvc/key_prot.x: Likewise.
9248 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9249 * sunrpc/rpcsvc/mount.x: Likewise.
9250 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9251 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9252 * sunrpc/rpcsvc/rex.x: Likewise.
9253 * sunrpc/rpcsvc/rstat.x: Likewise.
9254 * sunrpc/rpcsvc/rusers.x: Likewise.
9255 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9256 * sunrpc/rpcsvc/spray.x: Likewise.
9257 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9258 * sunrpc/rtime.c: Likewise.
9259 * sunrpc/svc.c: Likewise.
9260 * sunrpc/svc_auth.c: Likewise.
9261 * sunrpc/svc_authux.c: Likewise.
9262 * sunrpc/svc_raw.c: Likewise.
9263 * sunrpc/svc_run.c: Likewise.
9264 * sunrpc/svc_simple.c: Likewise.
9265 * sunrpc/svc_tcp.c: Likewise.
9266 * sunrpc/svc_udp.c: Likewise.
9267 * sunrpc/svc_unix.c: Likewise.
9268 * sunrpc/svcauth_des.c: Likewise.
9269 * sunrpc/xcrypt.c: Likewise.
9270 * sunrpc/xdr.c: Likewise.
9271 * sunrpc/xdr_array.c: Likewise.
9272 * sunrpc/xdr_float.c: Likewise.
9273 * sunrpc/xdr_mem.c: Likewise.
9274 * sunrpc/xdr_rec.c: Likewise.
9275 * sunrpc/xdr_ref.c: Likewise.
9276 * sunrpc/xdr_sizeof.c: Likewise.
9277 * sunrpc/xdr_stdio.c: Likewise.
9279 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9282 2010-08-19 Andreas Schwab <schwab@redhat.com>
9284 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9286 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
9288 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9290 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9291 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9292 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9293 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9294 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9295 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9296 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9297 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9298 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9299 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9300 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9301 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9303 2010-07-26 Anton Blanchard <anton@samba.org>
9305 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9306 * malloc/arena.c (heap_trim): Likewise.
9308 2010-08-16 Ulrich Drepper <drepper@redhat.com>
9310 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9313 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9315 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9317 * sysdeps/i386/elf/Makefile: New file.
9319 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9321 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9326 2010-08-15 Ulrich Drepper <drepper@redhat.com>
9328 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9330 * sysdeps/multiarch/strcmp.S: Likewise.
9332 2010-08-14 Ulrich Drepper <drepper@redhat.com>
9334 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9335 strncase_l-nonascii.
9336 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9337 Add strncase_l-ssse3.
9338 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9339 * sysdeps/x86_64/strcmp.S: Likewise.
9340 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9341 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9342 * sysdeps/x86_64/strncase.S: New file.
9343 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9344 * sysdeps/x86_64/strncase_l.S: New file.
9345 * string/Makefile (strop-tests): Add strncasecmp.
9346 * string/test-strncasecmp.c: New file.
9348 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9351 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9352 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9354 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9356 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9358 2010-08-12 Ulrich Drepper <drepper@redhat.com>
9360 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9361 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9364 2010-05-01 Alan Modra <amodra@gmail.com>
9366 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9367 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9368 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9369 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9370 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9371 tidying. Don't tail-call __sigjmp_save for static lib.
9372 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9374 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9375 (CALL_MCOUNT): Add eh info, and nop after bl.
9376 (TAIL_CALL_SYSCALL_ERROR): New macro.
9377 (PSEUDO_RET): Use it.
9378 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9379 Correct save location of integer regs and cr.
9380 (_dl_profile_resolve): Correct cr save location. Delete nops
9381 after bl when SHARED. Reduce cfi size a little by better
9382 placement of cfi directives.
9383 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9384 make a stack frame. Instead use parm save area as a temp.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9386 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9388 Don't make a stack frame for parent, use parm save area.
9389 Increase child stack frame to 112 bytes. Don't save unused reg,
9390 and adjust reg usage. Set up cfi on error recovery and
9391 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9393 (__makecontext): Add dummy nop after jump to exit.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9395 Use correct parm save area and cr save, reduce stack frame.
9396 Correct cfi for possible PSEUDO_RET frame setup.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9398 Branch to local label emitted by PSEUDO_RET rather than
9401 2010-08-12 Andreas Schwab <schwab@redhat.com>
9404 * locale/programs/locale.c (print_assignment): New function.
9405 (show_locale_vars): Use it.
9407 2010-08-11 Ulrich Drepper <drepper@redhat.com>
9409 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9411 (struct statfs64): Likewise.
9412 (_STATFS_F_FLAGS): Define.
9413 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9415 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9416 (ST_VALID): Define locally.
9417 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9418 __statvfs_getflags, use the provided value.
9419 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9420 __ASSUME_STATFS_F_FLAGS.
9422 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9424 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9426 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9427 fanotify_mask for GLIBC_2.13.
9428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9429 fanotify_init and fanotify_mark.
9430 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9431 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9433 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9435 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9436 prlimit64 for GLIBC_2.13.
9437 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9443 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9447 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9450 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9451 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9453 * nss/Makefile: Add rules to build and run tst-nss-test1.
9454 * shlib-versions: Add entry for libnss_test1.
9455 * nss/nss_test1.c: New file.
9456 * nss/tst-nss-test1.c: New file.
9458 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9459 (__nss_configure_lookup): Set appropriate entry in
9460 __nss_configure_lookup to true.
9461 * nss/nsswitch.h: Define enum with indeces of databases in
9462 databases and __nss_database_custom arrays. Declare
9463 __nss_database_custom.
9464 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9465 to avoid using nscd when custom rules are installed.
9466 * nss/getXXbyYY_r.c: Likewise.
9467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9469 * nss/nss_files/files-parse.c: Whitespace fixes.
9471 2010-08-09 Ulrich Drepper <drepper@redhat.com>
9474 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9475 * posix/fnmatch_loop.c: Likewise.
9477 2010-07-17 Andi Kleen <ak@linux.intel.com>
9479 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9480 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9481 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9482 * Versions.def [GLIBC_2.13]: Add.
9484 2010-08-06 Ulrich Drepper <drepper@redhat.com>
9486 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9487 Also fail if tpwd after pwuid call is NULL.
9489 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9491 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9492 when converting to ms.
9494 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9496 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9497 EOPNOTSUPP errors with ENOTTY.
9498 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9499 EOPNOTSUPP errors with ENOTTY.
9501 2010-07-31 Ulrich Drepper <drepper@redhat.com>
9503 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9504 Add strcasecmp_l-ssse3.
9505 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9507 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9508 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9509 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9511 2010-07-30 Ulrich Drepper <drepper@redhat.com>
9513 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9515 * string/Makefile (strop-tests): Add strcasecmp.
9516 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9517 strcasecmp_l-nonascii.
9518 (gen-as-const-headers): Add locale-defines.sym.
9519 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9520 * sysdeps/x86_64/strcasecmp.S: New file.
9521 * sysdeps/x86_64/strcasecmp_l.S: New file.
9522 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9523 * sysdeps/x86_64/locale-defines.sym: New file.
9524 * string/test-strcasecmp.c: New file.
9526 * string/test-strcasestr.c: Test both ends of the range of characters.
9527 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9529 2010-07-29 Roland McGrath <roland@redhat.com>
9532 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9534 2010-07-27 Ulrich Drepper <drepper@redhat.com>
9536 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9539 2010-07-27 Andreas Schwab <schwab@redhat.com>
9541 * manual/memory.texi (Malloc Tunable Parameters): Document
9544 2010-07-26 Roland McGrath <roland@redhat.com>
9547 * configure.in (-fgnu89-inline check): Set and substitute
9548 gnu89_inline, not libc_cv_gnu89_inline.
9549 * configure: Regenerated.
9550 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9552 2010-07-26 Ulrich Drepper <drepper@redhat.com>
9554 * string/test-strnlen.c: New file.
9555 * string/Makefile (strop-tests): Add strnlen.
9556 * string/tester.c (test_strnlen): Add a few more test cases.
9557 * string/tst-strlen.c: Better error reporting.
9559 * sysdeps/x86_64/strnlen.S: New file.
9561 2010-07-24 Ulrich Drepper <drepper@redhat.com>
9563 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9564 lower-latency instructions.
9566 2010-07-23 Ulrich Drepper <drepper@redhat.com>
9568 * string/test-strcasestr.c: New file.
9569 * string/test-strstr.c: New file.
9570 * string/Makefile (strop-tests): Add strstr and strcasestr.
9571 * string/str-two-way.h: Don't undefine MAX.
9572 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9574 2010-07-21 Andreas Schwab <schwab@redhat.com>
9576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9577 strcasestr-nonascii.
9578 (CFLAGS-strcasestr-nonascii.c): Define.
9579 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9581 Remove unused attribute.
9583 2010-07-20 Roland McGrath <roland@redhat.com>
9585 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9586 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9587 ld.so.cache was broken. With it, there is no way to disable dsocaps
9588 like LD_HWCAP_MASK can disable hwcaps.
9590 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9592 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9594 2010-07-16 Ulrich Drepper <drepper@redhat.com>
9596 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9598 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9599 __strcasestr_sse42_nonascii.
9600 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9601 strcasestr-nonascii.c.
9602 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9604 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
9606 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9609 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9611 2010-07-09 Ulrich Drepper <drepper@redhat.com>
9613 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9616 2010-07-06 Andreas Schwab <schwab@redhat.com>
9619 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9622 2010-07-06 Ulrich Drepper <drepper@redhat.com>
9624 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9625 _PC_PIPE_BUF using F_GETPIPE_SZ.
9627 2010-07-05 Roland McGrath <roland@redhat.com>
9629 * manual/arith.texi (Rounding Functions): Fix rint description
9630 implicit in round description.
9632 2010-07-02 Ulrich Drepper <drepper@redhat.com>
9634 * elf/Makefile: Fix linking for a few tests to make recent linker
9637 2010-06-30 Andreas Schwab <schwab@redhat.com>
9639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9640 $(common-objpfx)libc_nonshared.a.
9642 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
9644 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9645 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9646 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9647 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9648 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9649 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9650 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9651 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9666 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9667 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9668 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9669 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9670 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9671 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9672 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9673 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9674 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9675 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9676 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9677 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9693 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9695 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9696 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9697 * string/memmove.c (memmove): Renamed to ...
9698 (MEMMOVE): ...this. Default to memmove.
9699 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9700 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9703 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9704 mempcpy-ssse3-back memmove-ssse3-back.
9705 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9706 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9708 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9709 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9710 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9711 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9712 * sysdeps/x86_64/multiarch/memmove.c: New file.
9713 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9714 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9715 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9716 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9717 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9720 (index_Fast_Copy_Backward): Define.
9721 (HAS_ARCH_FEATURE): Define.
9722 (HAS_FAST_REP_STRING): Define.
9723 (HAS_FAST_COPY_BACKWARD): Define.
9725 2010-06-21 Andreas Schwab <schwab@redhat.com>
9727 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9728 Restore proper fallback handling.
9730 2010-06-19 Ulrich Drepper <drepper@redhat.com>
9733 * posix/group_member.c (__group_member): Correct checking loop.
9735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9736 OOM in getpwuid_r correctly. Return error number when the caller
9737 should return, otherwise -1.
9738 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9739 call returning > 0 value.
9740 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9742 2010-06-07 Andreas Schwab <schwab@redhat.com>
9744 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9745 libc_nonshared.a from targets in modules-names.
9747 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9749 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9752 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9754 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9755 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9759 2010-06-02 Andreas Schwab <schwab@redhat.com>
9761 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9763 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9765 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9768 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9772 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9774 2010-06-14 Roland McGrath <roland@redhat.com>
9776 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9778 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9780 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9781 __REDIRECT followed by __THROW.
9782 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9783 * posix/getopt.h (getopt): Likewise.
9785 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9787 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9788 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9789 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9791 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9792 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9794 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9796 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9798 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9802 Properly check family and model.
9804 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9806 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9808 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9810 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9812 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9814 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9817 2010-05-19 Andreas Schwab <schwab@redhat.com>
9819 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9822 2010-05-21 Andreas Schwab <schwab@redhat.com>
9824 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9825 and internal_recvmmsg.
9826 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9827 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9828 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9829 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9831 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9832 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9833 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9835 2010-05-20 Andreas Schwab <schwab@redhat.com>
9837 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9839 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9841 POWER7 optimizations.
9842 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9843 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9845 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9847 * version.h: Update for 2.13 development version.
9849 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9851 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9852 exceptions. Return 0.
9854 2010-05-07 Roland McGrath <roland@redhat.com>
9856 * elf/ldconfig.c (main): Add a const.
9858 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9860 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9861 (args_options): Add no-idn option.
9862 (ahosts_keys_int): Add idn_flags to ai_flags.
9863 (parse_option): Handle 'i' option to clear idn_flags.
9865 * malloc/malloc.c (_int_free): Possible race in the most recently
9866 added check. Only act on the data if no current modification
9869 See ChangeLog.17 for earlier changes.